Info ladder: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (-)
(→‎Keyvalues: add section)
Line 11: Line 11:


{{question|Was this entity at any point present in other Valve games than Left 4 Dead series}}
{{question|Was this entity at any point present in other Valve games than Left 4 Dead series}}
== Keyvalues ==
{{KV|mins.x|intn=mins.x|float|X coordinate of the uppermost and northernmost point of the ladder's bounding box.}}
{{KV|mins.y|intn=mins.y|float|Y coordinate of the uppermost and northernmost point of the ladder's bounding box.}}
{{KV|mins.z|intn=mins.z|float|Z coordinate of the uppermost and northernmost point of the ladder's bounding box.}}
{{KV|maxs.x|intn=maxs.x|float|X coordinate of the bottommost and southernmost point of the ladder's bounding box.}}
{{KV|maxs.y|intn=maxs.y|float|Y coordinate of the bottommost and southernmost point of the ladder's bounding box.}}
{{KV|maxs.z|intn=maxs.z|float|Z coordinate of the bottommost and southernmost point of the ladder's bounding box.}}


== See Also ==
== See Also ==

Revision as of 17:23, 3 July 2024

Obsolete-notext.png
This entity is obsolete. Its use is discouraged. It may only exist/function in older engine branches.
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 generated by VBSP from func_ladder entities.
C++ Class hierarchy
CFuncSimpleLadder
CBaseEntity

info_ladder is an entity available in Left 4 Dead seriesLeft 4 Dead series Left 4 Dead series and Insurgency Insurgency.

Based on VBSP source code, info_ladder is used to help bots navigate the ladders created from func_ladder entities (which are collapsed to worldspawn by VBSP), but is not found in any SDKs nor leaked code.

Icon-Important.pngImportant:This is a preserved entity in Counter-Strike: SourceHalf-Life 2: DeathmatchLeft 4 DeadLeft 4 Dead 2Portal 2Counter-Strike: Global Offensive.
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 func_simpleladder. In Left 4 Dead seriesLeft 4 Dead series func_ladder is converted into func_simpleladder filled with information about team and what direction the ladder is facing and the brush isn't moved to world.
Warning.pngWarning:In games where info_ladder doesn't exist and func_ladder is being converted into this then warning in console "Attempted to create unknown entity type info_ladder!\n" will be shown when running the map so it's better to instead use func_detail with material that has %CompileLadder unless the specific game has established different way of creating ladders.
Icon-silk-question.png Question: Was this entity at any point present in other Valve games than Left 4 Dead series

Keyvalues

mins.x (mins.x) <float>
X coordinate of the uppermost and northernmost point of the ladder's bounding box.
mins.y (mins.y) <float>
Y coordinate of the uppermost and northernmost point of the ladder's bounding box.
mins.z (mins.z) <float>
Z coordinate of the uppermost and northernmost point of the ladder's bounding box.
maxs.x (maxs.x) <float>
X coordinate of the bottommost and southernmost point of the ladder's bounding box.
maxs.y (maxs.y) <float>
Y coordinate of the bottommost and southernmost point of the ladder's bounding box.
maxs.z (maxs.z) <float>
Z coordinate of the bottommost and southernmost point of the ladder's bounding box.

See Also