The AI has (or had? I've actually been using this modification for quite some time, so I don't know whether it's been fixed) a tendency to revoke the de jure capital of its primary title for no real reason. This is annoying because the AI will accrue tyranny opinion modifiers for no good reason--and was especially irksome when viceroys would repeatedly cause internal civil wars immediately after gaining their titles.
However, this behavior can be fixed with the following procedure:
1. The easy part: Using Notepad++'s replace function, set the capital of every title (except mercenary/holy_order/controls_religion and e_byzantium/e_latin_empire) to a sea tile, and simultaneously add creation_requires_capital = no to those titles. This can be done by replacing the phrase "\tcapital =" with the phrase "\tcreation_requires_capital = no\r\n\tcapital = 1700 #".
2. The time-consuming part: Manually recreate the only real use of a capital--allowing the creation of a titular title--in the allow section of every one of those titles that could become titular (i.e., all empires, all kingdoms, and all titular duchies). (Obviously, don't bother with titles that already have allow = no--e.g. the titles in new tribes.txt.) Here's an example for Britain, whose original capital was province 32.
(I tried just commenting out the capitals rather than setting them to a sea tile, but that outright prevented the titles from being created. Note that it's best to choose a sea tile that's near the center of the map--since, when you select a title in-game, the map automatically zooms to its capital, and scrolling back from Iceland gets annoying very quickly!)
I was thinking that this might be a simple-to-add optional module, for people who don't want the AI to keep its capital in the same province across multiple centuries and in every game. I don't know whether or not it'd actually be useful gameplay-wise, though, since I don't know whether the AI's capital-revoking behavior has been fixed.
Attached is the version of swmh_landed_titles.txt (for HIP 2016-05-24; version info below) that I edited in this fashion. (I also edited the other files that contained titles eligible for this modification.)
However, this behavior can be fixed with the following procedure:
1. The easy part: Using Notepad++'s replace function, set the capital of every title (except mercenary/holy_order/controls_religion and e_byzantium/e_latin_empire) to a sea tile, and simultaneously add creation_requires_capital = no to those titles. This can be done by replacing the phrase "\tcapital =" with the phrase "\tcreation_requires_capital = no\r\n\tcapital = 1700 #".
2. The time-consuming part: Manually recreate the only real use of a capital--allowing the creation of a titular title--in the allow section of every one of those titles that could become titular (i.e., all empires, all kingdoms, and all titular duchies). (Obviously, don't bother with titles that already have allow = no--e.g. the titles in new tribes.txt.) Here's an example for Britain, whose original capital was province 32.
Code:
or = {
from = { is_titular = no } # A de-jure title doesn't need a fixed capital...
owns = 32 # ...but a titular title does.
any_vassal = { owns = 32 }
any_vassal = { any_vassal = { owns = 32 } }
any_vassal = { any_vassal = { any_vassal = { owns = 32 } } }
}
I was thinking that this might be a simple-to-add optional module, for people who don't want the AI to keep its capital in the same province across multiple centuries and in every game. I don't know whether or not it'd actually be useful gameplay-wise, though, since I don't know whether the AI's capital-revoking behavior has been fixed.
Attached is the version of swmh_landed_titles.txt (for HIP 2016-05-24; version info below) that I edited in this fashion. (I also edited the other files that contained titles eligible for this modification.)
[HIP Release 2016-05-24 (Zeus6)]
EMF: Extended Mechanics & Flavor (v5.05 - 2016-05-24)
ARKO Interface (2016-03-03)
SWMH (v2.93 - 2016-04-29)
SED: English Localisation for SWMH (v2.2.2-BETA - 2016-05-22)
ARKO Armoiries (2016-03-03)
LTM (C - 2016-04-10)
EMF: Extended Mechanics & Flavor (v5.05 - 2016-05-24)
ARKO Interface (2016-03-03)
SWMH (v2.93 - 2016-04-29)
SED: English Localisation for SWMH (v2.2.2-BETA - 2016-05-22)
ARKO Armoiries (2016-03-03)
LTM (C - 2016-04-10)
Attachments
- 1