Post Rebellion +30 loyalty for characters for AI

  • Victoria 3 - Sign up now!

    The journey begins, sign up now and get a special in-game item when the game is released.


  • Crusader Kings III Available Now!

    The realm rejoices as Paradox Interactive announces the launch of Crusader Kings III, the latest entry in the publisher’s grand strategy role-playing game franchise. Advisors may now jockey for positions of influence and adversaries should save their schemes for another day, because on this day Crusader Kings III can be purchased on Steam, the Paradox Store, and other major online retailers.


    Real Strategy Requires Cunning
  • Crusader Kings II Expansion Subscription

    Subscribe to the CK II Expansion and enjoy unlimited access to 13 major expansions and more!


SAS

15+ Years on the Forum
Demi Moderator
199 Badges
Jan 13, 2002
7.764
547
  • Diplomacy
  • Europa Universalis IV
  • Stellaris: Federations
  • Battle for Bosporus
  • Europa Universalis 4: Emperor
  • Empire of Sin
  • Stellaris: Necroids
  • 200k Club
  • 500k Club
  • Paradox Order
  • Hearts of Iron Anthology
  • Crusader Kings II: Holy Knight (pre-order)
  • Crusader Kings II: Limited Collectors Edition
  • March of the Eagles
  • Europa Universalis: Rome Collectors Edition
  • Europa Universalis IV: Call to arms event
  • Hearts of Iron III Collection
  • Humble Paradox Bundle
  • Stellaris Sign-up
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Field Marshal
  • Tyranny: Gold Edition
  • Surviving Mars: Digital Deluxe Edition
  • Surviving Mars: First Colony Edition
  • Imperator: Rome Sign Up
  • Imperator: Rome Deluxe Edition
  • Age of Wonders: Planetfall Sign Up
  • Age of Wonders: Planetfall Premium edition
  • Age of Wonders: Planetfall Season pass
After a rebellion the AI nations characters get a plus 30 loyalty modifier. Does anyone know where this is in the game files? I found the +30 province loyalty modifier once a rebellion breaks out but not this post war loyalty boost.
 
  • 2
Reactions:

Herennius

Optimat
29 Badges
Mar 25, 2012
1.931
2.985
  • Warlock 2: The Exiled
  • Cities: Skylines - Snowfall
  • Battle for Bosporus
  • Crusader Kings III
  • Imperator: Rome - Magna Graecia
  • Hearts of Iron IV: La Resistance
  • Prison Architect
  • Hearts of Iron IV: Expansion Pass
  • Imperator: Rome
  • Imperator: Rome Deluxe Edition
  • Hearts of Iron IV: Expansion Pass
  • Age of Wonders III
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Together for Victory
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Cities: Skylines - After Dark
  • Pride of Nations
  • Cities: Skylines
  • Warlock: Master of the Arcane
  • Victoria 2
  • Crusader Kings II
  • Cities: Skylines Deluxe Edition
  • Warlock 2: Wrath of the Nagas
  • Majesty 2 Collection
  • Heir to the Throne
  • Divine Wind
  • Europa Universalis III: Chronicles
  • Europa Universalis III
