Make Aircraft spawn husks with a neutral owner

This commit is contained in:
abcdefg30
2018-02-11 23:26:55 +01:00
committed by reaperrr
parent bed6b26428
commit 0da8efd9b4
5 changed files with 16 additions and 0 deletions

View File

@@ -317,6 +317,10 @@
HitShape: HitShape:
EditorTilesetFilter: EditorTilesetFilter:
Categories: Aircraft Categories: Aircraft
SpawnActorOnDeath:
RequiresCondition: airborne
OwnerType: InternalName
EffectiveOwnerFromOwner: true
^Infantry: ^Infantry:
Inherits@1: ^ExistsInWorld Inherits@1: ^ExistsInWorld

View File

@@ -27,6 +27,9 @@ carryall.reinforce:
RequiresCondition: airborne RequiresCondition: airborne
SpawnActorOnDeath: SpawnActorOnDeath:
Actor: carryall.husk Actor: carryall.husk
RequiresCondition: airborne
OwnerType: InternalName
EffectiveOwnerFromOwner: true
Carryall: Carryall:
LoadingDelay: 10 LoadingDelay: 10
UnloadingDelay: 15 UnloadingDelay: 15
@@ -95,6 +98,8 @@ ornithopter:
Name: Ornithopter Name: Ornithopter
SpawnActorOnDeath: SpawnActorOnDeath:
Actor: ornithopter.husk Actor: ornithopter.husk
OwnerType: InternalName
EffectiveOwnerFromOwner: true
RejectsOrders: RejectsOrders:
RevealOnFire: RevealOnFire:

View File

@@ -547,6 +547,8 @@
Categories: Aircraft Categories: Aircraft
SpawnActorOnDeath: SpawnActorOnDeath:
RequiresCondition: airborne RequiresCondition: airborne
OwnerType: InternalName
EffectiveOwnerFromOwner: true
Explodes: Explodes:
Weapon: UnitExplode Weapon: UnitExplode
RequiresCondition: !airborne RequiresCondition: !airborne

View File

@@ -30,6 +30,7 @@ DPOD:
PipCount: 5 PipCount: 5
PipType: Ammo PipType: Ammo
PipTypeEmpty: AmmoEmpty PipTypeEmpty: AmmoEmpty
-SpawnActorOnDeath:
DSHP: DSHP:
Inherits: ^Helicopter Inherits: ^Helicopter

View File

@@ -844,6 +844,10 @@
HitShape: HitShape:
EditorTilesetFilter: EditorTilesetFilter:
Categories: Aircraft Categories: Aircraft
SpawnActorOnDeath:
RequiresCondition: airborne
OwnerType: InternalName
EffectiveOwnerFromOwner: true
^Helicopter: ^Helicopter:
Inherits: ^Aircraft Inherits: ^Aircraft