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

View File

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

View File

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