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

func_ladder

From Valve Developer Community
Jump to: navigation, search

func_ladder is a internal brush entity available in all Source Source games.

English (en)中文 (zh)
Edit
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 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.

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.


In code, it is represented by theCInfoLadderclass, defined in thenav_ladder.cppfile.
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.
Note.pngNote:This is an internal entity. When the map is compiled by VBSP it is processed and then removed: it does not exist when the map is running.

See also