Make vehicles spawn husks with a neutral owner

This commit is contained in:
abcdefg30
2017-12-05 14:19:39 +01:00
committed by reaperrr
parent a6258485c9
commit 38cb3dea05
3 changed files with 61 additions and 0 deletions

View File

@@ -34,6 +34,8 @@ MCV:
BaseBuilding:
SpawnActorOnDeath:
Actor: MCV.Husk
OwnerType: InternalName
EffectiveOwnerFromOwner: true
SelectionDecorations:
HARV:
@@ -72,6 +74,8 @@ HARV:
Range: 4c0
SpawnActorOnDeath:
Actor: HARV.Husk
OwnerType: InternalName
EffectiveOwnerFromOwner: true
WithHarvestAnimation:
WithDockingAnimation:
Explodes:
@@ -127,6 +131,8 @@ APC:
LoadingCondition: notmobile
SpawnActorOnDeath:
Actor: APC.Husk
OwnerType: InternalName
EffectiveOwnerFromOwner: true
ARTY:
Inherits: ^Tank
@@ -161,6 +167,8 @@ ARTY:
InitialStanceAI: Defend
SpawnActorOnDeath:
Actor: ARTY.Husk
OwnerType: InternalName
EffectiveOwnerFromOwner: true
Explodes:
Weapon: ArtilleryShell
EmptyWeapon: UnitExplode
@@ -200,6 +208,8 @@ FTNK:
EmptyWeapon: FlametankExplode
SpawnActorOnDeath:
Actor: FTNK.Husk
OwnerType: InternalName
EffectiveOwnerFromOwner: true
BGGY:
Inherits: ^Vehicle
@@ -236,6 +246,8 @@ BGGY:
WithSpriteTurret:
SpawnActorOnDeath:
Actor: BGGY.Husk
OwnerType: InternalName
EffectiveOwnerFromOwner: true
BIKE:
Inherits: ^Vehicle
@@ -274,6 +286,8 @@ BIKE:
AttackFrontal:
SpawnActorOnDeath:
Actor: BIKE.Husk
OwnerType: InternalName
EffectiveOwnerFromOwner: true
JEEP:
Inherits: ^Vehicle
@@ -310,6 +324,8 @@ JEEP:
WithSpriteTurret:
SpawnActorOnDeath:
Actor: JEEP.Husk
OwnerType: InternalName
EffectiveOwnerFromOwner: true
LTNK:
Inherits: ^Tank
@@ -349,6 +365,8 @@ LTNK:
WithSpriteTurret:
SpawnActorOnDeath:
Actor: LTNK.Husk
OwnerType: InternalName
EffectiveOwnerFromOwner: true
MTNK:
Inherits: ^Tank
@@ -385,6 +403,8 @@ MTNK:
WithSpriteTurret:
SpawnActorOnDeath:
Actor: MTNK.Husk
OwnerType: InternalName
EffectiveOwnerFromOwner: true
SelectionDecorations:
Selectable:
DecorationBounds: 28,28
@@ -438,6 +458,8 @@ HTNK:
DamageCooldown: 200
SpawnActorOnDeath:
Actor: HTNK.Husk
OwnerType: InternalName
EffectiveOwnerFromOwner: true
SelectionDecorations:
Selectable:
DecorationBounds: 34,34,0,-3
@@ -479,6 +501,8 @@ MSAM:
AimSequence: aim
SpawnActorOnDeath:
Actor: MSAM.Husk
OwnerType: InternalName
EffectiveOwnerFromOwner: true
MLRS:
Inherits: ^Tank
@@ -521,6 +545,8 @@ MLRS:
RenderRangeCircle:
SpawnActorOnDeath:
Actor: MLRS.Husk
OwnerType: InternalName
EffectiveOwnerFromOwner: true
ReloadAmmoPool:
Delay: 45
Count: 1
@@ -567,6 +593,8 @@ STNK:
Targetable:
SpawnActorOnDeath:
Actor: STNK.Husk
OwnerType: InternalName
EffectiveOwnerFromOwner: true
-MustBeDestroyed:
MHQ:
@@ -615,3 +643,5 @@ TRUCK:
PlayerExperience: 50
SpawnActorOnDeath:
Actor: TRUCK.Husk
OwnerType: InternalName
EffectiveOwnerFromOwner: true

View File

