Dev Diary #10 - AI - 12.November 2009

  • Crusader Kings II Expansion Subscription

    Subscribe to the CK II Expansion and enjoy unlimited access to 13 major expansions and more!


  • Crusader Kings III Available Now!

    The realm rejoices as Paradox Interactive announces the launch of Crusader Kings III, the latest entry in the publisher’s grand strategy role-playing game franchise. Advisors may now jockey for positions of influence and adversaries should save their schemes for another day, because on this day Crusader Kings III can be purchased on Steam, the Paradox Store, and other major online retailers.


    Real Strategy Requires Cunning

unmerged(90310)

Banned
1 Badges
Jan 3, 2008
397
3
  • Hearts of Iron III
Welcome to this weeks edition of our Arsenal of Democracy Development Diary.

Today I will talk about the changes we made in the area of Artificial Intelligence (AI).

First of all, let me assure you that we changed a lot regarding the actual execution and calculation of the AI code. We implemented new algorithms that now allow for faster and more efficient resource usage then in previous HoI versions. Actual optimization in the code also affects the strategic level the AI is now able to handle. For larger countries as the US, it now actually tries to keep an eye on the big picture e.g. the pacific and European campaign are no more seen as independent theatres versus multiple enemies but as different fronts against a unified enemy (in this case, the Axis powers). According to this, it now tries
To distribute forces more efficient.

Also AI on an operative scale vastly improved. You are now more likely to run into encirclements or into the risk of getting massively bombed without decent matching air coverage. The AI now proves to be a real tough competition in all areas of the game.
In Land Combat it switches and moves its troops efficiently from reserve positions back and forth to the front line to provide a stable defence line against your attacks. It lays traps in terms of small bad defended gaps in the frontline to lure you away from your original plans and into unfavourable positions – from which it strikes hard at your forces and gives you unexpected resistance.

We have improved the general AI interface of Ground and Air coordination on a massive scale. Air Forces now have a more important impact on the AI strategy at a whole and the AI themselve tends to use them more and also in a slightly smarter and efficient way.

The Garrison AI has also been vastly remodelled. It now tries to optimise the occupation process itself. It processes an intelligent distribution of minimal troops for a maximum effect e.g. best suppression and defence of key provinces and victory points.

On the maritime side, the Naval AI tends to create more efficient fleet combinations for the different tasks it faces. It will create large fleet concentrations by itself with an emphasize on battleships for invasions, depending on resources and doctrines carrier fleets for sea dominance, and for transport, screening, convoy or ASW missions small flexible task forces. The overall coordination between the various fleets of a country has been greatly optimised.

The AI system and files itself can be edited and modified by a mix of static values and dynamic rules.

I hope I could give you a small insight into AoD’s AI system. Stay tuned for next week’s DD when I will introduce you into the aspect of modability and National Ideas.

Attached are some random screens from the diplomatic section for your entertainment.

dd1wa.jpg


dd2qn.jpg
 
Apr 7, 2005
507
0
Sounds awesome, if the AI does as you promise it will, likely the game will once again be challenging :p

Curious though regarding concrete scenarios: will we see a real Islandhopping campaign by the AI, as if I remember correctly, it needs to do so to be able to gain forward naval bases?
In your estimates, will a AI SU be able to live longer than '42?
 

Blecky

General
44 Badges
Aug 12, 2009
1.770
67
  • Hearts of Iron II: Armageddon
  • Crusader Kings II: Monks and Mystics
  • Semper Fi
  • Victoria: Revolutions
  • Heir to the Throne
  • Hearts of Iron III Collection
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • For the Motherland
  • Divine Wind
  • Europa Universalis III Complete
  • Europa Universalis III
  • Darkest Hour
  • Arsenal of Democracy
  • Steel Division: Normand 44 Sign-up
  • Crusader Kings II: Conclave
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Field Marshal
  • Crusader Kings II: Reapers Due
  • Crusader Kings II: Horse Lords
  • Hearts of Iron IV: Death or Dishonor
  • Crusader Kings II: Jade Dragon
  • Hearts of Iron IV: Expansion Pass
  • Shadowrun Returns
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: La Resistance
  • Battle for Bosporus
  • Crusader Kings II: Way of Life
  • 500k Club
  • Warlock: Master of the Arcane
  • Victoria 2
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • 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
Sounds great. Esp. Soviet AI has been too easy to overcome. This looks more and more like a completely new game - which means I can no longer rely on those lectures I´ve learnt the hard way *sigh* Hey, we´re up to a new (and real) challenge :p

