AIroutedunit

Post bug reports and ask for game support here.

Moderators: Paullus, Peter Fisla

Post Reply
User avatar
rico21
Posts: 3036
Joined: Fri Mar 11, 2016 8:05 am

AIroutedunit

Post by rico21 »

For i and now the last bug but maybe the greatest.

-when an player unit is broken it can routed in forest and have to stop.
when an AI unit is broken it can routed in forest and may continue,go back,
return in forest three times...
-when an AI unit is broken it can routed in brush and may continue,go back,
return in brush three times...
-when an AI unit is broken it can routed in orchard and may continue,go back,
return in orchard six times...

This wastes time irritate players in general and me in particular.
Attachments
routedunit.zip
(36.59 KiB) Downloaded 7 times
User avatar
rico21
Posts: 3036
Joined: Fri Mar 11, 2016 8:05 am

RE: AIroutedunit

Post by rico21 »

and one



Image
Attachments
Aroutedunit1.jpg
Aroutedunit1.jpg (35.13 KiB) Viewed 193 times
User avatar
rico21
Posts: 3036
Joined: Fri Mar 11, 2016 8:05 am

RE: AIroutedunit

Post by rico21 »

and two


Image
Attachments
Aroutedunit2.jpg
Aroutedunit2.jpg (34.96 KiB) Viewed 193 times
User avatar
Peter Fisla
Posts: 2598
Joined: Fri Oct 05, 2001 8:00 am
Location: Canada

RE: AIroutedunit

Post by Peter Fisla »

AI Routing will never be perfect, it requires a lot of processing and considering that each map is totally different it is very hard to write AI that will always do great move. However, I'm making some code changes regarding routing which should improve things in UPDATE2.
zoikkis
Posts: 85
Joined: Wed Nov 11, 2015 7:50 am

RE: AIroutedunit

Post by zoikkis »

In some John Tiller games you have this optional setting you can activate/deactivate:
"Prohibit A/I Backtracking:
Use this to limit the Programmed Opponents ability to move units back and forth."

Maybe something similar would work with TotH.
User avatar
UP844
Posts: 1672
Joined: Thu Mar 03, 2016 9:10 pm
Location: Genoa, Republic of Genoa (occupied by Italy)

RE: AIroutedunit

Post by UP844 »

Another issue with AI routing.

The left part of the picture shows a German stack (1 leader and 3 Fsj squads, all of them "broken+" because of the fire they received in the previous Defensive Fire Segment).

In the Rout Segment, the leader and one of the squads routed to the grain hex; the other two squads remained in their hex and were subsequently eliminated because they were within the normal range of the an American MG in the hex just below and left of the American radio. This does not look right to me... [&:][&:][&:]

Unfortunately, I cannot provide a saved game file, as I never expected this to happen. On a side note, an optional auto-save feature (saving the game at the beginning of each segment) would be useful for debugging purposes.

Image
Attachments
failuretoroute.jpg
failuretoroute.jpg (1.36 MiB) Viewed 193 times
Chasing Germans in the moonlight is no mean sport

Siegfried Sassoon

Long Range Fire (A7.22)........1/2 FP
Post Reply

Return to “Tech Support”