From 06fded2ed8485acc68fcf8f94987e4598721fe1d Mon Sep 17 00:00:00 2001 From: LorenLuke Date: Sun, 4 Aug 2019 03:49:23 -0700 Subject: [PATCH] Removes Tabs --- addons/aircraft/CfgAmmo.hpp | 24 ++++++++++++------------ addons/aircraft/CfgMagazines.hpp | 18 +++++++++--------- addons/aircraft/CfgWeapons.hpp | 6 +++--- 3 files changed, 24 insertions(+), 24 deletions(-) diff --git a/addons/aircraft/CfgAmmo.hpp b/addons/aircraft/CfgAmmo.hpp index 73c376320d..4886e08618 100644 --- a/addons/aircraft/CfgAmmo.hpp +++ b/addons/aircraft/CfgAmmo.hpp @@ -48,31 +48,31 @@ class CfgAmmo { tracerStartTime = 0.02; // default: 0.1 timeToLive = 40; // default: 6 }; - + // adjust damage and splash damage, AP Rounds class ACE_Gatling_30mm_AP_Plane_CAS_01_F: Gatling_30mm_HE_Plane_CAS_01_F { explosive = 0.05; // default: 0.4 - hit = 110; // default: 180 + hit = 110; // default: 180 indirectHit = 2.5; // default: 4 indirectHitRange = 1; // default: 3 - fuseDistance = 0.2; // default: 10 + fuseDistance = 0.2; // default: 10 deflecting = 5; }; - // adds submunition logic, enabling multiple rounds per frame - class ACE_Gatling_30mm_Sub_HEI: SubmunitionBullet { + // adds submunition logic, enabling multiple rounds per frame + class ACE_Gatling_30mm_Sub_HEI: SubmunitionBullet { submunitionAmmo = "Gatling_30mm_HE_Plane_CAS_01_F"; weaponType = "cannon"; - submunitionConeType[] = {"poissondisccenter", 3}; - submunitionConeAngle = 0.056; // in degrees, 0.055 ~= 0.001 mils minute, but present + submunitionConeType[] = {"poissondisccenter", 3}; + submunitionConeAngle = 0.056; // in degrees, 0.055 ~= 0.001 mils minute, but present model = "\A3\Weapons_f\Data\bullettracer\tracer_red.p3d"; triggerTime = 0.005; - }; + }; - class ACE_Gatling_30mm_Sub_AP: ACE_Gatling_30mm_Sub_HEI { - submunitionAmmo = "ACE_Gatling_30mm_AP_Plane_CAS_01_F"; - }; - + class ACE_Gatling_30mm_Sub_AP: ACE_Gatling_30mm_Sub_HEI { + submunitionAmmo = "ACE_Gatling_30mm_AP_Plane_CAS_01_F"; + }; + class ACE_Gatling_30mm_Sub_CM41: ACE_Gatling_30mm_Sub_HEI { submunitionAmmo[] = {"ACE_Gatling_30mm_AP_Plane_CAS_01_F",0.8,"Cannon_30mm_HE_Plane_CAS_01_F",0.2}; }; diff --git a/addons/aircraft/CfgMagazines.hpp b/addons/aircraft/CfgMagazines.hpp index 5b387e529b..a19e203f1e 100644 --- a/addons/aircraft/CfgMagazines.hpp +++ b/addons/aircraft/CfgMagazines.hpp @@ -2,26 +2,26 @@ class CfgMagazines { // shoot helper object to tripple rof class VehicleMagazine; class 1000Rnd_Gatling_30mm_Plane_CAS_01_F: VehicleMagazine { - ammo = "ACE_Gatling_30mm_Sub_HEI"; + ammo = "ACE_Gatling_30mm_Sub_HEI"; count = 1170; }; class ACE_1000Rnd_Gatling_30mm_Plane_CAS_AP: 1000Rnd_Gatling_30mm_Plane_CAS_01_F { ammo = "ACE_Gatling_30mm_Sub_AP"; - displayName = "30mm DU Armor Piercing"; - displayNameShort = "30mm DUAP"; + displayName = "30mm DU Armor Piercing"; + displayNameShort = "30mm DUAP"; }; class ACE_1000Rnd_Gatling_30mm_Plane_CAS_CM41: 1000Rnd_Gatling_30mm_Plane_CAS_01_F { ammo = "ACE_Gatling_30mm_Sub_CM41"; - displayName = "30mm Combat Mix 4:1 DU:HEI"; - displayNameShort = "30mm 4:1 DU:HEI"; + displayName = "30mm Combat Mix 4:1 DU:HEI"; + displayNameShort = "30mm 4:1 DU:HEI"; }; - - class ACE_1000Rnd_Gatling_30mm_Plane_CAS_CM51: 1000Rnd_Gatling_30mm_Plane_CAS_01_F { + + class ACE_1000Rnd_Gatling_30mm_Plane_CAS_CM51: 1000Rnd_Gatling_30mm_Plane_CAS_01_F { ammo = "ACE_Gatling_30mm_Sub_CM51"; - displayName = "30mm Combat Mix 5:1 DU:HEI"; - displayNameShort = "30mm 5:1 DU:HEI"; + displayName = "30mm Combat Mix 5:1 DU:HEI"; + displayNameShort = "30mm 5:1 DU:HEI"; }; // an extended magazine for the comanche diff --git a/addons/aircraft/CfgWeapons.hpp b/addons/aircraft/CfgWeapons.hpp index 5711435c31..c1cbe4d163 100644 --- a/addons/aircraft/CfgWeapons.hpp +++ b/addons/aircraft/CfgWeapons.hpp @@ -19,11 +19,11 @@ class CfgWeapons { class CannonCore; // Fix attrocious A-10 Cannon Dispersion; Add high ROF capability class Gatling_30mm_Plane_CAS_01_F: CannonCore { - magazines[] += {"ACE_1000Rnd_Gatling_30mm_Plane_CAS_AP","ACE_1000Rnd_Gatling_30mm_Plane_CAS_CM41","ACE_1000Rnd_Gatling_30mm_Plane_CAS_CM51"}; + magazines[] += {"ACE_1000Rnd_Gatling_30mm_Plane_CAS_AP","ACE_1000Rnd_Gatling_30mm_Plane_CAS_CM41","ACE_1000Rnd_Gatling_30mm_Plane_CAS_CM51"}; class LowROF: Mode_FullAuto { - multiplier = 3; + multiplier = 3; burst = 1; - burstRangeMax = 1; + burstRangeMax = 1; reloadtime = 0.015; dispersion = 0.0028; //0.279508497 = 0.25 * sqrt(0.8^-1); (80%, 5mil. https://en.wikipedia.org/wiki/GAU-8_Avenger#Accuracy) - Luke magazines[] = {"1000Rnd_Gatling_30mm_Plane_CAS_01_F", "ACE_1000Rnd_Gatling_30mm_Plane_CAS_CM"};