Customizing starting number of units

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
 
rf900 said:
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?

Look in the CIV4CivilizationInfos.xml file. You can customize the number and type of units each civilization can get there.
 
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.
 
Back
Top Bottom