Merge pull request #3305 from GitHawk/dagr_fix

Disable ACE_Laser for choppers (aka Changes to DAGR)
This commit is contained in:
Thomas Kooi 2016-02-20 17:17:46 +01:00
commit ff7dbfa9f2
3 changed files with 20 additions and 25 deletions

View File

@ -17,7 +17,7 @@ class CfgVehicles {
class B_Heli_Attack_01_F: Heli_Attack_01_base_F {
class Turrets: Turrets {
class MainTurret: MainTurret {
GVAR(Enabled) = 1; // Enable laser self-designation
GVAR(Enabled) = 0; // Enable laser self-designation
};
};
};

View File

@ -11,9 +11,9 @@ class CfgAmmo {
proxyShape = "\A3\Weapons_F\Ammo\Rocket_01_F";
irLock = 0;
laserLock = 0;
laserLock = 1;
airLock = 0;
weaponLockSystem = "2 + 16";
weaponLockSystem = "4 + 16";
maxSpeed = 720;
maxControlRange = 5000;
@ -38,8 +38,17 @@ class CfgAmmo {
// ACE uses these values
trackOversteer = 1;
trackLead = 0;
};
class ACE_Hydra70_DAGR: M_PG_AT {
displayName = CSTRING(Hydra70_DAGR);
displayNameShort = CSTRING(Hydra70_DAGR_Short);
description = CSTRING(Hydra70_DAGR_Desc);
descriptionShort = CSTRING(Hydra70_DAGR_Desc);
EGVAR(rearm,caliber) = 70;
// Begin ACE guidance Configs
class ADDON {
enabled = 1;
@ -68,19 +77,6 @@ class CfgAmmo {
};
};
class ACE_Hydra70_DAGR: M_PG_AT {
displayName = CSTRING(Hydra70_DAGR);
displayNameShort = CSTRING(Hydra70_DAGR_Short);
description = CSTRING(Hydra70_DAGR_Desc);
descriptionShort = CSTRING(Hydra70_DAGR_Desc);
EGVAR(rearm,caliber) = 70;
//Explicity add guidance config
class ADDON: ADDON {};
};
class ACE_Hellfire_AGM114K: ACE_Hydra70_DAGR {
displayName = CSTRING(Hellfire_AGM114K);
displayNameShort = CSTRING(Hellfire_AGM114K_Short);

View File

@ -7,7 +7,6 @@ class CfgWeapons {
// canLock = 1;
};
class missiles_DAGR : RocketPods {
canLock = 1;
magazines[] += {"24Rnd_ACE_Hydra70_DAGR", "12Rnd_ACE_Hydra70_DAGR", "6Rnd_ACE_Hydra70_DAGR", "24Rnd_ACE_Hellfire_AGM114K", "12Rnd_ACE_Hellfire_AGM114K", "6Rnd_ACE_Hellfire_AGM114K" };
canLock = 2;
};
};