Add explosion effects to RA bridges

This commit is contained in:
JovialFeline
2025-03-05 10:17:01 -05:00
committed by Paul Chote
parent 7e669013d9
commit ad3caf7e00
3 changed files with 27 additions and 0 deletions

View File

@@ -564,6 +564,7 @@ OILB:
BR1: BR1:
Inherits: ^Bridge Inherits: ^Bridge
Inherits@EXPLOSIVE: ^ExplosiveBridge
Bridge: Bridge:
Template: 235 Template: 235
DamagedTemplate: 236 DamagedTemplate: 236
@@ -583,6 +584,7 @@ BR1:
BR2: BR2:
Inherits: ^Bridge Inherits: ^Bridge
Inherits@EXPLOSIVE: ^ExplosiveBridge
Bridge: Bridge:
Template: 238 Template: 238
DamagedTemplate: 239 DamagedTemplate: 239
@@ -602,6 +604,7 @@ BR2:
BR3: BR3:
Inherits: ^Bridge Inherits: ^Bridge
Inherits@EXPLOSIVE: ^ExplosiveBridge
Bridge: Bridge:
Long: true Long: true
ShorePieces: br1,br2 ShorePieces: br1,br2
@@ -616,6 +619,7 @@ BR3:
BRIDGE1: BRIDGE1:
Inherits: ^Bridge Inherits: ^Bridge
Inherits@EXPLOSIVE: ^ExplosiveBridge
Bridge: Bridge:
Template: 131 Template: 131
DamagedTemplate: 378 DamagedTemplate: 378
@@ -634,6 +638,7 @@ BRIDGE1:
BRIDGE2: BRIDGE2:
Inherits: ^Bridge Inherits: ^Bridge
Inherits@EXPLOSIVE: ^ExplosiveBridge
Bridge: Bridge:
Template: 133 Template: 133
DamagedTemplate: 379 DamagedTemplate: 379
@@ -652,6 +657,7 @@ BRIDGE2:
BRIDGE3: BRIDGE3:
Inherits: ^Bridge Inherits: ^Bridge
Inherits@EXPLOSIVE: ^ExplosiveBridge
Bridge: Bridge:
Template: 620 Template: 620
DamagedTemplate: 621 DamagedTemplate: 621
@@ -670,6 +676,7 @@ BRIDGE3:
BRIDGE4: BRIDGE4:
Inherits: ^Bridge Inherits: ^Bridge
Inherits@EXPLOSIVE: ^ExplosiveBridge
Bridge: Bridge:
Template: 624 Template: 624
DamagedTemplate: 625 DamagedTemplate: 625
@@ -688,6 +695,7 @@ BRIDGE4:
SBRIDGE1: SBRIDGE1:
Inherits: ^Bridge Inherits: ^Bridge
Inherits@EXPLOSIVE: ^ExplosiveBridge
Bridge: Bridge:
Template: 520 Template: 520
DamagedTemplate: 521 DamagedTemplate: 521
@@ -706,6 +714,7 @@ SBRIDGE1:
SBRIDGE2: SBRIDGE2:
Inherits: ^Bridge Inherits: ^Bridge
Inherits@EXPLOSIVE: ^ExplosiveBridge
Bridge: Bridge:
Template: 531 Template: 531
DamagedTemplate: 532 DamagedTemplate: 532
@@ -724,6 +733,7 @@ SBRIDGE2:
SBRIDGE3: SBRIDGE3:
Inherits: ^Bridge Inherits: ^Bridge
Inherits@EXPLOSIVE: ^ExplosiveBridge
Bridge: Bridge:
Template: 523 Template: 523
DamagedTemplate: 524 DamagedTemplate: 524
@@ -737,6 +747,7 @@ SBRIDGE3:
SBRIDGE4: SBRIDGE4:
Inherits: ^Bridge Inherits: ^Bridge
Inherits@EXPLOSIVE: ^ExplosiveBridge
Bridge: Bridge:
Template: 527 Template: 527
DamagedTemplate: 528 DamagedTemplate: 528

View File

@@ -1151,6 +1151,16 @@
Duration: 15 Duration: 15
Intensity: 6 Intensity: 6
^ExplosiveBridge:
ExplosionOnDamageTransition@DAMAGED:
DamageState: Heavy
Weapon: BridgeExplode
ExplosionOnDamageTransition@COLLAPSED:
DamageState: Dead
Weapon: BridgeExplode
SoundOnDamageTransition:
DestroyedSounds: crmble2.aud
^Rock: ^Rock:
Inherits@1: ^SpriteActor Inherits@1: ^SpriteActor
Interactable: Interactable:

View File

@@ -184,6 +184,12 @@ BarrelCluster:
Warhead@Smu: LeaveSmudge Warhead@Smu: LeaveSmudge
SmudgeType: Scorch SmudgeType: Scorch
BridgeExplode:
Inherits: VisualExplode
Warhead@2Eff: CreateEffect
Explosions: large_napalm
ValidTargets: Bridge, Ground, Water
ATMine: ATMine:
ValidTargets: Ground, Water, GroundActor, WaterActor ValidTargets: Ground, Water, GroundActor, WaterActor
Warhead@1Dam: SpreadDamage Warhead@1Dam: SpreadDamage