func_simpleladder

From Valve Developer Community
Jump to navigation Jump to search
English (en)中文 (zh)Translate (Translate)
edit
Info.png
This entity is not in the FGD by default.
It should not be put directly in a map because It is automatically created from func_ladder by VBSP.
Class hierarchy
CFuncSimpleLadder
CBaseEntity

func_simpleladder is an entity available in Left 4 Dead series Left 4 Dead series. It is used to make ladder brush climbable from only one side based on its normal.x/y/z keyvalues and is needed by nav mesh ladder to be able to determine which team should be able to path through it. func_ladder brushes are automatically converted to this entity by VBSP during map compile with properly setup ladder normals based on which brush side has the ladder texture (either toolsinvisibleladder or climb_versus) and also sets TeamNum appropriately.

Icon-Important.pngImportant:This is a preserved entity.
If the game has round restart mechanics this entity may not behave as expected:
  • On a new round entities with this classname will intentionally not reset. You can use logic_auto to emulate resetting it.
  • Killing it removes it forever, as it is not respawned on a new round.
  • It cannot be spawned with a point_template.
  • Parenting this with non-preserved entities may have undesirable effects.
AltNames.pngAltNames: This entity is also tied to info_ladder. The classname is always changed to func_simpleladder on spawn.

Keyvalues

normal.x (normal.x) <float>
X normal of the ladder.
normal.y (normal.y) <float>
Y normal of the ladder.
normal.z (normal.z) <float>
Z normal of the ladder.
TeamNum (TeamNum) <integer>
Team that can climb this ladder.
  • 0 : Any team
  • 1 : Spectator
  • 2 : Survivor
  • 3 : Infected
  • 4 : L4D1_Survivor (only in Left 4 Dead 2)

See also