Attack System
by ArgCmdr
A single impact weapon (no area effect, cellspread values etc, like
a bullet, i.e) works this way:
[Attacker]
Primary=Weapon
[Weapon]
Damage=10
Warhead=Warhead
[Warhead]
Verses=100%,100%,50%,100%,100%,100%,100%,100%,100%,100%,100%
[Enemy1]
Armor=none
Strength=50
[Enemy2]
Armor=plate
Strength=50
Now, this settings above are just explainatory and are not found in
rules.ini
Attacker fires Weapon at Enemy 1: Weapon takes out 10 HP (Damage tag)
multiplied by the coefficient percentage from the correspondant value in
the verses tag. Armor none in this case is 100%. Damage made by unit is
then, 10 HP
Attacker fires weapon at Enemy 2: Weapon takes out 10 HP (Damage tag)
multiplied by the coefficient percentage from the correspondant value in
the verses tag. Armor plate in this case is 50%. Damage made by unit is
then, 5 HP, 50% of Damage.
The Verses tag runs as follows:
Verses=%None,%Flak,%plate,%light,%medium,%heavy,%wood,%steel,%concrete,%special_1,%special_2
The first three apply to infantry, second three to vehicles, third three
to buildings, special_1 are vehicles with infantry vulnerabilities (Terror
Drone), special_2 are rockets.