Brush ladders

From Valve Developer Community
Revision as of 12:39, 14 October 2018 by TobyTurbo64 (talk | contribs)

Jump to: navigation, search

Introduction

This tutorial covers how you can allow the use of brush ladders in your Source 2013 modification. After completing this tutorial, you will be able to create ladders like you would in CS:GO or Gmod.

gamemovement.cpp

Open the gamemovement.cpp file and find the line that reads "// [sbodenbender] make ladders easier to climb in cstrike" and remove the "#if defined (CSTRIKE_DLL)" and its connected "#end if".
The next step is to replace all of "hl_gamemovement.cpp" with the following code: