Func simpleladder: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (add {{lang}})
No edit summary
 
(29 intermediate revisions by 8 users not shown)
Line 1: Line 1:
{{lang|Func simpleladder}}
{{LanguageBar}}
{{Ent not in fgd}}
{{TabsBar|main=Info ladder}}
{{Ent not in fgd|nolink=1|because=It is automatically created from [[func_ladder]] by VBSP}}
{{l4d_series_brush|func_simpleladder}} 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.
{{Preserved entity}}
{{CD|CFuncSimpleLadder}}
{{This is a|brush 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.
{{AltNames|name1=info_ladder|misc=The classname is always changed to {{ent|func_simpleladder}} on spawn.}}


== Keyvalues ==
== Keyvalues ==
{{KV|normal.x|float|X normal of the ladder.}}
{{KV|normal.x|intn=normal.x|float|X normal of the ladder.}}
{{KV|normal.y|float|Y normal of the ladder.}}
{{KV|normal.y|intn=normal.y|float|Y normal of the ladder.}}
{{KV|normal.z|float|Z normal of the ladder.}}
{{KV|normal.z|intn=normal.z|float|Z normal of the ladder.}}
{{KV|team|int|Team that can climb this ladder.}}
{{KV|TeamNum|intn=TeamNum|int|[[Team]] that can climb this ladder.}}
:* 0 : Any team
:* 0 : Any team
:* 1 : Survivors
:* 1 : Spectator
:* 2 : Infected
:* 2 : Survivor
:* 3 : Infected
:* 4 : L4D1_Survivor {{only|{{l4d2}}}}
 
== See also ==
* [[CompileLadder|%CompileLadder]]

Latest revision as of 11:10, 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 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