I have restarted the game over 80 times in the last hour hoping to get an oppose Hitler start.

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

Zer0k

Second Lieutenant
45 Badges
Dec 4, 2016
149
0
  • Europa Universalis IV: Rights of Man
  • Stellaris: Distant Stars
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Dharma
  • Hearts of Iron IV: Death or Dishonor
  • Surviving Mars
  • BATTLETECH
  • BATTLETECH: Flashpoint
  • Europa Universalis IV: Mandate of Heaven
  • Hearts of Iron IV: Together for Victory
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV: Golden Century
  • Stellaris: Necroids
  • Europa Universalis 4: Emperor
  • Battle for Bosporus
  • Stellaris: Federations
  • Hearts of Iron IV: La Resistance
  • Stellaris: Lithoids
  • Stellaris: Ancient Relics
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Third Rome
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Megacorp
  • Stellaris: Synthetic Dawn
  • Crusader Kings II
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Res Publica
  • Heir to the Throne
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Europa Universalis IV
  • Divine Wind
  • Europa Universalis III: Chronicles
  • Europa Universalis III
That is not how that system works. The focuses set to 1 are never chosen and the choice is between the 12 and the 10. We could fix this (and I have pushed for it before) but it shouldn't be as big of an issue come 1.6 anyway.
That's not true, I saw army innovations being picked once (out of +200 attempts), and that one has a weight of 1. So obviously they get picked but in a different way as the actual data suggests.
 
Last edited:

krios41

General
64 Badges
May 14, 2016
2.492
723
  • Tyranny: Archon Edition
  • Stellaris: Synthetic Dawn
  • Tyranny - Tales from the Tiers
  • Tyranny - Bastards Wound
  • Europa Universalis IV
  • Tyranny: Gold Edition
  • Tyranny: Archon Edition
  • Stellaris: Necroids
  • Stellaris: Nemesis
  • Hearts of Iron IV: By Blood Alone
  • Hearts of Iron IV: No Step Back
  • Stellaris: Humanoids Species Pack
  • Stellaris: Megacorp
  • BATTLETECH: Flashpoint
  • Surviving Mars: First Colony Edition
  • Stellaris: Distant Stars
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Apocalypse
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Death or Dishonor
  • Age of Wonders: Planetfall
  • Age of Wonders: Planetfall Sign Up
  • Stellaris: Lithoids
  • Hearts of Iron IV: La Resistance
  • Stellaris: Federations
  • Crusader Kings III
  • Battle for Bosporus
  • War of the Roses
  • Europa Universalis IV: Common Sense
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV: Together for Victory
  • Stellaris: Digital Anniversary Edition
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Expansion Pass
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Stellaris: Ancient Relics
  • Surviving Mars: Digital Deluxe Edition
  • Surviving Mars: First Colony Edition
  • Prison Architect
  • Prison Architect: Psych Ward
  • BATTLETECH
  • BATTLETECH: Season pass
  • BATTLETECH: Heavy Metal

bitmode

1st Reverse Engineer Battalion
Nov 10, 2016
3.796
6.921
I checked the code and I see nothing that prevents picking focuses with weight 1. The weighting is skewed however and does not work like in other places that use weights like this. Each focus rolls a die from 0 up to its ai_will_do value and the largest value wins. For example if one focus with ai_will_do 1 is available and another with ai_will_do 2 the pick ratio the latter wins in 50% of the cases where it rolls above 1 and half of the remaining cases where both roll between 0 and 1. So the pick rate is not 33% vs 66% but actually 25% vs 75%. Simulating this method with all the German starting focus weights 100000 times I get ~136 times Oppose Hitler, i.e. it takes on average 735 games to get this start.

Code:
import random
successes = 0
for i in range(100000):
    fourYearPlan = random.random()*10
    airInno = random.random()*1
    armyInno = random.random()*1
    rheinland = random.random()*12
    oppose = random.random()*1
    naval = random.random()*1
    successes += oppose > max(fourYearPlan,airInno,armyInno,rheinland,naval)

Edit: also the dice roll is not done for ai_will_do's below 1; this means 0.999 is twice as likely to be picked as 1.0
 
Last edited:

Celdur

