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

Denniss

CORE developer
38 Badges
Jun 15, 2005
3.371
43
www.matrixgames.com
  • Mount & Blade: Warband
  • Victoria: Revolutions
  • Semper Fi
  • Sword of the Stars II
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
  • Europa Universalis IV: Pre-order
  • Rise of Prussia
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Common Sense
  • Achtung Panzer
  • Surviving Mars
  • Age of Wonders III
  • Surviving Mars: Digital Deluxe Edition
  • Shadowrun Returns
  • Surviving Mars: First Colony Edition
  • Surviving Mars: First Colony Edition
  • Deus Vult
  • Cities in Motion
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Commander: Conquest of the Americas
  • Darkest Hour
  • Arsenal of Democracy
  • East India Company Collection
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Wealth of Nations
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Majesty 2
During CORE 0.41 development I noticed a problem with several minors taking way too long to reinforce their units despite having enough IC and manpower.
From the AI files they were set up to have a reinforcement level of 0.30 in wartime and the event setting this had properly fired but savegames showed it was set to 0.03 instead.

We used AI switch files to set these levels
minor_upg_peace.ai
minor_upg_war.ai

Some testing revealed the file structure is a problem:
Code:
# Minor upgrading and reinforcing of units

upgrading = 0.75
reinforcement = 0.1
Code:
# Minor upgrading and reinforcing of units

upgrading = 0.35
reinforcement = 0.2
Problem is the last line, it's not closed with Enter thus the game engine either interpretes it as 0.01/0.02 or does not change the value at all.
Please verify if these two files are still in use by AoD. It's not a problem in vanilla Armageddon 1.3b as the lines are properly closed there, no idea if it's a problem from Armageddon 1.2 taken over to AoD.
 
Upvote 0
More files affected:
yug_neutrality.ai
mex_dday.ai
can_dday.ai
eng_exp_fra.ai
exp_russia.ai

Thanks, Deniss! For my personal project of adapting AOD to the E3 map I'll now start to cross-check the ai files. Maybe I can discover some more files which suffer from the missing line at the end of the file. ;)
 
The files are all unchanged as of 1.05b4 - please fix them for the release version !

Let's hope that they'll fix them. While adapting the vanilla ai files to the E3 map I always added a line at the end of all files - just to be sure!