Fix water splash on bridge in RA
On bleed, both the explosion as well as the water splash warhead of weapons triggered on bridges, since they have both the Ground and Water target types. Ground cannot be made invalid for water splashes without causing regressions elsewhere, so a new Bridge target type is introduced to explicitly make bridges invalid targets for water splash effect warheads.
This commit is contained in:
committed by
Oliver Brakmann
parent
23382dc508
commit
b68c935807
@@ -940,7 +940,7 @@
|
|||||||
Name: Bridge
|
Name: Bridge
|
||||||
ShowOwnerRow: false
|
ShowOwnerRow: false
|
||||||
Targetable:
|
Targetable:
|
||||||
TargetTypes: Ground, Water
|
TargetTypes: Ground, Water, Bridge
|
||||||
RequiresForceFire: true
|
RequiresForceFire: true
|
||||||
Building:
|
Building:
|
||||||
Footprint: ____ ____
|
Footprint: ____ ____
|
||||||
|
|||||||
@@ -26,7 +26,7 @@
|
|||||||
Explosions: small_splash
|
Explosions: small_splash
|
||||||
ImpactSounds: splash9.aud
|
ImpactSounds: splash9.aud
|
||||||
ValidTargets: Water, Underwater
|
ValidTargets: Water, Underwater
|
||||||
InvalidTargets: Ship, Structure
|
InvalidTargets: Ship, Structure, Bridge
|
||||||
|
|
||||||
25mm:
|
25mm:
|
||||||
Inherits: ^Cannon
|
Inherits: ^Cannon
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
Explosions: large_splash
|
Explosions: large_splash
|
||||||
ImpactSounds: splash9.aud
|
ImpactSounds: splash9.aud
|
||||||
ValidTargets: Water, Underwater
|
ValidTargets: Water, Underwater
|
||||||
InvalidTargets: Ship, Structure
|
InvalidTargets: Ship, Structure, Bridge
|
||||||
|
|
||||||
CrateNapalm:
|
CrateNapalm:
|
||||||
Inherits: ^Explosion
|
Inherits: ^Explosion
|
||||||
|
|||||||
@@ -35,7 +35,7 @@
|
|||||||
Explosions: med_splash
|
Explosions: med_splash
|
||||||
ImpactSounds: splash9.aud
|
ImpactSounds: splash9.aud
|
||||||
ValidTargets: Water, Underwater
|
ValidTargets: Water, Underwater
|
||||||
InvalidTargets: Ship, Structure
|
InvalidTargets: Ship, Structure, Bridge
|
||||||
|
|
||||||
^AntiAirMissile:
|
^AntiAirMissile:
|
||||||
Inherits: ^AntiGroundMissile
|
Inherits: ^AntiGroundMissile
|
||||||
@@ -258,7 +258,7 @@ TorpTube:
|
|||||||
Explosions: large_splash
|
Explosions: large_splash
|
||||||
ImpactSounds: splash9.aud
|
ImpactSounds: splash9.aud
|
||||||
ValidTargets: Water
|
ValidTargets: Water
|
||||||
InvalidTargets: Ship, Structure, Underwater
|
InvalidTargets: Ship, Structure, Underwater, Bridge
|
||||||
|
|
||||||
^SubMissileDefault:
|
^SubMissileDefault:
|
||||||
Inherits: ^AntiGroundMissile
|
Inherits: ^AntiGroundMissile
|
||||||
|
|||||||
@@ -55,7 +55,7 @@ FLAK-23-AG:
|
|||||||
Warhead@3EffWater: CreateEffect
|
Warhead@3EffWater: CreateEffect
|
||||||
Explosions: small_splash
|
Explosions: small_splash
|
||||||
ValidTargets: Water, Underwater
|
ValidTargets: Water, Underwater
|
||||||
InvalidTargets: Ship, Structure
|
InvalidTargets: Ship, Structure, Bridge
|
||||||
|
|
||||||
^HeavyMG:
|
^HeavyMG:
|
||||||
ReloadDelay: 30
|
ReloadDelay: 30
|
||||||
@@ -79,7 +79,7 @@ FLAK-23-AG:
|
|||||||
Warhead@3EffWater: CreateEffect
|
Warhead@3EffWater: CreateEffect
|
||||||
Explosions: water_piffs
|
Explosions: water_piffs
|
||||||
ValidTargets: Water, Underwater
|
ValidTargets: Water, Underwater
|
||||||
InvalidTargets: Ship, Structure
|
InvalidTargets: Ship, Structure, Bridge
|
||||||
|
|
||||||
^LightMG:
|
^LightMG:
|
||||||
Inherits: ^HeavyMG
|
Inherits: ^HeavyMG
|
||||||
@@ -115,7 +115,7 @@ Vulcan:
|
|||||||
Warhead@4Eff_2Water: CreateEffect
|
Warhead@4Eff_2Water: CreateEffect
|
||||||
Explosions: water_piffs
|
Explosions: water_piffs
|
||||||
ValidTargets: Water, Underwater
|
ValidTargets: Water, Underwater
|
||||||
InvalidTargets: Ship, Structure
|
InvalidTargets: Ship, Structure, Bridge
|
||||||
Delay: 2
|
Delay: 2
|
||||||
Warhead@5Dam_3: SpreadDamage
|
Warhead@5Dam_3: SpreadDamage
|
||||||
Spread: 128
|
Spread: 128
|
||||||
@@ -135,7 +135,7 @@ Vulcan:
|
|||||||
Warhead@6Eff_3Water: CreateEffect
|
Warhead@6Eff_3Water: CreateEffect
|
||||||
Explosions: water_piffs
|
Explosions: water_piffs
|
||||||
ValidTargets: Water, Underwater
|
ValidTargets: Water, Underwater
|
||||||
InvalidTargets: Ship, Structure
|
InvalidTargets: Ship, Structure, Bridge
|
||||||
Delay: 4
|
Delay: 4
|
||||||
Warhead@7Dam_4: SpreadDamage
|
Warhead@7Dam_4: SpreadDamage
|
||||||
Spread: 128
|
Spread: 128
|
||||||
@@ -155,7 +155,7 @@ Vulcan:
|
|||||||
Warhead@8Eff_4Water: CreateEffect
|
Warhead@8Eff_4Water: CreateEffect
|
||||||
Explosions: water_piffs
|
Explosions: water_piffs
|
||||||
ValidTargets: Water, Underwater
|
ValidTargets: Water, Underwater
|
||||||
InvalidTargets: Ship, Structure
|
InvalidTargets: Ship, Structure, Bridge
|
||||||
Delay: 6
|
Delay: 6
|
||||||
Warhead@9Dam_5: SpreadDamage
|
Warhead@9Dam_5: SpreadDamage
|
||||||
Spread: 128
|
Spread: 128
|
||||||
@@ -175,7 +175,7 @@ Vulcan:
|
|||||||
Warhead@10Eff_5Water: CreateEffect
|
Warhead@10Eff_5Water: CreateEffect
|
||||||
Explosions: water_piffs
|
Explosions: water_piffs
|
||||||
ValidTargets: Water, Underwater
|
ValidTargets: Water, Underwater
|
||||||
InvalidTargets: Ship, Structure
|
InvalidTargets: Ship, Structure, Bridge
|
||||||
Delay: 8
|
Delay: 8
|
||||||
Warhead@11Dam_6: SpreadDamage
|
Warhead@11Dam_6: SpreadDamage
|
||||||
Spread: 128
|
Spread: 128
|
||||||
@@ -195,7 +195,7 @@ Vulcan:
|
|||||||
Warhead@12Eff_6Water: CreateEffect
|
Warhead@12Eff_6Water: CreateEffect
|
||||||
Explosions: water_piffs
|
Explosions: water_piffs
|
||||||
ValidTargets: Water, Underwater
|
ValidTargets: Water, Underwater
|
||||||
InvalidTargets: Ship, Structure
|
InvalidTargets: Ship, Structure, Bridge
|
||||||
Delay: 10
|
Delay: 10
|
||||||
|
|
||||||
ChainGun:
|
ChainGun:
|
||||||
@@ -272,7 +272,7 @@ SilencedPPK:
|
|||||||
Warhead@3EffWater: CreateEffect
|
Warhead@3EffWater: CreateEffect
|
||||||
Explosions: water_piffs
|
Explosions: water_piffs
|
||||||
ValidTargets: Water, Underwater
|
ValidTargets: Water, Underwater
|
||||||
InvalidTargets: Ship, Structure
|
InvalidTargets: Ship, Structure, Bridge
|
||||||
|
|
||||||
Colt45:
|
Colt45:
|
||||||
Inherits: ^SnipeWeapon
|
Inherits: ^SnipeWeapon
|
||||||
@@ -286,7 +286,7 @@ Colt45:
|
|||||||
Warhead@3EffWater: CreateEffect
|
Warhead@3EffWater: CreateEffect
|
||||||
Explosions: water_piff
|
Explosions: water_piff
|
||||||
ValidTargets: Water, Underwater
|
ValidTargets: Water, Underwater
|
||||||
InvalidTargets: Ship, Structure
|
InvalidTargets: Ship, Structure, Bridge
|
||||||
|
|
||||||
Sniper:
|
Sniper:
|
||||||
Inherits: ^SnipeWeapon
|
Inherits: ^SnipeWeapon
|
||||||
|
|||||||
Reference in New Issue
Block a user