• 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(14164)

Second Lieutenant
Jan 29, 2003
119
3
Visit site
I have been recently trying to improve the Prussian AI (one among many projects designed to keep me from doing what I'm really supposed to be doing -- applying for Grad School).

I noticed that every time it starts the GC it builds 3-4 explosives factories which in and of itself is ridiculous considering it won't be able to get ammunition or fertilizer for a dozen years.

What is really vexing is that in response I set the AI 'factory variable' to 0.000 for 'explosives_factory' (I tried 0.001 as well). This did not seem to have any effect on Prussia's desire to continuously build these useless factories.

Is there some other variable I'm missing, or is this a bug?

Thanks,
Grendel
 
  • 1
Reactions:
Upvote 0

Derek Pullem

Stomping Mechs for the glory of Rome!
54 Badges
Apr 15, 2001
9.739
134
  • Stellaris: Distant Stars
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • BATTLETECH
  • Surviving Mars
  • Stellaris: Synthetic Dawn
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Surviving Mars: Digital Deluxe Edition
  • BATTLETECH - Beta Backer
  • BATTLETECH - Backer
  • Stellaris
  • Surviving Mars: First Colony Edition
  • BATTLETECH: Flashpoint
  • Stellaris: Megacorp
  • Imperator: Rome
  • Surviving Mars: First Colony Edition
  • Stellaris: Ancient Relics
  • BATTLETECH: Season pass
  • Stellaris: Lithoids
  • BATTLETECH: Heavy Metal
  • Stellaris: Federations
  • Imperator: Rome - Magna Graecia
  • Victoria 3 Sign Up
  • Heir to the Throne
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Sword of Islam
  • Diplomacy
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Hearts of Iron III
  • Hearts of Iron II: Armageddon
  • Europa Universalis III Complete
  • March of the Eagles
  • Europa Universalis III Complete
  • Rome Gold
  • Semper Fi
  • Sword of the Stars
  • Sword of the Stars II
  • Victoria 2
  • 500k Club
  • Hearts of Iron II: Beta
It has very little impact if any - we had a little discussion with Johan about this and he rewrote the AI factory selection code for 1.03. So I guess its a bug fixed for 1.03
 
  • 1
Reactions:

unmerged(14164)

Second Lieutenant
Jan 29, 2003
119
3
Visit site
Derek Pullem said:
It has very little impact if any - we had a little discussion with Johan about this and he rewrote the AI factory selection code for 1.03. So I guess its a bug fixed for 1.03

Excellent! I guess thats the second best answer, just after: "there is another variable that you missed!"

Looking forward to what seems like a well thought out and well tested 1.03 patch.
 
  • 1Like
Reactions:

unmerged(14164)

Second Lieutenant
Jan 29, 2003
119
3
Visit site
unknown-X- said:
strange mybe you have double } } somwhere(where it is not needed=, making AI files work only to the halfway, because i have had only little or small problems with making AI build what is orderd.


No. I checked the Savegame file and it says 'explosives_factory = 0.000'.

Have you tried altering the Prussia AI file?
 

Derek Pullem

Stomping Mechs for the glory of Rome!
54 Badges
Apr 15, 2001
9.739
134
  • Stellaris: Distant Stars
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • BATTLETECH
  • Surviving Mars
  • Stellaris: Synthetic Dawn
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Surviving Mars: Digital Deluxe Edition
  • BATTLETECH - Beta Backer
  • BATTLETECH - Backer
  • Stellaris
  • Surviving Mars: First Colony Edition
  • BATTLETECH: Flashpoint
  • Stellaris: Megacorp
  • Imperator: Rome
  • Surviving Mars: First Colony Edition
  • Stellaris: Ancient Relics
  • BATTLETECH: Season pass
  • Stellaris: Lithoids
  • BATTLETECH: Heavy Metal
  • Stellaris: Federations
  • Imperator: Rome - Magna Graecia
  • Victoria 3 Sign Up
  • Heir to the Throne
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Sword of Islam
  • Diplomacy
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Hearts of Iron III
  • Hearts of Iron II: Armageddon
  • Europa Universalis III Complete
  • March of the Eagles
  • Europa Universalis III Complete
  • Rome Gold
  • Semper Fi
  • Sword of the Stars
  • Sword of the Stars II
  • Victoria 2
  • 500k Club
  • Hearts of Iron II: Beta
unknown-X- said:
strange mybe you have double } } somwhere(where it is not needed=, making AI files work only to the halfway, because i have had only little or small problems with making AI build what is orderd.

We noticed that the AI still built too many useless factories and tended to build multiple factories of the same type at the same time (e.g. six explosive factories in Spain). Moving the preference for steel factories to 25 had minimal effect on the UK.

New AI is profit based and "gap" based. That is if the AI can't get a resource or needs it for its own factories to function it is more likely to build this.
 

Emre Yigit

Creeping out of Covid hibernation
73 Badges
Jun 13, 2001
5.462
3.803
  • Cities: Skylines - Snowfall
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
  • Cities: Skylines
  • Cities: Skylines Deluxe Edition
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Pride of Nations
  • Europa Universalis IV: Common Sense
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Semper Fi
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Hearts of Iron IV Sign-up
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Together for Victory
  • Battle for Bosporus
  • 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: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Europa Universalis III
  • 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
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III Collection
  • Heir to the Throne
  • Europa Universalis III Complete
  • March of the Eagles
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
Derek Pullem said:
New AI is profit based and "gap" based. That is if the AI can't get a resource or needs it for its own factories to function it is more likely to build this.

I second the "Great!"