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

ConstantineTheGreat

Captain
62 Badges
Feb 2, 2018
324
1.005
  • Stellaris: Megacorp
  • Hearts of Iron IV: Together for Victory
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mandate of Heaven
  • Knights of Honor
  • Europa Universalis IV: Third Rome
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Synthetic Dawn
  • Age of Wonders III
  • Europa Universalis IV: Cradle of Civilization
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Distant Stars
  • Europa Universalis IV: Dharma
  • Stellaris: Leviathans Story Pack
  • Europa Universalis IV: Golden Century
  • Imperator: Rome
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Hearts of Iron IV: La Resistance
  • Stellaris: Federations
  • Imperator: Rome - Magna Graecia
  • Battle for Bosporus
  • Europa Universalis 4: Emperor
  • Stellaris: Necroids
  • Hearts of Iron IV: By Blood Alone
  • Hearts of Iron IV: No Step Back
  • Hearts of Iron 4: Arms Against Tyranny
  • Stellaris: Digital Anniversary Edition
  • Darkest Hour
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • March of the Eagles
  • Europa Universalis IV: Res Publica
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Europa Universalis III: Collection
  • Crusader Kings II
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
Basically, I've been reloading to get Switzerland annexed as Austria and the event says:

country_event = { #FROM demands our (SWI) Annexation
id = AUS_political_events.52
title = AUS_political_events.52.t
desc = AUS_political_events.52.desc
picture = GFX_report_event_royal_parade
is_triggered_only = yes

fire_only_once = yes

option = { #yes!
name = AUS_political_events.52.a
ai_chance = {
base = 1
modifier = {
factor = 3
strength_ratio = {
tag = FROM
ratio < 0.75
}
}
modifier = {
factor = 5
strength_ratio = {
tag = FROM
ratio < 0.5
}
}
modifier = {
factor = 2
has_government = FROM
}
}

FROM = {
country_event = {
id = AUS_political_events.53
hours = 3
}
}

effect_tooltip = {
FROM= {
annex_country = {
target = ROOT
transfer_troops = yes
}
}
}

custom_effect_tooltip = GAME_OVER_TT

}


Does this mean that there's only a 15% chance of them saying yes? I don't think there's a good way for them to flip non-aligned in historical
 
No, this represents the relative weight of the choices.
So if option A has a base change of 1 and option B has a base change of 4, it means 2 times out of ten the AI will choose A and 8 times out of ten it will choose B.

These base weight and then multiplied by the rest of the modifiers.
 
  • 3Like
  • 1
Reactions:
Basically, I've been reloading to get Switzerland annexed as Austria (...)
You may have a chance as high as 99.9% on paper and still be getting the same outcome on whatever number of reloads you do - that's irrelevant.
This should make it clear enough:
The focuses themselves don't present a choice, but the events triggered by them. The AI does not care that an event was triggered by a focus, so it does not use that as an input. The random number generator uses a unique number tied to your save game, the current game time and the country (and the current unit leader for events dealing with unit leaders, e.g. sickness). If all of those input numbers are the same, the AI will generate the same "random" number between 0 and 100 to pick from the options. So if
  1. within the same save game
  2. the AI of the same country
  3. at the same time
  4. encounters an event choice with the same available options and associated weights
it will choose the same option. Changing the time the AI encounters the choice is usually most feasible to get a different outcome.
 
  • 4Like
Reactions: