KitTemplate.SetBattleStrength

From Pilot_51's Wiki
Jump to: navigation, search

MDT Description

For the AI system (bots). Sets how effective a type of soldier is against a particular type of vehicle or another soldier. For example, the anti-tank soldier uses these values:

KitTemplate.SetBattleStrength Infantry    2.0
KitTemplate.SetBattleStrength LightArmour 8.0
KitTemplate.SetBattleStrength HeavyArmour 4.0
KitTemplate.SetBattleStrength NavalArmour 0.0
KitTemplate.SetBattleStrength Submarine   0.0
KitTemplate.SetBattleStrength Air         0.0

since his strength is against armor. Each soldier type has its effectiveness rated against each type of vehicle/soldier.

Source and more details

Additional Description