![]() |
Bug-like Battle AI behavior
A very nasty thinhg just occurs to me : my Caelian army (10 so Seraphs, a couple Mammoths, 20 or so archers) gets attacked by Niefelheim Jotun - 20-30 various giants, amongst them a couple Niefel Gts, and a Niefel Jarl.
Jotun has a Nat-9 blessing, and the N Jarl is a SC type, with some equipment : Wraith Sword, Boots of Flying mainly. Battle starts, Caelian mages are all set to LB/OL after a WG and Mistform, Jotun troops gets mauled and mostly routs, except the Niefels. The Niefels battles the Mammoths, eventually get killed, except the Jarl, who gets berserk. Turn is now 6+, scripts are over and battle AI casts mostly P Wolves for my Seraphs. Jotunheim routs, the remaining giants flee, except the Jarl - he is berserk and happily fight the Mammoths and the archers. From that point on and for 10-some turns, the Seraphs *only* targeted the fleeing giants, even the Wolves chased them, and no one bothered of the Jarl that killed everyone, flying from seraph to seraph after slaughtering the troops and cutting them with his Wraith Sword !! http://forum.shrapnelgames.com/images/smilies/shock.gif Caelians didn't flee either, all were killed, and battle ended only with the N Jarl remainign, a Jotun victory... http://forum.shrapnelgames.com/images/smilies/frown.gif While I'm not sure the Seraphs could have killed the Jarl - OL could have done it, but not sure-, it's VERY frustating to see they didn't even react to him ! http://forum.shrapnelgames.com/images/smilies/mad.gif Did someone else experiment this - ie a "winning" army disregarding berserk remaining enemies to eventually lose to them ? http://forum.shrapnelgames.com/image...s/confused.gif |
Re: Bug-like Battle AI behavior
I cannot recall a similar instance involving a berserked unit, but I do recall many dead seraphs which must have said the famous Last words "Look, let us do some target practice with those easy fugitives!"
Sometimes it is good that fleeing targets are pursued and that a single unit is ignored in favour of a mass of troops (I dont want my enemies to preserve their troops); sometimes it is plain bad (e.g. fleeing hydras or berserked SCs). Let's hope that the Battle AI gets improved with Dom3. Choosing targets should always be somewhat erratic and dependant on vision, but the choice-propabilities should also be influenced by certain cirumstance (berserking units shold get more attention since they are easier to spot while raging; same holds for large units; I would also suggest that the number of units killed in meele should increase the attention a unit gets, but not so for ranged attacks, since it is not easy to track the person responsible). |
Re: Bug-like Battle AI behavior
Chazar: You might want to put that to the Dom3 Wishlist -thread. You could also come up with more rules for targetting, I believe that Illwinter appreciates *anything* that is more defined than simple "I want"... http://forum.shrapnelgames.com/images/smilies/happy.gif
Not that my Posts to that thread were much better, though! http://forum.shrapnelgames.com/image...ies/tongue.gif |
Re: Bug-like Battle AI behavior
Whether it's for Dom2,3 or 4 http://forum.shrapnelgames.com/images/smilies/eek.gif, and whatever the circumstances I'd like to see battle AI routines reacting to "most powerful threat" rather than some other mechanism making them slaughter harmless units while getting slaughtered by others ...
|
Re: Bug-like Battle AI behavior
[*]Endoperez:
Hmm, maybe, but the wishlist threat is pretty overcrowded and all I have are some vague ideas. Now that we have this, why dont we elaborate on this topic further and then post it to the wishlist thread? http://forum.shrapnelgames.com/images/smilies/happy.gif [*]PDF: Sure, but what is the perfect yet still implementable algorithm to determine "the most powerful threat" as perceived by most players under all imaginable cirumstances? http://forum.shrapnelgames.com/image...s/confused.gif http://forum.shrapnelgames.com/images/smilies/wink.gif |
Re: Bug-like Battle AI behavior
PDF: perhaps the Jarl was protected from lightning. Killing fleing giants might be better than shooting at an immune target. If thats not it I'm at a loss.
|
Re: Bug-like Battle AI behavior
Quote:
Chazar, Sure I don't have the algorithm, but sure also ANY fighting unit (and certainly an equipped berzerk Niefel !) at 5 squares is more threatening than routers 20 squares across ... http://forum.shrapnelgames.com/image...ies/tongue.gif |
Re: Bug-like Battle AI behavior
I believe he was Shock Resistant, from what I recall reading about this battle (it would make sense too).
Why they didn't try other spells is another matter, which does not seem to make much sense. Could it be because the AI treats the whole enemy army as "threatless" once they start routing, despite the presence of Berserkers, and hence start firing everyone since nobody should be a danger? |
Improving the Battle AI behavior
Ok, what I would like to see is some thematic rules for AI targetting. Let me focus on spellcasting targeting first, since I would assume that meele targeting is mostly a subset of this (meele-attacks might be considered similar to low-fatigue short-range damaging spells doing ordinary damage).
The basic problem would be whether to choose a spell or a target first. How does the AI resolve that now? It would be helpful to built on top of the existing system... Addressing the problem right now, I would propose as a base for discussion to order all enemies by the threat they propose, then choosing an appropriate spell for each enemy (or the first ten threats) and then considering the product of threat rating and estimated spell-effectiveness. Ordering enemies by the threat they pose:
So, that are my naive ideas how I would address the target choosing-problem. I have no idea whether that would indeed lead to sensible system, or whether it might cause units to indecisevly move back and forward. If have also no ideas about the specific weights one should attach to each factor. Comments! |
Re: Bug-like Battle AI behavior
Quote:
Consider a single militia man, gone berserk by spell, which was in his own squad, put on a rear flank with "hold and attack rearmost". Now the battle is almost over, the wounded enemy masses are fleeing into a friendly province just to heal, regroup and attack again, but your heavy infantry which has advanced to the other end of the battlefield (since it was ordered to attack archers) could easily dispatch those fleeing units. But instead, they let those fleeing units unharmed and chase after that single militia man, which they wont even reach in time! I would rather have my infantry finish of those fleeing units, or at least I would want some of them to chase the militia man, but certainly not all of them! Different circumstances should really matter (including distance as you have already pointed out), hence my suggestion below! |
All times are GMT -4. The time now is 08:01 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.