Func simpleladder: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(brush entity is about fgd definition though and this is not in fgd. The link is also not needed as it's the tab next to it and it's not really related much to l4d)
No edit summary
Line 3: Line 3:
{{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}}
{{CD|CFuncSimpleLadder}}
{{CD|CFuncSimpleLadder}}
{{this is a|entity|name=func_simpleladder|series=Left 4 Dead}} It is used to designate climbable ladder areas. [[func_ladder]] brushes are automatically converted to this entity by [[VBSP]] during map compile. It doesn't exist in the [[FGD]] and is not designed to be created by Hammer.
{{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.  
{{PreservedEnt|func_simpleladder}}
{{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}}
{{AltNames|name1=info_ladder}}


Line 17: Line 18:
:* 3 : Infected
:* 3 : Infected
:* 4 : L4D1_Survivor {{only|{{l4d2}}}}
:* 4 : L4D1_Survivor {{only|{{l4d2}}}}
== See also ==
* [[CompileLadder|%CompileLadder]]

Revision as of 14:40, 16 April 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.
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.

Icon-Important.pngImportant:This is a preserved entity.
If the game has round restart mechanics this entity may not behave as expected:
More info
  • 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.

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