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

SasafrasYT

Private
36 Badges
Nov 28, 2021
14
9
  • Prison Architect
  • Europa Universalis IV: Cradle of Civilization
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Golden Century
  • Imperator: Rome Deluxe Edition
  • Imperator: Rome
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: La Resistance
  • Crusader Kings III
  • Crusader Kings III: Royal Edition
  • Battle for Bosporus
  • Europa Universalis 4: Emperor
  • Hearts of Iron IV: By Blood Alone
  • Hearts of Iron IV: No Step Back
  • Hearts of Iron 4: Arms Against Tyranny
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Res Publica
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Together for Victory
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Third Rome
The following indented section is just my feelings on new content and motivation for my question, its unneeded to read it in order to help answer the question.
Love the new update and DLC but I am VERY unhappy with playing as an administrative government, or at least as a vassal. Not being able to declare wars to expand internally or create titles even if successfully conquering land externally. Also dev logs claim titles should be gained through the new influence voting mechanics but if you're a duke you cant vote for yourself to be heir to other duchies. Plus if you make the grave mistake of spending influence for your hand-raised heir to be first in line to someone else's title and they inherit that title before you die they are no longer eligible as your title heirs??? Its just not at all enjoyable to play once you realize you cant do any expansion at all. Also even if you get a kingdom title by having it before converting gov types, you are forbidden from having a royal court as an administrative vassal!! I totally get that each and every one of these shit mechanics make total sense based on the literal differences between an administrative government and a feudal one, but frankly the new flavor mechanics from being admin is nowhere near worth losing all of the core features mentioned.
Things I want to make a mod to change but don't know where to locate the files for:
  • I want to remove the restriction on admin vassals that prevents them from being able to create titles
    • I found that the admin governments has the flag "government_is_administrative" which I presume is used as a check somewhere to disallow this action, I haven't been able to find where yet though.
  • I want to remove the restriction on admin vassals that prevents them from being able to have royal courts
    • Likewise presumably looking for the "government_is_administrative" somewhere, I thought the restriction might be in the same place where royal courts are restricted to kingdom tiers but I went to that file and saw no code that looked to be limiting royal courts to non-admin-vassal characters
  • I want to remove the restriction on admin vassals that prevents them from being able to declare wars on each other (maybe just by changing the lowest realm authority law to require a hook rather than just being outright disallowed at all levels?).
    • Spent two hours trying to find the previous two so I never really looked for what files to change for this one so I have no headway to present.
 
  • 1Like
Reactions:
I want to remove the restriction on admin vassals that prevents them from being able to declare wars on each other (maybe just by changing the lowest realm authority law to require a hook rather than just being outright disallowed at all levels?).
  • Spent two hours trying to find the previous two so I never really looked for what files to change for this one so I have no headway to present.
I'm away from my computer right now, so I cannot give the exact file names and sections of the code (edit: updated with more precise info).

The war declaration restrictions is controlled by declare_war_interaction the 00_war.txt file in the character_interactions folder. Look for government_allows = administrative in the is_valid_showing_failures_only section (note there is both a feudal under admin and an admin under admin trigger in their)

To add hooks you need to go to war_declarer_needs_hook_on_liege in 00_war_and_peace_triggers.txt file in the scripted_triggers folder. Then in the trigger for requiring hooks on liege remove the NAND code with the government_allows = administrative inside (need to remove all instances of this in the trigger).

If desired, I could also update my Pervasive Crown Authority Mod with a game rule that applies these affects (edit: sorry, some how missed your bold text mentioning you wanted to make a mod)
 
Last edited:
  • 2
Reactions:
I'm away from my computer right now, so I cannot give the exact file names and sections of the code.

The war declaration restrictions is controlled by the war file (war is in the name) in the character interactions folder. Look for the administrative flag in the valid_showing_failure section (note there is both a feudal under admin and an admin under admin trigger in their)

To add hooks you need to go to the war file (again war is in the name) in the scripted triggers folder. Then for the trigger for requiring hooks on liege remove the NAND code with an administrative government flag inside

If desired, I could also update my Pervasive Crown Authority Mod with a game rule that applies these affects
I'm just trying to make a singular mod that adds back all of the core features of the game that are currently removed from the admin government so I will still put it in what I'm doing anyways. You are free to add it to your mod if you want to.
 
  • 1
Reactions:
I'm just trying to make a singular mod that adds back all of the core features of the game that are currently removed from the admin government so I will still put it in what I'm doing anyways. You are free to add it to your mod if you want to.
Sounds great!. Best of luck. If you need any specific help with the code I can help once I'm back at my computer

