Home » MODDING HQ 1.13 » v1.13 Coding Talk » Learning how the tactical AI works
Re: Learning how the AI works[message #274346] Wed, 23 February 2011 18:24 Go to previous messageGo to previous message
Buns is currently offline Buns

 
Messages:655
Registered:September 2010
MorgluM
This shows how far we are from an AI that coordinates multiple soldiers...
Certainly. Anything like flanking manouver, encirclement and refined tactics like that are nothing but SiFi for that AI. I am pretty confident that the random generator in the above code snippet doesn't do it any good either.

If the single soldier would be able to generate an usefull order according to the enemies known to him and his comrades, and he would be acting according to this order until something important new happens (like sighting of a new foe), a lot would be achieved.

On the other hand, we usually handle the mercs the same way: checking each one where he can go to in order to hurt the enemy most, based on the enemies we know of (and those we anticipate because of playing the map for the 100st time - but hey, we are supposed to win each and every engagement with minimal losses).

MorgluM
Maybe adding an action "Move to cover AND shoot" would be the way to go.
I have a strong feeling that this could do the trick. A movement order (unless some default patrolways) should only be given together with the order what to do on the new tile, what should usually be "shoot!". This entire order needs to be saved over the turn and may not be cancelled unless the tile becomes 'invalid' because of new enemies appearing or the enemy moving out of range/sight/whatever.

Report message to a moderator

First Sergeant
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Doubling image size
Next Topic: RII - Resolution Independent Interface [UPDATE :RII v4f]
Goto Forum:
  


Current Time: Tue Feb 11 12:43:57 GMT+2 2025

Total time taken to generate the page: 0.02266 seconds