mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
125 lines
4.4 KiB
C++
125 lines
4.4 KiB
C++
|
class CfgWeapons {
|
||
|
|
||
|
// MACHINE GUNS
|
||
|
class gm_pk_base;
|
||
|
class gm_pkm_base: gm_pk_base {
|
||
|
EGVAR(overheating,mrbs) = 3000;
|
||
|
EGVAR(overheating,slowdownFactor) = 1;
|
||
|
EGVAR(overheating,allowSwapBarrel) = 1;
|
||
|
EGVAR(overheating,dispersion) = 0.25;
|
||
|
};
|
||
|
class gm_machineGun_base;
|
||
|
class gm_mg3_base: gm_machineGun_base {
|
||
|
EGVAR(overheating,mrbs) = 3000;
|
||
|
EGVAR(overheating,slowdownFactor) = 1;
|
||
|
EGVAR(overheating,allowSwapBarrel) = 1;
|
||
|
EGVAR(overheating,dispersion) = 0.25;
|
||
|
};
|
||
|
class gm_mg3_veh_base: gm_mg3_base {
|
||
|
EGVAR(overheating,allowSwapBarrel) = 0;
|
||
|
};
|
||
|
class gm_launcher_base;
|
||
|
class gm_carlgustaf_m2_base: gm_launcher_base {
|
||
|
EGVAR(reloadlaunchers,enabled) = 1;
|
||
|
EGVAR(overpressure,angle) = 60;
|
||
|
EGVAR(overpressure,damage) = 0.7;
|
||
|
EGVAR(overpressure,priority) = 1;
|
||
|
EGVAR(overpressure,range) = 10;
|
||
|
};
|
||
|
|
||
|
|
||
|
// HELMETS
|
||
|
#define HEARING_PROTECTION_OPEN EGVAR(hearing,protection) = 0; EGVAR(hearing,lowerVolume) = 0;
|
||
|
#define HEARING_PROTECTION_VICCREW EGVAR(hearing,protection) = 0.85; EGVAR(hearing,lowerVolume) = 0.6;
|
||
|
#define HEARING_PROTECTION_EARMUFF EGVAR(hearing,protection) = 0.75; EGVAR(hearing,lowerVolume) = 0.5;
|
||
|
#define HEARING_PROTECTION_PELTOR EGVAR(hearing,protection) = 0.75; EGVAR(hearing,lowerVolume) = 0;
|
||
|
|
||
|
|
||
|
class gm_ge_headgear_headset_crew_base;
|
||
|
class gm_ge_headgear_headset_crew_oli: gm_ge_headgear_headset_crew_base {
|
||
|
HEARING_PROTECTION_PELTOR
|
||
|
};
|
||
|
|
||
|
class gm_ge_headgear_sph4_base;
|
||
|
class gm_ge_headgear_sph4_oli: gm_ge_headgear_sph4_base{
|
||
|
HEARING_PROTECTION_PELTOR
|
||
|
};
|
||
|
|
||
|
class gm_pl_headgear_wz63_base;
|
||
|
class gm_pl_army_headgear_wz63_oli: gm_pl_headgear_wz63_base {
|
||
|
HEARING_PROTECTION_PELTOR
|
||
|
};
|
||
|
class gm_pl_army_headgear_wz63_net_oli: gm_pl_headgear_wz63_base {
|
||
|
HEARING_PROTECTION_PELTOR
|
||
|
};
|
||
|
|
||
|
class gm_ge_headgear_crewhat_80_base;
|
||
|
class gm_ge_headgear_crewhat_80_blk: gm_ge_headgear_crewhat_80_base {
|
||
|
HEARING_PROTECTION_PELTOR
|
||
|
};
|
||
|
|
||
|
class gm_gc_headgear_crewhat_80_base;
|
||
|
class gm_gc_army_headgear_crewhat_80_blk: gm_gc_headgear_crewhat_80_base {
|
||
|
HEARING_PROTECTION_PELTOR
|
||
|
};
|
||
|
|
||
|
class gm_gc_headgear_zsh3_base;
|
||
|
class gm_gc_headgear_zsh3_wht: gm_gc_headgear_zsh3_base {
|
||
|
HEARING_PROTECTION_PELTOR
|
||
|
};
|
||
|
class gm_gc_headgear_zsh3_blu: gm_gc_headgear_zsh3_base {
|
||
|
HEARING_PROTECTION_PELTOR
|
||
|
};
|
||
|
class gm_gc_headgear_zsh3_orn: gm_gc_headgear_zsh3_base {
|
||
|
HEARING_PROTECTION_PELTOR
|
||
|
};
|
||
|
|
||
|
|
||
|
class gm_ge_headgear_beret_base;
|
||
|
class gm_ge_headgear_beret_crew_red_antiair: gm_ge_headgear_beret_base {
|
||
|
HEARING_PROTECTION_PELTOR
|
||
|
};
|
||
|
class gm_ge_headgear_beret_crew_blk_antitank: gm_ge_headgear_beret_base {
|
||
|
HEARING_PROTECTION_PELTOR
|
||
|
};
|
||
|
class gm_ge_headgear_beret_crew_blk_armor: gm_ge_headgear_beret_base {
|
||
|
HEARING_PROTECTION_PELTOR
|
||
|
};
|
||
|
class gm_ge_headgear_beret_crew_blk_armorrecon: gm_ge_headgear_beret_base {
|
||
|
HEARING_PROTECTION_PELTOR
|
||
|
};
|
||
|
class gm_ge_headgear_beret_crew_red_artillery: gm_ge_headgear_beret_base {
|
||
|
HEARING_PROTECTION_PELTOR
|
||
|
};
|
||
|
class gm_ge_headgear_beret_crew_red_engineer: gm_ge_headgear_beret_base {
|
||
|
HEARING_PROTECTION_PELTOR
|
||
|
};
|
||
|
class gm_ge_headgear_beret_crew_red_maintenance: gm_ge_headgear_beret_base {
|
||
|
HEARING_PROTECTION_PELTOR
|
||
|
};
|
||
|
class gm_ge_headgear_beret_crew_grn_mechinf: gm_ge_headgear_beret_base {
|
||
|
HEARING_PROTECTION_PELTOR
|
||
|
};
|
||
|
class gm_ge_headgear_beret_crew_red_militarypolice: gm_ge_headgear_beret_base {
|
||
|
HEARING_PROTECTION_PELTOR
|
||
|
};
|
||
|
class gm_ge_headgear_beret_crew_red_nbc: gm_ge_headgear_beret_base {
|
||
|
HEARING_PROTECTION_PELTOR
|
||
|
};
|
||
|
class gm_ge_headgear_beret_crew_red_opcom: gm_ge_headgear_beret_base {
|
||
|
HEARING_PROTECTION_PELTOR
|
||
|
};
|
||
|
class gm_ge_headgear_beret_crew_bdx_paratrooper: gm_ge_headgear_beret_base {
|
||
|
HEARING_PROTECTION_PELTOR
|
||
|
};
|
||
|
class gm_ge_headgear_beret_crew_blk_recon: gm_ge_headgear_beret_base {
|
||
|
HEARING_PROTECTION_PELTOR
|
||
|
};
|
||
|
class gm_ge_headgear_beret_crew_red_supply: gm_ge_headgear_beret_base {
|
||
|
HEARING_PROTECTION_PELTOR
|
||
|
};
|
||
|
class gm_ge_headgear_beret_crew_red_signals: gm_ge_headgear_beret_base {
|
||
|
HEARING_PROTECTION_PELTOR
|
||
|
};
|
||
|
};
|