View Single Post
  #18  
Old June 5th, 2008, 09:38 AM
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: Map Editing question

Quote:
Edratman said:
I am now confused by the masks.

What is the difference between "site location masks" and "terrain masks"?
There are two types of terrain masks. The first one is locmask or terrain mask for sites. This is used in site modding to determine what kind of terrain sites can appear in. The second type is terrain mask for map terrain in map files.

Quote:
Edratman said:
When I open a map file I see, for example,

"#terrain 331 4194312"

Which category does "4194312" fall into?
That's 4194304 (border mountain) + 8 (fresh water), which is what you get if you check both border mountain and fresh water checkboxes for the same province. Province terrain masks are always a sum of the terrain masks of all terrains contained therein.

Quote:
Edratman said:
I have never typed in that number. Whenever I want to change terrain types I just open the map editor and click away. (I'm a little less fastidious about province colors than most.)
Which is precisely the way to do it if you want to avoid headaches. The specialsite terrains need to be added manually, though.
Reply With Quote