Page 1 of 1

AI cheating?

Posted: Sun Sep 01, 2013 7:58 am
by Erik2
It appears that the AI add 1 strength point to each unit, even forcing the total strength to get above the limit for the unit size (battalion=5, regiment=7, brigade=11).
Take a look at the screenshot, to the left is the German turn-1, note that the Russian unit strength are correct.
To the right is the Russian turn-1, note the 1-strength point increase. This screenshot was taken during the 'thinking' period, before the first unit was moved or performed an attack.

So it appears that the AI adds 1 strength point to most (not all) of its units at the start of its (first?) turn.
I have no problems with this, but it would be nice to have it confirmed.

Thanks
Erik

Image

RE: AI cheating?

Posted: Sun Sep 01, 2013 9:47 am
by Erik2
I think I see what is happening here.
The experience has reached a level that allow the player (ie AI) to add 1 strength point.
Still, I think it is better to enforce the max strength points limit for a given formation and force the player/AI to choose a different bonus.



Image

RE: AI cheating?

Posted: Sun Sep 01, 2013 3:59 pm
by Ronald Wendt
Hello,

what you can do is set the upgrades for the unit in the XML file. This way you can form exactly the unit you want.

If you leave the choice to th AI it will choose according to a preference list.

Pick upgrades you like to have in a unit, make a savegame and look for upgrades="XXXXXX_1" or simular.

Then copy it into your map and unit. There will be a list of the upgrades in the docs, but for now you have to use this inconvenient way.

You can add several upgrades, even if e.g. a unit has less experience than it would need in the game. They need to be seperated by a ";".

Regards,