Info ladder: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(-info)
Line 1: Line 1:
{{stub}}
{{Ent not in fgd|nolink=1|because=it is automatically generated by [[VBSP]] from {{mono|[[func_ladder]]}} entities}}
{{Ent not in fgd|nolink=1|because=it is automatically generated by [[VBSP]] from {{mono|[[func_ladder]]}} entities.}}
{{obsolete}}
{{CD|CFuncSimpleLadder}}
{{this is a|point entity|name=info_ladder|game=Left 4 Dead series|game1=Insurgency}}
{{this is a|point entity|name=info_ladder|game=Left 4 Dead series|game1=Insurgency}}
According to a comment in the [[VBSP]] source code, {{code|info_ladder}} is allegedly is used to help bots navigate the ladders created from {{ent|func_ladder}} entities (which are collapsed to {{ent|worldspawn}} by [[VBSP]]), but is not found in any SDKs nor leaked code.  
 
{{important|In games where {{code|info_ladder}} is unused, it will result in the console complaining about the entity being unknown, and the entity will not be spawned, an as such will not ever count as an [[edict]]. {{modernConfirm|It probably is possible to just use a {{cmd|%CompileLadder}} material on a {{ent|func_detail}} instead, like in games that don't use func_ladder. If this is the case, the [[working Ladders]] page should be updated to discourage using {{ent|func_ladder}} in games where the {{code|info_ladder}} is unused.}} }}
Based on [[VBSP]] source code, <code>info_ladder</code> is used to help bots navigate the ladders created from {{ent|func_ladder}} entities (which are collapsed to {{ent|worldspawn}} by VBSP), but is not found in any SDKs nor leaked code.  
 
{{AltNames|name1=func_simpleladder|misc=In {{l4ds}} <code>func_ladder</code> is converted into {{ent|func_simpleladder}} filled with information about team and what direction the ladder is facing and the brush isn't moved to world.}}
 
{{warning|In games where <code>info_ladder</code> doesn't exist and <code>func_ladder</code> is being converted into this then warning in console <code>"Attempted to create unknown entity type info_ladder!\n"</code> will be shown when running the map so it's better to instead use {{ent|func_detail}} with material that has {{cmd|%CompileLadder}} unless the specific game has established different way of creating ladders.}}
 
{{question|Was this entity at any point present in other Valve games than Left 4 Dead series}}
 
== See Also ==
* {{l4ds}} {{ent|func_simpleladder}}
* {{ent|func_ladder}}
* {{ent|func_useableladder}}

Revision as of 22:30, 29 June 2024

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

info_ladder is a point 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.

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

See Also