Add support for multiple impact sounds to CreateEffectWarhead
Have the engine pick one impact sound at random from the provided list.
This commit is contained in:
@@ -163,7 +163,7 @@ REPAIR:
|
||||
AttackFrontal:
|
||||
Voice: Attack
|
||||
Selectable:
|
||||
Priority: 5
|
||||
Priority: 5
|
||||
|
||||
WEED:
|
||||
Inherits: ^VoxelTank
|
||||
|
||||
@@ -20,12 +20,12 @@ Grenade:
|
||||
DamageTypes: Prone70Percent, TriggerProne, ExplosionDeath
|
||||
Warhead@2Eff: CreateEffect
|
||||
Explosions: large_grey_explosion
|
||||
ImpactSound: expnew13.aud
|
||||
ImpactSounds: expnew13.aud
|
||||
InvalidImpactTypes: Water
|
||||
Warhead@3EffWater: CreateEffect
|
||||
Explosions: small_watersplash
|
||||
ExplosionPalette: player
|
||||
ImpactSound: ssplash3.aud
|
||||
ImpactSounds: ssplash3.aud
|
||||
ValidImpactTypes: Water
|
||||
Warhead@4Smu: LeaveSmudge
|
||||
SmudgeType: MediumCrater
|
||||
@@ -52,12 +52,12 @@ Bomb:
|
||||
DamageTypes: Prone100Percent, TriggerProne, ExplosionDeath
|
||||
Warhead@2Eff: CreateEffect
|
||||
Explosions: large_explosion
|
||||
ImpactSound: expnew09.aud
|
||||
ImpactSounds: expnew09.aud
|
||||
InvalidImpactTypes: Water
|
||||
Warhead@3EffWater: CreateEffect
|
||||
Explosions: small_watersplash
|
||||
ExplosionPalette: player
|
||||
ImpactSound: ssplash3.aud
|
||||
ImpactSounds: ssplash3.aud
|
||||
ValidImpactTypes: Water
|
||||
Warhead@4Smu: LeaveSmudge
|
||||
SmudgeType: MediumCrater
|
||||
@@ -85,12 +85,12 @@ RPGTower:
|
||||
DamageTypes: Prone70Percent, TriggerProne, SmallExplosionDeath
|
||||
Warhead@2Eff: CreateEffect
|
||||
Explosions: large_clsn
|
||||
ImpactSound: expnew14.aud
|
||||
ImpactSounds: expnew14.aud
|
||||
InvalidImpactTypes: Water
|
||||
Warhead@3EffWater: CreateEffect
|
||||
Explosions: small_watersplash
|
||||
ExplosionPalette: player
|
||||
ImpactSound: ssplash2.aud
|
||||
ImpactSounds: ssplash2.aud
|
||||
ValidImpactTypes: Water
|
||||
Warhead@4Smu: LeaveSmudge
|
||||
SmudgeType: MediumCrater
|
||||
|
||||
@@ -124,12 +124,12 @@ CyCannon:
|
||||
DamageTypes: Prone350Percent, TriggerProne, EnergyDeath
|
||||
Warhead@2Eff: CreateEffect
|
||||
Explosions: large_bang
|
||||
ImpactSound: expnew12.aud
|
||||
ImpactSounds: expnew12.aud
|
||||
InvalidImpactTypes: Water
|
||||
Warhead@3EffWater: CreateEffect
|
||||
Explosions: small_watersplash
|
||||
ExplosionPalette: player
|
||||
ImpactSound: ssplash3.aud
|
||||
ImpactSounds: ssplash3.aud
|
||||
ValidImpactTypes: Water
|
||||
Warhead@4Smu: LeaveSmudge
|
||||
SmudgeType: SmallScorch
|
||||
@@ -161,12 +161,12 @@ Proton:
|
||||
DamageTypes: Prone50Percent, TriggerProne, ExplosionDeath
|
||||
Warhead@2Eff: CreateEffect
|
||||
Explosions: small_bang
|
||||
ImpactSound: expnew12.aud
|
||||
ImpactSounds: expnew12.aud
|
||||
InvalidImpactTypes: Water
|
||||
Warhead@3EffWater: CreateEffect
|
||||
Explosions: small_watersplash
|
||||
ExplosionPalette: player
|
||||
ImpactSound: ssplash3.aud
|
||||
ImpactSounds: ssplash3.aud
|
||||
ValidImpactTypes: Water
|
||||
|
||||
ObeliskLaserFire:
|
||||
|
||||
@@ -11,7 +11,7 @@ UnitExplode:
|
||||
DamageTypes: Prone50Percent, TriggerProne, SmallExplosionDeath
|
||||
Warhead@2Eff: CreateEffect
|
||||
Explosions: large_twlt
|
||||
ImpactSound: expnew09.aud
|
||||
ImpactSounds: expnew09.aud
|
||||
|
||||
UnitExplodeSmall:
|
||||
Warhead@1Dam: SpreadDamage
|
||||
@@ -25,7 +25,7 @@ UnitExplodeSmall:
|
||||
DamageTypes: Prone50Percent, TriggerProne, SmallExplosionDeath
|
||||
Warhead@2Eff: CreateEffect
|
||||
Explosions: medium_brnl
|
||||
ImpactSound: expnew13.aud
|
||||
ImpactSounds: expnew13.aud
|
||||
|
||||
TiberiumExplosion:
|
||||
Warhead@1Dam: SpreadDamage
|
||||
@@ -42,7 +42,7 @@ TiberiumExplosion:
|
||||
Size: 1,1
|
||||
Warhead@3Eff: CreateEffect
|
||||
Explosions: large_explosion
|
||||
ImpactSound: expnew09.aud
|
||||
ImpactSounds: expnew09.aud
|
||||
|
||||
SmallDebris:
|
||||
ReloadDelay: 60
|
||||
|
||||
@@ -20,12 +20,12 @@
|
||||
DamageTypes: Prone50Percent, TriggerProne, SmallExplosionDeath
|
||||
Warhead@2Eff: CreateEffect
|
||||
Explosions: medium_clsn
|
||||
ImpactSound: expnew14.aud
|
||||
ImpactSounds: expnew14.aud
|
||||
InvalidImpactTypes: Water
|
||||
Warhead@3EffWater: CreateEffect
|
||||
Explosions: small_watersplash
|
||||
ExplosionPalette: player
|
||||
ImpactSound: ssplash3.aud
|
||||
ImpactSounds: ssplash3.aud
|
||||
ValidImpactTypes: Water
|
||||
Warhead@4Smu: LeaveSmudge
|
||||
SmudgeType: SmallCrater
|
||||
@@ -48,12 +48,12 @@
|
||||
DamageTypes: Prone50Percent, TriggerProne, SmallExplosionDeath
|
||||
Warhead@2Eff: CreateEffect
|
||||
Explosions: large_clsn
|
||||
ImpactSound: expnew14.aud
|
||||
ImpactSounds: expnew14.aud
|
||||
InvalidImpactTypes: Water
|
||||
Warhead@3EffWater: CreateEffect
|
||||
Explosions: small_watersplash
|
||||
ExplosionPalette: player
|
||||
ImpactSound: ssplash3.aud
|
||||
ImpactSounds: ssplash3.aud
|
||||
ValidImpactTypes: Water
|
||||
Warhead@4Smu: LeaveSmudge
|
||||
SmudgeType: MediumCrater
|
||||
@@ -82,12 +82,12 @@
|
||||
DamageTypes: Prone50Percent, TriggerProne, SmallExplosionDeath
|
||||
Warhead@2Eff: CreateEffect
|
||||
Explosions: medium_clsn
|
||||
ImpactSound: expnew14.aud
|
||||
ImpactSounds: expnew14.aud
|
||||
InvalidImpactTypes: Water
|
||||
Warhead@3EffWater: CreateEffect
|
||||
Explosions: small_watersplash
|
||||
ExplosionPalette: player
|
||||
ImpactSound: ssplash3.aud
|
||||
ImpactSounds: ssplash3.aud
|
||||
ValidImpactTypes: Water
|
||||
Warhead@4Smu: LeaveSmudge
|
||||
SmudgeType: MediumCrater
|
||||
@@ -116,12 +116,12 @@
|
||||
DamageTypes: Prone100Percent, TriggerProne, ExplosionDeath
|
||||
Warhead@2Eff: CreateEffect
|
||||
Explosions: large_explosion
|
||||
ImpactSound: expnew06.aud
|
||||
ImpactSounds: expnew06.aud
|
||||
InvalidImpactTypes: Water
|
||||
Warhead@3EffWater: CreateEffect
|
||||
Explosions: small_watersplash
|
||||
ExplosionPalette: player
|
||||
ImpactSound: ssplash2.aud
|
||||
ImpactSounds: ssplash2.aud
|
||||
ValidImpactTypes: Water
|
||||
Warhead@4Smu: LeaveSmudge
|
||||
SmudgeType: MediumCrater
|
||||
|
||||
@@ -27,17 +27,17 @@ Bazooka:
|
||||
DamageTypes: Prone50Percent, TriggerProne, SmallExplosionDeath
|
||||
Warhead@2Eff: CreateEffect
|
||||
Explosions: small_clsn
|
||||
ImpactSound: expnew12.aud
|
||||
ImpactSounds: expnew12.aud
|
||||
InvalidImpactTypes: Water, Air, AirHit
|
||||
Warhead@3EffWater: CreateEffect
|
||||
Explosions: small_watersplash
|
||||
ExplosionPalette: player
|
||||
ImpactSound: ssplash3.aud
|
||||
ImpactSounds: ssplash3.aud
|
||||
ValidImpactTypes: Water
|
||||
Warhead@4EffAir: CreateEffect
|
||||
ValidImpactTypes: Air, AirHit
|
||||
Explosions: tiny_twlt
|
||||
ImpactSound: expnew05.aud
|
||||
ImpactSounds: expnew05.aud
|
||||
Warhead@5Smu: LeaveSmudge
|
||||
SmudgeType: SmallCrater
|
||||
|
||||
@@ -71,17 +71,17 @@ HoverMissile:
|
||||
DamageTypes: Prone50Percent, TriggerProne, SmallExplosionDeath
|
||||
Warhead@2Eff: CreateEffect
|
||||
Explosions: small_clsn
|
||||
ImpactSound: expnew12.aud
|
||||
ImpactSounds: expnew12.aud
|
||||
InvalidImpactTypes: Water, Air, AirHit
|
||||
Warhead@3EffWater: CreateEffect
|
||||
Explosions: small_watersplash
|
||||
ExplosionPalette: player
|
||||
ImpactSound: ssplash3.aud
|
||||
ImpactSounds: ssplash3.aud
|
||||
ValidImpactTypes: Water
|
||||
Warhead@4EffAir: CreateEffect
|
||||
Explosions: small_twlt
|
||||
ValidImpactTypes: Air, AirHit
|
||||
ImpactSound: expnew06.aud
|
||||
ImpactSounds: expnew06.aud
|
||||
Warhead@5: LeaveSmudge
|
||||
SmudgeType: SmallCrater
|
||||
|
||||
@@ -114,12 +114,12 @@ MammothTusk:
|
||||
DamageTypes: Explosion
|
||||
Warhead@2Eff: CreateEffect
|
||||
Explosions: medium_twlt
|
||||
ImpactSound: expnew07.aud
|
||||
ImpactSounds: expnew07.aud
|
||||
InvalidImpactTypes: Water
|
||||
Warhead@3EffWater: CreateEffect
|
||||
Explosions: small_watersplash
|
||||
ExplosionPalette: player
|
||||
ImpactSound: ssplash3.aud
|
||||
ImpactSounds: ssplash3.aud
|
||||
ValidImpactTypes: Water
|
||||
|
||||
BikeMissile:
|
||||
@@ -153,12 +153,12 @@ BikeMissile:
|
||||
DamageTypes: Prone50Percent, TriggerProne, SmallExplosionDeath
|
||||
Warhead@2Eff: CreateEffect
|
||||
Explosions: small_clsn
|
||||
ImpactSound: expnew12.aud
|
||||
ImpactSounds: expnew12.aud
|
||||
InvalidImpactTypes: Water
|
||||
Warhead@3EffWater: CreateEffect
|
||||
Explosions: small_watersplash
|
||||
ExplosionPalette: player
|
||||
ImpactSound: ssplash3.aud
|
||||
ImpactSounds: ssplash3.aud
|
||||
ValidImpactTypes: Water
|
||||
Warhead@4Smu: LeaveSmudge
|
||||
SmudgeType: SmallCrater
|
||||
@@ -193,17 +193,17 @@ Dragon:
|
||||
DamageTypes: Prone50Percent, TriggerProne, SmallExplosionDeath
|
||||
Warhead@2Eff: CreateEffect
|
||||
Explosions: small_clsn
|
||||
ImpactSound: expnew12.aud
|
||||
ImpactSounds: expnew12.aud
|
||||
InvalidImpactTypes: Water, Air, AirHit
|
||||
Warhead@3EffWater: CreateEffect
|
||||
Explosions: small_watersplash
|
||||
ExplosionPalette: player
|
||||
ImpactSound: ssplash3.aud
|
||||
ImpactSounds: ssplash3.aud
|
||||
ValidImpactTypes: Water
|
||||
Warhead@4EffAir: CreateEffect
|
||||
Explosions: small_twlt
|
||||
ValidImpactTypes: Air, AirHit
|
||||
ImpactSound: expnew06.aud
|
||||
ImpactSounds: expnew06.aud
|
||||
Warhead@5Smu: LeaveSmudge
|
||||
SmudgeType: SmallCrater
|
||||
|
||||
@@ -237,17 +237,17 @@ Hellfire:
|
||||
DamageTypes: Prone50Percent, TriggerProne, SmallExplosionDeath
|
||||
Warhead@2Eff: CreateEffect
|
||||
Explosions: small_clsn
|
||||
ImpactSound: expnew12.aud
|
||||
ImpactSounds: expnew12.aud
|
||||
InvalidImpactTypes: Water, Air, AirHit
|
||||
Warhead@3EffWater: CreateEffect
|
||||
Explosions: small_watersplash
|
||||
ExplosionPalette: player
|
||||
ImpactSound: ssplash3.aud
|
||||
ImpactSounds: ssplash3.aud
|
||||
ValidImpactTypes: Water
|
||||
Warhead@4EffAir: CreateEffect
|
||||
Explosions: small_twlt
|
||||
ValidImpactTypes: Air, AirHit
|
||||
ImpactSound: expnew06.aud
|
||||
ImpactSounds: expnew06.aud
|
||||
Warhead@5Smu: LeaveSmudge
|
||||
SmudgeType: SmallCrater
|
||||
|
||||
@@ -274,4 +274,4 @@ RedEye2:
|
||||
DamageTypes: SmallExplosionDeath
|
||||
Warhead@2Eff: CreateEffect
|
||||
Explosions: tiny_twlt
|
||||
ImpactSound: expnew05.aud
|
||||
ImpactSounds: expnew05.aud
|
||||
|
||||
@@ -43,7 +43,7 @@ FiendShard:
|
||||
Warhead@3EffWater: CreateEffect
|
||||
Explosions: small_watersplash
|
||||
ExplosionPalette: player
|
||||
ImpactSound: ssplash3.aud
|
||||
ImpactSounds: ssplash3.aud
|
||||
ValidImpactTypes: Water
|
||||
|
||||
SlimeAttack:
|
||||
|
||||
@@ -26,12 +26,12 @@ MultiCluster:
|
||||
DamageTypes: Prone50Percent, TriggerProne, ExplosionDeath
|
||||
Warhead@2Eff: CreateEffect
|
||||
Explosions: large_explosion
|
||||
ImpactSound: expnew09.aud
|
||||
ImpactSounds: expnew09.aud
|
||||
InvalidImpactTypes: Water
|
||||
Warhead@3EffWater: CreateEffect
|
||||
Explosions: small_watersplash
|
||||
ExplosionPalette: player
|
||||
ImpactSound: ssplash2.aud
|
||||
ImpactSounds: ssplash2.aud
|
||||
ValidImpactTypes: Water
|
||||
Warhead@4Smu: LeaveSmudge
|
||||
SmudgeType: MediumCrater
|
||||
@@ -62,7 +62,7 @@ IonCannon:
|
||||
DamageTypes: Prone100Percent, TriggerProne, EnergyDeath
|
||||
Warhead@2Eff_impact: CreateEffect
|
||||
Explosions: ionring
|
||||
ImpactSound: ion1.aud
|
||||
ImpactSounds: ion1.aud
|
||||
Warhead@3Dam_area: SpreadDamage
|
||||
Spread: 1c0
|
||||
Damage: 250
|
||||
@@ -104,7 +104,7 @@ ClusterMissile:
|
||||
DamageTypes: Prone50Percent, TriggerProne, FireDeath
|
||||
Warhead@SoundEffect0: CreateEffect
|
||||
Explosions: large_explosion
|
||||
ImpactSound: expnew19.aud
|
||||
ImpactSounds: expnew19.aud
|
||||
Warhead@ResourceDestruction0: DestroyResource
|
||||
Size: 1
|
||||
Warhead@ClusterSmudges0: LeaveSmudge
|
||||
|
||||
Reference in New Issue
Block a user