Updated Modding with Mapbase (markdown)

Blixibon 2020-10-02 20:39:50 -05:00
parent 2092c76bbf
commit 2d99631b84

@ -23,7 +23,7 @@ This is usually done by copying *(not extracting)* Mapbase's VPKs. Here are some
1. First, you will need a place to put the VPKs. You can create a `mapbase` folder in your mod's root folder for this. (e.g. `sourcemods/mod_name/mapbase`). 1. First, you will need a place to put the VPKs. You can create a `mapbase` folder in your mod's root folder for this. (e.g. `sourcemods/mod_name/mapbase`).
2. Inside of your new folder, you will need additional subfolders to separate Mapbase's content VPKs, reflecting the `mapbase_shared`, `mapbase_hl2`, `mapbase_episodic` scheme. This is often done by naming the folders after Mapbase's folders, but without the `mapbase_` part (e.g. `shared`, `hl2`, and `episodic`) 2. Inside of your new folder, you will need additional subfolders to separate Mapbase's content VPKs, reflecting the `mapbase_shared`, `mapbase_hl2`, `mapbase_episodic` scheme. This is often done by naming the folders after Mapbase's folders, but without the `mapbase_` part (e.g. `shared`, `hl2`, and `episodic`)
3. Now copy Mapbase's VPKs to your new subfolders. These VPKs are found in the release build. (e.g. go to `mapbase_episodic/content` and copy its contents to `mod_name/mapbase/episodic`, etc.) (**Note:** `mapbase_shared/shared_misc/bin` can be merged with your own mod's root `bin` folder) 3. Now copy Mapbase's VPKs to your new subfolders. These VPKs are found in the release build. (e.g. go to `mapbase_episodic/content` and copy its contents to `mod_name/mapbase/episodic`, etc.) *(Note: `mapbase_shared/shared_misc/bin` can be merged with your own mod's root `bin` folder)*
4. If your mod is **not** using its own code, copy Mapbase's DLLs in the mod of your choice (`mapbase_episodic`, etc.) to your own mod's `bin` folder. (`discord_rpc.dll` and `game_shader_dx9.dll` count too) 4. If your mod is **not** using its own code, copy Mapbase's DLLs in the mod of your choice (`mapbase_episodic`, etc.) to your own mod's `bin` folder. (`discord_rpc.dll` and `game_shader_dx9.dll` count too)
5. In `gameinfo.txt`, add the following commands to where you would normally mount Mapbase externally (see the mod templates for reference): 5. In `gameinfo.txt`, add the following commands to where you would normally mount Mapbase externally (see the mod templates for reference):
``` ```