Func simpleladder: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
Line 3: Line 3:


== Keyvalues ==
== Keyvalues ==
{{KV|normal.x|intn=0|float|X normal of the ladder.}}
{{KV|normal.x|intn=normal.x|float|X normal of the ladder.}}
{{KV|normal.y|intn=0|float|Y normal of the ladder.}}
{{KV|normal.y|intn=normal.y|float|Y normal of the ladder.}}
{{KV|normal.z|intn=0|float|Z normal of the ladder.}}
{{KV|normal.z|intn=normal.z|float|Z normal of the ladder.}}
{{KV|TeamNum|intn=0|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 : Spectator
:* 1 : Spectator

Revision as of 20:56, 29 June 2024

English (en)中文 (zh)Translate (Translate)

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.

Icon-Important.pngImportant: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:
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.

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)