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
Nice tutorial, I used to use the one on SnarkPit to set up Hammer with Steam, good to see a similar one on Moddb.
u're welcome :), it's my first tutorial here. I'll keep posting different things on the way :)
could you make a tutorial for BLue Shift? :3
it's the same process as counter-strike only that you change the name and directories according to where your blue shift folders are
ZHLT 3.4 are old. There is a newer version: Svencoop.com But the sky texture in the shlt.wad is with a wrong texture. This f**ks the map pretty bad.
yeah, thats why i choose the old one, i went with the tutorial to make it as BUGFREE as possible!
too bad yours wont let me access my Gldsrc games.
Oh! I always wanted to make cs maps again :D I had it before when it acually was EASY to get it. Thank you kind sir.
u're most welcome
I can't find the stupid fgd file!
picture nr. 1, that path shown there is the default one.
i put my appid code and everything. but once i run it, my valve editor just malfunctions. and it is not responding and i have to shut it down. Please help . i really want to test my map .
the file u gave me compiled without any error! please check again the settings of your hammer editor. try and change the compatibility but I doubt is that. there MUST be something wrong with the settings so triple check them!!!
i doubled checked everything. It still crashes the same way. Why cant i run it ):
make some screenshots of your settings, lemme see if u have something wrong! (hide ur steamid plz)
Tell me the reviews if anything is wrong
I cant find any of the build programs anywhere. Please help me!
Edit: oh nevermind. I didn't see that link to the ZHLT tools before. Sorry. :) Great tutorial BTW.
how do i add wads???
read the Textures part!
Hello there i was wondering if you can make your own mod with this? If not can anyone send me a link what program to use to mod? Thanks! Verry good tutorial altercuca :)
yes thou you need a lot more background on using VHE
plzz help me....
when searching for nodraw texture searching in browse..
which wad file will i nead??? or what to do plzz reply...
the nodraw in VHE is not the same as in Source so you need to look for something else...looks like purple checkers...or you can make a new custom texture with wally tools
thankx evry one
i get evry think but when i run my map its telme this
** Executing...
** Command: Copy File
** Parameters: "d:\program files\valve hammer editor\fgd\counter-strike\cs-18.bsp" "F:\counter collection\cs 1.8\cstrike\maps\cs-18.bsp"
The command failed. Windows reported the error:
"The system cannot find the file specified."
** Executing...
** Command: Copy File
** Parameters: "d:\program files\valve hammer editor\fgd\counter-strike\cs-18.pts" "F:\counter collection\cs 1.8\cstrike\maps\cs-18.pts"
The command failed. Windows reported the error:
"The system cannot find the file specified."
** Executing...
** Command: Copy File
** Parameters: +map "cs-18" -dev -console
it look like the prog dont creat the *.psb and *.pst file
so is there anyone can help ^_^
the game is failing to copy the files you just executed to the default map folder the game has...my suggestion is change the folder where your maps get rendered to the default one I wrote above or before u run the map copy it to the default location and when u get ingame open the console (`) and type: map yourmapnamehere (enter)
PS: make sure you wrote the correct address on the Build Programs tab
smoe tim the game give me this
couldn't exec banned_user.cfg
couldn't exec banned_ip.cfg
banned?
now show ppls how to use KBAT.
so everybody can skip noob-vhe compilation and settings.
sigh....
PLEASE HELP I CANT FIND THE GAME DATA FILES AND THE ONE ON THE PICTURE DOESN'T WORK
I ALSO USE THE SOFTWARE VERSION IF IT MAKES A DIFFERENCE
the FGD is in thte folder where Valve Hammer Edit (it was automatic for me so there is no difference what version of the game u have). You need to find the executable files and put them according to ur installation folders, ie: C:\Program Files\Valve\half-life\cstrike might be your mod directory if u're mappin' for CS
the wad merger tool link is not working.
all links work fine!
You say that there should be wads in the game directory, does it not have wads because its steam version, I can't really find them?
there is a wad file installed with ZHLT tools when u install it, (named zhlt.wad). Use that for starters, if you want more wads you have to use a program called GCFScape to extract them from the game you want to mod with GCF's File inside steamapps folder. I didn't cover that here since all I wanted to cover is how to set up Hammer 3.5. For more info google GCFScape from Nemesis on Nem's Tools
Example I have to put to configuration the name of the game I'm going to map for I want to map for HL so I don't write counter-strike but I write Half-Life?
the link for the wad merger tool isnt working for me, it just goes to the websites homepage
Then try to find tools from google. I have get my valve hammer editor working. This tutorial is ok but why using counter strike files if want to make HL mod?
eh sorry about that, i was making maps for cs and used that knowledge to make the tutorial
Hi....I have created a map..Its working fine but when I play with my friend on internet using that map it give him a high latency (lag)....tricky part is that even if he create server I dont get very much latency...but he gets...please help me this is my first map....thanx in advance
What should Compile Process Window look like when runing map and using custom wad files? That would help me very much. Thx
This comment is currently awaiting admin approval, join now to view.