Fix vehicle explosion and missile impact sounds in Tiberian Dawn

This commit is contained in:
VonNah
2020-12-28 19:09:32 +01:00
committed by Paul Chote
parent 93fa9bdfb8
commit bc9cd57fa0
3 changed files with 38 additions and 2 deletions

View File

@@ -80,6 +80,9 @@ HARV:
EffectiveOwnerFromOwner: true EffectiveOwnerFromOwner: true
WithHarvestAnimation: WithHarvestAnimation:
WithDockingAnimation: WithDockingAnimation:
Explodes@EMPTY:
Weapon: UnitExplodeHarvEmpty
EmptyWeapon: UnitExplodeHarvEmpty
Explodes: Explodes:
RequiresCondition: !no-tiberium RequiresCondition: !no-tiberium
Weapon: TiberiumExplosion Weapon: TiberiumExplosion
@@ -160,6 +163,9 @@ APC:
Types: Infantry Types: Infantry
MaxWeight: 5 MaxWeight: 5
LoadingCondition: notmobile LoadingCondition: notmobile
Explodes:
Weapon: UnitExplodeBig
EmptyWeapon: UnitExplodeBig
SpawnActorOnDeath: SpawnActorOnDeath:
Actor: APC.Husk Actor: APC.Husk
OwnerType: InternalName OwnerType: InternalName
@@ -454,6 +460,9 @@ MTNK:
AttackTurreted: AttackTurreted:
WithMuzzleOverlay: WithMuzzleOverlay:
WithSpriteTurret: WithSpriteTurret:
Explodes:
Weapon: UnitExplodeBig
EmptyWeapon: UnitExplodeBig
SpawnActorOnDeath: SpawnActorOnDeath:
Actor: MTNK.Husk Actor: MTNK.Husk
OwnerType: InternalName OwnerType: InternalName
@@ -512,6 +521,9 @@ HTNK:
Delay: 10 Delay: 10
StartIfBelow: 50 StartIfBelow: 50
DamageCooldown: 200 DamageCooldown: 200
Explodes:
Weapon: UnitExplodeMech
EmptyWeapon: UnitExplodeMech
SpawnActorOnDeath: SpawnActorOnDeath:
Actor: HTNK.Husk Actor: HTNK.Husk
OwnerType: InternalName OwnerType: InternalName
@@ -560,6 +572,9 @@ MSAM:
TargetFrozenActors: True TargetFrozenActors: True
ForceFireIgnoresActors: True ForceFireIgnoresActors: True
WithSpriteTurret: WithSpriteTurret:
Explodes:
Weapon: UnitExplodeMech
EmptyWeapon: UnitExplodeMech
SpawnActorOnDeath: SpawnActorOnDeath:
Actor: MSAM.Husk Actor: MSAM.Husk
OwnerType: InternalName OwnerType: InternalName

View File

@@ -33,7 +33,7 @@ FlametankExplode:
DamageTypes: Prone50Percent, TriggerProne, FireDeath DamageTypes: Prone50Percent, TriggerProne, FireDeath
Warhead@2Eff: CreateEffect Warhead@2Eff: CreateEffect
Explosions: big_napalm Explosions: big_napalm
ImpactSounds: xplobig6.aud ImpactSounds: flamer2.aud
Warhead@3Smu: LeaveSmudge Warhead@3Smu: LeaveSmudge
SmudgeType: Scorch SmudgeType: Scorch
@@ -74,8 +74,26 @@ UnitExplodeSmall:
Explosions: big_frag Explosions: big_frag
ImpactSounds: xplobig4.aud ImpactSounds: xplobig4.aud
UnitExplodeBig:
Inherits: ^DamagingExplosionHE
Warhead@2Eff: CreateEffect
Explosions: big_frag
ImpactSounds: xplobig6.aud
UnitExplodeMech:
Inherits: ^DamagingExplosionHE
Warhead@2Eff: CreateEffect
Explosions: poof
ImpactSounds: xplosml2.aud
UnitExplodeHarvEmpty:
Inherits: ^DamagingExplosionHE
Warhead@2Eff: CreateEffect
Explosions: building
ImpactSounds: xplos.aud
UnitExplodeStealthTank: UnitExplodeStealthTank:
Inherits: UnitExplodeSmall Inherits: UnitExplodeBig
Warhead@1Dam: SpreadDamage Warhead@1Dam: SpreadDamage
InvalidTargets: StealthTank InvalidTargets: StealthTank

View File

@@ -130,6 +130,7 @@ MammothMissiles:
Heavy: 44 Heavy: 44
Warhead@3Eff: CreateEffect Warhead@3Eff: CreateEffect
Explosions: small_poof Explosions: small_poof
ImpactSounds: xplobig4.aud
Warhead@4EffAir: CreateEffect Warhead@4EffAir: CreateEffect
Explosions: small_building Explosions: small_building
@@ -164,6 +165,7 @@ MammothMissiles:
Heavy: 48 Heavy: 48
Warhead@3Eff: CreateEffect Warhead@3Eff: CreateEffect
Explosions: med_frag Explosions: med_frag
ImpactSounds: xplobig4.aud
227mm.stnk: 227mm.stnk:
Inherits: ^MissileWeapon Inherits: ^MissileWeapon
@@ -214,6 +216,7 @@ BoatMissile:
DamageTypes: Prone50Percent, TriggerProne, SmallExplosionDeath DamageTypes: Prone50Percent, TriggerProne, SmallExplosionDeath
Warhead@3Eff: CreateEffect Warhead@3Eff: CreateEffect
Explosions: small_poof Explosions: small_poof
ImpactSounds: xplobig4.aud
Warhead@4EffAir: CreateEffect Warhead@4EffAir: CreateEffect
Explosions: small_building Explosions: small_building