mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2025-01-12 23:07:55 +03:00
Updated Setting up Mapbase (markdown)
parent
53ce2daaec
commit
09c2ba2922
@ -28,6 +28,8 @@ After installing Mapbase itself, you must have three things to use it with Hamme
|
||||
|
||||
---
|
||||
|
||||
### Custom game config
|
||||
|
||||
The custom game config tells Hammer what game/mod you're mapping for. For example, this is what a custom game config for `mapbase_episodic` looks like:
|
||||
|
||||
![image](https://user-images.githubusercontent.com/19228257/86517032-3d33f180-bdeb-11ea-9e7f-09335821ee23.png)
|
||||
@ -36,11 +38,7 @@ If you are only setting up for Mapbase itself and not a mod using Mapbase, the c
|
||||
|
||||
Mapbase's default FGDs are located in `mapbase_shared/shared_misc/bin`. You should only have to include `halflife2.fgd`. **Do NOT** include `base.fgd`. Some derivative mods may also have their own FGD which should be used instead (e.g. Map Labs with `maplab.fgd`).
|
||||
|
||||
Once you’ve set up your new configuration(s), select your configuration of choice and restart Hammer using the shortcut mentioned earlier in the setup. Once you've done that and installed compatible compile tools, you should be good to go for mapping with Mapbase.
|
||||
|
||||
See [Mapbase Setup Troubleshooting](Mapbase-Setup-Troubleshooting#Using-Mapbase-in-Hammer) if you encounter issues setting up Mapbase for Hammer.
|
||||
|
||||
### Raw configs
|
||||
#### Raw configs
|
||||
|
||||
Instead of creating a game config in Hammer, you could also modify `bin/GameConfig.txt` directly and insert configs into it.
|
||||
|
||||
@ -90,6 +88,33 @@ These are the game configurations I use for both versions of Mapbase respectivel
|
||||
}
|
||||
}
|
||||
|
||||
## Troubleshooting
|
||||
### The shortcut
|
||||
|
||||
**See [[Mapbase Setup Troubleshooting]].**
|
||||
Once you’ve set up your new configuration, you must launch Hammer using the `-game` parameter pointing to the mod of your choice. This is usually done through a shortcut to `hammer.exe` that has the `-game` launch parameter followed by the absolute path to your mod (e.g. `hammer.exe -game "C:\Program Files (x86)\Steam\SteamApps\sourcemods\mapbase_episodic"`). The [Mapbase Multi-Tool](Mapbase-Multi-Tool) can create these shortcuts automatically and makes this step painless.
|
||||
|
||||
This is what the Shortcut Creator in the Mapbase Multi-Tool and a shortcut created by the tool look like:
|
||||
|
||||
![image](https://user-images.githubusercontent.com/19228257/86795488-3c8d9c00-c033-11ea-8a79-292684ad44ec.png)
|
||||
|
||||
* "Bin Directory" should be the same directory Hammer is located in.
|
||||
* "Mod Directory" should be the mod the shortcut(s) should point to, like `mapbase_episodic`. Derivative mods should have their own folder name here.
|
||||
|
||||
This should be done for every Mapbase mod you plan on using Hammer with. Other SDK tools--like Faceposer or HLMV--must also be launched using a `-game` shortcut.
|
||||
|
||||
After setting up a shortcut for the mod of your choice, you must launch Hammer using that shortcut when you want to use Hammer for that mod.
|
||||
|
||||
### Compile tools
|
||||
|
||||
Mapbase also requires users to use map compilation tools which support custom shaders. Slartibarty's Slammin' Source or [Mapbase's custom compilers](https://www.moddb.com/mods/mapbase/downloads/mapbase-compile-tools) both support custom shaders, so you can install one or the other in order to compile maps for Mapbase.
|
||||
|
||||
The recommended setup is Mapbase's VBSP with Slarti's VVIS and VRAD.
|
||||
|
||||
---
|
||||
|
||||
## Conclusion
|
||||
|
||||
Once you've set up the Mapbase mods in `sourcemods`, you should be prepared to launch Mapbase or mods utilizing Mapbase.
|
||||
|
||||
Once you've set up the custom game config, the Hammer shortcut, and the custom compile tools, you should be prepared to create maps in Mapbase.
|
||||
|
||||
If you encounter any issues setting up Mapbase as a mod or issues setting up Mapbase in Hammer, see **[[Mapbase Setup Troubleshooting]]** for common problems and solutions.
|
Loading…
x
Reference in New Issue
Block a user