Major
53 Badges
Aug 1, 2008
765
93
  • Europa Universalis IV: Golden Century
  • Hearts of Iron IV: Field Marshal
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Death or Dishonor
  • 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
  • Europa Universalis IV: Rights of Man
  • Imperator: Rome Deluxe Edition
  • Hearts of Iron IV: No Step Back
  • 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
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV
  • Victoria 2
  • 500k Club
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris: Galaxy Edition
  • Crusader Kings II
  • Hearts of Iron IV: Cadet
  • 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
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV: Colonel
  • Stellaris: Galaxy Edition
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Third Rome
That is not how that system works. The focuses set to 1 are never chosen and the choice is between the 12 and the 10. We could fix this (and I have pushed for it before) but it shouldn't be as big of an issue come 1.6 anyway.

When i was playing WoW a few years ago i read the one of the changes made to the RNG was the "bad luck" system, basically, since there are millions of players the worst possible odds will happen to thousands of them, and so they implemented this system to prevent horrible luck from happening, i don't know the formula they used but it prevents players from having a string of bad luck specially when looting items required for quests.

I would like there to be a similar system for HoI where the AI knows it hasn't picked a certain focus path for a long time and so this next game it will fudge the numbers to pick it. I'd like to experience every possible combination of focus paths every country has available, at least at the beggining, France going fasicst never happens for example, or the Soviet Union losing the civil war, it never happens either...
 

Bratyn

Content Design Lead
Paradox Staff
39 Badges
Dec 25, 2012
1.189
1.824
  • Crusader Kings II: Charlemagne
  • Europa Universalis IV: Pre-order
  • Semper Fi
  • Europa Universalis IV: Res Publica
  • Naval War: Arctic Circle
  • Magicka
  • Leviathan: Warships
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • For the Motherland
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Wealth of Nations
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: The Republic
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II
  • Stellaris Sign-up
  • Prison Architect
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Field Marshal
  • Hearts of Iron IV: Death or Dishonor
  • Age of Wonders III
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV Sign-up
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • 500k Club
  • Europa Universalis IV
Then why have an a-historical mode then? If the AI will never pick unlikely options because they are weighted so low?

Another reason is that there was incredible backlash at the bare notion of it even being conceivable of AI Germany ever going ahistorical, so when it was discovered that there is an issue in the weightings (AFAIK any focuses with less than 1/3rd of the chance of other foci never get picked) I didn't increase the value for Oppose Hitler. As stated, with 1.6 it won't be an issue anymore, since if you want Oppose Hitler to get picked you can set the AI to do so.
 

Archangel85

Content Design, HoI4 [Retired]
Paradox Staff
62 Badges
Jan 27, 2005
2.247
5.213
  • Europa Universalis IV: El Dorado
  • March of the Eagles
  • Naval War: Arctic Circle
  • Europa Universalis IV: Res Publica
  • Semper Fi
  • Sengoku
  • Sword of the Stars II
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Warlock: Master of the Arcane
  • 500k Club
  • Cities: Skylines
  • Magicka
  • Magicka: Wizard Wars Founder Wizard
  • Pride of Nations
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
  • Cities: Skylines - After Dark
  • Cities: Skylines - Snowfall
  • Stellaris
  • Hearts of Iron IV Sign-up
  • Stellaris Sign-up
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: By Blood Alone
  • Europa Universalis III: Chronicles
  • Cities in Motion 2
  • 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
  • Europa Universalis III
  • Cities in Motion
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • Knights of Pen and Paper +1 Edition
I checked the code and I see nothing that prevents picking focuses with weight 1. The weighting is skewed however and does not work like in other places that use weights like this. Each focus rolls a die from 0 up to its ai_will_do value and the largest value wins. For example if one focus with ai_will_do 2 is available and another with ai_will_do 4 the pick ratio the latter wins in 50% of the cases where it rolls above 1 and half of the remaining cases where both roll between 0 and 1. So the pick rate is not 33% vs 66% but actually 25% vs 75%. Simulating this method with all the German starting focus weights 100000 times I get ~136 times Oppose Hitler, i.e. it takes on average 735 games to get this start.

Code:
import random
successes = 0
for i in range(100000):
    fourYearPlan = random.random()*10
    airInno = random.random()*1
    armyInno = random.random()*1
    rheinland = random.random()*12
    oppose = random.random()*1
    naval = random.random()*1
    successes += oppose > max(fourYearPlan,airInno,armyInno,rheinland,naval)

Edit: also the dice roll is not done for ai_will_do's below 1; this means 0.999 is twice as likely to be picked as 1.0

We were specifically told by the person who made the system that this is not how it works. There is no dice roll on the base value, it just takes the ai_weight of all the available focuses, adds a random value of up to 50% to it, and then picks the focus with the highest value. That means if a focus is not within 50% of the base value of the highest available focus, it will never be picked.
 