Also if making a mod, you'll probably also want to change the imperial bureaucracy localization. I forget which file it is in, but I can post it once I'm back at my computer

edit: At least for English the localizations imperial_bureaucracy_1_effects_not_in_prev, imperial_bureaucracy_2_effects_not_in_prev, and imperial_bureaucracy_3_effects_not_in_prev in the laws_l_english.yml file describe how the laws affect vassal wars
 
Last edited:
  • 2
Reactions:
Sounds great!. Best of luck. If you need any specific help with the code I can help once I'm back at my computer

Also if making a mod, you'll probably also want to change the imperial bureaucracy localization. I forget which file it is in, but I can post it once I'm back at my computer
Thanks for the tips, I actually just finished implementing it (I remembered to change localization on my own) but it currently doesn't work. It seems that the declare war character interaction is now not greyed out for admin vassals so that works but the problem is that in the actual war declaration screen with the casus bellies the declare war button at the bottom is greyed out and unclickable. The hook requirements that i wanted seem to show up perfectly so I think I got all the hook code and realm authority code right. Also weirdly in the war screen there is a red exclamation warning that it is an orthodox holy war and orthodox rulers can join despite the fact that it is a claim war between two orthodox vassals?
 

Attachments

  • capture91.jpg
    capture91.jpg
    246,8 KB · Views: 0
  • capture92.jpg
    capture92.jpg
    312 KB · Views: 0
So I checked for the loca
Thanks for the tips, I actually just finished implementing it (I remembered to change localization on my own) but it currently doesn't work. It seems that the declare war character interaction is now not greyed out for admin vassals so that works but the problem is that in the actual war declaration screen with the casus bellies the declare war button at the bottom is greyed out and unclickable. The hook requirements that i wanted seem to show up perfectly so I think I got all the hook code and realm authority code right. Also weirdly in the war screen there is a red exclamation warning that it is an orthodox holy war and orthodox rulers can join despite the fact that it is a claim war between two orthodox vassals?
Did you only remove the this code from war.txt:
Code:
            trigger_if = {
                limit = {
                    government_allows = administrative
                    top_liege = scope:recipient.top_liege
                    scope:recipient = { government_allows = administrative }
                    NOT = { top_liege = scope:recipient }
                }
                custom_tooltip = {
                    text = admin_cannot_declare_internal_wars
                    always = no
                }
            }
Also possible you are missing or have an extra bracket which is causing the weird results
 
  • 2
Reactions:
So I checked for the loca

Did you only remove the this code from war.txt:
Code:
            trigger_if = {
                limit = {
                    government_allows = administrative
                    top_liege = scope:recipient.top_liege
                    scope:recipient = { government_allows = administrative }
                    NOT = { top_liege = scope:recipient }
                }
                custom_tooltip = {
                    text = admin_cannot_declare_internal_wars
                    always = no
                }
            }
Also possible you are missing or have an extra bracket which is causing the weird results
yes, I removed that and only that.
 
  • I want to remove the restriction on admin vassals that prevents them from being able to create titles
    • I found that the admin governments has the flag "government_is_administrative" which I presume is used as a check somewhere to disallow this action, I haven't been able to find where yet though.
  • I want to remove the restriction on admin vassals that prevents them from being able to have royal courts
    • Likewise presumably looking for the "government_is_administrative" somewhere, I thought the restriction might be in the same place where royal courts are restricted to kingdom tiers but I went to that file and saw no code that looked to be limiting royal courts to non-admin-vassal characters
So looking for the trigger localizations (NO_ROCO_HEADER and CREATE_TITLE_FAIL_REASON_ADMIN_VASSAL) it appears they are not called from any where in the common folder. This would suggest that these two are unfortunately hard coded. Though it is always possible I missed something
 
  • 2
Reactions:
So looking for the trigger localizations (NO_ROCO_HEADER and CREATE_TITLE_FAIL_REASON_ADMIN_VASSAL) it appears they are not called from any where in the common folder. This would suggest that these two are unfortunately hard coded. Though it is always possible I missed something
Hard Coding? why would such a cruel thing exist.
 
