-
August 08, 2010, 10:36 PM
#1
another AI question
I have another question about the AI and how they behave. When the AI assaults a city or castle, what provokes them to stop assaulting the castle/city and attack a nearby approaching army? Any ideas?
-
August 09, 2010, 03:22 AM
#2
Re: another AI question
I get what are talking about but on campaign map the AI is controlled by descr_campaign_ai_db.xml file while on battle map config_ai_battle.xml file is referenced.
-
August 09, 2010, 03:54 AM
#3
Re: another AI question
Can you try to describe the circumstances in more detail, Soulson?
Also is this an effect you are trying to achieve or avoid?
If 'avoid' then what are you trying to achieve?
And finally, is this vanilla's battle AI you're talking about?
-
August 09, 2010, 10:36 AM
#4
Re: another AI question
Thanks for the replies. I am trying to AVOID this and I will tell you why.
Example: AI attacks my city with a full stack and I only have a few units in there to defend. Im screwed right? Well I bring reinforcements but they dont get there in time, im still just outside the city and wont make it. So the AI with it's full stack decides to not take the city which they easily could have and instead go after the reinforcing army.
Savages AI.
-
August 10, 2010, 07:29 AM
#5
Re: another AI question
Looking at the issue, I think that it's not solvable without creating a worse problem. Basically an attacking army has a target for reducing enemy in the perimeter (the wall area).
Here's the setting:
<enemy-in-perimeter>0.25</enemy-in-perimeter>
In that example if there are more than 25% of the total enemy army in the perimiter of the settlement then the attackers will attack defenders near the walls.
So the way to avoid the problem you experienced would be to increase the tolerance for defenders in the perimiter. But this would mean attackers rushing for the square before wall defenders have been defeated. Which would make it easy for the player to cut them off.
The reason I'd call it a 'worse problem' is that the situation you've described is probably less likely than other situations where you don't have a reinforcing army. But it's up to you
Last edited by Taiji; August 10, 2010 at 08:04 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules