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

This Month's Specials

Air Assault Task Force- Save $8.00
winSPWW2- Save $5.00

   







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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #22  
Old October 26th, 2006, 11:37 PM
Ballbarian's Avatar

Ballbarian Ballbarian is offline
Colonel
 
Join Date: May 2005
Location: Kansas, USA
Posts: 1,538
Thanks: 289
Thanked 194 Times in 94 Posts
Ballbarian will become famous soon enough
Default Re: Terrain effects-putting together the complete

My impression is that they are randomly distributed sites, but random within a certain set of site types. I have not tested this, but it would appear to insure that the given province will contain at least one site out of the specified theme or grouping. I think I understand what you were saying though.

On a side note (for anyone interested) the bit math is really simple.
If you have terrain of plains (0) and want to flag it as containing a fire site (because you named it "The burning Plains"), then:
#terrain prvnbr 8192
0 + 8192 = 8192
To make that same province "nostart",
0 + 8192 + 512 = 8704

You can easily "decompile" it by simply looking at the list of values (that Gandalf kindly posted above ) and finding the largest value that will go into your terrain value and subtract it. Rinse and repeat until you have your complete list of terrain flags.

Pulled this terrain value from a random map:
524418
- "naturesite" 524288
= 130
- "forest" 128
= "large" 2

So the given province is a large forest province containing a random nature site.

(Sorry Corwin, I guess all of this really doesn't help you in your quest for modifiers.)
__________________
RanDom v2 - Map gen & Semirandomizer.
Province Editor - Custom province creation made easier.
God Editor - Custom pretender creation made easier.
Map Forge - Map editor
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 06:07 AM.


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