@@ -38,6 +38,8 @@ mcv:
NoTransformNotification: CannotDeploy
SpawnActorOnDeath:
Actor: mcv.husk
OwnerType: InternalName
EffectiveOwnerFromOwner: true
AttractsWorms:
Intensity: 700
SelectionDecorations:
@@ -86,6 +88,8 @@ harvester:
EmptyWeapon: UnitExplodeLarge
SpawnActorOnDeath:
Actor: harvester.Husk
OwnerType: InternalName
EffectiveOwnerFromOwner: true
WithHarvestOverlay:
Palette: effect50alpha
WithDockingAnimation:
@@ -220,6 +224,8 @@ siege_tank:
Class: siegetank
SpawnActorOnDeath:
Actor: siege_tank.husk
OwnerType: InternalName
EffectiveOwnerFromOwner: true
AttractsWorms:
Intensity: 600
@@ -260,6 +266,8 @@ missile_tank:
Class: missiletank
SpawnActorOnDeath:
Actor: missile_tank.husk
OwnerType: InternalName
EffectiveOwnerFromOwner: true
AttractsWorms:
Intensity: 600
@@ -296,6 +304,8 @@ sonic_tank:
EmptyWeapon: UnitExplodeLarge
SpawnActorOnDeath:
Actor: sonic_tank.husk
OwnerType: InternalName
EffectiveOwnerFromOwner: true
AttractsWorms:
Intensity: 600
@@ -340,6 +350,8 @@ devastator:
RequiresCondition: !overload
SpawnActorOnDeath:
Actor: devastator.husk
OwnerType: InternalName
EffectiveOwnerFromOwner: true
Explodes@OVERLOAD:
Weapon: PlasmaExplosion
EmptyWeapon: PlasmaExplosion
@@ -467,6 +479,8 @@ deviator:
EmptyWeapon: UnitExplodeLarge
SpawnActorOnDeath:
Actor: deviator.husk
OwnerType: InternalName
EffectiveOwnerFromOwner: true
AttractsWorms:
Intensity: 600
@@ -512,6 +526,9 @@ deviator:
Class: combat
AttractsWorms:
Intensity: 520
SpawnActorOnDeath:
OwnerType: InternalName
EffectiveOwnerFromOwner: true
combat_tank_a:
Inherits: ^combat_tank

View File

@@ -84,6 +84,8 @@ V2RL:
WithSpriteTurret:
SpawnActorOnDeath:
Actor: 1TNK.Husk
OwnerType: InternalName
EffectiveOwnerFromOwner: true
ProducibleWithLevel:
Prerequisites: vehicles.upgraded
@@ -125,6 +127,8 @@ V2RL:
WithSpriteTurret:
SpawnActorOnDeath:
Actor: 2TNK.Husk
OwnerType: InternalName
EffectiveOwnerFromOwner: true
SelectionDecorations:
ProducibleWithLevel:
Prerequisites: vehicles.upgraded
@@ -169,6 +173,8 @@ V2RL:
WithSpriteTurret:
SpawnActorOnDeath:
Actor: 3TNK.Husk
OwnerType: InternalName
EffectiveOwnerFromOwner: true
SelectionDecorations:
ProducibleWithLevel:
Prerequisites: vehicles.upgraded
@@ -222,6 +228,8 @@ V2RL:
WithSpriteTurret:
SpawnActorOnDeath:
Actor: 4TNK.Husk
OwnerType: InternalName
EffectiveOwnerFromOwner: true
SelfHealing:
Step: 100
Delay: 3
@@ -311,6 +319,8 @@ HARV:
String: Harvester
SpawnActorOnDeath:
Actor: HARV.EmptyHusk
OwnerType: InternalName
EffectiveOwnerFromOwner: true
HarvesterHuskModifier:
FullActor: HARV.FullHusk
FullnessThreshold: 50
@@ -359,6 +369,8 @@ MCV:
BaseBuilding:
SpawnActorOnDeath:
Actor: MCV.Husk
OwnerType: InternalName
EffectiveOwnerFromOwner: true
JEEP:
Inherits: ^Vehicle
@@ -541,6 +553,8 @@ MGG:
RenderShroudCircle:
SpawnActorOnDeath:
Actor: MGG.Husk
OwnerType: InternalName
EffectiveOwnerFromOwner: true
MRJ:
Inherits: ^Vehicle