Before you begin, it will help if you note down the name of the commander of the garison of the settlment you want to change the ownership of.

First go to:

If you want to edit the imperial campaign: Data/world/maps/campaign/imperial_campaign
If you want to edit another campaign: Data/world/maps/campaign/my_modded_campaign


Now open up the file descr_strat.txt

Search for the faction you want to remove the province from. For example romans_scipii.

You should see these lines:

Code:
Spoiler Alert, click show to read: 
faction romans_scipii, bureaucrat napoleon
denari 5000

Then you should see a list of settlements in this format:

Code:
Spoiler Alert, click show to read: 
settlement
{
level
region

year_founded
population
settlement_tax
plan_set
faction_creator
building
{
[This is where the list of the buildings go]
}
}

Scroll down until you find the settlement you want to change the ownership of. For example this could be Sicilia_Romanus.

Hightlight the entire settlment (from the beginning of the word 'settlement' to the }), and cut it. Now search for the name of the faction you want to give the region to. For example, carthage.

Go to the end of their list of settlements and paste the settlement.


Now you need to change the garisons.

Go back to the first faction (e.g. romans_scipii), and scroll down to the armies section.
This should start with

Code:
Spoiler Alert, click show to read: 
caracter Cornelius Scipio,

Now look for the character who is garisoning the province. At the end of that line, there should be the co-ordinates of the location on the strat map of that character. Make a note of these.

Now you want to move him out of the town. An easy way of doing this is to give him the same co-ordinates as another general, but change the values by one or two.

The game should now work. BUT, the town will have no garison. To give it one, you will have to edit the armies of the new faction

Go to the second factions army area, and add a new character using this text:

Code:
Spoiler Alert, click show to read: 
character NAME, general, command 0, influence 0, management0, subterfuge, age 20, , x XCORD, y YCORD
army
unit UNIT NAME exp 0 armour 0 weapon_lvl 0

Change the capital NAME to a valid name for that faction, and the XCORD and YCORD to the coordinates of the town.
Change the UNIT NAME to the name of a valid unit for that faction.

You can add more units if you like.

There you go. Finished.

Myrddraal