Athens run - Events file question

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

dakapes

Second Lieutenant
10 Badges
Apr 29, 2019
157
98
  • Darkest Hour
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Together for Victory
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Expansion Pass
  • Imperator: Rome Deluxe Edition
  • Imperator: Rome
  • Hearts of Iron IV: Expansion Pass
  • Imperator: Rome Sign Up
  • Imperator: Rome - Magna Graecia
Hi ,

I am doing an Athens run and I must say it is very challenging and requires a lot of strategy to start rolling.
My first mission is to get rid of Antigonids relationship and to be honest it is quite easy to accomplish.

I do have one problem and this is the 60% senate approval. In order to do this you need to pass a law about Lower Import Tariffs that will satisfy them and increase their support of the oligarchic party. Easy one , you just pay 16.5 stability and 20+ PI and it is done...... But .... I noticed ( about 2/10 times) that there is an event that enables you to change this law for free and on top there is another positive modifier. This is crucial at the beginning. The event name is Oligarchic Legislation Event and I am trying to find in the local files of the game.... I had no success till now , there are too many places to search. I would like to find it and see exactly when it fires ( I suppose there is a "random" factor as well). I know there is and internal id for this event but I have no idea how to find it.

Any help ( I am more interested in the process how to find it, not the actual outcome) would be appreciated :)
 

Iosue Yu

Lt. General
47 Badges
Apr 22, 2018
1.324
2.275
  • Crusader Kings II
  • Cities: Skylines Deluxe Edition
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Golden Century
  • Surviving Mars
  • Age of Wonders III
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Cities: Skylines - Parklife
  • Stellaris: Distant Stars
  • Europa Universalis IV: Dharma
  • Surviving Mars: First Colony Edition
  • Stellaris: Megacorp
  • Europa Universalis IV: Mandate of Heaven
  • Imperator: Rome Deluxe Edition
  • Stellaris: Lithoids
  • Stellaris: Federations
  • Imperator: Rome - Magna Graecia
  • Stellaris: Necroids
  • Europa Universalis IV
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Cadet
  • Cities: Skylines
  • Stellaris: Galaxy Edition
  • Stellaris
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: El Dorado
  • Stellaris: Galaxy Edition
  • Stellaris - Path to Destruction bundle
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Third Rome
  • Surviving Mars: Digital Deluxe Edition
  • Imperator: Rome
  • Surviving Mars: First Colony Edition
  • Stellaris: Ancient Relics
  • Crusader Kings II: Sword of Islam
Look for any keyword that is likely to be referenced by the event caller. Then search it with Notepad++ with the Find in Files function.

I think all events are in /game/events/
 

IsaacCAT

Field Marshal
141 Badges
Oct 24, 2018
3.425
7.756
  • Victoria 3 Sign Up
  • Imperator: Rome
  • Imperator: Rome Deluxe Edition
  • Imperator: Rome - Magna Graecia
Isn't this a bit gamey? To know when events fire takes away some of the suprise of the game.

We all want to be succesful, but if you take away the surprise of the game you risk getting a dull experience.

I am more in favor of more suprises, mind you, not randomness, but outcomes that are not known in advance by the player. This is the reason battles are forgetable, you know the probable outcome before the battle starts. That's why I like probabilities, but it seems PDX is not very fan of them, as only HOI4 and Stellaris uses them.
 
  • 1
  • 1Like
Reactions:

dakapes

Second Lieutenant
10 Badges
Apr 29, 2019
157
98
  • Darkest Hour
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Together for Victory
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Expansion Pass
  • Imperator: Rome Deluxe Edition
  • Imperator: Rome
  • Hearts of Iron IV: Expansion Pass
  • Imperator: Rome Sign Up
  • Imperator: Rome - Magna Graecia
Thanks a lot @Snow Crystal ... I actually just found it.
If I am not mistaken I see a chance = 5. I suppose it is 5%. (Actually what I wanted is not the event itself but the chance of it - in the file 00_generic_senate_objective_pulse.txt. Is this right ? )
Rather low , but given the difference it makes it is as I expected :)

@IsaacCAT I know what you mean but sometimes it is beautiful to search why something it is happening . It makes you understand the game
 
  • 2Like
Reactions:

IsaacCAT

Field Marshal
141 Badges
Oct 24, 2018
3.425
7.756
  • Victoria 3 Sign Up
  • Imperator: Rome
  • Imperator: Rome Deluxe Edition
  • Imperator: Rome - Magna Graecia
@IsaacCAT I know what you mean but sometimes it is beautiful to search why something it is happening . It makes you understand the game
Agree 100%. I did not know there was a chance (probability) involved. Then, for sure you need to understand the causes.

Wouldn't be nice that the game informed about this instead of searching through the game files? Already some tooltips for missions resemble more a C++ code than an explanation of why something will happen. I am not against of some kind of tree/flow chart for Politics and Laws.

In addition, I would like this 5% chance to be affected by the player actions. If you do this and this, your chances will increase, or if you do otherwise, they will decrease. This is the surprise factor that the player can look forward and work for it.
 
Last edited:
  • 1Like
  • 1
Reactions:

Iosue Yu

