ACE3/addons/aircraft/CfgWeapons.hpp

110 lines
2.7 KiB
C++
Raw Normal View History

2015-01-13 23:52:37 +00:00
class Mode_FullAuto;
class CfgWeapons {
class RocketPods;
class ACE_AIR_SAFETY : RocketPods {
2015-04-04 00:28:33 +00:00
CanLock = 0;
displayName = "SAFE";
displayNameMagazine = "SAFE";
shortNameMagazine = "SAFE";
nameSound = "cannon";
cursor = "EmptyCursor";
cursorAim = "EmptyCursor";
magazines[] = {"FakeMagazine"};
burst = 0;
reloadTime = 0.01;
magazineReloadTime = 0.1;
};
2015-07-18 13:51:16 +00:00
2015-02-14 11:47:33 +00:00
// bigger mag for comanche
2015-01-13 23:52:37 +00:00
class CannonCore;
class gatling_20mm: CannonCore {
2015-02-14 11:47:33 +00:00
magazines[] += {"ACE_500Rnd_20mm_shells_Comanche"};
2015-01-13 23:52:37 +00:00
2015-02-14 11:47:33 +00:00
// buff gatling rof
2015-01-13 23:52:37 +00:00
class manual: CannonCore {
2015-02-14 11:47:33 +00:00
reloadTime = 0.023; //0.04;
dispersion = 0.006; //0.0022;
2015-01-13 23:52:37 +00:00
};
2015-01-13 23:52:37 +00:00
class close: manual {};
class short: close {};
class medium: close {};
class far: close {};
};
class ACE_gatling_20mm_Comanche: gatling_20mm {
displayName = CSTRING(gatling_20mm_Name);
2015-02-14 11:47:33 +00:00
class manual: manual {
2015-01-13 23:52:37 +00:00
reloadTime = 0.04;
dispersion = 0.006;
displayName = CSTRING(gatling_20mm_Name);
2015-01-13 23:52:37 +00:00
};
2015-02-14 11:47:33 +00:00
class close: close {
2015-01-13 23:52:37 +00:00
reloadTime = 0.04;
dispersion = 0.006;
2015-01-13 23:52:37 +00:00
};
2015-02-14 11:47:33 +00:00
class short: short {
2015-01-13 23:52:37 +00:00
reloadTime = 0.04;
dispersion = 0.006;
2015-01-13 23:52:37 +00:00
};
2015-01-13 23:52:37 +00:00
class medium: medium {
reloadTime = 0.04;
dispersion = 0.006;
2015-01-13 23:52:37 +00:00
};
2015-02-14 11:47:33 +00:00
class far: far {
2015-01-13 23:52:37 +00:00
reloadTime = 0.04;
dispersion = 0.006;
2015-01-13 23:52:37 +00:00
};
};
2015-02-14 11:47:33 +00:00
// buff gatling rof
class MGunCore;
class MGun: MGunCore {};
class LMG_RCWS: MGun {};
2015-01-13 23:52:37 +00:00
class LMG_Minigun: LMG_RCWS {
class manual: MGun {
2015-02-14 11:47:33 +00:00
reloadTime = 0.075; //0.015;
dispersion = 0.00093; //0.006;
2015-01-13 23:52:37 +00:00
};
2015-01-13 23:52:37 +00:00
class close: manual {};
class short: close {};
class medium: close {};
class far: close {};
};
2015-02-14 11:47:33 +00:00
2015-01-13 23:52:37 +00:00
class LMG_Minigun_heli: LMG_Minigun {
showAimCursorInternal = 0;
2015-01-13 23:52:37 +00:00
class manual: manual {
2015-02-14 11:47:33 +00:00
reloadTime = 0.015; //0.033; Note: This is a way to fast ROF (requires over 60 FPS) @todo
dispersion = 0.006; //0.0087;
2015-01-13 23:52:37 +00:00
};
2015-01-13 23:52:37 +00:00
class close: manual {};
class short: close {};
class medium: close {};
class far: close {};
};
2015-02-14 11:47:33 +00:00
2015-01-13 23:52:37 +00:00
class M134_minigun: MGunCore {
class LowROF: Mode_FullAuto {
2015-07-18 13:51:16 +00:00
reloadTime = 0.03; //0.03; same as above @todo
dispersion = 0.0064; //0.0023;
multiplier = 1;
2015-01-13 23:52:37 +00:00
};
2015-01-13 23:52:37 +00:00
class HighROF: LowROF {
2015-07-18 13:51:16 +00:00
reloadTime = 0.02; //0.03;
dispersion = 0.0064; //0.0023;
multiplier = 1;
2015-01-13 23:52:37 +00:00
};
};
};