your quick response is much appreciated!
... run the road pathfinder a sensible number of iterations having set cost.no_existing_road to cost.max_cost.
I'm certain this is meaningful to someone with an understanding of the term "set" in this context.
Is there documentation somewhere on a level for dummies? I have looked at the wiki and the examples were not helpful to me.
how to limit the portion of the map the pathfinder considers.
how to "set" cost.whatever
You see, I am not knowledgeable in this area, but I am teachable.
perhaps there is a library that already has a function for this purpose? find if there is an existing road path from a to z?
I really can't believe this doesn't exist.
If it returns no path, then there is no path.
Also good to know
FWIW CivilAI saves almost no data, and runs itself entirely on what it can "see" on the map.
I will take a look at your code.
Thanks for taking the time to help out,