How does ideology change from elections work?

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

GrounchoVilla

Major
52 Badges
Nov 1, 2014
708
1.734
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Together for Victory
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Third Rome
  • Surviving Mars
  • Hearts of Iron IV: Death or Dishonor
  • Age of Wonders III
  • Crusader Kings II: Conclave
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Surviving Mars: Digital Deluxe Edition
  • Europa Universalis IV: Dharma
  • Surviving Mars: First Colony Edition
  • Europa Universalis IV: Golden Century
  • Imperator: Rome Deluxe Edition
  • Imperator: Rome
  • Hearts of Iron IV: Expansion Pass
  • Surviving Mars: First Colony Edition
  • Imperator: Rome - Magna Graecia
  • Europa Universalis IV: Call to arms event
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Crusader Kings II
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
I've been playing a Red Mexico game, and I've noticed the buff from Bolivarian Alliance turned the populations of several Latin American countries 50%< communist. Yet every time there's an election in one of those counrties, the democrats win and continue in power. The cynics in the government and the party papers suggested it was the bourgeoisie rigging the election, but I'm sure there's just some mechanic I'm missing. Some of these countries are high stability, and I wasn't sure if high stability ruling parties have an advantage even if they're polling less than 50%. The thing is, gaining allies by staging coups is a bit of a slog since it takes a while (you can stage at most 2 a year, sometimes less), and in my last ironman game, I trainwrecked it by just getting impatient and trying topple Colombia's government by force - the US didn't like that (I now gather the US sometimes drags you into WWII even if you're a Latin American country over the Monroe Doctrine - they ignored all my expansionism up until that point
 

Herennius

Optimat
32 Badges
Mar 25, 2012
3.037
5.803
  • Warlock 2: The Exiled
  • Hearts of Iron IV: Together for Victory
  • Hearts of Iron IV: Colonel
  • Surviving Mars
  • Hearts of Iron IV: Death or Dishonor
  • Age of Wonders III
  • Hearts of Iron IV: Expansion Pass
  • Imperator: Rome Deluxe Edition
  • Imperator: Rome
  • Hearts of Iron IV: Expansion Pass
  • Prison Architect
  • Hearts of Iron IV: La Resistance
  • Imperator: Rome - Magna Graecia
  • Crusader Kings III
  • Battle for Bosporus
  • Hearts of Iron IV: By Blood Alone
  • Hearts of Iron IV: No Step Back
  • Hearts of Iron IV: Cadet
  • Cities: Skylines - Snowfall
  • 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
I never suceeded with staging a government switch by elections. I assume some random chance is involved - the more you are above 50% for your desired party, the higher the chances for a change (though I wouldn't rule out thyt you could even suceed with less than 50%, e.g. if you have 40% and the other parties 30/15/15). I hope someone more seasoned can explain the logic behind.
 

bitmode

1st Reverse Engineer Battalion
Nov 10, 2016
3.824
7.024
When an election happens, a random eligible election event fires. Outside of Spain and the USA there are just ten possible events (common/on_actions/00_on_actions.txt:18-27) and in any given situation only a subset of those are eligible. All events require the country to be democratic, so elections in non-democratic countries do nothing (Argentina, Bolivia, Peru).

There is respectively one event for a fascist or communist majority (>50%) which only leaves the country with a choice between switching ideology or starting a civil war. So if a democratic country has >50% communism and gets past an election without either of these happening, another event must have fired. Assuming they are not at war the other options are:
  • "Magnate Favors Fascism" if they have a motorized equipment designer
  • "Communists/Fascists in Government?": if communism/fascism are >15% respectively; may lead to a coalition
  • "Public Demands/Opposes Rearmament": if they have a war nearby and no Partial Mobilization or vice versa
So even under ideal conditions it is a coin flip between "Communists in Government?" and "Communist Majority". In the worst case it is one out of five.
 
  • 4
Reactions:

Secret Master

Covert Mastermind
Moderator
95 Badges
Jul 9, 2001
36.655
20.097
www.youtube.com
  • 200k Club
  • Europa Universalis III Complete
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Semper Fi
  • Sengoku
  • Ship Simulator Extremes
  • Sword of the Stars II
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • Warlock: Master of the Arcane
  • March of the Eagles
  • 500k Club
  • Cities: Skylines
  • Crusader Kings II: Holy Knight (pre-order)
  • Pride of Nations
  • Mount & Blade: Warband
  • Mount & Blade: With Fire and Sword
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Limited Collectors Edition
  • Crusader Kings II: Conclave
  • Hearts of Iron IV: No Step Back
  • Europa Universalis III: Chronicles
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Commander: Conquest of the Americas
  • Deus Vult
  • Europa Universalis III
  • A Game of Dwarves
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Conquest of Paradise
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III Collection
  • Heir to the Throne
  • Europa Universalis III Complete
  • King Arthur II
  • The Kings Crusade
When an election happens, a random eligible election event fires. Outside of Spain and the USA there are just ten possible events (common/on_actions/00_on_actions.txt:18-27) and in any given situation only a subset of those are eligible. All events require the country to be democratic, so elections in non-democratic countries do nothing (Argentina, Bolivia, Peru).

There is respectively one event for a fascist or communist majority (>50%) which only leaves the country with a choice between switching ideology or starting a civil war. So if a democratic country has >50% communism and gets past an election without either of these happening, another event must have fired. Assuming they are not at war the other options are:
  • "Magnate Favors Fascism" if they have a motorized equipment designer
  • "Communists/Fascists in Government?": if communism/fascism are >15% respectively; may lead to a coalition
  • "Public Demands/Opposes Rearmament": if they have a war nearby and no Partial Mobilization or vice versa
So even under ideal conditions it is a coin flip between "Communists in Government?" and "Communist Majority". In the worst case it is one out of five.

Does the actual party popularity of communism/fascism influence the potential events or outcomes from them? As in, does 51% or 85% communism matter, or is it just "you need greater than 50% communism" in these events?

This matters for intelligence propaganda missions, because it can be a lot of time and effort to get far past 50%. The last time I turned Sweden communist, it took years just to get past 51%, but if it doesn't matter how far past 50% you are, you can spend agents and operations on other things that need to be done.
 

bitmode

1st Reverse Engineer Battalion
Nov 10, 2016
3.824
7.024
Does the actual party popularity of communism/fascism influence the potential events or outcomes from them? As in, does 51% or 85% communism matter, or is it just "you need greater than 50% communism" in these events?
It does not matter because the trigger is a binary decision:
Code:
    trigger = {
        has_government = democratic
        communism > 0.5
        is_puppet = no
    }
and the random event selection uses fixed, equal weights. There are three decimal places of precision, so 0.501 or 50.1% is the smallest party popularity to enable the event.
 
  • 3
Reactions:

Secret Master

Covert Mastermind
Moderator
95 Badges
Jul 9, 2001
36.655
20.097
www.youtube.com
  • 200k Club
  • Europa Universalis III Complete
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Semper Fi
  • Sengoku
  • Ship Simulator Extremes
  • Sword of the Stars II
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • Warlock: Master of the Arcane
  • March of the Eagles
  • 500k Club
  • Cities: Skylines
  • Crusader Kings II: Holy Knight (pre-order)
  • Pride of Nations
  • Mount & Blade: Warband
  • Mount & Blade: With Fire and Sword
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Limited Collectors Edition
  • Crusader Kings II: Conclave
  • Hearts of Iron IV: No Step Back
  • Europa Universalis III: Chronicles
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Commander: Conquest of the Americas
  • Deus Vult
  • Europa Universalis III
  • A Game of Dwarves
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Conquest of Paradise
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III Collection
  • Heir to the Throne
  • Europa Universalis III Complete
  • King Arthur II
  • The Kings Crusade
It does not matter because the trigger is a binary decision:
Code:
    trigger = {
        has_government = democratic
        communism > 0.5
        is_puppet = no
    }
and the random event selection uses fixed, equal weights. There are three decimal places of precision, so 0.501 or 50.1% is the smallest party popularity to enable the event.

That's... disappointing. I would have expected higher party popularity to matter more.

Good to know, though. When that popularity hits 51%, I can let it go unless someone is fighting the ideology I promoted.
 
  • 1
Reactions:

GrounchoVilla

Major
52 Badges
Nov 1, 2014
708
1.734
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Together for Victory
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Third Rome
  • Surviving Mars
  • Hearts of Iron IV: Death or Dishonor
  • Age of Wonders III
  • Crusader Kings II: Conclave
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Surviving Mars: Digital Deluxe Edition
  • Europa Universalis IV: Dharma
  • Surviving Mars: First Colony Edition
  • Europa Universalis IV: Golden Century
  • Imperator: Rome Deluxe Edition
  • Imperator: Rome
  • Hearts of Iron IV: Expansion Pass
  • Surviving Mars: First Colony Edition
  • Imperator: Rome - Magna Graecia
  • Europa Universalis IV: Call to arms event
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Crusader Kings II
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
Interesting. What's weird is one game I had Cuba go communist well after their election and join my Bolivarian Alliance, which I think invalidated my desire to go with the Mexico achievement that comes with conquering a European province. I could have said no to them joining, but how could I say no? :p