Aircraft - Restore missing laser designator on Commanche (#7752)

* Aircraft - Restore missing laser designator on Commanche

This now matches vanilla
Close #7712

* Update addons/aircraft/Heli_Attack_01_base_F.hpp

Co-authored-by: mharis001 <34453221+mharis001@users.noreply.github.com>

* Update addons/aircraft/Heli_Attack_01_base_F.hpp

Co-authored-by: mharis001 <34453221+mharis001@users.noreply.github.com>

Co-authored-by: mharis001 <34453221+mharis001@users.noreply.github.com>
This commit is contained in:
PabstMirror 2020-06-13 16:03:28 -05:00 committed by GitHub
parent d8a3eab499
commit 92941c11de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 12 deletions

View File

@ -3,8 +3,8 @@ class Heli_Attack_01_base_F: Helicopter_Base_F {
class Turrets: Turrets {
class MainTurret: MainTurret {
weapons[] = {"ACE_gatling_20mm_Comanche", "missiles_DAGR", "missiles_ASRAAM"};
magazines[] = {"ACE_500Rnd_20mm_shells_Comanche", "4Rnd_AAA_missiles", "24Rnd_PG_missiles"};
weapons[] = {"ACE_gatling_20mm_Comanche", "missiles_DAGR", "missiles_ASRAAM", "Laserdesignator_mounted"};
magazines[] = {"ACE_500Rnd_20mm_shells_Comanche", "4Rnd_AAA_missiles", "24Rnd_PG_missiles", "Laserbatteries"};
turretInfoType = "Rsc_ACE_Helo_UI_Turret";
@ -119,9 +119,8 @@ class Heli_Attack_01_base_F: Helicopter_Base_F {
class Heli_Attack_01_dynamicLoadout_base_F: Heli_Attack_01_base_F {
class Turrets: Turrets {
class MainTurret: MainTurret {
weapons[] = {"ACE_gatling_20mm_Comanche"};
magazines[] = {"ACE_500Rnd_20mm_shells_Comanche"};
weapons[] = {"ACE_gatling_20mm_Comanche", "Laserdesignator_mounted"};
magazines[] = {"ACE_500Rnd_20mm_shells_Comanche", "Laserbatteries"};
};
};
};

View File

@ -1,6 +0,0 @@
class CfgVehicles {
class Heli_Attack_01_base_F;
class Heli_Attack_01_dynamicLoadout_base_F: Heli_Attack_01_base_F {
GVAR(addLaserDesignator) = 1;
};
};

View File

@ -19,5 +19,4 @@ class CfgPatches {
#include "CfgEventHandlers.hpp"
#include "CfgMagazines.hpp"
#include "CfgMagazineWells.hpp"
#include "CfgVehicles.hpp"
#include "CfgWeapons.hpp"