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

This Month's Specials

The Star & the Crescent- Save $9.00
winSPWW2- Save $6.00

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old January 13th, 2005, 11:10 AM
tinkthank's Avatar

tinkthank tinkthank is offline
Lieutenant Colonel
 
Join Date: Jan 2004
Posts: 1,276
Thanks: 0
Thanked 2 Times in 2 Posts
tinkthank is on a distinguished road
Default Small map-editing question

I am trying to fix up the Ormus map (there are a few neighbors issues), when I also noticed a small terrain issue. So I wanted to go in and fix it up, and see that some terrains have really odd numbers, and have now seen this on other maps too. I don't get it, can someone help me?
For example:

#terrain 25 1537

What the heck? According to the mapedit.pdf, the valid terrain commands are:

1=small, 2=large, 4=sea, 8=rivers, 16=mountain,
32=swamp, 64=waste, 128=forest and 256=farm.

This province happens to be Plains. I could understand a 1, or a 2, or a 9 or a 10 if need be, but what does this number mean? And why?
In fact, I notice that a whole lot of terrain numbers on lots of nice maps have numbers which I dont get at all. Is there a list somewhere I am missing?
Thanks so very much.
Reply With Quote
  #2  
Old January 13th, 2005, 11:29 AM
Chazar's Avatar

Chazar Chazar is offline
Captain
 
Join Date: Feb 2004
Location: within 200km of Ulm
Posts: 919
Thanks: 27
Thanked 0 Times in 0 Posts
Chazar is on a distinguished road
Default Re: Small map-editing question

According to Post#309841, 512 = nostart and 1024 = many magic sites, hence
1537 = 1+512+1024 means that this province is "small" and "cannot be a starting province" and "has an increased probability for magic sites".
Reply With Quote
  #3  
Old January 13th, 2005, 12:10 PM
tinkthank's Avatar

tinkthank tinkthank is offline
Lieutenant Colonel
 
Join Date: Jan 2004
Posts: 1,276
Thanks: 0
Thanked 2 Times in 2 Posts
tinkthank is on a distinguished road
Default Re: Small map-editing question

Hey thank you so much, this is most excellent.
Where are these extra terrain switches listed? Perhaps there are more? How did Gandalf find them? They arent in the pdf.
Thanks very much in advance.
Reply With Quote
  #4  
Old January 13th, 2005, 03:45 PM
Chazar's Avatar

Chazar Chazar is offline
Captain
 
Join Date: Feb 2004
Location: within 200km of Ulm
Posts: 919
Thanks: 27
Thanked 0 Times in 0 Posts
Chazar is on a distinguished road
Default Re: Small map-editing question

Quote:
tinkthank said:
Where are these extra terrain switches listed? Perhaps there are more? How did Gandalf find them?
Well, of course you can just try the next binary number on its own and just see what happens, but I do not think that the terrain-bitvector contains more than 11 significant bits to combine...

I think that I also recall that the 11th bit (1024) was only introduced later on with a patch - at least the map-editor did not list "many sites" in the beginning...
Reply With Quote
  #5  
Old January 13th, 2005, 06:45 PM
Edi's Avatar

Edi Edi is offline
National Security Advisor
 
Join Date: Oct 2003
Location: Helsinki, Finland
Posts: 5,425
Thanks: 174
Thanked 695 Times in 267 Posts
Edi is on a distinguished road
Default Re: Small map-editing question

Quote:
tinkthank said:
Hey thank you so much, this is most excellent.
Where are these extra terrain switches listed? Perhaps there are more? How did Gandalf find them? They arent in the pdf.
Thanks very much in advance.
As I recall, I found those switches when examining the Cradle map file when I was doing the Faerun map. The nonstandard numbers bugged me, so I took a look and deduced them by a process of elimination, after which they soon entered the general mapmaking lore (there were quite a few threads about mapmaking around that time) and Gandalf predictably stored those details away in the voluminous Dominions DB inside his head.

Edi
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 12:26 PM.


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