Difference between revisions of "Game Formulas"
m (Land upkeep being listed separately from total expenses is unnecessary. Unlike the other expense components it is easily includable directly.) |
m (Combined all individual unit upkeep formulae into one overall formula, factoring out the common elements to make a more concise entry.) |
||
| Line 28: | Line 28: | ||
<tr> | <tr> | ||
<td>Military Upkeep</td> | <td>Military Upkeep</td> | ||
| − | <td> | + | <td>((Troops * .11) + (Jets * .14) + (Turrets * .18) + (Tanks * .57) + Spies) * MilTech% * (1 + Networth/40000000) * GvtBonus * MilBaseFactor |
| + | <br> | ||
| + | MilBaseFactor has a lower limit of .61 and is calculated as follows:<br> | ||
| + | MilBaseFactor = 1 - 1. 3 *(MilBases/Land)</td></tr> | ||
<tr> | <tr> | ||
<td>Alliance Costs</td> | <td>Alliance Costs</td> | ||
Revision as of 03:37, 19 August 2012
This page contains a listing of various formulae for Earth Empires.
Most formulae use standard rounding, but some, like networth, use truncation.
General Formulas
| Calculating | Formula | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Per Capita Income (PCI) | 22.5 * (1 - Taxrate) * (1 + ((Networth/Land)/90000)) * (1 + (2 * (Ent/Land))) * BusTech * GvtPCIBonus | ||||||||||
| Revenue | PCI * Pop * Taxrate | ||||||||||
| Construction Cost | 3 * Land + 1500 | ||||||||||
| Destruction Cost | 0.2 * (3 * Land + 1500) | ||||||||||
| Rebuilding Cost | |||||||||||
| Oil Consumption | (Troops + Jets + Tanks)/25 | ||||||||||
| Buildings Per Turn | (CS/4 + 5) * GvtContrBonus | ||||||||||
| Military Upkeep | ((Troops * .11) + (Jets * .14) + (Turrets * .18) + (Tanks * .57) + Spies) * MilTech% * (1 + Networth/40000000) * GvtBonus * MilBaseFactor
| ||||||||||
| Alliance Costs | Defensive Allies: DefAllies * Networth * 0.002 (0.2% of NW each) Offensive Allies: OffAllies * Networth * 0.002 (0.2% of NW each) Intelligence Allies: IntelAllies * Networth * 0.0015 (0.15% of NW each) Research Allies: ResAllies * Networth * 0.0015 (0.15% of NW each) Trade Pacts: TradePacts * Networth * 0.0005 (0.05% of NW each) GDI Costs (Theocracy): Land * 8 GDI Costs (All Others): Land * 4 Declare War Costs: Land * 10 | ||||||||||
| GDI Penalty | Because of the defensive nature of the alliance, one side effect of GDI is 10% lower gains from your attacks. | ||||||||||
| Total Expense | Military Upkeep Costs + Alliance Upkeep Costs + (Land * 10) | ||||||||||
| Networth | (Troops * 0.5) + (Jets * 0.6) + (Turrets * 0.6) + (Tanks * 2) + (Spies * 1) + (Tech * 2) + (Land * 45) + (Buildings * 35) + (Money / 20000) + (Food/1000) + (Missles * 2500) + (Pop/6) + (Oil/100) This formula does not specify whether each term is to be rounded or truncated, which varies. | ||||||||||
| Food Production | (Farms * 5.3) + (Unused Acres*0.4) * GovFoodBonus * AgriTech | ||||||||||
| Food Consumption | (Pop * 0.03) + (Spies * 0.005) + ((Troops + Jets + Turrets) * 0.001) + (Tanks * 0.003) | ||||||||||
| Food Decay | Bushels Before Turn is Taken = BBT Bushels Consumed During Turn = Cons Bushels Produce During Turn = Prod ( BBT - Cons + Prod ) / 1000 | ||||||||||
| Technology Percentages | The technology percentage for countries is determined by the following formula:
BaseTech%+(MaxTech%-BaseTech%)*GvtTech*(1-EXP(-GvtEff*TechPts/(C1+C2*Land)))
| ||||||||||
| Tech Per Turn | TechPerTurn=Round(0.17*Labs*(1+Labs/Land)+3,0) | ||||||||||
| Military Formulas | |||||||||||
| SPAL (Spies Per Acre Land) | (Spies*GovtBonus*Spytech + 1/4 AlliesSpies)/Land | ||||||||||
| Standard Strike Strength | WeaponsTech% * GovtBonus * Readiness * (Troops + Jets*2 + Tanks*4) + min(WeaponsTech% * GovtBonus * Readiness * (Troops + Jets*2 + Tanks*4), 0.25 * (AlliesTroops + AlliesJets*2 + AlliesTanks*4)) where min(value1,value2) = lower of the two values | ||||||||||
| Planned Strike Strength | SS Strength * 1.5 | ||||||||||
Switching Governments
If your current government is a Monarchy then there is no penalty for changing to another form.
When changing from any other form of government, there is are losses incurred to your countries resources during the change.
This loss is a percentage of all cash, military, technology and buildings. Starting at 14%, this number increases based on your networth (NW) with the following formula:
12M < NW < 30M: (14+25*(NW-10.5M)/18)% losses
NW > 30M: 39% losses