Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Gaming > Civilization III > Re: Civ4 - reso...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 8 of 11 Topic 1714 of 1821
Post > Topic >>

Re: Civ4 - resources

by David Littlewood <david@[EMAIL PROTECTED] > Nov 1, 2007 at 04:16 PM

In article <$UZzu9CcWMKHFwwF@[EMAIL PROTECTED]
>, Paul Hyett 
<pah@[EMAIL PROTECTED]
> writes
>In alt.games.civ3 on Wed, 31 Oct 2007, Wintermute wrote :
>>On Wed, 31 Oct 2007 10:29:37 GMT, Paul Hyett
>><pah@[EMAIL PROTECTED]
> wrote:
>>
>>>Does anyone know which data file controls the occurrence frequency of
>>>the special resources - specifically Marble, as it seems to be very
rare
>>>normally?
>>
>>There's not one particular file, it's a bit more complicated than
>>that.  As best I can tell, resource placement is done in the map
>>scripts which are written in Python.
>
>Oh dear, I was hoping it was going to be easy to change, just like in 
>Civ3.
>>
>>Each script works a bit differently as far as adding features
>>(forests, jungles, etc) and resources (marble, et al).  Take, for
>>example, Great_Plains.py.  It uses the following two variables to make
>>some resources rare and others abundant:
>>
>>forceRarity = ('BONUS_MARBLE', 'BONUS_GEMS', 'BONUS_DYE',
>>               'BONUS_INCENSE', 'BONUS_SUGAR')
>>forceAbundance = ('BONUS_SILVER', 'BONUS_FUR', 'BONUS_CORN',
>>                  'BONUS_HORSE', 'BONUS_WHEAT')
>>
>>If you moved 'BONUS_MARBLE' from forceRarity to forceAbundance, it
>>should be more abundant in a Great Plains maps.
>
>I tend to use random fractal maps.
>
>> These variables are
>>used in the addBonusType function.  The final count you get is a
>>function of map size,  # of players, and the abundance/rarity.
>
>I guess I'll just have to place it via the Map Editor, rather than 
>regenerate a map loads of times as I usually try.

Of course, you could just take the lazy person's way out - enter 
Worldbuilder, select terrain editing, and scatter a few marble (or any 
other) resources around as you feel suitable.

David
-- 
David Littlewood
 




 11 Posts in Topic:
Civ4 - resources
Paul Hyett <pah@[EMAIL  2007-10-31 10:29:37 
Re: Civ4 - resources
Wintermute <Wintermute  2007-10-31 11:33:55 
Re: Civ4 - resources
Wintermute <Wintermute  2007-10-31 11:51:23 
Re: Civ4 - resources
Paul Hyett <pah@[EMAIL  2007-10-31 18:51:43 
Re: Civ4 - resources
Wintermute <Wintermute  2007-10-31 23:39:33 
Re: Civ4 - resources
Paul Hyett <pah@[EMAIL  2007-11-01 09:30:08 
Re: Civ4 - resources
Wintermute <Wintermute  2007-11-01 17:29:30 
Re: Civ4 - resources
David Littlewood <davi  2007-11-01 16:16:16 
Re: Civ4 - resources
Paul Hyett <pah@[EMAIL  2007-11-01 17:39:22 
Re: Civ4 - resources
Paul Hyett <pah@[EMAIL  2007-11-02 09:30:06 
Re: Civ4 - resources
David Littlewood <davi  2007-11-02 00:08:41 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Jul 26 7:07:17 CDT 2008.