Page 1 of 1
AIroutedunit
Posted: Sun Oct 16, 2016 1:16 pm
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.
RE: AIroutedunit
Posted: Sun Oct 16, 2016 1:17 pm
by rico21
and one

RE: AIroutedunit
Posted: Sun Oct 16, 2016 1:18 pm
by rico21
and two

RE: AIroutedunit
Posted: Sun Oct 16, 2016 4:05 pm
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.
RE: AIroutedunit
Posted: Tue Oct 18, 2016 2:52 am
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.
RE: AIroutedunit
Posted: Thu Dec 15, 2016 5:23 pm
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.
