Func simpleladder: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:
{{TabsBar|main=Info ladder}}
{{TabsBar|main=Info ladder}}
{{Ent not in fgd|nolink=1|because=It is automatically created from [[func_ladder]] by VBSP}}
{{Ent not in fgd|nolink=1|because=It is automatically created from [[func_ladder]] by VBSP}}
{{preserved entity}}
{{CD|CFuncSimpleLadder}}
{{CD|CFuncSimpleLadder}}
{{This is a|entity|name=func_simpleladder|series=Left 4 Dead}} It is used to make ladder brush climbable from only one side based on its <kbd>normal.x/y/z</kbd> keyvalues and is needed by nav mesh ladder to be able to determine which team should be able to path through it.  
{{This is a|entity|name=func_simpleladder|series=Left 4 Dead}} It is used to make ladder brush climbable from only one side based on its <kbd>normal.x/y/z</kbd> keyvalues and is needed by nav mesh ladder to be able to determine which team should be able to path through it.  
{{ent|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.
{{ent|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.
{{PreservedEnt|all}}
{{AltNames|name1=info_ladder|misc=The classname is always changed to {{ent|func_simpleladder}} on spawn.}}
{{AltNames|name1=info_ladder|misc=The classname is always changed to {{ent|func_simpleladder}} on spawn.}}



Revision as of 07:40, 4 May 2025

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.
C++ Class hierarchy
CFuncSimpleLadder
CBaseEntity

func_simpleladder is an 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