Outpost Universe Forums

Outpost Series Games => Outpost 2 Divided Destiny => Topic started by: lordpalandus on March 27, 2012, 01:55:55 AM

Title: Patch: Better AI Pathfinding
Post by: lordpalandus on March 27, 2012, 01:55:55 AM
Ever had a frustrating moment as an unit hugs the side of a lava river or takes the long route to get from one end of a mountain range to the other? This patch is to help remove that.
Title: Patch: Better AI Pathfinding
Post by: CK9 on March 27, 2012, 11:52:30 AM
the RCC is supposed to give better pathfinding, but it is severely limited.  I've noticed that, after a certain number of units, the improvement fails and they start hugging cliffs and lava again.  Multiple rcc's doesn't fix it.
Title: Patch: Better AI Pathfinding
Post by: lordpalandus on March 27, 2012, 12:00:41 PM
Ya I noticed that too. When there is cleared areas (bulldozed) they will naturally take that patch... but, without a cleared path, it tries to take the long route.
Title: Patch: Better AI Pathfinding
Post by: TH300 on March 27, 2012, 03:36:03 PM
Improved pathfinding would be great. But it has been tried already, without success.

But could it be possible that the rcc malfunction is caused by the unit limit incrementation that Hooman added some years ago?
Title: Patch: Better AI Pathfinding
Post by: CK9 on March 27, 2012, 04:47:09 PM
That could be a major factor in it
Title: Patch: Better AI Pathfinding
Post by: lordpalandus on March 27, 2012, 05:16:54 PM
Tried in what sense?
Title: Patch: Better AI Pathfinding
Post by: TH300 on March 27, 2012, 05:34:44 PM
One opu member had tried to rewrite the path finding engine (I think it was Arklon). A rewrite is likely required to improve it, because apparently the original algorithm is too limited.
Title: Patch: Better AI Pathfinding
Post by: lordpalandus on March 27, 2012, 06:38:07 PM
Even something as simple (proly not to code but) as telling the vehicles to keep at least 2 squares away from a lava flow would help tremendously.
Title: Patch: Better AI Pathfinding
Post by: TH300 on March 27, 2012, 06:43:08 PM
And what if going through a location that is only 1 square away from a lava flow is required to get to a certain place? We'd have to add exceptions which would certainly require a rewrite (or at  least total understanding of the current path finding engine, which, if we had it, would allow a rewrite).
Title: Patch: Better AI Pathfinding
Post by: lordpalandus on March 27, 2012, 11:16:48 PM
Aka a pipe dream.