ACE3/optionals/compat_sog/CfgWeapons/helmets.hpp
BaerMitUmlaut 54c9cf6c61
S.O.G. Prairie Fire Compatibility (#8284)
* Added initial compat

* Added G-Forces compatibility

* Added Reload compatibility

* Add fuel capacities to planes and helicopters

* Add fuel capacities to wheeled and tracked vehicles, added fuel cargo config

* Add fuel capacities to OH-6

* Removed custom fuel capacities from Mi-2 with external tanks

* Fix config errors

* Add CSW compatibility for static guns

* Add ACE arsenal to EMM main menu

* Add CBA versioning check for SOG:PF

* Add vn_emm to requiredAddons

required for main menu patching

* Fix arsenal not being added to main menu

* Fix styling of ACE Arsenal button

* Add CSW compat for mortars

* Disable dragging of large statics

* Disable frag for molotov

* Set damage type of melee ammo

* Add custom damage handling for punji traps

* Add ACE Explosives compat to M18 Claymores

* Improve digDistance of Claymore x3

* Add ACE Explosives compat to M14 and M16 mines

* Add Explosives compat for M16 Trip Wire mines

* Add Explosives compat for F1 Trip Wire mines

* Add Explosives compat for Arty Shell Trip wire mine

* Improve interaction points for explosives

* Add Explosives compat for Satchel charge and AT mine

* Add Explosives compat for Punji traps, improve comments

* Add Explosives compat to M112 Breaching charge

* Rename mines.hpp to explosives.hpp

* Allow digging spiderholes with entrenching tool

* Fix minor config errors

* Add CSW pictures, models and stringtable entries

* Add missing stringtable entries

* Add CSW weapon pictures and stringtable entries

* Handle punji trap damage with disabled medical

* Disable cookoff for bicycles

* Remove custom digging tools (needs deeper changes)

* Improve spiderhole digging translation

* Fill CfgPatches units and weapons arrays for Zeus

* Add witty comment

* Use lowercase for external component names

* Fix indentation

* Fix missing base class

* Remove accidentally added files

* pboProject fixes for S.O.G. Prairie Fire Compatibility (#8311)

* Change macros to work with pboproject

* Add placeholders for VN p3d files

* Add ending newlines

Co-authored-by: jonpas <jonpas33@gmail.com>

* Fix UBC

Co-authored-by: mharis001 <34453221+mharis001@users.noreply.github.com>

Co-authored-by: Filip Maciejewski <veteran29@users.noreply.github.com>
Co-authored-by: Björn Dahlgren <bjorn@dahlgren.io>
Co-authored-by: jonpas <jonpas33@gmail.com>
Co-authored-by: mharis001 <34453221+mharis001@users.noreply.github.com>
2021-10-05 13:28:43 +02:00

38 lines
1.2 KiB
C++

#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 vn_b_headgear_base;
class vn_b_helmet_aph6_01_01: vn_b_headgear_base {
HEARING_PROTECTION_VICCREW;
};
class vn_b_helmet_aph6_02_01: vn_b_headgear_base {
HEARING_PROTECTION_VICCREW;
ACE_Protection = 1;
};
class vn_b_helmet_sph4_01_01: vn_b_headgear_base {
HEARING_PROTECTION_VICCREW;
};
class vn_b_helmet_sph4_02_01: vn_b_headgear_base {
HEARING_PROTECTION_VICCREW;
ACE_Protection = 1;
};
class vn_b_helmet_t56_01_01: vn_b_headgear_base {
HEARING_PROTECTION_VICCREW;
};
class vn_o_headgear_base;
class vn_o_helmet_tsh3_01: vn_o_headgear_base {
HEARING_PROTECTION_VICCREW;
};
class vn_o_helmet_zsh3_01: vn_o_headgear_base {
HEARING_PROTECTION_VICCREW;
};
class vn_o_helmet_zsh3_02: vn_o_helmet_zsh3_01 {
ACE_Protection = 1;
};
class vn_o_helmet_shl61_01: vn_o_headgear_base {
HEARING_PROTECTION_VICCREW;
};