Hammer++/Docs/Installation for Source 2006 games

From Valve Developer Community
< Hammer++‎ | Docs
Revision as of 02:20, 19 September 2024 by Kr0tchet (talk | contribs) (Gonna put this on my userpage for now. Hammer++ rn does work on Source 2006 but requires alot of setup and this may not work on all games.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This page show you how to get Hammer++ Hammer++ to work on Source 2006 games. Currently this is tested in old version of Counter-Strike: Source Counter-Strike: Source (v34) with unpacked "cstrike" files only (not stored in VPK).

1. Prerequisites
Source SDK (AppID 211)
Hammer++ Hammer++
Older version of Half-Life 2, Counter-Strike: Source (or any Source 2006 games)
2. Go to V:\Steam\steamapps\common\SourceSDK\bin\ep1\bin\vconfig and add
game	C:\Program Files\Steam\steamapps\common\Counter-Strike Source Old Engine\Counter-strike Source\cstrike
game	C:\Program Files\Steam\steamapps\common\Counter-Strike Source Old Engine\Counter-strike Source\hl2
Note.pngNote:The path shown above are examples. If you install the game on different directory, you need to specify where the game is installed.
3. Open Hammer++

Then go to Tools > Options > Edit > Add and name it "Counter-Strike: Source (Old Engine)"

4. Game Data Files (FGD)

You can either use the Source 2013's cstrike.fgd or Source 2006's cstrike.fgd, as both have the same contents. Some games that have been updated from Source 2006 > 2009/2013 may have new entities and stuff added into FGD which are not present in previous version of the game/branch.

5. Change the following directory:
Game Executable Directory: 🖿...\Counter-Strike Source Old Engine\Counter-strike Source\
Game Directory: 🖿...\...\Counter-strike Source\
(You must set this to latest CSS as loading "cstrike" from Old Engine will attempt to load old shaders, causing Hammer++ preview to stop working.)
Hammer VMF Directory: 🖿...\Counter-Strike Source Old Engine\Counter-strike Source\mapsrc (you can change this to any directory you want)
Prefab Directory (optional): 🖿...\Counter-Strike Source Old Engine\Counter-strike Source\
6. Build Programs
Game executable: Point to 🖿...\Counter-Strike Source Old Engine\Counter-strike Source\hl2.exe (or any Source 2006's hl2.exe)
BSP executable: 🖿$SteamUserDir\SourceSDK\bin\ep1\bin\vbsp.exe
VIS executable: 🖿$SteamUserDir\SourceSDK\bin\ep1\bin\vvis.exe
RAD executable: 🖿$SteamUserDir\SourceSDK\bin\ep1\bin\vrad.exe
Place compiled maps: 🖿...\Counter-Strike Source Old Engine\Counter-strike Source\cstrike\maps
7. Restart Hammer++
8. Load any VMF and make sure it's works, then press F9

Change the VBSP, VVIS and VRAD parameters from: -game $gamedir to -game "...\Counter-Strike Source Old Engine\Counter-strike Source\cstrike"

9. Click Close (this would save the compiler's parameters).
Note.pngNote:Newer version of the game such as Counter-Strike: Source Counter-Strike: Source's Source 2013 version, included textures (such as 2D Skybox tool texture) that might not be available on older version of Source. So it's recommended to run both Source 2006's Hammer and Hammer++, and check see if the same texture does exist in previous Source using Texture Browser.
Note.pngNote:Lighting in Source 2006 might be brighter compared to Hammer++ lighting preview (or Source 2007 and later), due to differences in LDR and HDR lighting.