Tweaked RA and TD artillery explosion
Renamed RA UnitExplode to AmmoExplode, added new UnitExplode with 1/10 damage. Reduced TD UnitExplode damage to 1/10 of old value. Now artillery always explodes, but there's only a 75% chance it explodes violently and only when it has ammo. If either condition isn't met, it explodes with the (now less violent) UnitExplode.
This commit is contained in:
@@ -153,6 +153,10 @@ ARTY:
|
|||||||
InitialStance: Defend
|
InitialStance: Defend
|
||||||
LeavesHusk:
|
LeavesHusk:
|
||||||
HuskActor: ARTY.Husk
|
HuskActor: ARTY.Husk
|
||||||
|
Explodes:
|
||||||
|
Weapon: ArtilleryShell
|
||||||
|
EmptyWeapon: UnitExplode
|
||||||
|
LoadedChance: 75
|
||||||
|
|
||||||
FTNK:
|
FTNK:
|
||||||
Inherits: ^Tank
|
Inherits: ^Tank
|
||||||
|
|||||||
@@ -27,7 +27,6 @@ UnitExplode:
|
|||||||
Warhead@1Dam: SpreadDamage
|
Warhead@1Dam: SpreadDamage
|
||||||
Spread: 426
|
Spread: 426
|
||||||
Damage: 50
|
Damage: 50
|
||||||
Falloff: 1000, 368, 135, 50, 18, 7, 0
|
|
||||||
Versus:
|
Versus:
|
||||||
None: 90
|
None: 90
|
||||||
Wood: 75
|
Wood: 75
|
||||||
|
|||||||
@@ -226,8 +226,9 @@ ARTY:
|
|||||||
AttackFrontal:
|
AttackFrontal:
|
||||||
WithMuzzleFlash:
|
WithMuzzleFlash:
|
||||||
Explodes:
|
Explodes:
|
||||||
Weapon: UnitExplode
|
Weapon: ArtilleryExplode
|
||||||
Chance: 75
|
EmptyWeapon: UnitExplodeSmall
|
||||||
|
LoadedChance: 75
|
||||||
AutoTarget:
|
AutoTarget:
|
||||||
ProducibleWithLevel:
|
ProducibleWithLevel:
|
||||||
Prerequisites: vehicles.upgraded
|
Prerequisites: vehicles.upgraded
|
||||||
|
|||||||
@@ -197,6 +197,25 @@ UnitExplodeSmall:
|
|||||||
ImpactSound: splash9.aud
|
ImpactSound: splash9.aud
|
||||||
ValidImpactTypes: Water
|
ValidImpactTypes: Water
|
||||||
|
|
||||||
|
ArtilleryExplode:
|
||||||
|
Warhead@1Dam: SpreadDamage
|
||||||
|
Spread: 426
|
||||||
|
Damage: 150
|
||||||
|
Versus:
|
||||||
|
None: 90
|
||||||
|
Wood: 75
|
||||||
|
Light: 60
|
||||||
|
Heavy: 25
|
||||||
|
DamageTypes: Prone50Percent, TriggerProne, ExplosionDeath
|
||||||
|
Warhead@2Eff: CreateEffect
|
||||||
|
Explosion: self_destruct
|
||||||
|
ImpactSound: kaboom22.aud
|
||||||
|
InvalidImpactTypes: Water
|
||||||
|
Warhead@3EffWater: CreateEffect
|
||||||
|
Explosion: large_splash
|
||||||
|
ImpactSound: splash9.aud
|
||||||
|
ValidImpactTypes: Water
|
||||||
|
|
||||||
BarrelExplode:
|
BarrelExplode:
|
||||||
Warhead@1Dam: SpreadDamage
|
Warhead@1Dam: SpreadDamage
|
||||||
Spread: 426
|
Spread: 426
|
||||||
|
|||||||
Reference in New Issue
Block a user