ACE3/optionals/compat_rhs_afrf3/CfgWeapons.hpp
PabstMirror c22fce273f Overpressure changes (#4770)
* Add setting to overpressure

* Change overpressure on 2a70 cannon

Close #4691
Also fix gl smoke causing frag

* Handle 2a28 cannon

* Fix base class
2016-12-22 13:29:05 -06:00

100 lines
2.8 KiB
C++

class CfgWeapons {
class hgun_Rook40_F;
class rhs_weap_pya: hgun_Rook40_F {
ACE_barrelTwist = 254.0;
ACE_barrelLength = 111.76;
};
class Pistol_Base_F;
class rhs_weap_makarov_pm: rhs_weap_pya {
ACE_barrelTwist = 240.03;
ACE_barrelLength = 93.472;
};
class rhs_weap_ak74m_Base_F;
class rhs_weap_ak74m: rhs_weap_ak74m_Base_F {
ACE_barrelTwist = 199.898;
ACE_barrelLength = 414.02;
};
class rhs_weap_akm: rhs_weap_ak74m {
ACE_barrelTwist = 199.898;
ACE_barrelLength = 414.02;
};
class rhs_weap_aks74;
class rhs_weap_aks74u: rhs_weap_aks74 {
ACE_barrelTwist = 160.02;
ACE_barrelLength = 210.82;
};
class rhs_weap_svd: rhs_weap_ak74m {
ACE_barrelTwist = 238.76;
ACE_barrelLength = 619.76;
};
class rhs_weap_svdp;
class rhs_weap_svds: rhs_weap_svdp {
ACE_barrelTwist = 238.76;
ACE_barrelLength = 563.88;
};
class rhs_pkp_base;
class rhs_weap_pkp: rhs_pkp_base {
ACE_barrelTwist = 240.03;
ACE_barrelLength = 657.86;
};
class rhs_weap_pkm: rhs_weap_pkp {
ACE_barrelTwist = 240.03;
ACE_barrelLength = 645.16;
};
class rhs_weap_rpk74m: rhs_weap_pkp {
ACE_barrelTwist = 195.072;
ACE_barrelLength = 589.28;
};
class rhs_acc_sniper_base;
class rhs_acc_pso1m2: rhs_acc_sniper_base {
ACE_ScopeAdjust_Vertical[] = { 0, 0 };
ACE_ScopeAdjust_Horizontal[] = { -10, 10 };
ACE_ScopeAdjust_VerticalIncrement = 0.5;
ACE_ScopeAdjust_HorizontalIncrement = 0.5;
};
class rhs_acc_pso1m21: rhs_acc_sniper_base {
ACE_ScopeAdjust_Vertical[] = { 0, 0 };
ACE_ScopeAdjust_Horizontal[] = { -10, 10 };
ACE_ScopeAdjust_VerticalIncrement = 0.5;
ACE_ScopeAdjust_HorizontalIncrement = 0.5;
};
class Launcher_Base_F;
class rhs_weap_rpg7: Launcher_Base_F {
ace_reloadlaunchers_enabled = 1;
};
class H_HelmetB;
class rhs_tsh4: H_HelmetB {
ace_hearing_protection = 1;
ace_hearing_lowerVolume = 0.80;
};
class rhs_tsh4_ess: rhs_tsh4 {};
class rhs_tsh4_bala: rhs_tsh4 {};
class rhs_tsh4_ess_bala: rhs_tsh4 {};
class rhs_zsh7a: H_HelmetB {
ace_hearing_protection = 1;
ace_hearing_lowerVolume = 0.80;
};
class rhs_zsh7a_mike: rhs_zsh7a {};
class rhs_gssh18: H_HelmetB {
ace_hearing_protection = 0.5;
ace_hearing_lowerVolume = 0.60;
};
class rhs_weap_d81;
class rhs_weap_2a70: rhs_weap_d81 { // "Low pressure" 100mm cannon
ace_overpressure_range = 15;
ace_overpressure_damage = 0.5;
};
class cannon_120mm;
class rhs_weap_2a28_base: cannon_120mm { // "Low pressure"
ace_overpressure_range = 15;
ace_overpressure_damage = 0.5;
};
};