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

unmerged(9146)

Dux Slaviensis
May 3, 2002
2.594
0
It may have been asked before and if the answer is somewhere in these forums I would appreciate any information where to find it but when the event comes up, how AI decides which option to choose? I would imagine it optimises some function of how the game evolved but then - I'm just playing a strange game where some weird things happen and one of them is that Russia never formed. I was surprised to see this so I wanted to check why (I thought maybe the conditions of the event were never met) and it turns out Moscow decided to turn down the option of becoming Russia. How does AI come up with a decision like that? It is a clearly dominated choice - you're getting to choose between being Russia (more VP, higher stability and more people in Moscow) or staying Muscovy (fewer VP and lower stability). I would think it's one of the dummy events where AI would always choose the former option. Clearly, it doesn't. How come?
 

Syt

Holstein's Envoy in Vienna
139 Badges
Jan 26, 2001
6.772
247
  • 500k Club
  • 200k Club
  • Crusader Kings III
  • Crusader Kings II: Holy Knight (pre-order)
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Way of Life
  • Crusader Kings II: Conclave
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: The Republic
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Holy Fury
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Jade Dragon
  • Crusader Kings II: Sunset Invasion
  • Deus Vult
  • Victoria 3 Sign Up
  • Victoria 2
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Victoria: Revolutions
  • Imperator: Rome Sign Up
  • Imperator: Rome Deluxe Edition
  • Imperator: Rome - Magna Graecia
  • Stellaris: Galaxy Edition
  • Stellaris Sign-up
  • Stellaris: Federations
  • Stellaris: Nemesis
  • Stellaris: Lithoids
  • Stellaris: Leviathans Story Pack
  • Stellaris: Megacorp
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Stellaris: Distant Stars
  • Stellaris: Ancient Relics
  • Stellaris: Digital Anniversary Edition
  • Stellaris - Path to Destruction bundle
  • Stellaris: Necroids
  • Stellaris: Synthetic Dawn
  • BATTLETECH
  • BATTLETECH - Backer
  • BATTLETECH: Flashpoint
  • BATTLETECH: Season pass
  • BATTLETECH: Heavy Metal
I think there's an 80% chance (4-1) that the AI will choose the historical route in multiple chioce events. The other 20% you'll get alternate history, like Russia not forming, Castille not renamed to Spain, or the Ottoman Capital not moving to Constantinople. :)
 

HisMajestyBOB

Threadbuster, by order of CC
60 Badges
Apr 13, 2001
3.322
8
  • Europa Universalis III: Collection
  • March of the Eagles
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Ship Simulator Extremes
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
  • Cities: Skylines
  • Cities: Skylines Deluxe Edition
  • Crusader Kings II: Holy Knight (pre-order)
  • Majesty 2 Collection
  • Europa Universalis IV: El Dorado
  • Mount & Blade: Warband
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Achtung Panzer
  • Hearts of Iron IV: Cadet
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis III
  • Cities in Motion
  • 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
  • Darkest Hour
  • Deus Vult
  • Arsenal of Democracy
  • Europa Universalis III: Chronicles
  • Divine Wind
  • 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
  • For The Glory
  • Hearts of Iron III
  • Heir to the Throne
Actually, the chance varies based on howmany options there are. Roughly, if there are 2 options: 85% and 15%. 3 options: 85% and 10% and 5% IIRC.
 

unmerged(9146)

Dux Slaviensis
May 3, 2002
2.594
0
I think there's an 80% chance (4-1) that the AI will choose the historical route

So AI just picks it at random? No consideration whatsoever for how it might impact the future development of their countries or what the consequences might be?
 

Syt

Holstein's Envoy in Vienna
139 Badges
Jan 26, 2001
6.772
247
  • 500k Club
  • 200k Club
  • Crusader Kings III
  • Crusader Kings II: Holy Knight (pre-order)
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Way of Life
  • Crusader Kings II: Conclave
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: The Republic
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Holy Fury
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Jade Dragon
  • Crusader Kings II: Sunset Invasion
  • Deus Vult
  • Victoria 3 Sign Up
  • Victoria 2
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Victoria: Revolutions
  • Imperator: Rome Sign Up
  • Imperator: Rome Deluxe Edition
  • Imperator: Rome - Magna Graecia
  • Stellaris: Galaxy Edition
  • Stellaris Sign-up
  • Stellaris: Federations
  • Stellaris: Nemesis
  • Stellaris: Lithoids
  • Stellaris: Leviathans Story Pack
  • Stellaris: Megacorp
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Stellaris: Distant Stars
  • Stellaris: Ancient Relics
  • Stellaris: Digital Anniversary Edition
  • Stellaris - Path to Destruction bundle
  • Stellaris: Necroids
  • Stellaris: Synthetic Dawn
  • BATTLETECH
  • BATTLETECH - Backer
  • BATTLETECH: Flashpoint
  • BATTLETECH: Season pass
  • BATTLETECH: Heavy Metal
Originally posted by robin74


So AI just picks it at random? No consideration whatsoever for how it might impact the future development of their countries or what the consequences might be?

Nope, none whatsoever. Besides, the human player is nudged to go historically in most cases, too, as the historical option usually yields far greater returns than the a-historical ones.
 

Castellon

★Paradox Forum Manager★
Administrator
Paradox Staff
110 Badges
Mar 12, 2002
43.218
1.812
  • Europa Universalis IV
  • 200k Club
  • 500k Club
  • Hearts of Iron II: Beta
  • Victoria 2 Beta
  • Humble Paradox Bundle
  • Paradox Order
Originally posted by BarristerBoy


That's right. For two options, 95-5. Three options, 90-5-5. An four options, 85-5-5-5.

Not exact figures but close enough. :)
 

unmerged(9146)

Dux Slaviensis
May 3, 2002
2.594
0
Originally posted by Sytass
Besides, the human player is nudged to go historically in most cases, too, as the historical option usually yields far greater returns than the a-historical ones.

That's really why it surprises me that AI is just randomizing. I will go historical in most cases but I will certainly go historical if the counterfactual choice is worse in every respect than the historical one. I would expect AI to do roughly the same and randomizing does not reflect this process. I would expect AI to choose the option with the greater returns. I would suspect these choices to be historical in most cases, though ocassionally, since the rest of the game doesn't have to evolve historically accurately, AI would make ahistorical choice, not by a random chance but because it's beneficial under these specific circumstances. But there are some decisions where one option gives you only gains while the other gives you only losses and so one is clearly better than the other under any conditions. Like choosing whether to be Russia or not. I don't really see the point in making AI flip a coin in these situations.
 

Garbon

Sultan d'Afrique
74 Badges
Feb 1, 2002
9.764
251
www.crystalempiregames.com
  • For The Glory
  • Europa Universalis 4: Emperor
  • Crusader Kings III
  • Europa Universalis IV
  • Imperator: Rome
  • Cities: Skylines Industries
  • Crusader Kings II
  • Crusader Kings II: Holy Knight (pre-order)
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Conclave
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Jade Dragon
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Holy Fury
  • Crusader Kings II: Way of Life
  • Deus Vult
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Rights of Man
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Golden Century
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Res Publica
  • Europa Universalis III
  • Europa Universalis III Complete
  • Europa Universalis III: Chronicles
  • Divine Wind
Originally posted by robin74
I don't really see the point in making AI flip a coin in these situations.

Well, then it would have to be programmed to have judging factor. I'm pretty sure it doesn't have that.

garbon
 
May 25, 2002
204
0
Visit site
Originally posted by robin74
That's really why it surprises me that AI is just randomizing.
<SNIP>
But there are some decisions where one option gives you only gains while the other gives you only losses and so one is clearly better than the other under any conditions. Like choosing whether to be Russia or not. I don't really see the point in making AI flip a coin in these situations.
In many cases the historical choice is not the best option, but nations did on many occations chose less than optimal solutions to their problems. In game terms it is usually quite easy to see what the best opion is, but that is mostly not the case in real life. Thus the random factor to decisions makes the game more realistic, even if it reduses the chance that the AI nations develop in a historical manner.

The in-game reason why the AI "flips a coin" is variety. If the AI always choses the the same options it makes the game much more predictable and less interesting.
 

Winkelried

Colonel
52 Badges
May 9, 2001
929
0
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris Sign-up
  • Crusader Kings II: Reapers Due
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Europa Universalis IV: Common Sense
  • Stellaris - Path to Destruction bundle
  • Stellaris: Synthetic Dawn
  • Age of Wonders III
  • Age of Wonders
  • Crusader Kings II: Jade Dragon
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Stellaris: Distant Stars
  • Stellaris: Megacorp
  • Crusader Kings II: Holy Fury
  • Stellaris: Ancient Relics
  • Stellaris: Federations
  • Europa Universalis IV: Wealth of Nations
  • 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: Sword of Islam
  • Europa Universalis III
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II
  • Europa Universalis IV: Call to arms event
  • Heir to the Throne
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Sword of the Stars
  • 500k Club
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis IV: El Dorado
  • Mount & Blade: Warband
Originally posted by Sytass


Nope, none whatsoever. Besides, the human player is nudged to go historically in most cases, too, as the historical option usually yields far greater returns than the a-historical ones.

That's exactly my problem with that system. Aside from making the decision a no-brainer, it implies that the world how it developed historically is the best possible outcome. Voltaire's Candide, ou l'optimisme comes to mind. :(
 

