mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Merge pull request #3305 from GitHawk/dagr_fix
Disable ACE_Laser for choppers (aka Changes to DAGR)
This commit is contained in:
commit
ff7dbfa9f2
@ -17,18 +17,18 @@ 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
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
class Plane: Air {};
|
||||
class Plane_Base_F: Plane {
|
||||
class Turrets {
|
||||
class CopilotTurret;
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
/* @TODO: LGB GBU
|
||||
class Plane_CAS_01_base_F: Plane_Base_F {
|
||||
class Turrets: Turrets {
|
||||
|
@ -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 {};
|
||||
};
|
||||
|
@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user