User:Reacheround: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
== HL2MP Dev Notes ==
== 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.
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 ===
=== Creating the mod ===
# Crank up the Source SDK and Create a mod (choosing to modify Half-Life 2 Multiplayer)
# Crank up the Source SDK and Create a mod (choosing to modify Half-Life 2 Multiplayer)
# Open the Game_HL2MP-2003.sln solution and build it (get some coffee :p)
# 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 [[Your_First_Map|here]])
# Make a map (this is documented in many places so the ambitious can search around for a tut, and the lazy can just go [[Your_First_Map|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


__NOTOC__
__NOTOC__

Revision as of 22:06, 17 December 2006

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

  1. Crank up the Source SDK and Create a mod (choosing to modify Half-Life 2 Multiplayer)
  2. Open the SRC_LOC/src/Game_HL2MP-2003.sln solution and build it (get some coffee :p)
  3. 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
  4. 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.
  5. Run your mod