mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-18 10:01:23 +01:00
Updated Military Forces (markdown)
parent
c523629576
commit
6834d1c290
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ War Alert is not the only state-specific modifier. The other one depends on _Sta
|
||||||
|
|
||||||
Some state forms have an additional modifier. _Hordes_ get x2 mounted units, while _Republics_ get x1.2 naval units.
|
Some state forms have an additional modifier. _Hordes_ get x2 mounted units, while _Republics_ get x1.2 naval units.
|
||||||
|
|
||||||
The next step is to calculate troops number for each cell and burg. Calculation is done separately for every unit, considering possession-specific divider, unit percentage that is set in military options, state modifier calculated above and hard-coded unit type matrix. For example mounted units have x3 modifier in cells with nomadic biomes, while their number is reduced in highlands. The formula is:
|
The next step is to calculate troops number for each cell and burg. Calculation is done separately for each unit, considering possession-specific divider, unit percentage that is set in military options, state modifier calculated above and hard-coded unit type matrix. For example mounted units have x3 modifier in cells with nomadic biomes, while their number is reduced in highlands. The formula is:
|
||||||
|
|
||||||
`Troops = Population_points / 100 * Possession_divider * Unit_percentage * State_mod * Unit_mod * Population_rate`
|
`Troops = Population_points / 100 * Possession_divider * Unit_percentage * State_mod * Unit_mod * Population_rate`
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue