View Single Post
  #7  
Old October 11th, 2006, 03:31 PM
Cainehill's Avatar

Cainehill Cainehill is offline
Lieutenant General
 
Join Date: Mar 2004
Location: Albuquerque New Mexico
Posts: 2,997
Thanks: 0
Thanked 0 Times in 0 Posts
Cainehill is on a distinguished road
Default Re: The Random Map Generator

Quote:
Arralen said:
Quote:
NTJedi said:
Only one suggested improvement would be having a few provinces which provide one-way traveling. Even if this cannot be included within the random map generator hopefully the functionality will be introduced as a .map edit command.
This has been discussed in the Dom2 forum months or even years ago already - it is not possible with the current way maps work: Either 2 provinces are neighbours, or they are not. If they are neighbours, you can travel between them. Unpassable mountains are in fact non-existant neighbour connections.

If this would be changed, there would have to be 2 neighbour declaration in the map file - bringing it to 2x the size and, more importantly, invalidating all maps currently available... .

No it wouldn't. Simply adding a new optional format to the #neighbour line would allow old maps to work just as is, while something like :

#neighbour 23 -> 40

Would mean that it's one way travel - 23 neighbors 40, but not vice versa. Doesn't double the .map file size either, nor does it make it any more difficult to validate, unlike if there had to be a line for each direction (which is what you were thinking, I suspect) :

#neighbor 1 10
#neighbor 10 1 (works)

#neighbor 211 290
#neighbor 290 210 (oops!)
__________________
Wormwood and wine, and the bitter taste of ashes.
Reply With Quote