Fix RA effect waheads

- take Trees into consideration (they don't have Ground TargetType)
- fixed the delayed effect warheads on Vulcan
This commit is contained in:
reaperrr
2017-07-22 20:36:09 +02:00
committed by abcdefg30
parent d61939f59f
commit 20efd1fc29
5 changed files with 27 additions and 21 deletions

View File

@@ -21,7 +21,7 @@
Warhead@3Eff: CreateEffect
Explosions: small_explosion
ImpactSounds: kaboom12.aud
ValidTargets: Ground, Ship
ValidTargets: Ground, Ship, Trees
Warhead@4EffWater: CreateEffect
Explosions: small_splash
ImpactSounds: splash9.aud

View File

@@ -16,7 +16,7 @@
Warhead@2Eff: CreateEffect
Explosions: self_destruct
ImpactSounds: kaboom22.aud
ValidTargets: Ground, Air, Ship
ValidTargets: Ground, Air, Ship, Trees
Warhead@3EffWater: CreateEffect
Explosions: large_splash
ImpactSounds: splash9.aud
@@ -39,7 +39,7 @@ CrateNapalm:
Warhead@2Eff: CreateEffect
Explosions: napalm
ImpactSounds: firebl3.aud
ValidTargets: Ground, Water, Air
ValidTargets: Ground, Water, Air, Trees
-Warhead@3EffWater: CreateEffect
Warhead@Smu: LeaveSmudge
SmudgeType: Scorch

View File

@@ -30,7 +30,7 @@
Warhead@3Eff: CreateEffect
Explosions: med_explosion
ImpactSounds: kaboom25.aud
ValidTargets: Ground, Air, Ship
ValidTargets: Ground, Air, Ship, Trees
Warhead@4EffWater: CreateEffect
Explosions: med_splash
ImpactSounds: splash9.aud
@@ -128,7 +128,7 @@ MammothTusk:
DamageTypes: Prone50Percent, TriggerProne, SmallExplosionDeath
Warhead@3Eff: CreateEffect
ImpactSounds: kaboom12.aud
ValidTargets: Ground
ValidTargets: Ground, Trees
Warhead@5EffAir: CreateEffect
Explosions: med_explosion_air
ImpactSounds: kaboom25.aud

View File

@@ -19,7 +19,7 @@
DamageTypes: Prone50Percent, TriggerProne, DefaultDeath
Warhead@2Eff: CreateEffect
Explosions: small_explosion_air
ValidTargets: Air, Ground, Water
ValidTargets: Air, Ground, Water, Trees
ZSU-23:
Inherits: ^AACannon
@@ -51,7 +51,7 @@ FLAK-23-AG:
ValidTargets: Air, Ground, Water
Warhead@2Eff: CreateEffect
Explosions: flak_explosion_ground
ValidTargets: Ground, Ship, Air
ValidTargets: Ground, Ship, Air, Trees
Warhead@3EffWater: CreateEffect
Explosions: small_splash
ValidTargets: Water, Underwater
@@ -75,7 +75,7 @@ FLAK-23-AG:
DamageTypes: Prone50Percent, TriggerProne, BulletDeath
Warhead@2Eff: CreateEffect
Explosions: piffs
ValidTargets: Ground, Ship, Air
ValidTargets: Ground, Ship, Air, Trees
Warhead@3EffWater: CreateEffect
Explosions: water_piffs
ValidTargets: Water, Underwater
@@ -110,11 +110,12 @@ Vulcan:
DamageTypes: Prone50Percent, TriggerProne, BulletDeath
Warhead@4Eff_2: CreateEffect
Explosions: piffs
ValidTargets: Ground
ValidTargets: Ground, Ship, Trees
Delay: 2
Warhead@4Eff_2Water: CreateEffect
Explosions: water_piffs
ValidTargets: Water
ValidTargets: Water, Underwater
InvalidTargets: Ship, Structure
Delay: 2
Warhead@5Dam_3: SpreadDamage
Spread: 128
@@ -129,11 +130,12 @@ Vulcan:
DamageTypes: Prone50Percent, TriggerProne, BulletDeath
Warhead@6Eff_3: CreateEffect
Explosions: piffs
ValidTargets: Ground
ValidTargets: Ground, Ship, Trees
Delay: 4
Warhead@6Eff_3Water: CreateEffect
Explosions: water_piffs
ValidTargets: Water
ValidTargets: Water, Underwater
InvalidTargets: Ship, Structure
Delay: 4
Warhead@7Dam_4: SpreadDamage
Spread: 128
@@ -148,11 +150,12 @@ Vulcan:
DamageTypes: Prone50Percent, TriggerProne, BulletDeath
Warhead@8Eff_4: CreateEffect
Explosions: piffs
ValidTargets: Ground
ValidTargets: Ground, Ship, Trees
Delay: 6
Warhead@8Eff_4Water: CreateEffect
Explosions: water_piffs
ValidTargets: Water
ValidTargets: Water, Underwater
InvalidTargets: Ship, Structure
Delay: 6
Warhead@9Dam_5: SpreadDamage
Spread: 128
@@ -167,11 +170,12 @@ Vulcan:
DamageTypes: Prone50Percent, TriggerProne, BulletDeath
Warhead@10Eff_5: CreateEffect
Explosions: piffs
ValidTargets: Ground
ValidTargets: Ground, Ship, Trees
Delay: 8
Warhead@10Eff_5Water: CreateEffect
Explosions: water_piffs
ValidTargets: Water
ValidTargets: Water, Underwater
InvalidTargets: Ship, Structure
Delay: 8
Warhead@11Dam_6: SpreadDamage
Spread: 128
@@ -186,11 +190,12 @@ Vulcan:
DamageTypes: Prone50Percent, TriggerProne, BulletDeath
Warhead@12Eff_6: CreateEffect
Explosions: piffs
ValidTargets: Ground
ValidTargets: Ground, Ship, Trees
Delay: 10
Warhead@12Eff_6Water: CreateEffect
Explosions: water_piffs
ValidTargets: Water
ValidTargets: Water, Underwater
InvalidTargets: Ship, Structure
Delay: 10
ChainGun:
@@ -263,7 +268,7 @@ SilencedPPK:
Spread: 128
Warhead@2Eff: CreateEffect
Explosions: piffs
ValidTargets: Ground, Ship, Air
ValidTargets: Ground, Ship, Air, Trees
Warhead@3EffWater: CreateEffect
Explosions: water_piffs
ValidTargets: Water, Underwater
@@ -277,7 +282,7 @@ Colt45:
Damage: 50
Warhead@2Eff: CreateEffect
Explosions: piff
ValidTargets: Ground, Ship, Air
ValidTargets: Ground, Ship, Air, Trees
Warhead@3EffWater: CreateEffect
Explosions: water_piff
ValidTargets: Water, Underwater

View File

@@ -23,7 +23,7 @@ ParaBomb:
Warhead@3Eff: CreateEffect
Explosions: artillery_explosion
ImpactSounds: kaboom15.aud
ValidTargets: Ground, Ship
ValidTargets: Ground, Ship, Trees
Warhead@4EffWater: CreateEffect
Explosions: small_splash
ImpactSounds: splash9.aud
@@ -51,6 +51,7 @@ Atomic:
Explosions: nuke
ImpactSounds: kaboom1.aud
VictimScanRadius: 0
ValidTargets: Ground, Water, Air
Warhead@5Dam_areanuke1: SpreadDamage
Spread: 2c0
Damage: 60