How player's units get targeted by AI?
How player's units get targeted by AI?
Howdy,
Is there a particular set of rules (other than proximity) regarding how / why the AI "decide" to target an unit?
Also, can such target be changed during a fight (and if so, why?), or remain targeted until destroyed?
Is there a particular set of rules (other than proximity) regarding how / why the AI "decide" to target an unit?
Also, can such target be changed during a fight (and if so, why?), or remain targeted until destroyed?
Re: How player's units get targeted by AI?
Good question. I was wondering it myself.
Re: How player's units get targeted by AI?
Units follow a rather complicated set of rules for where to shoot by default.
Re: How player's units get targeted by AI?
Simpy put :
*Visibility
*Range
*Actual damage
*Possibility to help another ally
*Weapon modifier
*Unit type (shoot commander and repair first)
But there is more, that code look scary...
*Visibility
*Range
*Actual damage
*Possibility to help another ally
*Weapon modifier
*Unit type (shoot commander and repair first)
But there is more, that code look scary...
Heretic 2.3 improver and proud of it.
- Stratadrake
- Trained
- Posts: 197
- Joined: 07 Sep 2008, 09:43
- Location: Pacific NW
- Contact:
Re: How player's units get targeted by AI?
What about defensive structures?
Proximity targetting, after all, is the number one reason why you don't use Flamers on bunkers -- they don't live long enough to even get within range.
Proximity targetting, after all, is the number one reason why you don't use Flamers on bunkers -- they don't live long enough to even get within range.
Re: How player's units get targeted by AI?
What? Flamer halftracks are an excellent choice against bunkers, i don't know what you are talking about.the number one reason why you don't use Flamers on bunkers -- they don't live long enough to even get within range.
Maps | Tower Defense | NullBot AI | More NullBot AI | Scavs | More Scavs | Tilesets | Walkthrough | JSCam
- Stratadrake
- Trained
- Posts: 197
- Joined: 07 Sep 2008, 09:43
- Location: Pacific NW
- Contact:
Re: How player's units get targeted by AI?
I know Flamers do triple damage to bunkers. It's all the other defenses (mostly hardpoints) in the vinicity that cause the problems - while the rest of the assault group is sitting back wailing away at hardpoints with cannon fire and rockets, the flamers take one step forward to get within range and next thing I know, "Unit Lost!"
Re: How player's units get targeted by AI?
Definitely. I even failed to figure whether randomness was involved. Maybe it is, though.Per wrote:Units follow a rather complicated set of rules for where to shoot by default.
Makes sense. However, I was wondering if the occurence of such parameters had an influence over the decision tree, because many times the same stage displays different behaviors. It is extremely hard to predict (maybe that was intended after all) the AI.Iluvalar wrote:Simpy put :
*Visibility
*Range
*Actual damage
*Possibility to help another ally
*Weapon modifier
*Unit type (shoot commander and repair first)
I''m sure it is.Iluvalar wrote:But there is more, that code look scary...
Re: How player's units get targeted by AI?
Most of the AIs decisions are deterministic.
However they scout randomly and then they base their decision of that partial information. As a result, they always react differently even if you are in the same map using the same strategy.
However they scout randomly and then they base their decision of that partial information. As a result, they always react differently even if you are in the same map using the same strategy.
Heretic 2.3 improver and proud of it.