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

View File

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

View File

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