Interesting. I was aware of a loyalty bonus for characters after a civil war (even the human player gets it), but not of this - I will have to look out how it is called in game. Do you know that? Maybe searching the game files for that term yields a result? (if I'm completely off tracks with that approach - forgive me, I have never modded IR so far...all I did was having a glance in some text files... )
 

SAS

15+ Years on the Forum
Demi Moderator
199 Badges
Jan 13, 2002
7.764
547
  • Diplomacy
  • Europa Universalis IV
  • Stellaris: Federations
  • Battle for Bosporus
  • Europa Universalis 4: Emperor
  • Empire of Sin
  • Stellaris: Necroids
  • 200k Club
  • 500k Club
  • Paradox Order
  • Hearts of Iron Anthology
  • Crusader Kings II: Holy Knight (pre-order)
  • Crusader Kings II: Limited Collectors Edition
  • March of the Eagles
  • Europa Universalis: Rome Collectors Edition
  • Europa Universalis IV: Call to arms event
  • Hearts of Iron III Collection
  • Humble Paradox Bundle
  • Stellaris Sign-up
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Field Marshal
  • Tyranny: Gold Edition
  • Surviving Mars: Digital Deluxe Edition
  • Surviving Mars: First Colony Edition
  • Imperator: Rome Sign Up
  • Imperator: Rome Deluxe Edition
  • Age of Wonders: Planetfall Sign Up
  • Age of Wonders: Planetfall Premium edition
  • Age of Wonders: Planetfall Season pass
Interesting. I was aware of a loyalty bonus for characters after a civil war (even the human player gets it), but not of this - I will have to look out how it is called in game. Do you know that? Maybe searching the game files for that term yields a result? (if I'm completely off tracks with that approach - forgive me, I have never modded IR so far...all I did was having a glance in some text
It is here: Steam\steamapps\common\ImperatorRome\game\common\on_action and in the "00_specific_from_code" file.

on_rebellion_in_country = { #root scope parent country
effect = {
if = {
limit = {
is_ai = yes #There are numerous tools to offset rebellions, all of which are situational - the AI will never be able to manage these with the same ability as a human player, so we reduce the frequency of revolts to balance.
}
every_country_state = {
capital_scope = {
add_state_loyalty = 30
}
}
}
}
}
 
  • 1
Reactions:

Herennius

Optimat
29 Badges
Mar 25, 2012
1.931
2.985
  • Warlock 2: The Exiled
  • Cities: Skylines - Snowfall
  • Battle for Bosporus
  • Crusader Kings III
  • Imperator: Rome - Magna Graecia
  • Hearts of Iron IV: La Resistance
  • Prison Architect
  • Hearts of Iron IV: Expansion Pass
  • Imperator: Rome
  • Imperator: Rome Deluxe Edition
  • Hearts of Iron IV: Expansion Pass
  • Age of Wonders III
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Together for Victory
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Cities: Skylines - After Dark
  • Pride of Nations
  • Cities: Skylines
  • Warlock: Master of the Arcane
  • Victoria 2
  • Crusader Kings II
  • Cities: Skylines Deluxe Edition
  • Warlock 2: Wrath of the Nagas
  • Majesty 2 Collection
  • Heir to the Throne
  • Divine Wind
  • Europa Universalis III: Chronicles
  • Europa Universalis III
It is here: Steam\steamapps\common\ImperatorRome\game\common\on_action and in the "00_specific_from_code" file.

on_rebellion_in_country = { #root scope parent country
effect = {
if = {
limit = {
is_ai = yes #There are numerous tools to offset rebellions, all of which are situational - the AI will never be able to manage these with the same ability as a human player, so we reduce the frequency of revolts to balance.
}
every_country_state = {
capital_scope = {
add_state_loyalty = 30
}
}
}
}
}
:confused: Hmm, isn't that the much discussed boost for province loyalty? I don't see any reference to character loyalty in the code...?
 

SAS

15+ Years on the Forum
Demi Moderator
199 Badges
Jan 13, 2002
7.764
547
  • Diplomacy
  • Europa Universalis IV
  • Stellaris: Federations
  • Battle for Bosporus
  • Europa Universalis 4: Emperor
  • Empire of Sin
  • Stellaris: Necroids
  • 200k Club
  • 500k Club
  • Paradox Order
  • Hearts of Iron Anthology
  • Crusader Kings II: Holy Knight (pre-order)
  • Crusader Kings II: Limited Collectors Edition
  • March of the Eagles
  • Europa Universalis: Rome Collectors Edition
  • Europa Universalis IV: Call to arms event
  • Hearts of Iron III Collection
  • Humble Paradox Bundle
  • Stellaris Sign-up
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Field Marshal
  • Tyranny: Gold Edition
  • Surviving Mars: Digital Deluxe Edition
  • Surviving Mars: First Colony Edition
  • Imperator: Rome Sign Up
  • Imperator: Rome Deluxe Edition
  • Age of Wonders: Planetfall Sign Up
  • Age of Wonders: Planetfall Premium edition
  • Age of Wonders: Planetfall Season pass
Interesting. I was aware of a loyalty bonus for characters after a civil war (even the human player gets it), but not of this - I will have to look out how it is called in game. Do you know that? Maybe searching the game files for that term yields a result? (if I'm completely off tracks with that approach - forgive me, I have never modded IR so far...all I did was having a glance in some text files... )

:confused: Hmm, isn't that the much discussed boost for province loyalty? I don't see any reference to character loyalty in the code...?
Correct I thought you were wondering where the province boot script was located.
 

Herennius

Optimat
29 Badges
Mar 25, 2012
1.931
2.985
  • Warlock 2: The Exiled
  • Cities: Skylines - Snowfall
  • Battle for Bosporus
  • Crusader Kings III
  • Imperator: Rome - Magna Graecia
  • Hearts of Iron IV: La Resistance
  • Prison Architect
  • Hearts of Iron IV: Expansion Pass
  • Imperator: Rome
  • Imperator: Rome Deluxe Edition
  • Hearts of Iron IV: Expansion Pass
  • Age of Wonders III
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Together for Victory
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Cities: Skylines - After Dark
  • Pride of Nations
  • Cities: Skylines
  • Warlock: Master of the Arcane
  • Victoria 2
  • Crusader Kings II
  • Cities: Skylines Deluxe Edition
  • Warlock 2: Wrath of the Nagas
  • Majesty 2 Collection
  • Heir to the Throne
  • Divine Wind
  • Europa Universalis III: Chronicles
  • Europa Universalis III
Correct I thought you were wondering where the province boot script was located.
Ah ok, no...my question was directed how the character loyalty modifier you are looking for is named ingame in the character loyalty tooltip and whether you had searched for that term in the files. But as said - I'm likely no real help here with my absent modding experience :)
 
  • 1Haha
Reactions:

SAS

15+ Years on the Forum
Demi Moderator
199 Badges
Jan 13, 2002
7.764
547
  • Diplomacy
  • Europa Universalis IV
  • Stellaris: Federations
  • Battle for Bosporus
  • Europa Universalis 4: Emperor
  • Empire of Sin
  • Stellaris: Necroids
  • 200k Club
  • 500k Club
  • Paradox Order
  • Hearts of Iron Anthology
  • Crusader Kings II: Holy Knight (pre-order)
  • Crusader Kings II: Limited Collectors Edition
  • March of the Eagles
  • Europa Universalis: Rome Collectors Edition
  • Europa Universalis IV: Call to arms event
  • Hearts of Iron III Collection
  • Humble Paradox Bundle
  • Stellaris Sign-up
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Field Marshal
  • Tyranny: Gold Edition
  • Surviving Mars: Digital Deluxe Edition
  • Surviving Mars: First Colony Edition
  • Imperator: Rome Sign Up
  • Imperator: Rome Deluxe Edition
  • Age of Wonders: Planetfall Sign Up
  • Age of Wonders: Planetfall Premium edition
  • Age of Wonders: Planetfall Season pass
I found it: in common/loyalty/00_events it the loyalty_civil_war_victory
 
  • 1
Reactions: