2015-04-27 13:16:42 +00:00
|
|
|
|
2015-12-20 20:37:14 +00:00
|
|
|
class CfgWeapons {
|
2017-12-06 19:15:33 +00:00
|
|
|
|
|
|
|
class NVGoggles;
|
|
|
|
class rhs_1PN138: NVGoggles { // Monocular
|
|
|
|
modelOptics = "";
|
|
|
|
EGVAR(nightvision,border) = QPATHTOEF(nightvision,data\nvg_mask_4096.paa);
|
|
|
|
EGVAR(nightvision,bluRadius) = 0.13;
|
|
|
|
};
|
|
|
|
|
2015-04-27 13:48:53 +00:00
|
|
|
class hgun_Rook40_F;
|
2015-12-20 20:37:14 +00:00
|
|
|
class rhs_weap_pya: hgun_Rook40_F {
|
|
|
|
ACE_barrelTwist = 254.0;
|
|
|
|
ACE_barrelLength = 111.76;
|
2015-04-27 13:48:53 +00:00
|
|
|
};
|
|
|
|
class Pistol_Base_F;
|
2016-07-22 01:07:45 +00:00
|
|
|
class rhs_weap_makarov_pm: rhs_weap_pya {
|
2015-12-20 20:37:14 +00:00
|
|
|
ACE_barrelTwist = 240.03;
|
|
|
|
ACE_barrelLength = 93.472;
|
2015-04-27 13:48:53 +00:00
|
|
|
};
|
|
|
|
class rhs_weap_ak74m_Base_F;
|
2015-12-20 20:37:14 +00:00
|
|
|
class rhs_weap_ak74m: rhs_weap_ak74m_Base_F {
|
2017-10-23 13:02:48 +00:00
|
|
|
ACE_RailHeightAboveBore = -0.456233;
|
2015-12-20 20:37:14 +00:00
|
|
|
ACE_barrelTwist = 199.898;
|
|
|
|
ACE_barrelLength = 414.02;
|
2015-04-27 13:48:53 +00:00
|
|
|
};
|
2015-12-20 20:37:14 +00:00
|
|
|
class rhs_weap_akm: rhs_weap_ak74m {
|
2017-10-23 13:02:48 +00:00
|
|
|
ACE_RailHeightAboveBore = -0.456233;//from rhs_weap_akmn and rhs_weap_ak74m
|
2015-12-20 20:37:14 +00:00
|
|
|
ACE_barrelTwist = 199.898;
|
|
|
|
ACE_barrelLength = 414.02;
|
2015-04-27 13:48:53 +00:00
|
|
|
};
|
2015-04-27 13:46:49 +00:00
|
|
|
class rhs_weap_aks74;
|
2015-12-20 20:37:14 +00:00
|
|
|
class rhs_weap_aks74u: rhs_weap_aks74 {
|
2017-10-23 13:02:48 +00:00
|
|
|
ACE_RailHeightAboveBore = -0.30262;
|
2015-12-20 20:37:14 +00:00
|
|
|
ACE_barrelTwist = 160.02;
|
|
|
|
ACE_barrelLength = 210.82;
|
2015-04-27 13:48:53 +00:00
|
|
|
};
|
2015-12-20 20:37:14 +00:00
|
|
|
class rhs_weap_svd: rhs_weap_ak74m {
|
2017-10-23 13:02:48 +00:00
|
|
|
ACE_RailHeightAboveBore = -0.617396;
|
2015-12-20 20:37:14 +00:00
|
|
|
ACE_barrelTwist = 238.76;
|
|
|
|
ACE_barrelLength = 619.76;
|
2015-04-27 13:48:53 +00:00
|
|
|
};
|
2015-04-27 13:46:49 +00:00
|
|
|
class rhs_weap_svdp;
|
2017-10-23 13:02:48 +00:00
|
|
|
class rhs_weap_svdp_npz: rhs_weap_svdp {
|
|
|
|
ACE_RailHeightAboveBore = 4.3348;
|
|
|
|
};
|
|
|
|
class rhs_weap_svdp_wd: rhs_weap_svdp {
|
|
|
|
ACE_RailHeightAboveBore = -0.617396;
|
|
|
|
};
|
|
|
|
class rhs_weap_svdp_wd_npz: rhs_weap_svdp_wd {
|
|
|
|
ACE_RailHeightAboveBore = 4.3348;
|
|
|
|
};
|
2015-12-20 20:37:14 +00:00
|
|
|
class rhs_weap_svds: rhs_weap_svdp {
|
2017-10-23 13:02:48 +00:00
|
|
|
ACE_RailHeightAboveBore = -0.617396;
|
2015-12-20 20:37:14 +00:00
|
|
|
ACE_barrelTwist = 238.76;
|
|
|
|
ACE_barrelLength = 563.88;
|
2015-04-27 13:48:53 +00:00
|
|
|
};
|
2017-10-23 13:02:48 +00:00
|
|
|
class rhs_weap_svds_npz: rhs_weap_svds {
|
|
|
|
ACE_RailHeightAboveBore = 4.3348;
|
|
|
|
};
|
2015-04-27 13:48:53 +00:00
|
|
|
class rhs_pkp_base;
|
2015-12-20 20:37:14 +00:00
|
|
|
class rhs_weap_pkp: rhs_pkp_base {
|
|
|
|
ACE_barrelTwist = 240.03;
|
|
|
|
ACE_barrelLength = 657.86;
|
2015-04-27 13:48:53 +00:00
|
|
|
};
|
2015-12-20 20:37:14 +00:00
|
|
|
class rhs_weap_pkm: rhs_weap_pkp {
|
2018-11-17 16:11:47 +00:00
|
|
|
ACE_Overheating_allowSwapBarrel = 1;
|
2015-12-20 20:37:14 +00:00
|
|
|
ACE_barrelTwist = 240.03;
|
|
|
|
ACE_barrelLength = 645.16;
|
2015-04-27 13:48:53 +00:00
|
|
|
};
|
2018-09-13 05:29:30 +00:00
|
|
|
class rhs_weap_rpk74: rhs_weap_pkp {
|
2015-12-20 20:37:14 +00:00
|
|
|
ACE_barrelTwist = 195.072;
|
|
|
|
ACE_barrelLength = 589.28;
|
2015-04-27 13:48:53 +00:00
|
|
|
};
|
2017-02-11 20:24:54 +00:00
|
|
|
class rhs_weap_orsis_Base_F;
|
|
|
|
class rhs_weap_t5000: rhs_weap_orsis_Base_F { // http://en.orsis.com/production/catalog/19046/
|
|
|
|
ACE_barrelTwist = 254.0; // 1:10"
|
|
|
|
ACE_barrelLength = 698.5; // 27.5"
|
2017-10-23 13:02:48 +00:00
|
|
|
ACE_RailHeightAboveBore = 2.12198;
|
2017-02-11 20:24:54 +00:00
|
|
|
};
|
2015-04-27 15:35:03 +00:00
|
|
|
class rhs_acc_sniper_base;
|
|
|
|
class rhs_acc_pso1m2: rhs_acc_sniper_base {
|
2017-10-23 13:02:48 +00:00
|
|
|
ACE_ScopeHeightAboveRail = 4.41386;
|
2017-02-11 20:24:54 +00:00
|
|
|
ACE_ScopeAdjust_Vertical[] = {0, 0};
|
|
|
|
ACE_ScopeAdjust_Horizontal[] = {-10, 10};
|
2016-02-01 17:42:11 +00:00
|
|
|
ACE_ScopeAdjust_VerticalIncrement = 0.5;
|
2015-05-23 15:06:46 +00:00
|
|
|
ACE_ScopeAdjust_HorizontalIncrement = 0.5;
|
2015-04-27 15:35:03 +00:00
|
|
|
};
|
2016-01-18 13:59:38 +00:00
|
|
|
class rhs_acc_pso1m21: rhs_acc_sniper_base {
|
2017-10-23 13:02:48 +00:00
|
|
|
ACE_ScopeHeightAboveRail = 7.75566;
|
2017-02-11 20:24:54 +00:00
|
|
|
ACE_ScopeAdjust_Vertical[] = {0, 0};
|
|
|
|
ACE_ScopeAdjust_Horizontal[] = {-10, 10};
|
2016-02-01 17:42:11 +00:00
|
|
|
ACE_ScopeAdjust_VerticalIncrement = 0.5;
|
2016-01-18 13:59:38 +00:00
|
|
|
ACE_ScopeAdjust_HorizontalIncrement = 0.5;
|
|
|
|
};
|
2017-02-11 20:24:54 +00:00
|
|
|
class ItemCore;
|
|
|
|
class InventoryOpticsItem_Base_F;
|
|
|
|
class rhs_acc_dh520x56: ItemCore { // http://nightvision.ru/catalog/4/item/35
|
2017-10-23 13:02:48 +00:00
|
|
|
ACE_ScopeHeightAboveRail = 4.71476;
|
2017-02-11 20:24:54 +00:00
|
|
|
ACE_ScopeAdjust_Vertical[] = {0, 33};
|
|
|
|
ACE_ScopeAdjust_Horizontal[] = {-9, 9};
|
|
|
|
ACE_ScopeAdjust_VerticalIncrement = 0.1;
|
|
|
|
ACE_ScopeAdjust_HorizontalIncrement = 0.1;
|
|
|
|
class ItemInfo: InventoryOpticsItem_Base_F {
|
|
|
|
class OpticsModes {
|
|
|
|
class dedal_520 {
|
|
|
|
discreteDistance[] = {100};
|
|
|
|
discreteDistanceInitIndex = 0;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2015-06-25 14:17:36 +00:00
|
|
|
class Launcher_Base_F;
|
|
|
|
class rhs_weap_rpg7: Launcher_Base_F {
|
|
|
|
ace_reloadlaunchers_enabled = 1;
|
|
|
|
};
|
2015-07-01 20:25:19 +00:00
|
|
|
|
2017-05-17 02:40:07 +00:00
|
|
|
#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;
|
2015-07-01 20:25:19 +00:00
|
|
|
class H_HelmetB;
|
|
|
|
class rhs_tsh4: H_HelmetB {
|
2017-05-17 02:40:07 +00:00
|
|
|
HEARING_PROTECTION_VICCREW
|
2015-07-01 20:25:19 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
class rhs_zsh7a: H_HelmetB {
|
2017-05-17 02:40:07 +00:00
|
|
|
HEARING_PROTECTION_VICCREW
|
2015-07-01 20:25:19 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
class rhs_gssh18: H_HelmetB {
|
2017-05-17 02:40:07 +00:00
|
|
|
HEARING_PROTECTION_EARMUFF
|
2015-07-01 20:25:19 +00:00
|
|
|
};
|
2017-10-23 13:02:48 +00:00
|
|
|
|
2016-12-22 19:29:05 +00:00
|
|
|
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;
|
|
|
|
};
|
2016-01-18 13:59:38 +00:00
|
|
|
};
|