User:Reacheround
Jump to navigation
Jump to search
HL2MP Dev Notes
In order to root out any and all issues that crop up from building and running a HL2MP mod, I will document the steps taken. These steps will apply to VS.NET 2003.
Conventions
Throughout these notes the following keywords will be used. Make note of their definitions:
- SRC_LOC - location of the source code for your mod (ie. C:\code\MyMod)
- MOD_LOC - location of the mod itself (ie. C:\Steam\SteamApps\SourceMods\MyMod)
Creating the mod
- Crank up the Source SDK and Create a mod (choosing to modify Half-Life 2 Multiplayer)
- Open the SRC_LOC/src/Game_HL2MP-2003.sln solution and build it (get some coffee :p)
- Make a map (this is documented in many places so the ambitious can search around for a tut, and the lazy can just go here) nothing fancy, a single room with a light and an info_player_deathmatch will suffice
- Right-click your new mod link in the Steam window, it should be labeled Half-Life 2 DM (this label is changed in MOD_LOC/GameInfo.txt) and select Create desktop shortcut. Once the shortcut is made, right click it and select Properties. At the end of the target field, add: -dev -console -allowdebug.
- Run your mod