Rework aircraft destruction to use husks instead of the original actor
This commit is contained in:
@@ -29,10 +29,8 @@
|
||||
MaxWeight: 1
|
||||
PipCount: 1
|
||||
minimalUnloadAltitude: 25
|
||||
FallsToEarth:
|
||||
Spins: no
|
||||
Moves: yes
|
||||
Explosion: UnitExplodeScale
|
||||
LeavesHusk:
|
||||
HuskActor: CARRYALL.Husk
|
||||
|
||||
FRIGATE:
|
||||
ParaDrop:
|
||||
@@ -92,10 +90,8 @@ ORNI:
|
||||
WithShadow:
|
||||
Selectable:
|
||||
Bounds: 38,32,0,0
|
||||
FallsToEarth:
|
||||
Spins: no
|
||||
Moves: yes
|
||||
Explosion: UnitExplodeScale
|
||||
LeavesHusk:
|
||||
HuskActor: ORNI.Husk
|
||||
|
||||
ORNI.bomber:
|
||||
CarpetBomb:
|
||||
@@ -122,10 +118,8 @@ ORNI.bomber:
|
||||
-GainsExperience:
|
||||
Tooltip:
|
||||
Name: Ornithopter
|
||||
FallsToEarth:
|
||||
Spins: no
|
||||
Moves: yes
|
||||
Explosion: UnitExplodeScale
|
||||
LeavesHusk:
|
||||
HuskActor: ORNI.bomber.Husk
|
||||
|
||||
CARRYALL.infantry:
|
||||
ParaDrop:
|
||||
@@ -153,10 +147,8 @@ CARRYALL.infantry:
|
||||
-GainsExperience:
|
||||
Tooltip:
|
||||
Name: Carryall
|
||||
FallsToEarth:
|
||||
Spins: no
|
||||
Moves: yes
|
||||
Explosion: UnitExplodeScale
|
||||
LeavesHusk:
|
||||
HuskActor: CARRYALL.infantry.Husk
|
||||
|
||||
BADR:
|
||||
Inherits: CARRYALL.infantry
|
||||
@@ -164,3 +156,70 @@ BADR:
|
||||
LZRange: 4
|
||||
Tooltip:
|
||||
Name: Crate Carryall
|
||||
LeavesHusk:
|
||||
HuskActor: BADR.Husk
|
||||
|
||||
CARRYALL.Husk:
|
||||
Inherits: ^AircraftHusk
|
||||
Tooltip:
|
||||
Name: Carryall
|
||||
Helicopter:
|
||||
ROT: 4
|
||||
Speed: 30
|
||||
RepairBuildings: repair
|
||||
RearmBuildings: starporta,starporto,starporth
|
||||
RenderUnit:
|
||||
Image: carryall
|
||||
WithShadow:
|
||||
|
||||
ORNI.Husk:
|
||||
Inherits: ^AircraftHusk
|
||||
Tooltip:
|
||||
Name: Ornithopter
|
||||
Helicopter:
|
||||
ROT: 6
|
||||
Speed: 40
|
||||
RepairBuildings: repair
|
||||
RearmBuildings: starporta,starporto,starporth
|
||||
RenderUnit:
|
||||
Image: orni
|
||||
WithShadow:
|
||||
|
||||
ORNI.bomber.Husk:
|
||||
Inherits: ^AircraftHusk
|
||||
Tooltip:
|
||||
Name: Ornithopter
|
||||
Plane:
|
||||
ROT: 5
|
||||
Speed: 50
|
||||
RepairBuildings: repair
|
||||
RearmBuildings: starporta,starporto,starporth
|
||||
RenderUnit:
|
||||
Image: orni
|
||||
WithShadow:
|
||||
|
||||
CARRYALL.infantry.Husk:
|
||||
Inherits: ^AircraftHusk
|
||||
Tooltip:
|
||||
Name: Carryall
|
||||
Plane:
|
||||
ROT: 4
|
||||
Speed: 40
|
||||
RepairBuildings: repair
|
||||
RearmBuildings: starporta,starporto,starporth
|
||||
RenderUnit:
|
||||
Image: carryall
|
||||
WithShadow:
|
||||
|
||||
BADR.Husk:
|
||||
Inherits: ^AircraftHusk
|
||||
Tooltip:
|
||||
Name: Crate Carryall
|
||||
Plane:
|
||||
ROT: 4
|
||||
Speed: 40
|
||||
RepairBuildings: repair
|
||||
RearmBuildings: starporta,starporto,starporth
|
||||
RenderUnit:
|
||||
Image: carryall
|
||||
WithShadow:
|
||||
@@ -106,6 +106,15 @@
|
||||
Types:Husk
|
||||
BodyOrientation:
|
||||
|
||||
^AircraftHusk:
|
||||
Inherits: ^Husk
|
||||
-Husk:
|
||||
-Burns:
|
||||
FallsToEarth:
|
||||
Spins: False
|
||||
Moves: True
|
||||
Explosion: UnitExplodeScale
|
||||
|
||||
^Infantry:
|
||||
AppearsOnRadar:
|
||||
Health:
|
||||
|
||||
Reference in New Issue
Block a user