Display EMP effect on EMP'd aircraft's husks

When EMP'd while airborne.
This commit is contained in:
reaperrr
2019-10-22 11:33:06 +02:00
committed by Paul Chote
parent 7a095f30ec
commit a369634ea8
2 changed files with 40 additions and 0 deletions

View File

@@ -116,6 +116,10 @@ ORCA:
RenderSprites:
SpawnActorOnDeath:
Actor: ORCA.Husk
RequiresCondition: !empdisable
SpawnActorOnDeath@EMP:
Actor: ORCA.Husk.EMP
RequiresCondition: empdisable
Rearmable:
RearmActors: gahpad, nahpad
@@ -173,6 +177,10 @@ ORCAB:
RequiresCondition: cruising
SpawnActorOnDeath:
Actor: ORCAB.Husk
RequiresCondition: !empdisable
SpawnActorOnDeath@EMP:
Actor: ORCAB.Husk.EMP
RequiresCondition: empdisable
Rearmable:
RearmActors: gahpad, nahpad
@@ -313,6 +321,10 @@ SCRIN:
DeathSounds:
SpawnActorOnDeath:
Actor: SCRIN.Husk
RequiresCondition: !empdisable
SpawnActorOnDeath@EMP:
Actor: SCRIN.Husk.EMP
RequiresCondition: empdisable
Rearmable:
RearmActors: gahpad, nahpad
@@ -371,6 +383,10 @@ APACHE:
RenderSprites:
SpawnActorOnDeath:
Actor: APACHE.Husk
RequiresCondition: !empdisable
SpawnActorOnDeath@EMP:
Actor: APACHE.Husk.EMP
RequiresCondition: empdisable
Rearmable:
RearmActors: gahpad, nahpad

View File

@@ -21,6 +21,10 @@ ORCA.Husk:
RenderVoxels:
Image: orca
ORCA.Husk.EMP:
Inherits: ORCA.Husk
Inherits@EMP: ^EmpVisualEffects
ORCAB.Husk:
Inherits: ^AircraftHusk
Tooltip:
@@ -33,6 +37,10 @@ ORCAB.Husk:
RenderVoxels:
Image: orcab
ORCAB.Husk.EMP:
Inherits: ORCAB.Husk
Inherits@EMP: ^EmpVisualEffects
ORCATRAN.Husk:
Inherits: ^AircraftHusk
Tooltip:
@@ -45,6 +53,10 @@ ORCATRAN.Husk:
RenderVoxels:
Image: orcatran
ORCATRAN.Husk.EMP:
Inherits: ORCATRAN.Husk
Inherits@EMP: ^EmpVisualEffects
TRNSPORT.Husk:
Inherits: ^AircraftHusk
Tooltip:
@@ -57,6 +69,10 @@ TRNSPORT.Husk:
RenderVoxels:
Image: trnsport
TRNSPORT.Husk.EMP:
Inherits: TRNSPORT.Husk
Inherits@EMP: ^EmpVisualEffects
SCRIN.Husk:
Inherits: ^AircraftHusk
Tooltip:
@@ -69,6 +85,10 @@ SCRIN.Husk:
RenderVoxels:
Image: scrin
SCRIN.Husk.EMP:
Inherits: SCRIN.Husk
Inherits@EMP: ^EmpVisualEffects
APACHE.Husk:
Inherits: ^AircraftHusk
Tooltip:
@@ -83,3 +103,7 @@ APACHE.Husk:
Image: apache
RenderVoxels:
Image: apache
APACHE.Husk.EMP:
Inherits: APACHE.Husk
Inherits@EMP: ^EmpVisualEffects