User:Reacheround: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
m (tagging testers)
 
(6 intermediate revisions by one other user not shown)
Line 1: Line 1:
== HL2MP Dev Notes ==
== Bio ==
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.
{|
!align=right|Name
|Brandon Jones
|-
!align=right|Age
|30
|-
!align=right|Occupation
|Software Developer
|-
!align=right|Location
|South Carolina, USA
|-
!align=right|Website
|http://www.geekfestival.com/
|-
!align=right|Email
|{{e|reacher@geekfestival.com}}
|}


=== Conventions ===
__NOTOC__
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)
[[Category:Help Available]]
* 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 [[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
 
=== Console errors ===
When you are at the menu, the only console error you should see is that maplist.txt is missing.  Go ahead and select Create Server, select your map and select Start.  The first assert you get is in ai_activity.cpp.  Check [[SDK_Known_Issues_List|here]] for the fix.  The next assert complains about IsFrameLocking().  A fix for that is also on the known issues list.  After ignoring these, you'll see your mod's splash screen (in wonderful missing-material-checkerbox).  Click OK and voila, your map (the textures on the physcannon are probably missing too).
 
__NOTOC__

Latest revision as of 02:54, 3 December 2007

Bio

Name Brandon Jones
Age 30
Occupation Software Developer
Location South Carolina, USA
Website http://www.geekfestival.com/
Email reacher@geekfestival.com