ohms_law

Colonel
59 Badges
Dec 21, 2003
947
12
  • Stellaris: Distant Stars
  • Stellaris - Path to Destruction bundle
  • Cities: Skylines - Mass Transit
  • BATTLETECH
  • Surviving Mars
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Synthetic Dawn
  • Cities: Skylines - Green Cities
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Surviving Mars: Digital Deluxe Edition
  • Cities: Skylines - Parklife
  • Hearts of Iron IV: Together for Victory
  • Surviving Mars: First Colony Edition
  • Cities: Skylines Industries
  • BATTLETECH: Flashpoint
  • Stellaris: Megacorp
  • Imperator: Rome
  • Hearts of Iron IV: Expansion Pass
  • Surviving Mars: First Colony Edition
  • Cities: Skylines - Campus
  • Stellaris: Ancient Relics
  • BATTLETECH: Season pass
  • Stellaris: Lithoids
  • Hearts of Iron IV: No Step Back
  • Cities: Skylines Deluxe Edition
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Divine Wind
  • Europa Universalis IV
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Heir to the Throne
  • Supreme Ruler 2020
  • Supreme Ruler: Cold War
  • Victoria 2
  • 500k Club
  • Cities: Skylines
  • Crusader Kings II
  • Europa Universalis III: Collection
  • Cities: Skylines - After Dark
  • Cities: Skylines - Snowfall
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
Then why have an a-historical mode then? If the AI will never pick unlikely options because they are weighted so low?

I'm not trying to be snarky, but why would you want Germany to go ahistorical in HOI?
Genuinely curious.

This goes for OP too, I guess.
 

krios41

General
64 Badges
May 14, 2016
2.492
723
  • Tyranny: Archon Edition
  • Stellaris: Synthetic Dawn
  • Tyranny - Tales from the Tiers
  • Tyranny - Bastards Wound
  • Europa Universalis IV
  • Tyranny: Gold Edition
  • Tyranny: Archon Edition
  • Stellaris: Necroids
  • Stellaris: Nemesis
  • Hearts of Iron IV: By Blood Alone
  • Hearts of Iron IV: No Step Back
  • Stellaris: Humanoids Species Pack
  • Stellaris: Megacorp
  • BATTLETECH: Flashpoint
  • Surviving Mars: First Colony Edition
  • Stellaris: Distant Stars
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Apocalypse
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Death or Dishonor
  • Age of Wonders: Planetfall
  • Age of Wonders: Planetfall Sign Up
  • Stellaris: Lithoids
  • Hearts of Iron IV: La Resistance
  • Stellaris: Federations
  • Crusader Kings III
  • Battle for Bosporus
  • War of the Roses
  • Europa Universalis IV: Common Sense
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV: Together for Victory
  • Stellaris: Digital Anniversary Edition
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Expansion Pass
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Stellaris: Ancient Relics
  • Surviving Mars: Digital Deluxe Edition
  • Surviving Mars: First Colony Edition
  • Prison Architect
  • Prison Architect: Psych Ward
  • BATTLETECH
  • BATTLETECH: Season pass
  • BATTLETECH: Heavy Metal
I'm not trying to be snarky, but why would you want Germany to go ahistorical in HOI?
Genuinely curious.

This goes for OP too, I guess.
Well, the most obvious example is when you're doing an Austria-Hungary run, the last thing you want is Germany demanding the sudetenland :p
I have had plenty of times where i'm trying something wacky, only for it to fail and think "If only Major power X had gone A-historical, then Y wouldn't have happend and i would've won" or something along these lines :)
 

RagingJaws

Looter of Priceless Artifacts
99 Badges
May 10, 2016
790
1.076
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron III
  • Victoria 2: A House Divided
  • Sengoku
  • Europa Universalis IV: Rule Britannia
  • Steel Division: Normandy 44
  • Cities: Skylines - Mass Transit
  • Europa Universalis IV: Mandate of Heaven
  • Steel Division: Normandy 44 Deluxe Edition
  • Crusader Kings Complete
  • BATTLETECH
  • Imperator: Rome Sign Up
  • Hearts of Iron IV: Death or Dishonor
  • Tyranny - Bastards Wound
  • Cities: Skylines - Green Cities
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Cities: Skylines - Natural Disasters
  • BATTLETECH - Digital Deluxe Edition
  • Cities: Skylines - Parklife Pre-Order
  • Cities: Skylines - Parklife
  • Stellaris: Distant Stars
  • Europa Universalis IV: Dharma
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Golden Century
  • Prison Architect
  • Surviving Mars: First Colony Edition
  • Crusader Kings II: Conclave
  • Imperator: Rome - Magna Graecia
  • Stellaris: Necroids
  • Stellaris: Federations
  • Stellaris: Ancient Relics
  • Victoria 2
  • War of the Roses
  • Cities: Skylines
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Monks and Mystics
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Tyranny: Archon Edition
  • Tyranny: Archon Edition
  • Tyranny: Gold Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Stellaris: Lithoids
