• 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.
Jan 6, 2004
539
0
I was just wondering what text file you should edit in order to put down the amounts of revolts. In my last game as Russia in Napoleonic, not only did all of Russia rise up in rebellion, but I could see the other nations had the same problems. All of Britain ended up in liberation movements against the Englishmen, all of France soon came into the control of rebels, preventing any napoleonic wars and making the game quite boring. Oh, and by the way did I forget to mention that all of Spain, Portugal, Denmark and Austria was ravaged by rebellions? That was really not fun, so please, tell me how to set it down, at least minimize it five times so that the frequency of revolts comes at a much more historical rate.
 

Nikolai II

A bunny with a hat
130 Badges
Nov 18, 2001
9.398
436
www.giantitp.com
  • Hearts of Iron IV: No Step Back
  • Hearts of Iron IV: By Blood Alone
  • Stellaris: Nemesis
  • Stellaris: Necroids
  • Age of Wonders II
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Hearts of Iron II: Beta
  • 200k Club
  • 500k Club
  • Europa Universalis IV: Call to arms event
  • BATTLETECH - Backer
  • War of the Roses
  • Lead and Gold
  • Victoria: Revolutions
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Magicka
  • Heir to the Throne
  • Europa Universalis 4: Emperor
  • Crusader Kings II: Holy Fury
  • Rome: Vae Victis
  • Divine Wind
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Crusader Kings II: Horse Lords
I guess you could go into the savegame every three years and reset war exhaustion to 0...

But events are easy..

Code:
event = {
id = 10001001 #Increase by one at every copy
	trigger = { atwar = yes }
	random = no
	country = XXX #Change tags here after copying
	name = "This is the text visible in the historylog"
	desc = "This is the text only the player gets to see"
	style = 1

	date = { day = 1 month = january year = 1795 }
	offset = 100
	deathdate = { day = 2 month = august year = 1795 }

	action_a ={ #Less revolts by far#
		name = "This is the text for the bytton"
		command = { type = revoltrisk which = 300 value = -10 }
	}
	
}

Simply copy the above code some 25-50 times into an event file (existing or one that you include) and then change the event IDs so all are unique and the TAGs to match most countries ones.., just look at all nations included in the scenario.
 
Last edited:
Jan 6, 2004
539
0
so the id = 10001001 are a valid number?

I was wondering something else about an event:

# End of the Kalmar Union #
event = {
id = 3846

# Triggered by SWE 3219 or 3234

random = no
country = NOR
name = "EVENTNAME3846"
desc = "EVENTHIST3846"
style = 2

action_a = { # Autonomy is unnecessary
name = "ACTIONNAME3846A"
command = { type = trigger which = 5848 } # Inherited by Denmark
}
action_b = { # Limited autonomy is best
name = "ACTIONNAME3846B"
command = { type = relation which = DAN value = 100 }
command = { type = relation which = SWE value = -50 }
command = { type = domestic which = ARISTOCRACY value = 2 }
command = { type = domestic which = CENTRALIZATION value = 1 }
command = { type = stability value = 2 }
}
action_c = { # Walk our own path
name = "ACTIONNAME3846C"
command = { type = breakvassal which = DAN }
command = { type = relation which = DAN value = -150 }
command = { type = relation which = SWE value = 200 }
command = { type = stability value = 3 }
command = { type = domestic which = ARISTOCRACY value = -2 }
command = { type = domestic which = CENTRALIZATION value = 2 }
command = { type = domestic which = SERFDOM value = -2 }
}
}

How to make the AI pick limited autonomy or walk our own path?

EDIT: Another thing, event history, event name and action name, how to change?

name = "Total war mod is ON"

I am not sure if I have a "Total war" mod.
 

Nikolai II

A bunny with a hat
130 Badges
Nov 18, 2001
9.398
436
www.giantitp.com
  • Hearts of Iron IV: No Step Back
  • Hearts of Iron IV: By Blood Alone
  • Stellaris: Nemesis
  • Stellaris: Necroids
  • Age of Wonders II
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Hearts of Iron II: Beta
  • 200k Club
  • 500k Club
  • Europa Universalis IV: Call to arms event
  • BATTLETECH - Backer
  • War of the Roses
  • Lead and Gold
  • Victoria: Revolutions
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Magicka
  • Heir to the Throne
  • Europa Universalis 4: Emperor
  • Crusader Kings II: Holy Fury
  • Rome: Vae Victis
  • Divine Wind
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Crusader Kings II: Horse Lords
AI almost always chooses option_a, so if you delete it (or comment it away)and rename the other two options to a and b it will never be chosen. If you want it to be a small chance for AI to pick (Game Over) then you add that option at the end as option c.

http://www.katica.org/cer28/eu2_cgi/eventcheck.cgi - This place is good for checking if you have changed the event correctly.

I edited the 'reduce-revoltrisk' event for clarity and function, look it over again and see. (The button name 'Total war mod' was a joke :eek:o)

http://home.broadpark.no/~havmoe/EU/events.htm - This is the site to go to if you want to learn the basics about making events.

Event ID 3846-4000 are likely not free (at least not all of them).
Paradox has reserved the right for all event numbers up to 100000, but you can safely use numbers between 100001 and 4294967296.

And making events for Napoleonic times will be easy if you 'copy and paste', but practice first with fun Norwegian events :)
 
Jan 6, 2004
539
0
So, I am just wondering, is this constructed correctly?

# Sale of the Isles #
event = {
id = 100002
trigger = {}
random = no
country = NOR
name = "Danish sale of Orkneys"
desc = "In 1471, King Kristian of Denmark sold the isles of Orkney and Shetland to the Scottish king James. What a disgrace this is, those

isles belong to us! What is your decicion honorable King Håvard, will you revenge this or be at peace?."
style = 1
date = { day = 10 month = march year = 1471 }

action_a ={
name = "Damn those Danes, this will be revenged!"
command = { type = casusbelli which = DEN value = 120 }
command = { type = relation which = DEN value = -100 }
command = { type = stability value = 2 }
command = { type = domestic which = land = 1 }
command = { type = revoltrisk which = 300 value = -10 }
action_b ={
name = "Damned Scots, we will get back the isles!"
command = { type = casusbelli which = SCO value = 120 }
command = { type = relation which = SCO value = 100 }
command = { type = stability value = 2 }
command = { type = domestic which = land = -1 }
command = { type = revoltrisk which = 300 value = -10 }
action_c ={
name = "Be at peace, and let us stregthen our relations with them."
command = { type = relation which = DEN value = 100 }
command = { type = relation which = SCO value = 100 }
command = { type = removecore which = 236 }
command = { type = stability value = 3 }
command = { type = revoltrisk which = 300 value = -10 }
}
}

(Decided to just put the revolt risk reducer into the other events)


AI almost always chooses option_a, so if you delete it (or comment it away)and rename the other two options to a and b it will never be chosen. If you want it to be a small chance for AI to pick (Game Over) then you add that option at the end as option c.

Turned it into option c, I think I'm starting to get a clue on this, thanks alot for the help.