mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
121 lines
3.2 KiB
C++
121 lines
3.2 KiB
C++
|
|
class Mode_SemiAuto;
|
|
class Mode_Burst;
|
|
class Mode_FullAuto;
|
|
|
|
class CfgWeapons {
|
|
// Manual Switching Of Flare Mode
|
|
class SmokeLauncher;
|
|
class CMFlareLauncher: SmokeLauncher {
|
|
modes[] = {"Single","Burst","AIBurst"};
|
|
class Single: Mode_SemiAuto {
|
|
reloadTime = 0.1;
|
|
};
|
|
class Burst: Mode_Burst {
|
|
displayName = "$STR_ACE_Aircraft_CMFlareLauncher_Burst_Name";
|
|
};
|
|
};
|
|
|
|
// bigger mag for comanche
|
|
class CannonCore;
|
|
class gatling_20mm: CannonCore {
|
|
magazines[] += {"ACE_500Rnd_20mm_shells_Comanche"};
|
|
|
|
// buff gatling rof
|
|
class manual: CannonCore {
|
|
reloadTime = 0.023; //0.04;
|
|
dispersion = 0.006; //0.0022;
|
|
};
|
|
class close: manual {};
|
|
class short: close {};
|
|
class medium: close {};
|
|
class far: close {};
|
|
};
|
|
|
|
class ACE_gatling_20mm_Comanche: gatling_20mm {
|
|
displayName = "$STR_ACE_Aircraft_gatling_20mm_Name";
|
|
|
|
class manual: manual {
|
|
reloadTime = 0.04;
|
|
dispersion = 0.0022;
|
|
displayName = "$STR_ACE_Aircraft_gatling_20mm_Name";
|
|
};
|
|
class close: close {
|
|
reloadTime = 0.04;
|
|
dispersion = 0.0022;
|
|
};
|
|
class short: short {
|
|
reloadTime = 0.04;
|
|
dispersion = 0.0022;
|
|
};
|
|
class medium: medium {
|
|
reloadTime = 0.04;
|
|
dispersion = 0.0022;
|
|
};
|
|
class far: far {
|
|
reloadTime = 0.04;
|
|
dispersion = 0.0022;
|
|
};
|
|
};
|
|
|
|
// buff gatling rof
|
|
class MGunCore;
|
|
class MGun: MGunCore {};
|
|
|
|
class LMG_RCWS: MGun {};
|
|
|
|
class LMG_Minigun: LMG_RCWS {
|
|
class manual: MGun {
|
|
reloadTime = 0.075; //0.015;
|
|
dispersion = 0.00093; //0.006;
|
|
};
|
|
class close: manual {};
|
|
class short: close {};
|
|
class medium: close {};
|
|
class far: close {};
|
|
};
|
|
|
|
class LMG_Minigun_heli: LMG_Minigun {
|
|
showAimCursorInternal = 0;
|
|
class manual: manual {
|
|
reloadTime = 0.015; //0.033; Note: This is a way to fast ROF (requires over 60 FPS) @todo
|
|
dispersion = 0.006; //0.0087;
|
|
};
|
|
class close: manual {};
|
|
class short: close {};
|
|
class medium: close {};
|
|
class far: close {};
|
|
};
|
|
|
|
class M134_minigun: MGunCore {
|
|
class LowROF: Mode_FullAuto {
|
|
reloadTime = 0.015; //0.03; same as above @todo
|
|
dispersion = 0.006; //0.0023;
|
|
};
|
|
class HighROF: LowROF {
|
|
reloadTime = 0.015; //0.03;
|
|
dispersion = 0.006; //0.0023;
|
|
};
|
|
class close: HighROF {};
|
|
class short: close {};
|
|
class medium: LowROF {};
|
|
class far: medium {};
|
|
};
|
|
|
|
class Gatling_30mm_Plane_CAS_01_F: CannonCore {
|
|
autoFire = 1;
|
|
burst = 1;
|
|
class LowROF: Mode_FullAuto {
|
|
autoFire = 0;
|
|
burst = 22; //65;
|
|
reloadTime = 0.0462; //0.0154; //0.034;
|
|
multiplier = 3;
|
|
};
|
|
class close: LowROF {};
|
|
class near: close {};
|
|
class short: close {};
|
|
class medium: close {};
|
|
class far: close {};
|
|
};
|
|
};
|