Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I just installed Source SDK. Made a multiplayer mod from a template using Source Engine 2007. I'm currently using VS2008.

I was wondering which folder I should work in. For example weapons, which files I should change?

Is it "\src\game\server\hl2\weapon_crowbar.cpp" or "\src\game\shared\hl2mp\weapon_crowbar.cpp" or "\src\game\shared\sdk\weapon_crowbar.cpp"

Also, I've seen the various help on the wiki, if I want to change bullets for example, saying I should change the scripts in the mod folder in Steam. Is that necessary? Shouldn't I make changes from the source mod folder to things like that and recompile?

I'm aiming for a total conversion mod rather than just a mini-mod in case that matters.

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

This depends on the project you're using.

  • Game_Episodic_2005.sln: use /hl2/ crowbar (from HL2/Episodes).
  • Game_HL2MP_2005.sln: use /hl2mp/ crowbar (from HL2: Deathmatch, probably optimized for multiplayer).
  • Game_Scratch_2005.sln: use /sdk/ crowbar (I think it's an example weapon here).

For total conversions, use Game_Scratch_2005, but it has several errors when compiling, Game_Episodic_2005 compiles without any errors on Release configuration, but contains HL2 content. It is HIGHLY NOT recommended to compile without HL2_DLL (HL2_CLIENT_DLL) parameter while using Game_Episodic_2005 as errors may occur.

share|improve this answer
    
I followed the help on the source page and fixed the various problems with the compilation. Now I finally know what I should tinker with however! Thank you for the detailed response. :) –  Predanoob Sep 12 '11 at 18:48
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.