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

This Month's Specials

BCT Commander- Save $6.00
World Supremacy- Save $10.00

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old October 11th, 2006, 02:57 PM
Arralen's Avatar

Arralen Arralen is offline
Major General
 
Join Date: Nov 2000
Location: 500km from Ulm
Posts: 2,279
Thanks: 9
Thanked 18 Times in 12 Posts
Arralen is on a distinguished road
Default Re: The Random Map Generator

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... .

__________________
As for AI the most effective work around to this problem so far is to simply use an American instead, they tend to put up a bit more of a fight than your average Artificial Idiot.
... James McGuigan on rec.games.computer.stars somewhen back in 1998 ...
Reply With Quote
  #2  
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
Reply

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 11:08 PM.


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