It took me a lot of time searching through the internet how to set up Hammer 3.5 and make it work flawlessly, and I never found a tutorial that had everything you needed to know so I'm making one that includes everything you need to know on setting up for the first time Hammer Editor.
Posted by altercuca on Mar 23rd, 2010
Basic Starting a mod.
Open Hammer. Go on Tools menu at the very bottom you have Options. You are first presented with the General tab but skip directly to Game Configurations tab. Starting from up:
The following setting are going to depend on what game you are configuring about. I'll show for Conter-Strike since is a good way to start making map while you can test them online.
Note that configured this for steam. For the CD version is the same basic thing. You just need to find the same folders.
Basically here you add the texture packages (WAD file) found on you game directory. If you want other WAD files i suggest you for the easy way to look on your CD install folders or the internet. For adventurers you need GCFscape which allows you to see inside the GCF packages installed with your steam game. You can find more information and download GCFscape Here.
NOTE: If you manage to find more than 8 WAD files than you might crash Hammer, so in order to prevent this use less than 8 WAD files, OR if you really need more textures you need to use the Wally Wad Merger Tool. Here is again the link to explain how to merge .wad files: Link.
When you finish selecting your WAD files press OK and you are done.
If you put on textures only the original games .wad files then you are OK to go and make maps. Unfortunately if you included CUSTOM WAD files or other than the original one Hammer WON'T compile the map with your custom textures and when you compile the map Hammer will give you an error and maybe crash. So here is how we prevent this:
When you Run the compiler on Hammer the Run Map dialog box appears. Down on the left is a Expert button you need to press to go on expert mode. Now you are presented with the Advanced Run Map dialog box. You need to do 2 things here:
a. Select: $csg_exe $path\$file. After you select it above is a Parameters field in which you write: -nowadtextures.
b. Select the last command on the list: $game_exe -game..., there are 2 scenarios here:
If you have steam you need to open regedit and go to this address: HKEY_LOCAL_MACHINE\SOFTWARE\Valve\Steam\Apps
The numbers there are your APPID which depending on the game you are mapping for you need to choose and enter on the parameter this way: -applaunch APPID -dev -console +sv_lan <1> +sv_cheats <0>
If you installed from a CD you need to write on the Parameter field: hl2.exe -game cstrike -dev -console +sv_lan <1> +sv_cheats <0>
For more info about this last one go here: Link. It will look like this:
Now you can GO! and no error will pop up. Plus you map will include all the textures. Enjoy from altercuca