Func ladder: Difference between revisions
Jump to navigation
Jump to search
Note:This entity has not been available since Source SDK 2006 and later and doesn't function in ep1-2 series, even if to added to base.fgd. Use Func_useableladder instead.
Func_ladder is still used in
Left 4 Dead series,
Counter-Strike: Source,
Day of Defeat: Source,
Garry's Mod,
Vampire: The Masquerade – Bloodlines, and
The Ship: Murder Party.
Important:func_simpleladder does not exist in CS:GO engine branch and Strata Source, and as such, if a func_ladder is used, the brush will be deleted on spawn. Consult Creating Ladders (CSGO) for help.
Warning: Func_ladder brushes are still world brushes, and will create visleaves unless using materials with %CompileDetail or %CompileClip.
Tip:%CompileDetail parameter can safely be added to 
Alternatively, create a
, but not
).
Note:This entity is prone to exploitation, as a player can travel up the ladder with two keys at once to travel faster up, and at the end of the ladder they will be flung upwards to possibly reach high areas.
SirYodaJedi (talk | contribs) No edit summary |
SirYodaJedi (talk | contribs) mNo edit summary |
||
Line 10: | Line 10: | ||
{{Note|This entity has not been available since Source SDK 2006 and later and doesn't function in ep1-2 series, even if to added to base.fgd. Use {{Ent|Func_useableladder}} instead.<br>Func_ladder is still used in {{l4dseries|4}}, {{css|4}}, {{dods|4}}, {{Gmod|4}}, {{vtmb|4}}, and {{ship|4}}.}} | {{Note|This entity has not been available since Source SDK 2006 and later and doesn't function in ep1-2 series, even if to added to base.fgd. Use {{Ent|Func_useableladder}} instead.<br>Func_ladder is still used in {{l4dseries|4}}, {{css|4}}, {{dods|4}}, {{Gmod|4}}, {{vtmb|4}}, and {{ship|4}}.}} | ||
{{Important|{{ent|func_simpleladder}} does not exist in {{csgobranch|1}} and {{strata|1}}, and as such, if a func_ladder is used, the brush will be deleted on spawn. Consult [[Creating Ladders (CSGO)]] for help.}} | {{Important|{{ent|func_simpleladder}} does not exist in {{csgobranch|1}} and {{strata|1}}, and as such, if a func_ladder is used, the brush will be deleted on spawn. Consult [[Creating Ladders (CSGO)]] for help.}} | ||
{{warning| Func_ladder brushes are still world brushes, and will create [[visleaves]] unless using materials with {{cmd|%CompileDetail}} or {{cmd|%CompileClip}}. {{tip|{{cmd|%CompileDetail}} parameter can safely be added to {{file|tools/toolsinvisbleladder|vmt}} without any negative consequences (the modified VMT does not need to be shared with the compiled map). Alternatively, create a {{file|tools/toolsladder|vmt}} with {{cmd|%CompileClip}} instead of {{cmd|%CompileNoDraw}}+{{cmd|%CompilePassBullets}} (works in {{dods}}, but not {{css}}).}}}} | {{warning| Func_ladder brushes are still world brushes, and will create [[visleaves]] unless using materials with {{cmd|%CompileDetail}} or {{cmd|%CompileClip}}. {{tip|{{cmd|%CompileDetail}} parameter can safely be added to {{file|tools/toolsinvisbleladder|vmt}} without any negative consequences (the modified VMT does not need to be shared with the compiled map).<br>Alternatively, create a {{file|tools/toolsladder|vmt}} with {{cmd|%CompileClip}} instead of {{cmd|%CompileNoDraw}}+{{cmd|%CompilePassBullets}} (works in {{dods}}, but not {{css}}).}}}} | ||
== Entity description == | == Entity description == |
Revision as of 07:36, 14 September 2024
func_ladder
is an internal brush entity available in all Source games.
When VBSP compiles the map, it converts func_ladder brushes into regular world brushes with ladder contents, and an info_ladder entity is created with KVs indicating the bounding box of the ladder.
In Left 4 Dead and newer, the geometry is kept as a brush entity, and converted to a func_simpleladder instead.

Func_ladder is still used in











tools/toolsinvisbleladder.vmt
without any negative consequences (the modified VMT does not need to be shared with the compiled map).Alternatively, create a

tools/toolsladder.vmt
with %CompileClip instead of %CompileNoDraw+%CompilePassBullets (works in 

Entity description
A ladder. Players will be able to freely move along this brush, as if it was a ladder. If you are using a model prop for the visual representation of the ladder in the map, apply the toolsinvisibleladder material to the func_ladder brush.
This entity has no keyvalues, flags, inputs, or outputs.
