Add support for multiple explosions to CreateEffectWarhead
Have the engine pick one explosion at random from the provided list.
This commit is contained in:
@@ -4,7 +4,7 @@ FlametankExplode:
|
||||
Damage: 100
|
||||
DamageTypes: Prone50Percent, TriggerProne, FireDeath
|
||||
Warhead@2Eff: CreateEffect
|
||||
Explosion: big_napalm
|
||||
Explosions: big_napalm
|
||||
ImpactSound: xplobig6.aud
|
||||
|
||||
HeliCrash:
|
||||
@@ -13,14 +13,14 @@ HeliCrash:
|
||||
Damage: 40
|
||||
DamageTypes: Prone50Percent, TriggerProne, ExplosionDeath
|
||||
Warhead@2Eff: CreateEffect
|
||||
Explosion: poof
|
||||
Explosions: poof
|
||||
ImpactSound: xplos.aud
|
||||
|
||||
HeliExplode:
|
||||
Warhead@1Dam: SpreadDamage
|
||||
DamageTypes: ExplosionDeath
|
||||
Warhead@2Eff: CreateEffect
|
||||
Explosion: small_building
|
||||
Explosions: small_building
|
||||
ImpactSound: xplos.aud
|
||||
|
||||
UnitExplode:
|
||||
@@ -34,7 +34,7 @@ UnitExplode:
|
||||
Heavy: 25
|
||||
DamageTypes: Prone50Percent, TriggerProne, ExplosionDeath
|
||||
Warhead@2Eff: CreateEffect
|
||||
Explosion: poof
|
||||
Explosions: poof
|
||||
ImpactSound: xplobig6.aud
|
||||
|
||||
UnitExplodeSmall:
|
||||
@@ -48,7 +48,7 @@ UnitExplodeSmall:
|
||||
Heavy: 25
|
||||
DamageTypes: Prone50Percent, TriggerProne, ExplosionDeath
|
||||
Warhead@2Eff: CreateEffect
|
||||
Explosion: big_frag
|
||||
Explosions: big_frag
|
||||
ImpactSound: xplobig4.aud
|
||||
|
||||
GrenadierExplode:
|
||||
@@ -62,7 +62,7 @@ GrenadierExplode:
|
||||
Heavy: 25
|
||||
DamageTypes: Prone50Percent, TriggerProne, SmallExplosionDeath
|
||||
Warhead@2Eff: CreateEffect
|
||||
Explosion: poof
|
||||
Explosions: poof
|
||||
ImpactSound: xplosml2.aud
|
||||
|
||||
Napalm.Crate:
|
||||
@@ -80,5 +80,5 @@ Napalm.Crate:
|
||||
Warhead@2Smu: LeaveSmudge
|
||||
SmudgeType: Scorch
|
||||
Warhead@3Eff: CreateEffect
|
||||
Explosion: med_napalm
|
||||
Explosions: med_napalm
|
||||
ImpactSound: flamer2.aud
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
Warhead@2Smu: LeaveSmudge
|
||||
SmudgeType: Crater
|
||||
Warhead@3Eff: CreateEffect
|
||||
Explosion: small_frag
|
||||
Explosions: small_frag
|
||||
ImpactSound: xplos.aud
|
||||
|
||||
105mm:
|
||||
@@ -40,7 +40,7 @@
|
||||
Warhead@2Smu: LeaveSmudge
|
||||
SmudgeType: Crater
|
||||
Warhead@3Eff: CreateEffect
|
||||
Explosion: small_frag
|
||||
Explosions: small_frag
|
||||
ImpactSound: xplos.aud
|
||||
|
||||
120mm:
|
||||
@@ -63,7 +63,7 @@
|
||||
Warhead@2Smu: LeaveSmudge
|
||||
SmudgeType: Crater
|
||||
Warhead@3Eff: CreateEffect
|
||||
Explosion: small_frag
|
||||
Explosions: small_frag
|
||||
ImpactSound: xplos.aud
|
||||
|
||||
120mmDual:
|
||||
@@ -88,7 +88,7 @@
|
||||
Warhead@2Smu: LeaveSmudge
|
||||
SmudgeType: Crater
|
||||
Warhead@3Eff: CreateEffect
|
||||
Explosion: small_frag
|
||||
Explosions: small_frag
|
||||
ImpactSound: xplos.aud
|
||||
|
||||
TurretGun:
|
||||
@@ -110,7 +110,7 @@ TurretGun:
|
||||
Warhead@2Smu: LeaveSmudge
|
||||
SmudgeType: Crater
|
||||
Warhead@3Eff: CreateEffect
|
||||
Explosion: small_frag
|
||||
Explosions: small_frag
|
||||
ImpactSound: xplos.aud
|
||||
|
||||
ArtilleryShell:
|
||||
@@ -137,5 +137,5 @@ ArtilleryShell:
|
||||
Warhead@2Smu: LeaveSmudge
|
||||
SmudgeType: Crater
|
||||
Warhead@3Eff: CreateEffect
|
||||
Explosion: poof
|
||||
Explosions: poof
|
||||
ImpactSound: XPLOSML2.AUD
|
||||
|
||||
@@ -28,7 +28,7 @@ Rockets:
|
||||
Warhead@2Smu: LeaveSmudge
|
||||
SmudgeType: Crater
|
||||
Warhead@3Eff: CreateEffect
|
||||
Explosion: small_frag
|
||||
Explosions: small_frag
|
||||
ImpactSound: xplos.aud
|
||||
|
||||
BikeRockets:
|
||||
@@ -62,7 +62,7 @@ BikeRockets:
|
||||
Warhead@2Smu: LeaveSmudge
|
||||
SmudgeType: Crater
|
||||
Warhead@3Eff: CreateEffect
|
||||
Explosion: small_frag
|
||||
Explosions: small_frag
|
||||
ImpactSound: xplos.aud
|
||||
|
||||
OrcaAGMissiles:
|
||||
@@ -96,7 +96,7 @@ OrcaAGMissiles:
|
||||
Warhead@2Smu: LeaveSmudge
|
||||
SmudgeType: Crater
|
||||
Warhead@3Eff: CreateEffect
|
||||
Explosion: small_frag
|
||||
Explosions: small_frag
|
||||
ImpactSound: xplos.aud
|
||||
|
||||
OrcaAAMissiles:
|
||||
@@ -128,7 +128,7 @@ OrcaAAMissiles:
|
||||
Warhead@2Smu: LeaveSmudge
|
||||
SmudgeType: Crater
|
||||
Warhead@3Eff: CreateEffect
|
||||
Explosion: small_frag
|
||||
Explosions: small_frag
|
||||
ImpactSound: xplos.aud
|
||||
|
||||
MammothMissiles:
|
||||
@@ -161,11 +161,11 @@ MammothMissiles:
|
||||
Warhead@2Smu: LeaveSmudge
|
||||
SmudgeType: Crater
|
||||
Warhead@3Eff: CreateEffect
|
||||
Explosion: small_poof
|
||||
Explosions: small_poof
|
||||
ImpactSound: xplos.aud
|
||||
InvalidImpactTypes: Air, AirHit
|
||||
Warhead@4EffAir: CreateEffect
|
||||
Explosion: small_building
|
||||
Explosions: small_building
|
||||
ImpactSound: xplos.aud
|
||||
ValidImpactTypes: Air, AirHit
|
||||
|
||||
@@ -201,7 +201,7 @@ MammothMissiles:
|
||||
Warhead@2Smu: LeaveSmudge
|
||||
SmudgeType: Crater
|
||||
Warhead@3Eff: CreateEffect
|
||||
Explosion: med_frag
|
||||
Explosions: med_frag
|
||||
ImpactSound: xplos.aud
|
||||
|
||||
227mm.stnk:
|
||||
@@ -234,7 +234,7 @@ MammothMissiles:
|
||||
Warhead@2Smu: LeaveSmudge
|
||||
SmudgeType: Crater
|
||||
Warhead@3Eff: CreateEffect
|
||||
Explosion: small_frag
|
||||
Explosions: small_frag
|
||||
ImpactSound: xplos.aud
|
||||
|
||||
BoatMissile:
|
||||
@@ -265,11 +265,11 @@ BoatMissile:
|
||||
Warhead@2Smu: LeaveSmudge
|
||||
SmudgeType: Crater
|
||||
Warhead@3Eff: CreateEffect
|
||||
Explosion: small_poof
|
||||
Explosions: small_poof
|
||||
ImpactSound: xplos.aud
|
||||
InvalidImpactTypes: Air, AirHit
|
||||
Warhead@4EffAir: CreateEffect
|
||||
Explosion: small_building
|
||||
Explosions: small_building
|
||||
ImpactSound: xplos.aud
|
||||
ValidImpactTypes: Air, AirHit
|
||||
|
||||
@@ -301,7 +301,7 @@ TowerMissle:
|
||||
Warhead@2Smu: LeaveSmudge
|
||||
SmudgeType: Crater
|
||||
Warhead@3Eff: CreateEffect
|
||||
Explosion: med_frag
|
||||
Explosions: med_frag
|
||||
ImpactSound: xplos.aud
|
||||
|
||||
SAMMissile:
|
||||
@@ -331,7 +331,7 @@ SAMMissile:
|
||||
Warhead@2Smu: LeaveSmudge
|
||||
SmudgeType: Crater
|
||||
Warhead@3Eff: CreateEffect
|
||||
Explosion: small_building
|
||||
Explosions: small_building
|
||||
ImpactSound: xplos.aud
|
||||
|
||||
HonestJohn:
|
||||
@@ -360,7 +360,7 @@ HonestJohn:
|
||||
Warhead@2Smu: LeaveSmudge
|
||||
SmudgeType: Crater
|
||||
Warhead@3Eff: CreateEffect
|
||||
Explosion: small_poof
|
||||
Explosions: small_poof
|
||||
ImpactSound: xplos.aud
|
||||
|
||||
Patriot:
|
||||
@@ -387,5 +387,5 @@ Patriot:
|
||||
Warhead@2Smu: LeaveSmudge
|
||||
SmudgeType: Crater
|
||||
Warhead@3Eff: CreateEffect
|
||||
Explosion: poof
|
||||
Explosions: poof
|
||||
ImpactSound: xplos.aud
|
||||
|
||||
@@ -18,7 +18,7 @@ Flamethrower:
|
||||
Warhead@2Smu: LeaveSmudge
|
||||
SmudgeType: Scorch
|
||||
Warhead@3Eff: CreateEffect
|
||||
Explosion: small_napalm
|
||||
Explosions: small_napalm
|
||||
ImpactSound: flamer2.aud
|
||||
|
||||
BigFlamer:
|
||||
@@ -43,7 +43,7 @@ BigFlamer:
|
||||
Warhead@2Smu: LeaveSmudge
|
||||
SmudgeType: Scorch
|
||||
Warhead@3Eff: CreateEffect
|
||||
Explosion: med_napalm
|
||||
Explosions: med_napalm
|
||||
ImpactSound: flamer2.aud
|
||||
|
||||
Chemspray:
|
||||
@@ -64,7 +64,7 @@ Chemspray:
|
||||
Warhead@2Smu: LeaveSmudge
|
||||
SmudgeType: Scorch
|
||||
Warhead@3Eff: CreateEffect
|
||||
Explosion: chemball
|
||||
Explosions: chemball
|
||||
ImpactSound: xplos.aud
|
||||
|
||||
Grenade:
|
||||
@@ -89,7 +89,7 @@ Grenade:
|
||||
Warhead@2Smu: LeaveSmudge
|
||||
SmudgeType: Crater
|
||||
Warhead@3Eff: CreateEffect
|
||||
Explosion: small_poof
|
||||
Explosions: small_poof
|
||||
ImpactSound: xplos.aud
|
||||
|
||||
Napalm:
|
||||
@@ -114,7 +114,7 @@ Napalm:
|
||||
Warhead@2Smu: LeaveSmudge
|
||||
SmudgeType: Scorch
|
||||
Warhead@3Eff: CreateEffect
|
||||
Explosion: med_napalm
|
||||
Explosions: med_napalm
|
||||
ImpactSound: flamer2.aud
|
||||
|
||||
Laser:
|
||||
@@ -155,7 +155,7 @@ TiberiumExplosion:
|
||||
AddsResourceType: Tiberium
|
||||
Size: 1,1
|
||||
Warhead@3Eff: CreateEffect
|
||||
Explosion: chemball
|
||||
Explosions: chemball
|
||||
ImpactSound: xplosml2.aud
|
||||
|
||||
Heal:
|
||||
@@ -236,5 +236,5 @@ Demolish:
|
||||
Warhead@1Dam: SpreadDamage
|
||||
DamageTypes: DefaultDeath
|
||||
Warhead@2Eff: CreateEffect
|
||||
Explosion: building
|
||||
Explosions: building
|
||||
ImpactSound: xplobig6.aud
|
||||
|
||||
@@ -28,7 +28,7 @@ HighV:
|
||||
Heavy: 35
|
||||
DamageTypes: Prone50Percent, TriggerProne, BulletDeath
|
||||
Warhead@2Eff: CreateEffect
|
||||
Explosion: piffs
|
||||
Explosions: piffs
|
||||
|
||||
HeliAGGun:
|
||||
ReloadDelay: 20
|
||||
@@ -52,7 +52,7 @@ HeliAGGun:
|
||||
Heavy: 25
|
||||
DamageTypes: Prone50Percent, TriggerProne, BulletDeath
|
||||
Warhead@2Eff: CreateEffect
|
||||
Explosion: piffs
|
||||
Explosions: piffs
|
||||
|
||||
HeliAAGun:
|
||||
ReloadDelay: 20
|
||||
@@ -76,7 +76,7 @@ HeliAAGun:
|
||||
Heavy: 25
|
||||
DamageTypes: Prone50Percent, TriggerProne, BulletDeath
|
||||
Warhead@2Eff: CreateEffect
|
||||
Explosion: piffs
|
||||
Explosions: piffs
|
||||
|
||||
Pistol:
|
||||
ReloadDelay: 7
|
||||
@@ -96,7 +96,7 @@ Pistol:
|
||||
Heavy: 25
|
||||
DamageTypes: Prone50Percent, TriggerProne, BulletDeath
|
||||
Warhead@2Eff: CreateEffect
|
||||
Explosion: piff
|
||||
Explosions: piff
|
||||
|
||||
M16:
|
||||
ReloadDelay: 20
|
||||
@@ -116,7 +116,7 @@ M16:
|
||||
Heavy: 10
|
||||
DamageTypes: Prone50Percent, TriggerProne, BulletDeath
|
||||
Warhead@2Eff: CreateEffect
|
||||
Explosion: piff
|
||||
Explosions: piff
|
||||
|
||||
MachineGun:
|
||||
ReloadDelay: 20
|
||||
@@ -138,7 +138,7 @@ MachineGun:
|
||||
Concrete: 10
|
||||
DamageTypes: Prone50Percent, TriggerProne, BulletDeath
|
||||
Warhead@2Eff: CreateEffect
|
||||
Explosion: piffs
|
||||
Explosions: piffs
|
||||
|
||||
Vulcan:
|
||||
ValidTargets: Ground, Water
|
||||
@@ -158,7 +158,7 @@ Vulcan:
|
||||
Heavy: 35
|
||||
DamageTypes: Prone50Percent, TriggerProne, BulletDeath
|
||||
Warhead@2Eff: CreateEffect
|
||||
Explosion: piffs
|
||||
Explosions: piffs
|
||||
|
||||
APCGun:
|
||||
ReloadDelay: 18
|
||||
@@ -178,7 +178,7 @@ APCGun:
|
||||
Heavy: 50
|
||||
DamageTypes: Prone50Percent, TriggerProne, DefaultDeath
|
||||
Warhead@2Eff: CreateEffect
|
||||
Explosion: small_poof
|
||||
Explosions: small_poof
|
||||
|
||||
APCGun.AA:
|
||||
ReloadDelay: 18
|
||||
@@ -196,4 +196,4 @@ APCGun.AA:
|
||||
Heavy: 50
|
||||
DamageTypes: Prone50Percent, TriggerProne, DefaultDeath
|
||||
Warhead@2Eff: CreateEffect
|
||||
Explosion: small_frag
|
||||
Explosions: small_frag
|
||||
|
||||
@@ -13,7 +13,7 @@ Atomic:
|
||||
Heavy: 50
|
||||
DamageTypes: Prone50Percent, TriggerProne, FireDeath
|
||||
Warhead@2Eff_impact: CreateEffect
|
||||
Explosion: nuke_explosion
|
||||
Explosions: nuke_explosion
|
||||
ImpactSound: nukexplo.aud
|
||||
Warhead@3Dam_areanukea: SpreadDamage
|
||||
Spread: 2c512
|
||||
|
||||
Reference in New Issue
Block a user