It hasn't been brought up so far, at least through my quick skimming of posts, but what nation and ideology are you playing as? Also what focuses are Germany picking first?

I've had ahistorical Germany pick both the Industry and Military tree first several times in my ahistorical games before picking one or the other of the political options. My last game as a Mouvement Franciste Franch saw Germany oppose Hitler and I had to deal with a Democratic Germany. Wasn't quite what I wanted but c'est la vie. I've also seen the opposition fail a few times too.
 

beckermt

Field Marshal
56 Badges
Mar 28, 2012
2.555
1.382
  • Crusader Kings II: Charlemagne
  • Cities: Skylines - Snowfall
  • Cities: Skylines - After Dark
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Victoria: Revolutions
  • Europa Universalis IV: Res Publica
  • Magicka
  • Heir to the Throne
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Divine Wind
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Cities: Skylines - Mass Transit
  • Europa Universalis IV: Mandate of Heaven
  • Stellaris: Megacorp
  • Age of Wonders III
  • Cities: Skylines - Green Cities
  • Stellaris - Path to Destruction bundle
  • Shadowrun: Dragonfall
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Cities: Skylines - Parklife Pre-Order
  • Cities: Skylines - Parklife
  • Stellaris: Distant Stars
  • Shadowrun Returns
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV: Rights of Man
  • Stellaris Sign-up
  • Stellaris: Ancient Relics
  • Europa Universalis IV: Mare Nostrum
  • Stellaris: Federations
  • Europa Universalis IV: Common Sense
  • Pillars of Eternity
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • Cities: Skylines
  • Victoria 2
When i was playing WoW a few years ago i read the one of the changes made to the RNG was the "bad luck" system, basically, since there are millions of players the worst possible odds will happen to thousands of them, and so they implemented this system to prevent horrible luck from happening, i don't know the formula they used but it prevents players from having a string of bad luck specially when looting items required for quests.

I would like there to be a similar system for HoI where the AI knows it hasn't picked a certain focus path for a long time and so this next game it will fudge the numbers to pick it. I'd like to experience every possible combination of focus paths every country has available, at least at the beggining, France going fasicst never happens for example, or the Soviet Union losing the civil war, it never happens either...

The WoW mechanic was basically that loot chances for a quest item would increase with each kill and reset to baseline each time the item spawned. It effectively created a maximum amount of kills you needed to complete the quest. Really a quite clever system actually!
 

Zer0k

Second Lieutenant
45 Badges
Dec 4, 2016
149
0
  • Europa Universalis IV: Rights of Man
  • Stellaris: Distant Stars
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Dharma
  • Hearts of Iron IV: Death or Dishonor
  • Surviving Mars
  • BATTLETECH
  • BATTLETECH: Flashpoint
  • Europa Universalis IV: Mandate of Heaven
  • Hearts of Iron IV: Together for Victory
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV: Golden Century
  • Stellaris: Necroids
  • Europa Universalis 4: Emperor
  • Battle for Bosporus
  • Stellaris: Federations
  • Hearts of Iron IV: La Resistance
  • Stellaris: Lithoids
  • Stellaris: Ancient Relics
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Third Rome
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Megacorp
  • Stellaris: Synthetic Dawn
  • Crusader Kings II
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Res Publica
  • Heir to the Throne
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Europa Universalis IV
  • Divine Wind
  • Europa Universalis III: Chronicles
  • Europa Universalis III
I'm not trying to be snarky, but why would you want Germany to go ahistorical in HOI?
Genuinely curious.

This goes for OP too, I guess.

Why not? It is interesting and changes up the gameplay. But specifically, I wanted to recreate the Central Powers (but not as Germany) and get few achievements out of the way.
 

Zer0k

