|Apr 14, 2006, 08:14 AM||#1|
Join Date: Dec 2004
Stop starvation? Help?
Is there a way to totally stop starvation/growth in your mod or at least limit starvation so it goes by very slowly? Or will I have to create a new resource that gives the exact amount of food for each city in the scenario to be self-sufficient?
|Apr 14, 2006, 11:45 AM||#3|
Join Date: Jan 2006
set food cost per population to 1?
It's not exactly clear to me how you want this to behave. If you wanted all cities to grow up to some fixed size and never starve, you could set the food cost per population to 1, turn off all food from tiles, and give the city default N food, where N is the max size you want to grow to. Then set the pace of growth by setting the growth food required.
|Apr 14, 2006, 12:59 PM||#4|
Civ 4 Addict
Join Date: Mar 2006
Location: In a virtual Civ 4 Environment.
There is no way I know of to completely remove starvation. Setting food consuption to 1 certainly helps but it won't get rid of it. There are actually two other factors that can cause a city to starve.
- Sickness. I believe this factor is also dependant on how much food is consumed per pop. For arguments sake, if it is 1 per pop, then if the city sickness is 10, and the health is 2, then that city will use up 8 extra food. So, technically a city that is growing with 1 extra food can suddenly start to starve upon growth because it uses 1 extra food for the 1 extra pop and another extra food for the +1 sickness due to pop.
- Lastly, if a player gets invloved in a war, some turns after it starts, the player's city's laborers start refusing to work the tiles they were already working, thus causing cities to starve.
I have no idea if the SDK can remove starvation however, if you are wanting to do this for a scenario, I think the best thing to do is make it with no food yields and set each city to the desired size, and make them use 0 food per pop.
Don't know if that will actually work but it might be worth a shot.
Last edited by Agent 009; Apr 14, 2006 at 01:13 PM.
|Jul 13, 2009, 07:50 AM||#6|
Join Date: Oct 2007
Location: U. S. of A.
You can set the food cost per citizen by changing the FOOD_CONSUMPTION_PER_POPULATION field in XML\GlobalDefines.xml.
Really Advanced Setup Mod
Gives many new options when starting games with the the Advanced Setup screen.
Includes: Disable nuclear weapons, change start bias, change starting units, place extra resources, and modify starting Gold, Culture, Faith, and Free Techs.
Current Status: Version 9 - Works with all versions of the game.
Also available in the Steam workshop.
|Thread||Thread Starter||Forum||Replies||Last Post|
|Starvation!!||Old_Man_River__||Civ4 - General Discussions||13||Sep 30, 2008 06:33 PM|
|How to stop starvation.||DWOLF||Civ4 - General Discussions||3||Jul 24, 2007 06:27 PM|
|Starvation||KITCHEN1||Civ4 - General Discussions||3||Jun 24, 2007 11:07 AM|
|Starvation||TyranusBonehead||Civ3 - General Discussions||5||Feb 11, 2005 07:02 PM|
|starvation||stratego||Civ3 - Strategy & Tips||15||Jul 25, 2003 07:19 AM|