Units heading opposite direction when move order given
Posted 27 February 2012 - 12:39 PM
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
Posted 29 February 2012 - 11:10 PM
Jonathan Waller [ aka quantumstate ]
Wildfire Games AI Scripter
Contact me: jonathanmarkwaller at gmail dot com
Support Wildfire Games!
Posted 01 March 2012 - 11:02 AM
Because, as it is now, a repeated given "go to" order will not get an army anywhere but only drags them together.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users