Second Lieutenant
45 Badges
Dec 4, 2016
149
0
  • Europa Universalis IV: Rights of Man
  • Stellaris: Distant Stars
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Cradle of Civilization
  • Europa Universalis IV: Dharma
  • Hearts of Iron IV: Death or Dishonor
  • Surviving Mars
  • BATTLETECH
  • BATTLETECH: Flashpoint
  • Europa Universalis IV: Mandate of Heaven
  • Hearts of Iron IV: Together for Victory
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV: Golden Century
  • Stellaris: Necroids
  • Europa Universalis 4: Emperor
  • Battle for Bosporus
  • Stellaris: Federations
  • Hearts of Iron IV: La Resistance
  • Stellaris: Lithoids
  • Stellaris: Ancient Relics
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Third Rome
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Megacorp
  • Stellaris: Synthetic Dawn
  • Crusader Kings II
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Res Publica
  • Heir to the Throne
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Europa Universalis IV
  • Divine Wind
  • Europa Universalis III: Chronicles
  • Europa Universalis III
Simulating this method with all the German starting focus weights 100000 times I get ~136 times Oppose Hitler, i.e. it takes on average 735 games to get this start.

Edit: also the dice roll is not done for ai_will_do's below 1; this means 0.999 is twice as likely to be picked as 1.0

This lines up more with when I saw with the AI pick Army Innovations as the first focus, it took over 200 game starts to see that start. But 735 is more dire, I guess I have to wait for 1.6 to play my game, no harm in putting HOI4 down and picking up EU4 for now.
 

Karapis

Second Lieutenant
15 Badges
Jul 23, 2018
165
17
  • Victoria 2
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Together for Victory
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Expansion Pass
  • Imperator: Rome Deluxe Edition
  • Imperator: Rome
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: La Resistance
  • Crusader Kings III
  • Battle for Bosporus
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
As stated, with 1.6 it won't be an issue anymore, since if you want Oppose Hitler to get picked you can set the AI to do so.
But as far as i understood, 1.6 game rules are not achievement-friendly. So it will be the same issue still
And for me main question most important quesion is - can we have true random ai behavior? I wouldn't want to specifically set Germany to pick opose Hitler focus, but if it would happen on its own in some games - would be very cool.
 

grandad1982

Field Marshal
103 Badges
May 1, 2012
3.562
5.180
  • Sengoku
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • Europa Universalis IV: Third Rome
  • Knights of Pen and Paper +1 Edition
  • March of the Eagles
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Semper Fi
  • Crusader Kings II
  • Sword of the Stars
  • Europa Universalis IV: Cossacks
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Cities: Skylines - After Dark
  • Stellaris - Path to Destruction bundle
  • Crusader Kings II: Jade Dragon
  • Europa Universalis IV: Pre-order
  • For the Motherland
  • Cities in Motion 2
  • 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 III
  • Europa Universalis III Complete
  • Divine Wind
  • Stellaris
  • 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
  • Hearts of Iron III
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Hearts of Iron IV Sign-up
  • Europa Universalis IV: Common Sense
  • Pillars of Eternity
  • Crusader Kings II: Way of Life
  • 500k Club
  • Warlock: Master of the Arcane
  • Victoria 2
  • Teleglitch: Die More Edition
  • Europa Universalis III Complete
  • Victoria 3 Sign Up
  • Europa Universalis IV
One thing I've seen asked for (and have asked myself) is to have a crazy ahistorical setting where the weights are all pretty much the same on the political trees. Seems reasonable to me.
 

Glacier87

Sergeant
96 Badges
Dec 27, 2014
88
106
  • Crusader Kings II: Jade Dragon
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Third Rome
  • Stellaris: Synthetic Dawn
  • Semper Fi
  • Sengoku
  • Victoria 2: A House Divided
  • Arsenal of Democracy
  • Rome: Vae Victis
  • Victoria 2: Heart of Darkness
  • Age of Wonders
  • Europa Universalis IV: Mare Nostrum
  • Tyranny - Tales from the Tiers
  • Stellaris: Galaxy Edition
  • Crusader Kings II: Reapers Due
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • Hearts of Iron III
  • 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
  • Europa Universalis IV: Wealth of Nations
  • Hearts of Iron III: Their Finest Hour
  • For the Motherland
  • Europa Universalis IV: Call to arms event
  • Crusader Kings II: Sword of Islam
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Hearts of Iron IV: Colonel
  • Cities: Skylines
  • Crusader Kings II: Monks and Mystics
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: El Dorado
  • Stellaris: Digital Anniversary Edition
  • Tyranny: Archon Edition
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Way of Life
  • Europa Universalis IV
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV Sign-up
  • Stellaris: Galaxy Edition
  • Pillars of Eternity
  • Hearts of Iron IV: No Step Back
  • Stellaris
  • Victoria 2
