Concerns about AI pathing for undrilled infantry

Field of Glory II is a turn-based tactical game set during the Rise of Rome from 280 BC to 25 BC.
Post Reply
Gaznak
Senior Corporal - Ju 87G
Senior Corporal - Ju 87G
Posts: 92
Joined: Thu Mar 21, 2019 8:29 pm

Concerns about AI pathing for undrilled infantry

Post by Gaznak »

As far as I can tell, the AI is able to path its undrilled heavy foot in ways unavailable to the player.

In the two screenshots I have attached (I am the vikings), showing the position at the end of my turn and then the position at the start of my next turn after the AI has moved, the AI has split its force making a knight move (in chess terms) with all its units either left or right. Shieldwall (14) has been highlighted as a reference point.

Image

Image

Normally to do a knight move as the player the unit will path forward one space then over a diagonal, unless the square in front of the unit is blocked, in which case it will path over a diagonal and then forward. When taking the "usual" route the unit will end its move facing at an angle to its original facing. Maneuverable units can then use their free rotation to point forward again, but undrilled infantry is stuck facing at an angle.

In the AI's case, the AI can execute a knight move by pathing diagonal and then forward seemingly at any point, resulting in the above situation where all its units have moved forward and over but still have their original facing (except for the dismounted lancers at the right, who pathed the way the player normally does and are facing at an angle accordingly - probably because of the rough ground now that I think about it).
rbodleyscott
Field of Glory 2
Field of Glory 2
Posts: 28320
Joined: Sun Dec 04, 2005 6:25 pm

Re: Concerns about AI pathing for undrilled infantry

Post by rbodleyscott »

It is not that the AI gets a choice of how to move, it is just that it uses a different routeing algorithm (because it takes into account terrain, although I don't think that is relevant in this case), and that different algorithm sometimes generates a different default path.

Having said that, I don't know whether that is the cause of the situation in this case. One would really need a saved game (saved prior to the move) in order to work out what exactly is going on.
Richard Bodley Scott

Image
Gaznak
Senior Corporal - Ju 87G
Senior Corporal - Ju 87G
Posts: 92
Joined: Thu Mar 21, 2019 8:29 pm

Re: Concerns about AI pathing for undrilled infantry

Post by Gaznak »

I have the save file. Can I upload it as-is or does it have to be zipped or anything?

edit: I believe this worked..
Attachments
12999.zip
(93.32 KiB) Downloaded 53 times
Last edited by Gaznak on Sun Dec 27, 2020 3:20 pm, edited 1 time in total.
rbodleyscott
Field of Glory 2
Field of Glory 2
Posts: 28320
Joined: Sun Dec 04, 2005 6:25 pm

Re: Concerns about AI pathing for undrilled infantry

Post by rbodleyscott »

Gaznak wrote: Sun Dec 27, 2020 2:57 pm I have the save file. Can I upload it as-is or does it have to be zipped or anything?
zipped
Richard Bodley Scott

Image
Post Reply

Return to “Field of Glory II”