Cost Calculation for bribing units/cities

Gowron

Chieftain
Joined
May 21, 2007
Messages
62
This topic explains how bribery costs are calculated in Civ 1.
There are two different formulas: one for cities and one for units.

Both formulas use a distance value which measures the distance to the capital city of the civilization which owns the city/unit to be bribed. For an explanation on how the distance is calculated, see below.

The game uses integer arithmetics, which means that any remainders of a division will be discarded.


Step-by-Step Cost Calculation for Inciting a Revolt

1. Determine the current treasury value of the city's owner civilization. Then add 1000 to that value.

2. Divide the result from step 1 by (distance + 3).

3. Multiply the result from step 2 by the size of the city.

4. Divide the result from step 3 by 2 if the city is currently in civil disorder.

The recolt cost has to be paid twice if the "subvert city" option is chosen.


Short overview:
Code:
                 [Treasury] + 1000
[Revolt Cost] = -------------------  x  [City Size]  ( /2 under Civil Disorder )
                   [Distance] + 3


Step-by-Step Cost Calculation for Bribing a Unit

1. Determine the current treasury value of the city's owner civilization. Then add 750 to that value.

2. Divide the result from step 1 by (distance + 2).

3. Multiply the result from step 2 by the unit construction cost (in multiples of 10 shields; so this would for example be 4 for a Catapult, or 8 for an Armor).

4. Divide the result from step 3 by 2 if the unit is NOT a "Settlers" units.

Note that step 4 will affect any unit except Settlers, which basically halves the cost in most cases.

Also note that Civilization does not simply change the affiliation of a bribed unit. Instead, the unit is destroyed, and a new unit of the same type is created at the same square and under the control of the bribing civ.
So if the bribed unit was a veteran unit, the veteran status is lost.

Short overview:
Code:
                [Treasury] + 750       [Unit Cost]
[Bribe Cost] = ------------------  x  -------------  ( /2 except for Settlers )
                 [Distance] + 2         10 shields

Distance Calculation

Each map square has a horizontal coordinate (x-coordiante) and a vertical coordinate (y-coordinate). Civilization first calculates the horizontal distance (only counting the horizontal coordinates) and vertical distance (only counting the vertical coordinates) separetely. Then it compares both distances and calculates the combined distance as
Code:
                                   [smaller distance]
[Distance] = [greater distance] + --------------------
                                           2
If result if greater than 16, then the distance is set to 16 instead.
If the civ does not have a palace, the distance is set to 16 as well.


Note that Civilization uses a different formula when calculating the distance to the capital city for corruption calculation purposes.
 
Back
Top Bottom