BTW during the period of delay while changing ministers etc. will there be any bonus from the former minister at all?
 

Olle8

Major
26 Badges
Jul 29, 2007
683
1
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Darkest Hour
  • Arsenal of Democracy
  • Victoria: Revolutions
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Hearts of Iron IV: La Resistance
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Cradle of Civilization
  • Hearts of Iron IV: Death or Dishonor
  • Hearts of Iron IV: Together for Victory
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: El Dorado
  • 500k Club
  • Victoria 2
  • Europa Universalis IV
  • Cities: Skylines
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Art of War
will the us ai now do invasions in france and do uk do it in italy?
 

unmerged(166917)

Dauphinois à la Noix
11 Badges
Sep 18, 2009
3.671
0
  • Arsenal of Democracy
  • Hearts of Iron II: Armageddon
  • Darkest Hour
  • Deus Vult
  • Europa Universalis III Complete
  • For The Glory
  • Hearts of Iron III
  • Heir to the Throne
  • Victoria 2: A House Divided
  • 500k Club
  • Pillars of Eternity
A smarter AI, I really want to see that! :p
 

dragon1990

Captain
92 Badges
Jun 3, 2005
337
4
  • Victoria 2: A House Divided
  • Iron Cross
  • Lead and Gold
  • Magicka
  • March of the Eagles
  • Europa Universalis III Complete
  • Naval War: Arctic Circle
  • Europa Universalis IV: Res Publica
  • Rome Gold
  • Semper Fi
  • Sengoku
  • Supreme Ruler 2020
  • Victoria 2
  • Europa Universalis III Complete
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • War of the Roses
  • 500k Club
  • Cities: Skylines
  • Europa Universalis IV: El Dorado
  • Pride of Nations
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Imperator: Rome - Magna Graecia
  • Europa Universalis III
  • Arsenal of Democracy
  • 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
  • A Game of Dwarves
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • 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
If daim is added to this game and in someway improves it I think the ai will probably just become sentient and will be a key component in skynet.
 

Ithron

Colonel
56 Badges
Jul 7, 2008
965
36
  • Europa Universalis IV: Rule Britannia
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Together for Victory
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Mandate of Heaven
  • Europa Universalis IV: Third Rome
  • Hearts of Iron IV: Death or Dishonor
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Cradle of Civilization
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rights of Man
  • Stellaris: Distant Stars
  • Europa Universalis IV: Dharma
  • Stellaris: Megacorp
  • Europa Universalis IV: Golden Century
  • Imperator: Rome
  • Hearts of Iron IV: Expansion Pass
  • Imperator: Rome Sign Up
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Hearts of Iron IV: La Resistance
  • Stellaris: Federations
  • Imperator: Rome - Magna Graecia
  • Hearts of Iron IV: Cadet
  • Battle for Bosporus
  • Stellaris: Necroids
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Crusader Kings III: Royal Edition
  • Crusader Kings III
  • Europa Universalis IV: Res Publica
  • Victoria 2
  • 500k Club
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV Sign-up
  • Stellaris Sign-up
  • Europa Universalis 4: Emperor
