Creating Ladders (CSGO): Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (otherlang2)
m (tools/toolsinvisibleladder still cuts visleafs, so I made it a bit more correct.)
Line 6: Line 6:


Make sure that the face is the same width/height as the climbable object.
Make sure that the face is the same width/height as the climbable object.
{{warning|Do not tie the brush to a [[func_ladder]], just leave it as a world brush.}}
{{warning|Do not tie the brush to a [[func_ladder]], it'll make the ladder non-existent in-game.}}




Assign the material <code>tools/toolsinvisibleladder</code> to this brush.  
Assign the material <code>tools/toolsinvisibleladder</code> to this brush.  
Since <code>tools/toolsinvisibleladder</code> still cuts visleafs, make the ladder func_detail.


{| border=0 cellspacing=0 cellpadding=0
{| border=0 cellspacing=0 cellpadding=0
| [[Image:CSGO_Ladder.PNG|thumb|600px|left|[[Brush | World Brush]] textured with 'tools/toolsinvisibleladder' in front of a [[prop_static]] ladder.]]
| [[Image:CSGO_Ladder.PNG|thumb|600px|left|[[Brush | func_detail]] textured with 'tools/toolsinvisibleladder' in front of a [[prop_static]] ladder.]]
|}
|}



Revision as of 02:32, 24 January 2019

Template:Otherlang2

Create a brush in front of the object/brush you want to be climbable, as close as you can to it, but without touching it.

Make sure that the face is the same width/height as the climbable object.

Warning.pngWarning:Do not tie the brush to a func_ladder, it'll make the ladder non-existent in-game.


Assign the material tools/toolsinvisibleladder to this brush. Since tools/toolsinvisibleladder still cuts visleafs, make the ladder func_detail.

func_detail textured with 'tools/toolsinvisibleladder' in front of a prop_static ladder.

You now have a climbable face which is in front of the object/brush. No other setup is required for your ladder to work in game.

Tip.pngTip:tools/toolsinvisibleladder will make the entire brush act like a ladder, even if it is only on a single face of the brush. Other faces of the brush will still show their textures in game.