- Joined
- Apr 20, 2014
- Messages
- 619
Hi,
I noticed a strange behavior with some Campaign AI scripts I made. They work fine and properly, no issues there, except when there is too long of a walking distance to their target.
In my map, there are 3 AI players (+1 human player) vs 6 AI players battling each other. But it seems that there is too long of a walking distance for one of the AI players. In the end, only two bases remain: top left (enemies) against bottom right, bottom left, and top right (allies).
They no longer attack each other unless the enemy gets closer. The enemy will attack the human player because the player is within range, but then, the allies will also attack as the enemy comes closer. However, that’s all that happens — they don’t engage otherwise.
I’ve noticed this issue on another map too: two AI bases were "quite close" from a bird's-eye view, but the walking distance was quite large. They only attacked each other when I provided zeppelins.
Does anyone have an idea how to increase the attack distance or get the AI to engage over longer distances? Providing zeppelins isn't the solution I'm looking for.
I noticed a strange behavior with some Campaign AI scripts I made. They work fine and properly, no issues there, except when there is too long of a walking distance to their target.
In my map, there are 3 AI players (+1 human player) vs 6 AI players battling each other. But it seems that there is too long of a walking distance for one of the AI players. In the end, only two bases remain: top left (enemies) against bottom right, bottom left, and top right (allies).
They no longer attack each other unless the enemy gets closer. The enemy will attack the human player because the player is within range, but then, the allies will also attack as the enemy comes closer. However, that’s all that happens — they don’t engage otherwise.
I’ve noticed this issue on another map too: two AI bases were "quite close" from a bird's-eye view, but the walking distance was quite large. They only attacked each other when I provided zeppelins.
Does anyone have an idea how to increase the attack distance or get the AI to engage over longer distances? Providing zeppelins isn't the solution I'm looking for.