Lucidor

Lt. General
5 Badges
May 4, 2001
1.615
1
  • Crusader Kings II
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • 500k Club
I read somewhere that there is an 85% chance of choosing A, and if A not is chosen, then there is an 85% chance of choosing B, and if that choice isn't chosen, then there is an 85% for C, etc... Ofcourse, if there are only three choices, then a roll against B will choose C.
 

Director

Maestro
34 Badges
Aug 13, 2002
5.400
3.350
  • Europa Universalis IV: Rights of Man
  • Cities: Skylines
  • Cities: Skylines Deluxe Edition
  • Europa Universalis III: Collection
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Mare Nostrum
  • 500k Club
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Third Rome
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Rule Britannia
  • Cities: Skylines - Parklife
  • Imperator: Rome Deluxe Edition
  • Imperator: Rome
  • Europa Universalis III Complete
  • 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
  • For the Motherland
  • Hearts of Iron III
  • Heir to the Throne
  • Europa Universalis III
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Semper Fi
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
Originally posted by Winkelried


That's exactly my problem with that system. Aside from making the decision a no-brainer, it implies that the world how it developed historically is the best possible outcome. Voltaire's Candide, ou l'optimisme comes to mind. :(

No, it means that those rulers had what they considered good reasons for the actions they took. Unfortunately, EU2 doesn't model all of the factors that influenced their decisions - and we, with perfect hindsight, KNOW the consequences they did not.:)
 

unmerged(9146)

Dux Slaviensis
May 3, 2002
2.594
0
Originally posted by Nocuous

Thus the random factor to decisions makes the game more realistic, even if it reduses the chance that the AI nations develop in a historical manner.

I don't have a problem with a random element when choosing what's best added in order to simulate uncertainty of real life. But the random element cannot be too big. I just don't think allowing AI to choose _any_ course of action, no matter how dumb and inferior, is making the game more realistic.

The in-game reason why the AI "flips a coin" is variety. If the AI always choses the the same options it makes the game much more predictable and less interesting.

I don't propose that AI always chooses the same option. I propose that it chooses the best decision _given_the_circumstances_, and these will vary. How the game evolves is a function of much more than what choices countries made in the events. Sometimes Austria will conquer half Europe and sometimes it will be just one of the tiny German states somewhere in the Alps. I don't really understand why Spain couldn't take that into account when deciding whether to side with France or Austria in the Succession Wars. Add a random component to the objective function if you want. I don't believe that would make the game less interesting. Au contraire. If indeed AI simply sticks to the historical choice 95% of the time, I believe that making it actually optimise would make the game less predictable.
 

unmerged(1047)

Commander, US Pacific Fleet
Feb 21, 2001
5.167
1
what Lucidor said.... I've seen it in a lot of places that the AI has an 85% chance of taking each choice, alphabetically, and will take the last if it gets to it. Haven't really tested it myself, or even worked out how one would test this.
 

DPS

Field Marshal
22 Badges
Feb 4, 2002
4.243
622
Visit site
  • Europa Universalis III Complete
  • Crusader Kings II: Holy Fury
  • Crusader Kings II: Jade Dragon
  • Stellaris
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Way of Life
  • Europa Universalis III: Collection
  • 500k Club
  • Europa Universalis: Rome
  • Europa Universalis III Complete
  • Crusader Kings II
  • Europa Universalis IV
  • Europa Universalis III
  • Deus Vult
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Charlemagne
The AI doesn't even know how to handle naval attrition so it has to be given a cheat, and you think it can handle figuring out which event option is best? No way.

Besides, while some of the events have options that are clearly best, many events are not so clear-cut even to human players.
 

Castellon

★Paradox Forum Manager★
Administrator
Paradox Staff
110 Badges
Mar 12, 2002
43.218
1.812
  • Europa Universalis IV
  • 200k Club
  • 500k Club
  • Hearts of Iron II: Beta
  • Victoria 2 Beta
  • Humble Paradox Bundle
  • Paradox Order
Originally posted by Sheridan
what Lucidor said.... I've seen it in a lot of places that the AI has an 85% chance of taking each choice, alphabetically, and will take the last if it gets to it. Haven't really tested it myself, or even worked out how one would test this.

Here is the answer from a past post of mine I dug up.

Orignally Posted by Nocuous

Event choices :
2 : n = 90
3 : n = 95
4 : n = 100
The historical choice (A) has 85/n and all other choices has 5/n.
Castellon's expert analysis yeilds; :)

Therefore if:
2 Choices A= 85/90 or 94.4% B=5.6%
3 Choices A= 85/95 or 89.5% B=5.75% C=5.75%
4 Choices A= 85/100 or 85% B=5% C=5% D=5%

I hope this clears things up.