Updated Setting up Mapbase (markdown)

Blixibon 2019-06-23 18:55:58 -05:00
parent 83f9edb79e
commit 0d9925dd6e

@ -10,8 +10,70 @@ First off, get the latest version by downloading (TODO). It should have three fo
You should now have “Mapbase - Episodic” and “Mapbase - HL2” in your Steam library. If not, make sure you're using the same drive Steam is installed on and ensure that you extracted the folders correctly. (e.g. "SteamApps/sourcemods/mapbae_shared")
If you have followed all instructions correctly, Mapbase should be fully playable at this point.
If you have followed all instructions correctly, Mapbase should be fully playable at this point. `mapbase_episodic` is for the HL2 episodes, `mapbase_hl2` is for the original HL2, and `mapbase_shared` just contains miscellaneous content not unique to Half-Life 2.
# Setting up Mapbase for Hammer
# Using Mapbase in Hammer
(todo)
Setting up Mapbase for Hammer is a bit more complicated. After installing Mapbase itself, you must have two things to use it with Hammer:
1. A custom game configuration. All that should be different from the original configurations are the FGD directory, the game directory, and the BSP directory.
2. A shortcut to hammer.exe that has the `-game` launch parameter followed by the absolute path to your Mapbase sourcemod. (e.g. `hammer.exe -game "C:\Program Files (x86)\Steam\SteamApps\sourcemods\mapbase_episodic"`)
The FGDs are located in `mapbase_shared/shared_misc/bin`. You should only have to include `halflife2.fgd`.
The game and BSP directories depend on whether you want to map for Episodic or HL2. Episodic is based on EP1/EP2 and HL2 is based on the original HL2. Episodic contains newer features and entities introduced in Episode One and Two, meaning you probably want to use Episodic. Since Source 2013 comes with Episodic content automatically, you nor your players should need to have either episode installed to use Mapbase's episodic version.
Depending on which version you'll be using, the game directory should be either `mapbase_episodic` or `mapbase_hl2` and the BSP directory should be either mapbase_episodic/maps or mapbase_hl2/maps.
Once youve set up your new configuration(s), select your configuration of choice and restart Hammer. You should be good to go at that point.
These are the game configurations I use for both versions of Mapbase respectively:
Once youve set up your new configuration(s), select your configuration of choice and restart Hammer. You should be good to go at that point.
These are the game configurations I use for both versions of Mapbase respectively:
"Mapbase - Episodic"
{
"GameDir" "C:\Program Files (x86)\Steam\SteamApps\sourcemods\mapbase_episodic"
"Hammer"
{
"GameData0" "C:\Program Files (x86)\Steam\SteamApps\sourcemods\mapbase_shared\shared_misc\bin\halflife2.fgd"
"DefaultTextureScale" "0.250000"
"DefaultLightmapScale" "32"
"GameExe" "C:\Program Files (x86)\Steam\SteamApps\common\Half-Life 2\hl2.exe"
"DefaultSolidEntity" "func_detail"
"DefaultPointEntity" "info_player_start"
"BSP" "C:\Program Files (x86)\Steam\SteamApps\common\Half-Life 2\bin\vbsp.exe"
"Vis" "C:\Program Files (x86)\Steam\SteamApps\common\Half-Life 2\bin\vvis.exe"
"Light" "C:\Program Files (x86)\Steam\SteamApps\common\Half-Life 2\bin\vrad.exe"
"GameExeDir" "C:\Program Files (x86)\Steam\SteamApps\common\Half-Life 2"
"MapDir" "C:\Program Files (x86)\Steam\SteamApps\common\Half-Life 2\sourcesdk_content\ep2\mapsrc"
"BSPDir" "C:\Program Files (x86)\Steam\SteamApps\sourcemods\mapbase_episodic\maps"
"CordonTexture" "tools\toolsskybox"
"MaterialExcludeCount" "0"
}
}
"Mapbase - HL2"
{
"GameDir" "C:\Program Files (x86)\Steam\SteamApps\sourcemods\mapbase_hl2"
"Hammer"
{
"GameData0" "C:\Program Files (x86)\Steam\SteamApps\sourcemods\mapbase_shared\shared_misc\bin\halflife2.fgd"
"DefaultTextureScale" "0.250000"
"DefaultLightmapScale" "32"
"GameExe" "C:\Program Files (x86)\Steam\SteamApps\common\Half-Life 2\hl2.exe"
"DefaultSolidEntity" "func_detail"
"DefaultPointEntity" "info_player_start"
"BSP" "C:\Program Files (x86)\Steam\SteamApps\common\Half-Life 2\bin\vbsp.exe"
"Vis" "C:\Program Files (x86)\Steam\SteamApps\common\Half-Life 2\bin\vvis.exe"
"Light" "C:\Program Files (x86)\Steam\SteamApps\common\Half-Life 2\bin\vrad.exe"
"GameExeDir" "C:\Program Files (x86)\Steam\SteamApps\common\Half-Life 2"
"MapDir" "C:\Program Files (x86)\Steam\SteamApps\common\Half-Life 2\sourcesdk_content\hl2\mapsrc"
"BSPDir" "C:\Program Files (x86)\Steam\SteamApps\sourcemods\mapbase_hl2\maps"
"CordonTexture" "tools\toolsskybox"
"MaterialExcludeCount" "0"
}
}
You can use this as a reference for which paths you need to use and/or adjust the paths to your computer and just stick the configurations in `bin/GameConfig.txt`.