.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Air Assault Task Force- Save $8.00
Bronze- Save $10.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 3: The Awakening

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #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
 

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 05:37 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.