Lt. General
47 Badges
Apr 22, 2018
1.324
2.275
  • Crusader Kings II
  • Cities: Skylines Deluxe Edition
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Golden Century
  • Surviving Mars
  • Age of Wonders III
  • Europa Universalis IV: Cradle of Civilization
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Cities: Skylines - Parklife
  • Stellaris: Distant Stars
  • Europa Universalis IV: Dharma
  • Surviving Mars: First Colony Edition
  • Stellaris: Megacorp
  • Europa Universalis IV: Mandate of Heaven
  • Imperator: Rome Deluxe Edition
  • Stellaris: Lithoids
  • Stellaris: Federations
  • Imperator: Rome - Magna Graecia
  • Stellaris: Necroids
  • Europa Universalis IV
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Cadet
  • Cities: Skylines
  • Stellaris: Galaxy Edition
  • Stellaris
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: El Dorado
  • Stellaris: Galaxy Edition
  • Stellaris - Path to Destruction bundle
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Third Rome
  • Surviving Mars: Digital Deluxe Edition
  • Imperator: Rome
  • Surviving Mars: First Colony Edition
  • Stellaris: Ancient Relics
  • Crusader Kings II: Sword of Islam
Thanks a lot @Snow Crystal ... I actually just found it.
If I am not mistaken I see a chance = 5. I suppose it is 5%. (Actually what I wanted is not the event itself but the chance of it - in the file 00_generic_senate_objective_pulse.txt. Is this right ? )
Rather low , but given the difference it makes it is as I expected :)

@IsaacCAT I know what you mean but sometimes it is beautiful to search why something it is happening . It makes you understand the game
I don't think it's 5%. Most % in the game is written like 0.05. It's more an arbitrary number for weighting or some such using Paradox maths.
 
  • 1
Reactions:

dakapes

Second Lieutenant
10 Badges
Apr 29, 2019
157
98
  • Darkest Hour
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Together for Victory
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Expansion Pass
  • Imperator: Rome Deluxe Edition
  • Imperator: Rome
  • Hearts of Iron IV: Expansion Pass
  • Imperator: Rome Sign Up
  • Imperator: Rome - Magna Graecia
It clearly has chance = static_value value , where static_value = 5.
After searching in the foroum , at the modding subpages , I found examples of using the "chance" parameter and it is in the range 0-100.
So if I am not mistaken it is 5%

@Snow Crystal , really sorry to insist her but how I find out how often do you check about this event in order to fire?
Weekly ? Monthly?

update: I think it is monthly
 
Last edited:
  • 1
Reactions:

Snow Crystal

Content Designer on Unannounced Project
Paradox Staff
60 Badges
Jan 22, 2018
1.326
4.785
  • Crusader Kings II: Holy Fury
  • Imperator: Rome Deluxe Edition
  • Imperator: Rome - Magna Graecia
@Snow Crystal , really sorry to insist her but how I find out how often do you check about this event in order to fire?
Weekly ? Monthly?
So I can try to explain it.

If you look at the party agendas (Imperator\game\common\party_agendas\senate_objectives_generic.txt), you will see all the agendas that a party can have. Every time an election is held, this will basically be re-rolled according to this document. So it will look through the document, and every party will try to find one agenda that fits them, and if none does they will simply have no agenda for that term.

If we look at the agenda file, you have several components to each one. We can go through all of them, and I can try to explain what they mean.
  • potential - Requirements for being able to get the agenda
  • chance - Chance of getting the agenda
  • on_start - What happens when the agenda is chosen
  • monthly_on_action - What happens every month while the agenda is on-going
  • finished_when - The requirements for completing an agenda
  • on_finish - What happens when you complete an agenda
  • abort_when - The requirements for aborting an agenda
  • on_abort - What happens when an agenda is aborted
And like pointed out in this thread, we have the chance for a party to push their agenda locked away in the monthly pulse, where there is a 5% chance for them every month to push their agenda. We tried several different numbers during the work on Menander, and 5% is something we were happy with, where it wasn't too often (like some of our earlier numbers), but generally has a tendency to happen through most terms.
 
  • 2Like
  • 2
Reactions:

IsaacCAT

Field Marshal
141 Badges
Oct 24, 2018
3.425
7.756
  • Victoria 3 Sign Up
  • Imperator: Rome
  • Imperator: Rome Deluxe Edition
  • Imperator: Rome - Magna Graecia
a 5% chance every month for a 5 year term represents a probability of 95% firing:

1615212896670.png


a 5% chance every month for a 3 year term represents a probability of 84% firing:

1615213069801.png
 
  • 1
  • 1Like
Reactions:

dakapes

Second Lieutenant
10 Badges
Apr 29, 2019
157
98
  • Darkest Hour
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Together for Victory
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Expansion Pass
  • Imperator: Rome Deluxe Edition
  • Imperator: Rome
  • Hearts of Iron IV: Expansion Pass
  • Imperator: Rome Sign Up
  • Imperator: Rome - Magna Graecia
Unfortunately, from gameplay perspective you cannot afforf to wait for 3 years to free yourself of the Antigonid feudatory status .
Surely , not spending PI and Stability would be great , but more important is to not engage in Antigonids early war because you will have nothing to gain from these wars. More important is you cannot have any claims as a feudatory, in this "frozen" period until you wait fir the event.

So , it was a nice exercise to understand the mechanic here but with little realistic importance.
 
  • 1
Reactions:

IsaacCAT

Field Marshal
141 Badges
Oct 24, 2018
3.425
7.756
  • Victoria 3 Sign Up
  • Imperator: Rome
  • Imperator: Rome Deluxe Edition
  • Imperator: Rome - Magna Graecia
Unfortunately, from gameplay perspective you cannot afforf to wait for 3 years to free yourself of the Antigonid feudatory status .
Surely , not spending PI and Stability would be great , but more important is to not engage in Antigonids early war because you will have nothing to gain from these wars.

So , it was a nice exercise to understand the mechanic here but with little realistic importance.
You can always rely on Daft Punk:

1615215808216.png


In 6 months, with a 5% chance you have a 26% chance of firing (1 out 4)

1615215871109.png