1. We have added a Gift Upgrades feature that allows you to gift an account upgrade to another member, just in time for the holiday season. You can see the gift option when going to the Account Upgrades screen, or on any user profile screen.
    Dismiss Notice

Customizing starting number of units

Discussion in 'Civ4 - Creation & Customization' started by rf900, Feb 6, 2006.

  1. rf900

    rf900 Warlord

    Joined:
    Jan 31, 2006
    Messages:
    194
    When you start a game in the modern era, you begin with a couple of workers and military units... I will like to have the same for the ancient era. So that all civs start with for example 2 settlers, 3 workers and 4 warriors. I guess this goes in Python code, can somebody tell me in which file should I look?

    Also a couple of things that would be nice. How do you make that new cities have more population 3 or 4, like in modern era? And about the OCC, I was hoping that the one city limit was for all players, any way to achieve this?

    Thanks
     
  2. TheLopez

    TheLopez Deity

    Joined:
    Jan 16, 2006
    Messages:
    2,525
    Location:
    Oregon
    Look in the CIV4CivilizationInfos.xml file. You can customize the number and type of units each civilization can get there.
     
  3. FexFX

    FexFX Prince

    Joined:
    Nov 26, 2005
    Messages:
    402
    What you are looking for is actually in CIV4EraInfos.xml.
    Look for these lines...
    HTML:
    			<iStartingUnitMultiplier>1</iStartingUnitMultiplier>
    			<iStartingDefenseUnits>0</iStartingDefenseUnits>
    			<iStartingWorkerUnits>0</iStartingWorkerUnits>
    			<iStartingExploreUnits>1</iStartingExploreUnits>
    Those are the numbers used for the Ancient Era...
    HTML:
    			<iStartingUnitMultiplier>3</iStartingUnitMultiplier>
    			<iStartingDefenseUnits>3</iStartingDefenseUnits>
    			<iStartingWorkerUnits>2</iStartingWorkerUnits>
    			<iStartingExploreUnits>2</iStartingExploreUnits>
    ...and those are the numbers used for Modern...
    Simply make the numbers in there do what you want and you should be fine.
     

Share This Page