Info ladder: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{LanguageBar}}
{{TabsBar}}
{{obsolete}}
{{obsolete}}
{{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}}
{{CD|CFuncSimpleLadder}}
{{CD|CInfoLadder|base=CBaseEntity|file1=nav_ladder.cpp}}
{{this is a|[[entity]]|name=info_ladder|game=Left 4 Dead series|game1=Insurgency}}
{{this is a|[[entity]]|name=info_ladder|game=Source 2006|game1=Source 2007}}


Based on VBSP source code, <code>info_ladder</code> is used to help bots navigate the ladders created from <code>func_ladder</code> entities (which are collapsed to {{ent|worldspawn}} by VBSP), but is not found in any SDKs nor leaked code.  
Based on VBSP source code, <code>info_ladder</code> is used to help bots navigate the ladders created from <code>func_ladder</code> entities (which are collapsed to {{ent|worldspawn}} by VBSP), but is not found in any SDKs nor leaked code.  
{{PreservedEnt}}
{{PreservedEnt}}
{{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.}}
{{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}}
{{note|Some third-party [[bot]] plugins read info_ladder to find ladders, such as the version of [[Omnibot]] included in {{ff|2}}.}}
{{note|Some third-party [[bot]] plugins read info_ladder to find ladders, such as the version of [[Omnibot]] included in {{ff|2}}.}}



Revision as of 02:56, 14 September 2024

English (en)Translate (Translate)
edit
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
CInfoLadder
CBaseEntity
C++ nav_ladder.cpp

info_ladder is an entity available in Source 2006 Source 2006 and Source 2007 Source 2007.

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.
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.
Note.pngNote:Some third-party bot plugins read info_ladder to find ladders, such as the version of Omnibot included in Fortress Forever Fortress Forever.

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