The following indented section is just my feelings on new content and motivation for my question, its unneeded to read it in order to help answer the question.
Love the new update and DLC but I am VERY unhappy with playing as an administrative government, or at least as a vassal. Not being able to declare wars to expand internally or create titles even if successfully conquering land externally. Also dev logs claim titles should be gained through the new influence voting mechanics but if you're a duke you cant vote for yourself to be heir to other duchies. Plus if you make the grave mistake of spending influence for your hand-raised heir to be first in line to someone else's title and they inherit that title before you die they are no longer eligible as your title heirs??? Its just not at all enjoyable to play once you realize you cant do any expansion at all. Also even if you get a kingdom title by having it before converting gov types, you are forbidden from having a royal court as an administrative vassal!! I totally get that each and every one of these shit mechanics make total sense based on the literal differences between an administrative government and a feudal one, but frankly the new flavor mechanics from being admin is nowhere near worth losing all of the core features mentioned.
Things I want to make a mod to change but don't know where to locate the files for:
  • I want to remove the restriction on admin vassals that prevents them from being able to create titles
    • I found that the admin governments has the flag "government_is_administrative" which I presume is used as a check somewhere to disallow this action, I haven't been able to find where yet though.
  • I want to remove the restriction on admin vassals that prevents them from being able to have royal courts
    • Likewise presumably looking for the "government_is_administrative" somewhere, I thought the restriction might be in the same place where royal courts are restricted to kingdom tiers but I went to that file and saw no code that looked to be limiting royal courts to non-admin-vassal characters
  • I want to remove the restriction on admin vassals that prevents them from being able to declare wars on each other (maybe just by changing the lowest realm authority law to require a hook rather than just being outright disallowed at all levels?).
    • Spent two hours trying to find the previous two so I never really looked for what files to change for this one so I have no headway to present.

Is it not possible to just mod so you're playing as feudal Byzantine empire? because it seems like a lot of what you're asking for is already present in feudal empires.
 
  • 1
Reactions:
That's most likely harmless save stuff
im not sure what exactly you want me to be looking for, like yes the error log gets filled up immediately but its mostly all just shit that starts with "Failed to read key reference: "
That's most likely mostly harmless save related stuff. It would be something mentioning the relevant file, character interaction, or scripted trigger.

I checked changing the code myself and it is a caused by bug that also affects feudal realms. I made a bug report about it. But if you have more than one casus belli, you should be able to switch between them to get around this bug
 
  • 2
Reactions:
Is it not possible to just mod so you're playing as feudal Byzantine empire? because it seems like a lot of what you're asking for is already present in feudal empires.
of course I could do that. The whole point is to fix the new content by getting rid of all of the terrible game design choices but keep all of the cool new content. Doing what you suggest would be equivalent to just rerolling the game and playing without the DLC.
 
  • 1Like
Reactions:
of course I could do that. The whole point is to fix the new content by getting rid of all of the terrible game design choices but keep all of the cool new content. Doing what you suggest would be equivalent to just rerolling the game and playing without the DLC.

What new game content do you want to keep in the DLC? Because it seems like you just don't want admin government as a whole.
 
  • 1
Reactions:
That's most likely harmless save stuff

That's most likely mostly harmless save related stuff. It would be something mentioning the relevant file, character interaction, or scripted trigger.

I checked changing the code myself and it is a caused by bug that also affects feudal realms. I made a bug report about it. But if you have more than one casus belli, you should be able to switch between them to get around this bug
nice catch! I also just opened my game and confirmed that work around, Luckily you dont actually need two casus bellies, even if you just have one like a claim on a single title, you can just unselect the title and reselect it and that also works. So I guess at this point I have for the most part fully implemented adding the war feature back to admin governments, now I can only hope there will be some prospect solution to creating titles and allowing a royal court. Thanks for all the help, i'm going to leave the question open instead of closing it though because there are still those last two things I want to add.
 
  • 1
Reactions:
What new game content do you want to keep in the DLC? Because it seems like you just don't want admin government as a whole.
I'm here in the forums to get help finding file locations not to listen to someone complain about my complaints. You are free to scroll back to the top and read my paragraph of things I wanted to change. I just want to enjoy the new admin government I paid to get but find that difficult as in addition to all the unique content they have the devs decided to remove multiple core gameplay mechanics that can be accessed by literally every other playable government type.
 
  • 1
Reactions:
I also just opened my game and confirmed that work around, Luckily you dont actually need two casus bellies, even if you just have one like a claim on a single title, you can just unselect the title and reselect it and that also works.
That's good to know, thanks!

Thanks for all the help, i'm going to leave the question open instead of closing it though because there are still those last two things I want to add.
No worries. Hopefully someone knows a way to do those
 
  • 2Like
Reactions: