• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

unmerged(10397)

Citizen
Jul 27, 2002
1.023
0
Well i could spend a while looking for it, but i thought Id just ask instead. Im told its possible to change province ownership and ive never really mod'd anything before other than a little poking around the legion files so...im at a bit of a loss. How do you change province ownership?
 

Havard

Dark Power
49 Badges
Jun 28, 2001
15.686
170
  • Crusader Kings II: Jade Dragon
  • Crusader Kings II: Conclave
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Mare Nostrum
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Cities: Skylines - Natural Disasters
  • Crusader Kings II: Monks and Mystics
  • Cities: Skylines - Mass Transit
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Third Rome
  • Cities: Skylines - Green Cities
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Rule Britannia
  • Cities: Skylines - Parklife
  • Europa Universalis IV: Dharma
  • Cities: Skylines Industries
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Golden Century
  • Imperator: Rome Deluxe Edition
  • Imperator: Rome
  • Cities: Skylines - Campus
  • Crusader Kings III
  • Crusader Kings III: Royal Edition
  • Europa Universalis IV: Wealth of Nations
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sword of Islam
  • Europa Universalis III
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Res Publica
  • 500k Club
  • Cities: Skylines
  • Europa Universalis III: Collection
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
In a scenario or a savegame?

Not that it matters that much, since the format is the same...

In the scenario file (./scenarios/<year>/<year>_<tag>.inc) or the savegame (both are textfiles - open them in a text editor) each country is defined with something like this:
Code:
[color=silver]country = { 
    tag = <tag>
    <lotsa stuff here>[/color]

In there you find four lists of provinces: knownprovinces, ownedprovinces, controlledprovinces and nationalprovinces.

To change ownership you move a province id from the ownedprovinces object to another country. You should normally also do the same change in the controlledprovinces object.

So - is that it then? Nope... Not yet. There is one more thing: The city.

If you scroll down a bit in the country definition you find the city definitions:
Code:
[color=silver]    city = {         
        fortress = { level = 1 }  
        population = 5000
        location = <province id>
    }[/color]
Find the definition of the city in the province you want to move, and cut 'n paste this into the country definition of the country you moved the province to.

Now! That's it :)


For more info about this take a look at the website linked in my signature... ;)