just a small comment - lots of historical military doctrines were "stupid", for example "Bomber Mafia" in USA (http://en.wikipedia.org/wiki/Bomber_Mafia), a quote from there "Although flawed and tested only under optimal conditions, the doctrine (originally known as the "industrial web theory") became the primary airpower strategy of the United States in the planning for World War II. Four former instructors of the school, the core of the "Bomber Mafia", produced the two airpower war plans (AWPD-1 and AWPD-42) that guided the wartime expansion and deployment of the Army Air Forces."
Also, for example while strategic retreat was acceptable military strategy in UK, it was nearly impossible in USSR and Germany. So, might there be historical doctrines represented in game in AI's action? Because otherwise this looks similar to DAIM - the AI will do the best course of action it can do, not the realistic or historical. Similarly, historically, as far as I know, during WW1 it was considered that there aint effective weapon against submarines, so if it caches transport, then thats it. Only towards the end of the war strategic thinking changed and convoys were added to the unarmed transports. Stupid, but it's historical and was reasonable at the time. Anyways, the changes look staggering and great!

And I very much hope you have mobilization implemented, some mods have done that, but it should be a system, not just events. Also would be great if "society" would react to military victories, defeats, retreats, nuclear bombings and similar. Similarly, it would be great if countries would react to movements and gatherings of armies on its borders or shores.
 

LeeDub

Cynical, withered husk of a man
105 Badges
Oct 1, 2008
1.395
256
  • Semper Fi
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • Europa Universalis III Complete
  • Arsenal of Democracy
  • Magicka
  • Majesty 2
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Knights of Pen and Paper +1 Edition
  • Sword of the Stars
  • Sword of the Stars II
  • Supreme Ruler 2020
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • Crusader Kings II: Monks and Mystics
  • Pillars of Eternity
  • Tyranny - Tales from the Tiers
  • Stellaris: Galaxy Edition
  • For the Motherland
  • Hearts of Iron II: Armageddon
  • 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
  • Deus Vult
  • Hearts of Iron III
  • For The Glory
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Divine Wind
  • Europa Universalis III
  • Darkest Hour
  • Europa Universalis IV
  • 500k Club
  • Europa Universalis IV: El Dorado
  • Mount & Blade: Warband
  • Battle for Bosporus
  • Victoria 2
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Conclave
"Moving this step now, will increase Dissent by: 10.90"

Good Gods. You have implemented a way to quickly shift policies without having to wait a year, haven't you. You have doomed us all. :eek:

I'm speechless. This game seems a must-have.
 

unmerged(129995)

Lt. General
Dec 27, 2008
1.230
1
Whoa! 10 dissent for moving hawk?!?!

EDIT: yeah...LeeDub's idea would make more sense, wouldn't it...
 

Lennartos

BL-Logic
11 Badges
May 9, 2005
1.368
5
  • Hearts of Iron II: Armageddon
  • Crusader Kings II
  • Europa Universalis III
  • Divine Wind
  • Hearts of Iron III Collection
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Victoria: Revolutions
  • 500k Club
  • Europa Universalis III: Collection
  • Hearts of Iron II: Beta
Whoa! 10 dissent for moving hawk?!?!

EDIT: yeah...LeeDub's idea would make more sense, wouldn't it...

yup... i think he's on the right track.. not that i would know ;)
 

Misantropia

Major
81 Badges
Sep 28, 2009
643
132
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Pre-order
  • Stellaris
  • Stellaris: Apocalypse
  • Cities: Skylines Deluxe Edition
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: El Dorado
  • Mount & Blade: With Fire and Sword
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Magicka 2
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis 4: Emperor
  • Crusader Kings II: Conclave
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Rights of Man
  • Tyranny: Archon Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Monks and Mystics
  • Cities: Skylines - Mass Transit
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Golden Century
  • Stellaris: Humanoids Species Pack
  • Cities: Skylines - Parklife Pre-Order
  • Cities: Skylines - Parklife
  • Cities: Skylines - Green Cities
  • Stellaris: Lithoids
  • Stellaris: Ancient Relics
  • Stellaris: Federations
  • Cities: Skylines - Campus
  • Crusader Kings II: Holy Fury
  • 500k Club
  • Europa Universalis IV
  • Stellaris: Distant Stars
  • Stellaris: Megacorp
  • Stellaris: Necroids
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis IV: Mandate of Heaven
  • Victoria 2
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Third Rome
  • Heir to the Throne
about what Ithron said, this depends on the teh that the nation chooses, so that means there should be more self-expluding military doctrines.

so if USA picks carpet bombing in stead of moskito-strategy, the AI will build many heavy bombers at the expense of CAS

also the newly implemented national ideas should have an effect upon AI (beside bonuses) a very nationalistic faction would tend to resist more, an expansionist country will attack more... but well have to wait a week in order to make comments on that
 

Meanmanturbo

General
90 Badges
May 19, 2008
1.721
268
  • Sengoku
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • Europa Universalis III Complete
  • Arsenal of Democracy
  • March of the Eagles
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Rome Gold
  • Semper Fi
  • Majesty 2 Collection
  • Supreme Ruler: Cold War
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • Stellaris: Leviathans Story Pack
  • Europa Universalis IV: Pre-order
  • Stellaris - Path to Destruction bundle
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Sons of Abraham
  • Hearts of Iron II: Armageddon
  • 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
  • Hearts of Iron III
  • Crusader Kings II: Sword of Islam
  • Commander: Conquest of the Americas
  • For the Motherland
  • Deus Vult
  • For The Glory
  • Europa Universalis III
  • Divine Wind
  • Europa Universalis IV: Art of War
  • Darkest Hour
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II: Holy Knight (pre-order)
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Mount & Blade: With Fire and Sword
  • Mount & Blade: Warband
  • Europa Universalis IV: El Dorado
  • 500k Club
  • Europa Universalis 4: Emperor
  • Victoria 2
yup... i think he's on the right track.. not that i would know ;)

Im hoping that dissent is mor important in that case. Elso opening move would just be slider reorganization and spend some time not producing anything, since slider moves are often worth quite a bit of dissent.
 

unmerged(52751)

Captain
Jan 11, 2006
387
0
bunkerarchaeology.net
Will the new AI convoy raid effectively? And go after convoy raiders? In vanilla, AI Royal Navy dominance at sea never seemed to diminish Axis supply or resource convoys, which made it easy (albeit gamey) to seize and exploit a resource-rich overseas colony as Germany.

Also, will the AI defend beaches?! So AI UK will no longer leave the home isles barely guarded?
 

unmerged(129995)

Lt. General
Dec 27, 2008
1.230
1
Im hoping that dissent is mor important in that case. Elso opening move would just be slider reorganization and spend some time not producing anything, since slider moves are often worth quite a bit of dissent.

Yeah. Germany IIRC has 3 slider moves to full Central Planning in 1936, giving them a +20% IC...which should make up for what looks to be +30 dissent by 1937. Of course, this means GER only gets 2 rounds of IC spamming instead of 3, but the early IC bonus makes up for it.
 

Raph

Field Marshal
88 Badges
Nov 20, 2003
5.008
153
  • 200k Club
  • Europa Universalis III Complete
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Semper Fi
  • Sengoku
  • Sword of the Stars
  • Supreme Ruler 2020
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • Warlock: Master of the Arcane
  • Magicka
  • 500k Club
  • Cities: Skylines
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis IV: Pre-order
  • Hearts of Iron: The Card Game
  • Pride of Nations
  • Victoria 2 A House Divided Beta
  • Mount & Blade: Warband
  • Mount & Blade: With Fire and Sword
  • Crusader Kings II: Way of Life
  • Magicka 2 - Signup Campaign
  • Crusader Kings III
  • Crusader Kings II: Sword of Islam
  • Arsenal of Democracy
  • Hearts of Iron II: Armageddon
  • Cities in Motion
  • 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
  • Darkest Hour
  • Deus Vult
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV: Call to arms event
  • For the Motherland
  • Hearts of Iron III
  • Heir to the Throne
Yeah. Germany IIRC has 3 slider moves to full Central Planning in 1936, giving them a +20% IC...which should make up for what looks to be +30 dissent by 1937. Of course, this means GER only gets 2 rounds of IC spamming instead of 3, but the early IC bonus makes up for it.

I would've guessed that the dissent hit 1) decreases the closer you get to 1 year from the last one and 2) would jump real high if you had just force-moved it, i.e. a base 10 dissent penalty when you have 1 year left (i.e. just moved "normally") and then adding x*base penalty if you force move it. Like for instance, if you force-move it at 10 dissent hit, it resets to the base 10 plus for instance half what you were at before, netting 15, or even 100% of what you had, giving 20 and a net of 30 dissent for three instant moves (including the free normal one).

I'm not basing this on anything though, that's just how I'd design it in order to balance it. Not sure what x would be though.
 

el alamein

CORE for AoD Beta Tester
8 Badges
Jun 20, 2006
319
0
  • Arsenal of Democracy
  • Hearts of Iron II: Armageddon
  • Darkest Hour
  • For the Motherland
  • Hearts of Iron III
  • Semper Fi
  • 500k Club
  • Hearts of Iron IV Sign-up
Excellent stuff! :D