Hellfire submunition (#6299)

Hellfire - Update to use 1.82 submunition
This commit is contained in:
Tim Beswick 2018-05-31 23:57:40 +01:00 committed by PabstMirror
parent 7781c721a8
commit 0db28f89b7
2 changed files with 14 additions and 16 deletions

View File

@ -134,16 +134,6 @@ class CfgAmmo {
GVAR(gurney_c) = 2700; GVAR(gurney_c) = 2700;
GVAR(gurney_k) = 1/2; 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 RocketBase;
class R_80mm_HE: RocketBase { class R_80mm_HE: RocketBase {
GVAR(skip) = 1; GVAR(skip) = 1;
@ -174,6 +164,16 @@ class CfgAmmo {
GVAR(gurney_c) = 2700; GVAR(gurney_c) = 2700;
GVAR(gurney_k) = 1/2; 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 { class M_Air_AA: MissileBase {
GVAR(skip) = 1; GVAR(skip) = 1;
}; };

View File

@ -1,7 +1,7 @@
class CfgAmmo { 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"; displayName = "AGM-114K";
displayNameShort = "AGM-114K"; displayNameShort = "AGM-114K";
description = "AGM-114K"; description = "AGM-114K";
@ -10,9 +10,6 @@ class CfgAmmo {
model = "\A3\Weapons_F\Ammo\Missile_AT_03_fly_F"; model = "\A3\Weapons_F\Ammo\Missile_AT_03_fly_F";
proxyShape = "\A3\Weapons_F\Ammo\Missile_AT_03_F"; proxyShape = "\A3\Weapons_F\Ammo\Missile_AT_03_F";
hit = 1400;
indirectHit = 71;
indirectHitRange = 4.5;
effectsMissile = "missile2"; effectsMissile = "missile2";
irLock = 0; irLock = 0;
@ -47,7 +44,7 @@ class CfgAmmo {
seekerAccuracy = 1; // seeker accuracy multiplier seekerAccuracy = 1; // seeker accuracy multiplier
seekerMinRange = 1; 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 // Attack profile type selection
defaultAttackProfile = "hellfire"; defaultAttackProfile = "hellfire";
@ -62,6 +59,7 @@ class CfgAmmo {
hit = 200; hit = 200;
indirectHit = 200; indirectHit = 200;
indirectHitRange = 12; indirectHitRange = 12;
submunitionAmmo = "";
explosionEffects = "BombExplosion"; explosionEffects = "BombExplosion";
class ace_missileguidance: ace_missileguidance { class ace_missileguidance: ace_missileguidance {
enabled = 1; // Missile Guidance must be explicitly enabled enabled = 1; // Missile Guidance must be explicitly enabled