func_ladder

From Source Entities
Jump to navigation Jump to search

Present in:
Css.pngCS:S
Dods.pngDOD:S
L4d.pngL4D
L4d2-small.pngL4D2

Ladder.png

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 L4d.pngL4d2-small.png, 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 L4d.pngL4d2-small.png, 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 Dods.png, 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/CommandParameters or default valueParameter TypeEffect
L4d.pngL4d2-small.pngnav_show_ladder_boundsShows 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.