func_simpleladder

From Valve Developer Community
Jump to navigation Jump to search
English (en)中文 (zh)Translate (Translate)
edit
Icon-NotInFGD.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.
Recycle-warning.png
This is a preserved entity in Left 4 DeadLeft 4 Dead 2
If the game has round restart mechanics this entity may not behave as expected.
Class hierarchy
CFuncSimpleLadder
CBaseEntity

func_simpleladder is a brush entity available in Left 4 Dead seriesLeft 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.

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