nrdani
Clubman
posted 09-30-18 07:52 AM ET (US)
Hello everyone,
Every time I play with some CPU allies they turn against me because of friendly fire. Most of the time it's caused by an enemy unit being converted just after my catapult has fired on it. I'm sure everyone knows this problem.
So I'd like to replace the default AI that I have created, but I can't seem to figure out how the game chooses from the Ai files. I have noticed that there are civ specific AI files such as the "Minoa composite bowman". How about other civs who don't have these spec files?
Also, I changed the SNAllowDiplomacyChangeOnAllyAttack to 0 in all AI files, but the CPU still switches to enemy.
chab
Clubman
posted 09-30-18 10:18 AM
ET (US)
2 / 3
Yeah that terrible behavior is one of the main reasons that pushed me to develop mods on AOE/ROR !
Just a precision, the SNAllowDiplomacyChangeOnAllyAttack flag is set in PER files, not AI.
Anyway, PER files are NOT used in random games, everything's hardcoded in the game.
If you are using ROR1.0a you can use RockNRor mod, its configuration file allows you to set specific values for any PER number you wish (including SNAllowDiplomacyChangeOnAllyAttack = 215)
You will find examples in the provided configuration file (there is just an option to uncomment to change SNAllowDiplomacyChangeOnAllyAttack)