This article's documentation is for anything that uses the Source engine. Click here for more information.

func_ladder

From Valve Developer Community
Revision as of 06:44, 12 July 2024 by Nesciuse (talk | contribs) (Nesciuse moved page Func ladder/en to Func ladder without leaving a redirect: Move en subpage to basepage)
Jump to navigation Jump to search
English (en)中文 (zh)Translate (Translate)

func_ladder is an internal brush entity available in all Source 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.

Note.pngNote: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 seriesLeft 4 Dead series Left 4 Dead series, Counter-Strike: Source Counter-Strike: Source, Day of Defeat: Source Day of Defeat: Source, Garry's Mod Garry's Mod, Vampire: The Masquerade – Bloodlines Vampire: The Masquerade – Bloodlines, and The Ship: Murder Party The Ship: Murder Party.
Icon-Important.pngImportant:This entity does not exist in CS:GO engine branch and Strata Source, and if used will delete the applied brush on spawn. Consult Creating Ladders (CSGO) for help.
Warning.pngWarning: Func_ladder brushes are still world brushes, and will create visleaves unless using materials with %CompileDetail.
Tip.pngTip:This parameter can safely be added to 🖿tools/toolsinvisbleladder.vmt without any negative consequences (the modified VMT does not need to be shared with the compiled map).

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.

Note.pngNote: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.

Template:Intent

See also