DaveMcW
Deity
- Joined
- Oct 8, 2002
- Messages
- 6,489
The formula for purchasing units and buildings is:
GoldCost = int( (30 * Cost * GameSpeedPercent)^0.75 * (1 + HurryCostModifier/100) / 10 ) * 10
Cost = The hammer cost on standard speed.
GameSpeedPercent = Modifier for game speed and starting era.
HurryCostModifier = A hidden rush-buy penalty.
Implications of the formula:
1. Expensive items are more efficient to buy than cheap items.
This is due to the cost being under a 0.75 exponent. For example, 2 workers (140) cost 620 gold. A trebuchet (170) costs 600 gold.
2. Rush buying is more efficient on slow game speeds and early starting eras.
This is because the game speed modifier is also under a 0.75 exponent.
Quick Speed: +10% to all
Epic Speed: -10% to all
Marathon Speed: -24% to all
Classical Start: +6% units, +4% buildings
Medieval Start: +10% units, +7% buildings
Renaissance Start: +19% units, +16% buildings
Industrial Start: +32% units, +28% buildings
Modern Start: +41% units, +35% buildings
Future Start: +53% units, +48% buildings
3. Items with a high HurryCostModifier should usually be built with hammers.
+40% modifier: Monument
+30% modifier: Caravel
+25% modifier: Work Boat, all pre-renaissance buildings, Seaport, Windmill, Military Base
+20% modifier: Settler, all classical units, Frigate, Ship of the Line
+15% modifier: University, Wat, Bank, Observatory, Satrap's Court, Stock Exchange
+10% modifier: Opera House, Theatre
GoldCost = int( (30 * Cost * GameSpeedPercent)^0.75 * (1 + HurryCostModifier/100) / 10 ) * 10
Cost = The hammer cost on standard speed.
GameSpeedPercent = Modifier for game speed and starting era.
HurryCostModifier = A hidden rush-buy penalty.
Implications of the formula:
1. Expensive items are more efficient to buy than cheap items.
This is due to the cost being under a 0.75 exponent. For example, 2 workers (140) cost 620 gold. A trebuchet (170) costs 600 gold.
2. Rush buying is more efficient on slow game speeds and early starting eras.
This is because the game speed modifier is also under a 0.75 exponent.
Quick Speed: +10% to all
Epic Speed: -10% to all
Marathon Speed: -24% to all
Classical Start: +6% units, +4% buildings
Medieval Start: +10% units, +7% buildings
Renaissance Start: +19% units, +16% buildings
Industrial Start: +32% units, +28% buildings
Modern Start: +41% units, +35% buildings
Future Start: +53% units, +48% buildings
3. Items with a high HurryCostModifier should usually be built with hammers.
+40% modifier: Monument
+30% modifier: Caravel
+25% modifier: Work Boat, all pre-renaissance buildings, Seaport, Windmill, Military Base
+20% modifier: Settler, all classical units, Frigate, Ship of the Line
+15% modifier: University, Wat, Bank, Observatory, Satrap's Court, Stock Exchange
+10% modifier: Opera House, Theatre