Func ladder: Difference between revisions
Jump to navigation
Jump to search
Before
Since
Note:Non
style climbing 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.
SirYodaJedi (talk | contribs) No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
{{Source topicon}} | {{Source topicon}} | ||
{{TabsBar}} | {{TabsBar}} | ||
{{This is a|brush entity|internal=1|name=func_ladder}} | {{Ent not in fgd|except={{css}}{{dods}}{{l4d}}{{l4d2}}{{csgo}}}} | ||
{{This is a|brush entity|internal=1|name=func_ladder}} | |||
__NOTOC__ | |||
== Differences == | |||
=== Before {{l4d|4}} === | |||
When [[VBSP]] compiles the map, it converts <kbd>func_ladder</kbd> brushes into regular world brushes with added [[CONTENTS_LADDER|ladder contents]], and an {{ent|info_ladder}} entity is created with KVs indicating the bounding box of the ladder. | |||
Because this type of <code>info_ladder</code> exists only in {{source 2006|4}} and {{source 2007|4}} this entity is obsolete. | |||
=== Since {{l4d|4}} === | |||
VBSP converts this to {{ent|func_simpleladder}} which has its keyvalues set based on [[%CompileTeam]] and which side of the brush has a ladder texture. The brush contents are '''NOT''' altered and depend on [[%CompileLadder]] flag. The <code>func_simpleladder</code> entity only exists in {{l4ds|2}}. | |||
{{ | == Usage == | ||
* {{Left 4 Dead series|4}} - Use this. See [[L4D_Level_Design/Ladders]]. Can also use {{ent|func_brush}} if toggling it is neccessary but will be climbable from any side. | |||
{{ | * {{Half-Life 2 series|4}} - ({{portal|4}}{{confirm}}) Players or NPCs are unable to use ladder contents for climbing. Use {{ent|func_useableladder}} instead. | ||
* {{Team Fortress 2|4}}, {{Portal 2|4}}, {{Alien Swarm}} - climbing not possible {{confirm}}. Needs workarounds [[Working_ladders#Brush-based_ladder_workaround]] | |||
* '''anything else''' - use {{ent|func_detail}} (or {{ent|func_brush}} if toggling is wanted) with a <code>tools/toolsinvisbleladder</code> texture (or other that has <kbd>%CompileLadder</kbd>). | |||
{{Note|Non {{hl2}} style climbing 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.}} | |||
== See also == | == See also == | ||
* [[Working Ladders]] | * [[Working Ladders]] |
Revision as of 16:25, 1 May 2025

func_ladder
is an internal brush entity available in all Source games.
Differences
Before
Left 4 Dead
When VBSP compiles the map, it converts func_ladder brushes into regular world brushes with added ladder contents, and an info_ladder entity is created with KVs indicating the bounding box of the ladder.
Because this type of info_ladder
exists only in Source 2006 and
Source 2007 this entity is obsolete.
Since
Left 4 Dead
VBSP converts this to func_simpleladder which has its keyvalues set based on %CompileTeam and which side of the brush has a ladder texture. The brush contents are NOT altered and depend on %CompileLadder flag. The func_simpleladder
entity only exists in Left 4 Dead series.
Usage
Left 4 Dead series - Use this. See L4D_Level_Design/Ladders. Can also use func_brush if toggling it is neccessary but will be climbable from any side.
Half-Life 2 series - (
Portal[confirm]) Players or NPCs are unable to use ladder contents for climbing. Use func_useableladder instead.
Team Fortress 2,
Portal 2,
- climbing not possible [confirm]. Needs workarounds Working_ladders#Brush-based_ladder_workaround
- anything else - use func_detail (or func_brush if toggling is wanted) with a
tools/toolsinvisbleladder
texture (or other that has %CompileLadder).

