Brush ladders: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:


== gamemovement.cpp ==
== gamemovement.cpp ==
Open the gamemovement.cpp file and find the line that reads "// [sbodenbender] make ladders easier to climb in cstrike".<br>
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".<br>
The next step is to replace all of "hl_gamemovement.cpp" with the following code:
The next step is to replace all of "hl_gamemovement.cpp" with the following code:

Revision as of 05:39, 14 October 2018

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: