• 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.

swampy111

Second Lieutenant
10 Badges
Apr 3, 2019
147
13
  • Cities: Skylines
  • Magicka 2
  • Cities: Skylines - Parklife
  • Shadowrun Returns
  • Prison Architect
  • Crusader Kings III
  • Crusader Kings II
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Sons of Abraham
  • Magicka
Hi, this is my first mod. It's a basic building mod where i replace 00_buildings, 00_Castle, 00_CastleSteppe, 00_fort, and 00_hospital. For some reason, seemingly random countries (and i think the same ones every time) have their government forms changed. Some tribal rulers turn into theocracies (with the tribe holding still there), whereas the feudal rulers affected by this glitch lose the castle holding (it's literally removed), and their capital moved (for whatever reason) to a to a city/temple holding within the same county instead of migrating to another holding.
I'm at a loss as to how to solve this. I've run my mod through the Validator, and aside of dupilcate localisations that shouldn't really affect anything, i don't see any remaining syntactical mistakes.

Edit: As far as i could gather, removing any of the military-producing building (militia barracks, normal barracks, and stables) in 00_Castle.txt makes some rulers lose their castle holdings, moving their capital to one of the other baronies, hence why there are suddenly random republics and theocracies. Of course, this doesn't account for the fact the Kiev in the viking start age is a theocracy, but oh well (the tribal holding was still there, it was just given to some vassal).
 
Last edited:
Never mind. I didn't know that the province files also had references to buildings (i kinda assumed it operated on the whole extra_tech thingie). So turns out that when province files assigns a building tags that no longer exist to a holding, said holding vanishes, moving the capital with it.