I see some people asking for a guide on how to set up the Source SDK to make content for Black Mesa. If this was already posted somewhere, my apologies.
Here is how it’s done:
-
Make sure Black Mesa, Source SDK Base 2007 and Source SDK are all properly installed. Run Source SDK at least once for it to create all the folder structures. Also run Black Mesa at least once, so you know SDK Base 2007 is properly installed.
-
Go to your Steam folder (mostly in C:\Program Files(x86)\Steam). Then go to \Steam\steamapps\youraccountname\sourcesdk\bin\source2007\bin\ (where “youraccountname” is the name of your Steam account, of course)
-
In this folder, find the GameConfig file. If you have never used SDK before, this file does not exist yet and you’ll have to make one yourself. Open the existing GameConfig or create your own by making a new Notepad file named GameConfig.
[COLOR=‘Red’]NOTE: Since it’s a text file, .txt should be the extension of the file. If you have hidden extensions for known files (which is default in Windows), just call it GameConfig. The extention .txt will be added by Notepad automaticly.
- In the GameConfig file add the following:
"Configs"
{
"Games"
{
"Black Mesa"
{
"GameDir" "c:\program files\steam\steamapps\sourcemods\BMS"
"hammer"
{
"GameData0" "c:\program files\steam\steamapps\sourcemods\BMS\bms.fgd"
"TextureFormat" "5"
"MapFormat" "4"
"DefaultTextureScale" "0.250000"
"DefaultLightmapScale" "16"
"GameExe" "c:\program files\steam\steamapps\youraccountname\half-life 2\hl2.exe"
"DefaultSolidEntity" "func_detail"
"DefaultPointEntity" "info_player_start"
"BSP" "c:\program files\steam\steamapps\youraccountname\sourcesdk\bin\source2007\bin\vbsp.exe"
"Vis" "c:\program files\steam\steamapps\youraccountname\sourcesdk\bin\source2007\bin\vvis.exe"
"Light" "c:\program files\steam\steamapps\youraccountname\sourcesdk\bin\source2007\bin\vrad.exe"
"GameExeDir" "c:\program files\steam\steamapps\youraccountname\half-life 2"
"MapDir" "c:\program files\steam\steamapps\sourcemods\BMS\maps"
"BSPDir" "c:\program files\steam\steamapps\sourcemods\BMS\maps"
"CordonTexture" "tools\toolsskybox"
"MaterialExcludeCount" "0"
}
}
"SDKVersion" "3"
}
- Now edit all the paths so they correspond with your computer’s set up. In other words: check where your Black Mesa, Half-Life 2 and Source SDK are installed and change the lines accordingly to that.
A more detailed look at the parameters:
GameDir = The folder where Black Mesa is installed.
GameData0 = Where the Black Mesa FGD file is.
GameExe = Where your Half-Life 2 installation is (the hl2.exe file)
BSP = Where the BSP compile tool is found. Make sure you use the one for SDK 2007.
VIS = Where the VIS compile tool is.
Light = Where the RAD compile tool is.
MapDir = Where you put your RMF files.
BSPDir = Where the BSPs need to be placed after compiling (BMS\maps folder).
[COLOR=‘red’]NOTE: If you’re editing an existing GameConfig file, look at the file’s layout first. See where sections begin and end (with brackets { / }). So if “Configs” and “Games” are already there, only copy the “Black Mesa” part somewhere between the other game configs. You also won’t have to put “SDKVersion” twice into 1 file. Make sure the existing “SDKVersion” is 3. If this is a different number, Hammer Editor won’t work properly.
[COLOR=‘red’]NOTE2: Pay attention to the “Program Files” folder. If you are running a 64-bit version of Windows, the Program Files folder is called “Program Files (x86)”.
- Save the file and then restart Source SDK. Then select Source Engine 2007 and you should see Black Mesa on the list.
And you’re done!
If you have any questions, feel free to ask!