ACE3/addons/compat_ws/CfgWeapons.hpp
PabstMirror fbe23ee45f
Optionals - Load dynamically based on presence of mod (__has_include) (#9116)
* Optionals - Load dynamically

* Update XEH_preStart.sqf

* Update pboproject.yml

* Update script_macros.hpp

* use addon.toml for hemtt

* Update pboproject.yml

* update all actions

ref
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/checkout@v2, actions/upload-artifact@v2.

* Update arma.yml

* Update arma.yml

* Update arma.yml

* Update arma.yml

* Update arma.yml

* Update arma.yml

* Apply suggestions from code review

Co-authored-by: Björn Dahlgren <bjorn@dahlgren.io>

* Update settings.json

* cleanup interm hemtt changes

* Update .github/workflows/arma.yml

* Apply suggestions from code review

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

---------

Co-authored-by: Björn Dahlgren <bjorn@dahlgren.io>
Co-authored-by: jonpas <jonpas33@gmail.com>
2023-04-30 16:53:43 -05:00

80 lines
2.1 KiB
C++

class CfgWeapons {
// AA40
class Rifle_Base_F;
class sgun_aa40_base_lxWS: Rifle_Base_F {
ACE_barrelLength = 457;
ACE_barrelTwist = 0.0;
ACE_twistDirection = 0;
};
// Galat Arm
class arifle_Galat_base_lxWS: Rifle_Base_F {
ACE_barrelLength = 535;
ACE_barrelTwist = 304.8;
ACE_twistDirection = 1;
};
// SA-77
class Rifle_Long_Base_F;
class LMG_S77_base_lxWS: Rifle_Long_Base_F {
ACE_barrelLength = 550;
ACE_barrelTwist = 304.8;
ACE_twistDirection = 1;
};
class LMG_S77_Compact_base_lxWS: LMG_S77_base_lxWS {
ACE_barrelLength = 500;
ACE_barrelTwist = 304.8;
ACE_twistDirection = 1;
};
// SLR
class DMR_06_base_F;
class arifle_SLR_lxWS: DMR_06_base_F {
ACE_barrelLength = 533;
ACE_barrelTwist = 279.4;
ACE_twistDirection = 1;
};
// Velko R4/R5
class arifle_Velko_base_lxWS: arifle_Galat_base_lxWS {
ACE_barrelLength = 460;
ACE_barrelTwist = 304.8;
ACE_twistDirection = 1;
};
class arifle_VelkoR5_lxWS: arifle_Velko_base_lxWS {
ACE_barrelLength = 332;
ACE_barrelTwist = 304.8;
ACE_twistDirection = 1;
};
// XMS - Weird off-shoot from the XM8 rifles so there is no data for barrel lengths or twists. Used the vanilla CTAR as a baseline for the values.
class arifle_SPAR_01_base_F;
class arifle_XMS_Base_lxWS: arifle_SPAR_01_base_F {
ACE_barrelLength = 406.4;
ACE_barrelTwist = 178.0;
ACE_twistDirection = 1;
};
// Headgear
// ION Cap (Headphones)
class lxWS_H_CapB_rvs_blk;
class lxWS_H_CapB_rvs_blk_ION: lxWS_H_CapB_rvs_blk {
ace_hearing_protection = 0.75;
ace_hearing_lowerVolume = 0.2;
};
// Tank helmet
class HelmetBase;
class lxWS_H_Tank_tan_F: HelmetBase {
ace_hearing_protection = 0.85;
ace_hearing_lowerVolume = 0.6;
};
// Headphones, inherited hearing protection
class H_Cap_headphones;
class lxWS_H_Headset: H_Cap_headphones {
ace_hearing_protection = 0;
ace_hearing_lowerVolume = 0;
};
};