Jump to content

Trees / Pathfinder


Recommended Posts

Is walking through forest/trees necessary? Marking them as obstacles and not allowing units to do so would reduce pathfinder computations by loads I guess (I have no clue of the implementation). Or maybe allow units to move through forests in straight lines, with reduced speed and some piercing armor increase?

Additionally, a feature where some of the units are able to chop trees without gaining any resources (just to remove them) would be nice

Last, not related: pressing f11 4 times as the host shows some metrics, could Peer X renamed to player names?

 

Edited by wang_wei
  • Like 1
Link to comment
Share on other sites

  • 4 weeks later...

It is possible to merge the obstructions dynamically but I wonder if gameplay would suffer? Without roads

Walkers in a row? Why not. => Formations. Already there. Effects also.

Yes I like some more economy and loveliness. Like my profession and apprentice system I urgently need to overhaul

 

  • Like 1
Link to comment
Share on other sites

That merging is a other computational complication to the pathfinder the object is to simplify the whole algorithm not increase it's complexity. Doing that way would just make it slower not faster you need to consider the whole problem not just the parts that you can see as simple.

Enjoy the Choice :) 

Link to comment
Share on other sites

I agree. Yet as far as I understand the proposal, it is meant as a onetime computation, e.g. on map export. (that only concerns 0AD; it is not useful for other ventures which rely on trees, forests as strategic component)

Link to comment
Share on other sites

When it comes to professions and apprentices, that is a local phenomenon anyway. No adverse effect on path finding. To the contrary, that lightens the load. As only non local citizens require heavy path finding, e.g. armies, bandits, traveling birds in autumn, though those are a bad example as they fly ;-). All commoners can use cached computations. They go to work and stay there for a while, then some celebration and shopping. A lot of talking and maybe flirting and admiring, but that's it. Only few can afford holidays and travels frequently, researchers more maybe?

Armies bound to only occasionally updated "roads" mostly for logistics reasons. Local short term path finding at frontiers at operational level is another story. That is where the trees play a role. But that is more static than in 0AD where the only thing to see often is brutal killing, no friction, strategic warfare. And it requires micro there where your generals handle it here.

Formations progressed, that helps. Only group leaders require path finding.

Here officer system helps: War isn't every unit (group) finding a way always. Adversary armies most often hold lines. That's why soldiers' life is boring and senseless digging and constructing, moving predefined paths - until this sudden moment, death not far. These operational units are the only having path finding switched on. (that includes mushroom gatherers, so it depends on the action performed, as it is event driven, that toggle is computational not expensive)

Oh they abducted your quarter general? Speculate about her knowledge getting extracted, exposing your weaknesses. It may be time to sign that peace treaty or barricade all paths to your small peaceful realm. General mobilization is another option. The choice is yours.

Edited by Earendil
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...