Difference between revisions of "Game Formulas"

From Earth Empires Wiki
Jump to: navigation, search
(NW Formula was listed twice)
Line 21: Line 21:
 
<tr><td BGColor="#00FF00">Land Upkeep</td><td>Land Upkeep = Land * 10<BR></td></tr>
 
<tr><td BGColor="#00FF00">Land Upkeep</td><td>Land Upkeep = Land * 10<BR></td></tr>
 
<tr><td BGColor="#00FF00">Total Expense</td><td>Military Upkeep Costs + Alliance Upkeep Costs + Land Upkeep Costs</td></tr>
 
<tr><td BGColor="#00FF00">Total Expense</td><td>Military Upkeep Costs + Alliance Upkeep Costs + Land Upkeep Costs</td></tr>
−
<tr><td BGColor="#00FF00">Networth</td><td>(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)</td></tr>
+
<tr><td BGColor="#00FF00">Networth</td><td>(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)<br>This formula does not specify whether each term is to be rounded or truncated, which varies.</td></tr>
 
<tr><td BGColor="#00FF00">Food Production</td><td>(Farms * 5.3) + (Unused Acres*0.4) * GovFoodBonus * AgriTech
 
<tr><td BGColor="#00FF00">Food Production</td><td>(Farms * 5.3) + (Unused Acres*0.4) * GovFoodBonus * AgriTech
 
<tr><td BGColor="#00FF00">Food Consumption</td><td>(Pop * 0.03) + (Spies * 0.005) + ((Troops + Jets + Turrets) * 0.001) + (Tanks * 0.003)</td></tr>
 
<tr><td BGColor="#00FF00">Food Consumption</td><td>(Pop * 0.03) + (Spies * 0.005) + ((Troops + Jets + Turrets) * 0.001) + (Tanks * 0.003)</td></tr>
Line 34: Line 34:
 
<td>SS Strength * 1.5</td></tr>
 
<td>SS Strength * 1.5</td></tr>
 
</table>
 
</table>
−
=== Networth ===
 
−
The formula for networth is simple. Each resource is multiplied by a constant, either rounded or truncated, then added together.
 
−
<pre>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</pre>
 
−
<sub>The above formula does not include resource specific rounding or truncating.</sub>
 
−
 
 
=== Switching Governments ===
 
=== Switching Governments ===
 
If your current government is a [[Governments#Monarchy|Monarchy]] then there is no penalty for
 
If your current government is a [[Governments#Monarchy|Monarchy]] then there is no penalty for

Revision as of 02:01, 12 August 2012

It needs to be determined what formulas are no longer accurate


This page contains a listing of various formulae for Earth Empires.

Note: Some of these are old formulas, and need to be updated. This list does not include every formula either. Those highlighted in green are as accurate as possible. A good player does not have to know all the formulas, but a basic understanding helps.

Most formulae use standard rounding, but some, like networth, use truncation.

General Formulas

CalculatingFormula
Per Capita Income (PCI)22.5 * (1 - Taxrate) * (1 + ((Networth/Land)/90000)) * (1 + (2 * (Ent/Land))) * BusTech * GvtPCIBonus
RevenuePCI * Pop * Taxrate
Construction Cost3 * Land + 1500
Destruction Cost0.2 * (3 * Land + 1500)
Rebuilding Cost
Oil Consumption(Troops + Jets + Tanks)/25
Buildings Per Turn(CS/4 + 5) * GvtContrBonus
Military UpkeepTroops Upkeep: Troops * .11 * MilTech% * (1 + Networth/40000000) * GvtBonus * Constant
Jets Upkeep: Jets * .14 * MilTech% * (1 + Networth/40000000) * GvtBonus * Constant
Turrets Upkeep: Turrets * .18 * MilTech% * (1 + Networth/40000000) * GvtBonus * Constant
Tanks Upkeep: Tanks * .57 * MilTech% * (1 + Networth/40000000) * GvtBonus * Constant
Spies Upkeep: Spies * 1 * MilTech% * (1 + Networth/40000000) * GvtBonus * Constant
Constant = If MilBases/Land < .295 Constant = 1 - 1. 3 *(MilBases/Land) Else (that is, if the number of MilBases built is more than 29.5% of your land) Constant = 0.61
Alliance CostsDefensive 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 PenaltyBecause of the defensive nature of the alliance, one side effect of GDI is 10% lower gains from your attacks.
Land UpkeepLand Upkeep = Land * 10
Total ExpenseMilitary Upkeep Costs + Alliance Upkeep Costs + Land Upkeep Costs
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 DecayBushels * 0.001
Technology PercentagesBaseTech + (MaxTech - BaseTech) * GovtBonus * (1 - Exp(-Effective * TechPoints / (C1 + (C2* Land))))
Tech Per TurnTechPerTurn=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:

pre
NW < 10.5M: 14% losses

12M < NW < 30M: (14+25*(NW-10.5M)/18)% losses

NW > 30M: 39% losses