Some of us would still want an ahistorical game where these things could happen randomly. I appreciate that we can choose AI GER to Oppose Hitler in 1.6 but it would be nice if it could choose this for itself once in a while, with historical off.
 

bitmode

1st Reverse Engineer Battalion
Nov 10, 2016
3.796
6.921
We were specifically told by the person who made the system that this is not how it works. There is no dice roll on the base value, it just takes the ai_weight of all the available focuses, adds a random value of up to 50% to it, and then picks the focus with the highest value. That means if a focus is not within 50% of the base value of the highest available focus, it will never be picked.
For anyone playing on linux that knows a bit of gdb here are steps to verify my claim:
# switch the game version to 1.5.3 in steam
# then in terminal:
cd ~/.steam/steam/steamapps/common/Hearts\ of\ Iron\ IV/
gdb hoi4
# then in gdb shell:
set pagination off
break *0x87c4b2e
command
x/s *(char**)($edi+8)
continue
end
break *0x87C4C9A
command
p/d $ebp
continue
end
run

# when in-game, start a game as Germany, without ironman and without historical focuses
# enter "ai" and "human_ai" in game console to have only German AI running
# unpause the game. In gdb shell you should now see focus IDs and their dice rolls being printed
# they are scaled by 100.000, e.g. Rhineland will roll between 0 and 1.000.000
# Sample output
[Switching to Thread 0xe7c6eb40 (LWP 5768)]

Thread 21 "hoi4" hit Breakpoint 1, 0x087c4b2e in ?? ()
0xd9b997c: "GER_four_year_plan"

Thread 21 "hoi4" hit Breakpoint 2, 0x087c4c9a in ?? ()
$400 = 117000

Thread 21 "hoi4" hit Breakpoint 1, 0x087c4b2e in ?? ()
0xda7ddac: "GER_air_innovation"

Thread 21 "hoi4" hit Breakpoint 2, 0x087c4c9a in ?? ()
$401 = 24000

Thread 21 "hoi4" hit Breakpoint 1, 0x087c4b2e in ?? ()
0xda80e7c: "GER_army_innovation"

Thread 21 "hoi4" hit Breakpoint 2, 0x087c4c9a in ?? ()
$402 = 51000

Thread 21 "hoi4" hit Breakpoint 1, 0x087c4b2e in ?? ()
0xda8649c: "GER_rhineland"

Thread 21 "hoi4" hit Breakpoint 2, 0x087c4c9a in ?? ()
$403 = 261000

Thread 21 "hoi4" hit Breakpoint 1, 0x087c4b2e in ?? ()
0xdaad05c: "GER_naval_rearmament"

Thread 21 "hoi4" hit Breakpoint 2, 0x087c4c9a in ?? ()
$404 = 3000
 

$ilent_$trider

Prince of Trivia
82 Badges
Mar 13, 2010
1.789
3.162
  • Crusader Kings II: Charlemagne
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Third Rome
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Crusader Kings II: Jade Dragon
  • Europa Universalis IV: Res Publica
  • Magicka
  • Knights of Pen and Paper +1 Edition
  • Impire
  • Hearts of Iron III
  • Europa Universalis IV: Call to arms event
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Europa Universalis IV: Wealth of Nations
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Tyranny: Gold Edition
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Monks and Mystics
  • Hearts of Iron IV: No Step Back
  • Europa Universalis IV: Mandate of Heaven
  • BATTLETECH
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Synthetic Dawn
  • Tyranny - Tales from the Tiers
  • Tyranny - Bastards Wound
  • Europa Universalis IV: Cradle of Civilization
  • Tyranny: Archon Edition
  • Tyranny: Archon Edition
  • Europa Universalis IV: Rights of Man
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • War of the Roses
  • Victoria 2
I'm not trying to be snarky, but why would you want Germany to go ahistorical in HOI?
Genuinely curious.

This goes for OP too, I guess.

Well, there will be other ways to get WW2 started anyway, probably with Soviet Union or Japan.
I'm just saying that if you set to ahistorical possibilities and the AI never chooses an ahistorical option, then why bother having the option in the first place?
Granted, @Bratyn just reminded us that in 1.6 we will be able to set up rules for the majors, so that will help with people that wants to play certain ahistorical scenarios.