In the Red Alert mod, what exactly does level up do? (seems to increase speed, but by how much? )
Is there any way to change the level up bonus? for example 10% bonus in rate of turn, 5% bonus armour, etc?
Level up
Here are the default values:
CostThreshold: 2, 4, 8, 16
FirepowerModifier: 1.1, 1.15, 1.2, 1.5
ArmorModifier: 1.1, 1.2, 1.3, 1.5
SpeedModifier: 1.1, 1.15, 1.2, 1.5
So the first level up will make the unit have 10% more firepower, armour and speed.
You should be able to override these default values by specifying new ones in the YAML files. If you wanted to make all vehicles have even more more speed when they level up, you could navigate to the ^Vehicle base trait in mods/ra/rules/defaults.yaml and change
to
CostThreshold: 2, 4, 8, 16
FirepowerModifier: 1.1, 1.15, 1.2, 1.5
ArmorModifier: 1.1, 1.2, 1.3, 1.5
SpeedModifier: 1.1, 1.15, 1.2, 1.5
So the first level up will make the unit have 10% more firepower, armour and speed.
You should be able to override these default values by specifying new ones in the YAML files. If you wanted to make all vehicles have even more more speed when they level up, you could navigate to the ^Vehicle base trait in mods/ra/rules/defaults.yaml and change
Code: Select all
GainsExperience:
Code: Select all
GainsExperience:
SpeedModifier: 1.5, 2.0, 2.5, 3.0