After being put somewhere back in my file system, I finally finished this mod xD
Dynamic Bonuses allow you to make bonuses grow in value depending on how long the player controls them. This is done by keeping track of how long the territory has kept the same owner. Once a territory has a different owner at the end of a turn, this value is reset. But the longer you control territories, the more income bonuses will give!
Configurable settings:
- The minimum multiplier
- The maximum multiplier
- The increment of every multiplier each turn (if the territory didn't change owner)
(For the multiplier, read below)Bonuses are recalculated every turn. This is done as follows:
The mod stores a so-called
multiplier for each territory. This multiplier will not be lower than the configured minimum and not be higher than the configured maximum.
The mod looks at each bonus and calculates the average multiplier from the territories in the bonus. Then, it multiplies this with the bonus value.
Example: Bonus
ABC, with as bonus value 4, consist out of 3 territories,
A,
B and
C. They have the multipliers 1.0, 2.0, and 1.5 respectively. The average multiplier of
ABC is
(1.0 + 2.0 + 1.5) / 3 = 1.5, this multiplied with the bonus value gives
4 * 1.5 = 6 income
When Local Deployment is enabled, these income changes will affect the bonus itself
Example game:
https://www.warzone.com/MultiPlayer?GameID=32350987
Edited 10/22/2022 22:11:34