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

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







Go Back   .com.unity Forums > Illwinter Game Design > Dominions 2: The Ascension Wars

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #11  
Old December 21st, 2004, 01:25 PM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default Re: Dominions II mapfile parser

By The Way, your neighbor line could be used by someone for computing "quickest path from A to B" routines. Very nice.

DomMap added some info to its output for programming special sites and such..
Code:

#neighbour 49 50
#neighbour 51 53
#neighbour 52 53
#terrain 1 2 -- L-S0L2
#terrain 2 208 -- L-S0L1
#terrain 3 130 -- L-S0L4



If a province is L-S4L1 then its saying its Land with 4 Sea neighbors and 1 Land neighborsm or a penninsula. L-S4L0 would be Land with 4 Sea and no Land neighbors, or an island. S-L4S0 would be Sea with 4 land neighbors and no Sea neighbors, or a lake. Yoiu might want to do something like that but probably in a more user format like actually saying island and lake.
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
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 08:43 AM.


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