func_ladder

func_ladder is an internal brush entity present in some Source games. It creates a Half-Life style ladder which can be climbed on vertically or horizontally.
Note: In ![]()
, the tools/toolsinvisibleladder texture needs to be applied on all sides of the brush that should be climbable. All brush sides will turn invisible. To make a ladder climbable only by infected in versus mode, texture it with tools/climb_versus.
Tip: In ![]()
, ladders don't actually have to be an entity. Any brush can be climbable if textured with tools/toolsinvisibleladder, but it then needs to be targeted with the nav_build_ladder command. Valve used this method to create the extending ladder in No Mercy part 3.
Bug: In
, the top of the brush is still considered a climbable surface and when a player jumps off it, they will be launched much higher than the normal jump height.
- Fix: Clip off the top bit.
SDK VBSP source code mentions this entity being converted into one called info_ladder, however neither CS:S nor DOD:S implement that entity (but still attempt to create it at runtime). The brush is only climbable due to the fact that VBSP also adds CONTENTS_LADDER to the BSP flags. The Left 4 Dead games do have info_ladder in the engine, but instead use func_simpleladder for the classname.
ConVars/Commands[edit | edit source]
| ConVar/Command | Parameters or default value | Parameter Type | Effect |
|---|---|---|---|
| | Shows the boundaries of ladders with green boxes. It seems this cannot be turned off. |
See Also[edit | edit source]
- Ladders - How to make ladders in other games.