Welcome to the TWC Wiki! You are not logged in. Please log in to the Wiki to vote in polls, change skin preferences, or edit pages. See HERE for details of how to LOG IN.

Removing Regions

From TWC Wiki
Jump to navigationJump to search

Occasionally you may wish to remove one or more regions from the campaign map. The following is a quick guide to what you need to do:


Open map_regions.tga and in your image editor find the colour in RGB value of the region you want to remove, write that down, then paint over all that region with the colour of the region you want to take it over - making sure you cover city and port pixels too.

Open descr_regions.txt in Notepad or similar and use search function, to look up the RGB value you wrote down for the removed region, write down the region name of the region and then delete its entire entry from descr_regions.txt. Look up that region name in descr_strat and delete its entire settlement entry - if there are any watchtowers specified for that region at the bottom of the descr_strat file, either delete them together with the complete region section, re-assign the watchtower to the region that is taking over the coordinate, or if that region doesn't have already have a watchtower entry re-name the entire watchtower section to the new region name.

Search for the deleted region name in the following files in the relevant campaign folder: descr_mercenaries.txt, descr_events.txt, and descr_win_condititions.txt
if it exists in any of those delete it.

If the game uses a background script search that for the deleted region as well and delete / modify sections as appropriate. NB: vanilla M2TW uses the campaign_script.txt found in the campaign folder, so you must check that for any occurrence of the deleted region.

Test loading the campaign at that stage. With the appropriate error reporting device active; -show_err for RTW or .cfg Log File for M2TW.

You will still have armies on the map that previously garrisoned cities, that won't cause any immediate problem but you'll probably want to move them in the end. Your merged region will also end up with all the on-map resources for both regions, so you may also want to change those later.

Before trying any of this make back up copies of all the files you are about to alter.

YOU can help us improve this Wiki! ~ Look for ways to help and editing advice. ~ If you need further advice, please post here.