Changes to DAGR

Allow laserLock, set weaponLockSystem to Laser and move class ADDON to
ACE_Hydra70_DAGR
This commit is contained in:
Githawk 2016-02-11 16:39:53 +01:00
parent 3e5908faf8
commit 9619fc7fb5
2 changed files with 17 additions and 22 deletions

View File

@ -5,15 +5,15 @@ enum {
class CfgAmmo {
class MissileBase;
class M_PG_AT: MissileBase {
model = "\A3\Weapons_F\Ammo\Rocket_01_fly_F";
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;
@ -67,20 +76,7 @@ class CfgAmmo {
attackProfiles[] = { "LIN", "DIR", "MID", "HI" };
};
};
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);
@ -96,7 +92,7 @@ class CfgAmmo {
indirectHit = 71;
indirectHitRange = 4.5;
effectsMissile = "missile2";
//Explicity add guidance config
class ADDON: ADDON {};
};

View File

@ -2,12 +2,11 @@ class Mode_SemiAuto;
class CfgWeapons {
class CannonCore;
class LauncherCore;
class RocketPods: LauncherCore {
// 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;
};
};
};