Fixes A-10 Cannon Dispersion

Changes A-10 Cannon Dispersion to realistic levels.
This commit is contained in:
LorenLuke 2019-08-01 01:25:39 -07:00 committed by GitHub
parent 66f62bb1a2
commit 41c89aa1a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,8 +16,15 @@ class CfgWeapons {
magazineReloadTime = 0.1;
};
// bigger mag for comanche
class CannonCore;
// Fix attrocious A-10 Cannon Dispersion
class Gatling_30mm_Plane_CAS_01_F : CannonCore {
class LowROF : Mode_FullAuto {
burst = 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
};
// bigger mag for comanche
class gatling_20mm: CannonCore {
magazines[] += {"ACE_500Rnd_20mm_shells_Comanche"};