When a move order is given to an army (e.g. to retreat) and some (well, OK, at least about 1/4th of the army size) units are located in the opposite direction (related to the main part of the army) of the given point to move, the units of the main army heads the "wrong" direction.
I don't think that this is a bug, but it's at least annoying.
It could be easily solved by adding a "no formation" formation, that gives the order given to an army to each unit of the army instead.
This would be really nice...
More in the sense of the game, perhaps, would be this behavior:
- All units stop. (Or get a mark that they have not been given the order right now)
- Determine the length of the shortest path for all units in the formation. From now on "closest" means the shortest length of this path.
- The "closest" unit "walks" the above determined path towards the point of the given order.
- The next "closest" unit "runs" towards the point of order (until it is as close as the "closest" unit) if the point is closer then the next walking unit of it's formation. Otherwise it "runs" towards the next "walking" unit of it's formation.
...and so on.
This may result in an army split into 2 or 3 until they reach the destination but no unit would have to travel a "much" longer way then needed and no unit moves the "wrong" direction.
THX for your gorgeous game
Units heading opposite direction when move order given
Started by
FeXoR
, Feb 27 2012 12:39 PM
2 replies to this topic
#1
Posted 27 February 2012 - 12:39 PM
Im Übrigen bin ich der Meinung, dass 0A.D. Auslöser braucht. (IMO 0A.D. needs triggers ASAP.)
#2
Posted 29 February 2012 - 11:10 PM
Philip (Ykkrosh) is currently working on the pathfinder for the game. This may affect how formations work so for now I think it is best to wait until that is finished.
Jonathan Waller [ aka quantumstate ]
Wildfire Games AI Scripter
Contact me: jonathanmarkwaller at gmail dot com
Support Wildfire Games!
#3
Posted 01 March 2012 - 11:02 AM
OK, I thought so, just wanted to tell.
Because, as it is now, a repeated given "go to" order will not get an army anywhere but only drags them together.
Because, as it is now, a repeated given "go to" order will not get an army anywhere but only drags them together.
Im Übrigen bin ich der Meinung, dass 0A.D. Auslöser braucht. (IMO 0A.D. needs triggers ASAP.)
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users












