From 24a491a7d7d70d3eb46fc29bd45ea9277258b7e8 Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Wed, 23 Jan 2019 00:08:02 +0000 Subject: [PATCH] Implement Hunter-Seeker kill behaviour. --- mods/ts/rules/aircraft.yaml | 15 +++++++++------ mods/ts/weapons/superweapons.yaml | 19 +++++++------------ 2 files changed, 16 insertions(+), 18 deletions(-) diff --git a/mods/ts/rules/aircraft.yaml b/mods/ts/rules/aircraft.yaml index d1e2306630..6ae36953d9 100644 --- a/mods/ts/rules/aircraft.yaml +++ b/mods/ts/rules/aircraft.yaml @@ -374,10 +374,6 @@ HUNTER: HP: 50000 Armor: Type: Light - AttackSuicides: - Explodes: - Weapon: SuicideBomb - EmptyWeapon: SuicideBomb Aircraft: TurnSpeed: 16 Speed: 355 @@ -385,6 +381,14 @@ HUNTER: CanHover: True CruisingCondition: cruising VTOL: true + AttackAircraft: + FacingTolerance: 128 + Armament@PRIMARY: + Weapon: SuicideBomb + GrantConditionOnAttack: + Condition: triggered + KillsSelf: + RequiresCondition: triggered Targetable: TargetTypes: Ground, Vehicle HiddenUnderFog: @@ -403,7 +407,6 @@ HUNTER: Interactable: SelectionDecorations: Palette: pips - ActorLostNotification: HitShape: MapEditorData: - Categories: System + Categories: System \ No newline at end of file diff --git a/mods/ts/weapons/superweapons.yaml b/mods/ts/weapons/superweapons.yaml index 68d8e9d3e8..01ab4599c9 100644 --- a/mods/ts/weapons/superweapons.yaml +++ b/mods/ts/weapons/superweapons.yaml @@ -41,20 +41,15 @@ MultiCluster: InvalidTargets: Vehicle, Building, Wall SuicideBomb: - ReloadDelay: 1 Range: 0c512 + TargetActorCenter: true Report: hunter2.aud - Warhead@1Dam: SpreadDamage - Spread: 256 - Damage: 11000 - Falloff: 10000, 3680, 1350, 500, 180, 70, 0 - Versus: - None: 90 - Light: 60 - Heavy: 25 - Concrete: 50 - DamageTypes: Prone50Percent, TriggerProne, FireDeath - Warhead@2Res: DestroyResource + Projectile: InstantHit + ValidTargets: Vehicle, Building, Defense, Infantry + Warhead@1Dam: TargetDamage + Damage: 1000000 + DamageTypes: FireDeath + ValidTargets: Vehicle, Building, Defense, Infantry IonCannon: ValidTargets: Ground, Water, Air