Merge pull request #12999 from reaperrr/RevealOnDeath

Add RevealOnDeath trait
This commit is contained in:
Paul Chote
2017-05-01 11:17:18 +01:00
committed by GitHub
5 changed files with 98 additions and 1 deletions

View File

@@ -170,6 +170,9 @@
Offset: -12, -12
RequiresCondition: carryall-reserved
RevealOnFire:
RevealOnDeath:
Duration: 100
Radius: 2c512
^Tank:
Inherits: ^Vehicle
@@ -298,6 +301,8 @@
Voiced:
VoiceSet: InfantryVoice
RevealOnFire:
RevealOnDeath:
Duration: 100
^Plane:
Inherits@1: ^ExistsInWorld
@@ -372,6 +377,9 @@
Pieces: 2, 5
Range: 1c512, 4c0
WithMakeAnimation:
RevealOnDeath:
Duration: 100
Radius: 4c768
^Defense:
Inherits: ^Building

View File

@@ -111,6 +111,8 @@ construction_yard:
ReferencePoint: Top
ZOffset: 256
RequiresCondition: primary
RevealOnDeath:
Radius: 5c768
wind_trap:
Inherits: ^Building
@@ -149,6 +151,8 @@ wind_trap:
Amount: 200
ScalePowerWithHealth:
ProvidesPrerequisite@buildingname:
RevealOnDeath:
Radius: 3c768
barracks:
Inherits: ^Building
@@ -223,6 +227,8 @@ barracks:
ReferencePoint: Top
ZOffset: 256
RequiresCondition: primary
RevealOnDeath:
Radius: 3c768
refinery:
Inherits: ^Building
@@ -325,6 +331,8 @@ silo:
Weapons: Debris, Debris2, Debris3, Debris4
Pieces: 3, 5
Range: 2c0, 5c0
RevealOnDeath:
Radius: 2c768
light_factory:
Inherits: ^Building
@@ -742,6 +750,8 @@ large_gun_turret:
Amount: -60
SelectionDecorations:
VisualBounds: 32,40,0,-8
RevealOnDeath:
Radius: 5c768
repair_pad:
Inherits: ^Building