From c70f6602b084bfb78720c5c2951d878e18c9676f Mon Sep 17 00:00:00 2001 From: Tim Beswick Date: Tue, 24 Apr 2018 14:49:47 +0100 Subject: [PATCH 1/2] Changed hellfire to use Vikhr as base missile along with its submunition configuration. --- addons/hellfire/CfgAmmo.hpp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/addons/hellfire/CfgAmmo.hpp b/addons/hellfire/CfgAmmo.hpp index 234d9edeeb2..a5d72142927 100644 --- a/addons/hellfire/CfgAmmo.hpp +++ b/addons/hellfire/CfgAmmo.hpp @@ -1,7 +1,7 @@ class CfgAmmo { - class M_PG_AT; + class M_Scalpel_AT; - class ACE_Hellfire_AGM114K: M_PG_AT { + class ACE_Hellfire_AGM114K: M_Scalpel_AT { displayName = "AGM-114K"; displayNameShort = "AGM-114K"; description = "AGM-114K"; @@ -10,9 +10,6 @@ class CfgAmmo { model = "\A3\Weapons_F\Ammo\Missile_AT_03_fly_F"; proxyShape = "\A3\Weapons_F\Ammo\Missile_AT_03_F"; - hit = 1400; - indirectHit = 71; - indirectHitRange = 4.5; effectsMissile = "missile2"; irLock = 0; @@ -47,7 +44,7 @@ class CfgAmmo { seekerAccuracy = 1; // seeker accuracy multiplier seekerMinRange = 1; - seekerMaxRange = 5000; // Range from the missile which the seeker can visually search + seekerMaxRange = 8000; // Range from the missile which the seeker can visually search // Attack profile type selection defaultAttackProfile = "hellfire"; @@ -62,6 +59,7 @@ class CfgAmmo { hit = 200; indirectHit = 200; indirectHitRange = 12; + submunitionAmmo = ""; explosionEffects = "BombExplosion"; class ace_missileguidance: ace_missileguidance { enabled = 1; // Missile Guidance must be explicitly enabled From 8e619f28a9f8956e36d635957030a78b438abf7b Mon Sep 17 00:00:00 2001 From: Tim Beswick Date: Tue, 24 Apr 2018 16:45:11 +0100 Subject: [PATCH 2/2] Updated hellfire base class in frag --- addons/frag/CfgAmmo.hpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/addons/frag/CfgAmmo.hpp b/addons/frag/CfgAmmo.hpp index e8ba51a4513..00d2d62ad8d 100644 --- a/addons/frag/CfgAmmo.hpp +++ b/addons/frag/CfgAmmo.hpp @@ -134,16 +134,6 @@ class CfgAmmo { GVAR(gurney_c) = 2700; GVAR(gurney_k) = 1/2; }; - class ACE_Hellfire_AGM114K: M_PG_AT { - // Source: http://www.designation-systems.net/dusrm/m-114.html - GVAR(enabled) = 1; - - GVAR(classes)[] = {QGVAR(medium), QGVAR(medium_HD)}; - GVAR(metal) = 8000; - GVAR(charge) = 2400; - GVAR(gurney_c) = 2700; - GVAR(gurney_k) = 1/2; - }; class RocketBase; class R_80mm_HE: RocketBase { GVAR(skip) = 1; @@ -174,6 +164,16 @@ class CfgAmmo { GVAR(gurney_c) = 2700; GVAR(gurney_k) = 1/2; }; + class ACE_Hellfire_AGM114K: M_Scalpel_AT { + // Source: http://www.designation-systems.net/dusrm/m-114.html + GVAR(enabled) = 1; + + GVAR(classes)[] = {QGVAR(medium), QGVAR(medium_HD)}; + GVAR(metal) = 8000; + GVAR(charge) = 2400; + GVAR(gurney_c) = 2700; + GVAR(gurney_k) = 1/2; + }; class M_Air_AA: MissileBase { GVAR(skip) = 1; };