Results 1 to 4 of 4

Thread: PROJECT: More Terrain Improvement flags

  1. #1
    Ekmek
    Emperor Ekmek's Avatar
    Join Date
    26 May 1999
    Posts
    3,156
    Country
    This is Ekmek's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 19, 2013
    Local Time
    19:32

    PROJECT: More Terrain Improvement flags

    My third code project, which I hope I'll have more proficiency by the time I get to it is to add new flags to terrain improvements.

    Basically taking stuff from buildings, but giving modders the options to make improvements that increase happiness (holy sites, temples) or science (observatories, research facilities). Could add some more interesting aspects to a CtP2 game and really make Civ3 look dull

    The other modding option is that modders could make OCC games or "simCity-ish" games by building improvements instead of just city buildings...


    from buildings.cdb I'm looking to take these ones...

    Code:
    Bit(Int)   HappyInc
    Bit(Float) ProductionPercent
    Bit(Float) FoodPercent
    Bit(Float) CommercePercent
    Bit(Float) SciencePercent
    Bit(Float) LowerCrime
    Bit(Float) PreventConversion
    Bit(Float) LowerPeaceMovement
    Bit(Float)   GoldPerCitizen
    Bit(Float) SciencePerPop
    Last edited by Ekmek; January 21, 2005 at 23:05.
    Formerly known as "E" on Apolyton

    See me at Civfanatics.com

  2. #2
    J Bytheway
    Emperor J Bytheway's Avatar
    Join Date
    02 Jul 2001
    Location
    England
    Posts
    3,826
    Country
    This is J Bytheway's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 20, 2013
    Local Time
    04:32
    Curious - GoldPerCitizen is an Int, but SciencePerCitizen is a Float... I feel these should be standardised.

  3. #3
    Ekmek
    Emperor Ekmek's Avatar
    Join Date
    26 May 1999
    Posts
    3,156
    Country
    This is Ekmek's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 19, 2013
    Local Time
    19:32
    Which do you think it should be J? int? or all float?
    Formerly known as "E" on Apolyton

    See me at Civfanatics.com

  4. #4
    J Bytheway
    Emperor J Bytheway's Avatar
    Join Date
    02 Jul 2001
    Location
    England
    Posts
    3,826
    Country
    This is J Bytheway's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 20, 2013
    Local Time
    04:32
    Well, given that WesW (I think it was him..?) was forced to multiply all gold quantities in the game by a factor of 10 in order to get sufficient precision on the GoldPerCitizen value, it would seem sensible to make that Float.

Similar Threads

  1. Terrain Improvement?
    By Skanky Burns in forum Civilization IV General
    Replies: 164
    Last Post: May 22, 2005, 00:20
  2. Terrain improvement
    By civ2yahoo in forum AC-General/Help/Strategy-Archive
    Replies: 8
    Last Post: August 18, 2002, 03:40
  3. Improvement/Wonder flags
    By zulu9812 in forum Civilization III
    Replies: 1
    Last Post: May 26, 2002, 11:25
  4. Ai terrain improvement...
    By Henrik in forum Scenario League / Civ2-Creation -Archive
    Replies: 7
    Last Post: February 18, 2001, 16:23
  5. Terrain squares should have flags
    By tobyr in forum Civ3-General-Archive
    Replies: 2
    Last Post: April 7, 2000, 01:53

Visitors found this page by searching for:

terrain improvement

Bookmarks

Posting Permissions