nmrih_barricade

From Valve Developer Community
Jump to navigation Jump to search
English (en)Translate (Translate)

nmrih_barricade is a point entity available in No More Room in Hell No More Room in Hell.

Entity Description

The nmrih_barricade is a designated location placed in the map which allows Survivors to board up a location, or build a bridge as seen in a handful of custom maps with the tool_barricade.
While erected, a barricade will block zombies and force them to break it down to reach the Survivor.
While commonly seen in Survival Maps, Objective Maps can have areas that require temporary holdout, which is a great place to incorporate this entity.

KeyValues

Name (targetname) <string> !FGD
The name that other entities refer to this entity by.
Pitch Yaw Roll (Y Z X) (angles) <angles>
This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.

Flags

Inputs

Kill  !FGD
Kills the entity.

Outputs

Dedicated console variables

Cvar/Command Parameters or default value Descriptor Effect
sv_barricade_cooldown 0 float Time after board breaking before barricade point is available again.
sv_barricade_health 150 integer Health of barricade boards.
sv_barricade_opacity 0.3 float Opacity of barricade points when visible.
sv_barricade_prop_model models/weapons/tool_barricade/w_barricadeboard.mdl model Model to use for barricade points.
sv_barricade_show_damage 0.0 float Visualize barricade health by darkening boards according to how much damage they've taken. The value represents how dark the model should be at 0 HP left. E.g. 0.75 means 75% dark at 0 hit point. Use 0.0 for vanilla behavior, 0.75 for QoL plugin default.
sv_barricade_sounds 1 boolean Play barricade impact sounds.