Tuesday, March 11, 2008

Fine Tuned AI.

I found a few mistakes where all the AI agents where sharing the same timers witch resulted in odd behavior for all except the first AI agent. They still need a little fine tuning to make them look “intelligent” and not just like some maniacs running around shooting at everything as they do now. I’ve given the ability to select target to the AI agents so that they don’t go all against the player so now they attack each others as well, in general they behave as they should, but they do have a tendency to face a wall attack attack it a little now and then.

I’ve done most of the flee state now as well, so they will soon be able to flee, but as it is now they would flee until they die if they are low on life points so I’m considering to add a life regeneration of about 1 life point per 10 seconds or something like that witch would reward those who survive long enough with low amount of life points. To ensure that they won’t flee as soon as their life points fall below a certain value I think I’ll add a chance that they will ignore the damage and continue to attack until they die.

Here’s two screenshots of “Wizard vs. Wizard vs. Wizard vs. Wizard” battles. :)
Wizard_vs_Wizard_vs_Wizard_vs_Wizard.jpg
Odd_Map.jpg