Light Style© by Fisana

Jump to content


Photo

Units heading opposite direction when move order given


  • Please log in to reply
2 replies to this topic

#1 FeXoR

FeXoR

    Centurio

  • Community Members
  • PipPipPipPipPip
  • 953 posts

Posted 27 February 2012 - 12:39 PM

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
  • 0

#2 quantumstate

quantumstate

    Primus Pilus

  • WFG Retired
  • 1,150 posts

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.
  • 0

Jonathan Waller [ aka quantumstate ]

Wildfire Games Programmer
Contact me: jonathanmarkwaller at gmail dot com


Support Wildfire Games!


#3 FeXoR

FeXoR

    Centurio

  • Community Members
  • PipPipPipPipPip
  • 953 posts

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.



  • 0