AB : compats RHS 4.2 updated (#4879)

* Update CfgWeapons.hpp

* Update CfgWeapons.hpp

* Update CfgWeapons.hpp

* Update CfgAmmo.hpp

* Update CfgWeapons.hpp

* Update CfgWeapons.hpp

* Update CfgWeapons.hpp

* Update CfgWeapons.hpp

* Update CfgWeapons.hpp

* Update CfgWeapons.hpp
This commit is contained in:
J3aLeiNe 2017-02-11 21:24:54 +01:00 committed by PabstMirror
parent f678f4a3b1
commit 9763defd10
3 changed files with 69 additions and 10 deletions

View File

@ -46,7 +46,12 @@ class CfgWeapons {
ACE_barrelTwist = 195.072; ACE_barrelTwist = 195.072;
ACE_barrelLength = 589.28; ACE_barrelLength = 589.28;
}; };
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"
ACE_RailHeightAboveBore = 2.4;
};
class rhs_acc_sniper_base; class rhs_acc_sniper_base;
class rhs_acc_pso1m2: rhs_acc_sniper_base { class rhs_acc_pso1m2: rhs_acc_sniper_base {
ACE_ScopeAdjust_Vertical[] = {0, 0}; ACE_ScopeAdjust_Vertical[] = {0, 0};
@ -60,7 +65,23 @@ class CfgWeapons {
ACE_ScopeAdjust_VerticalIncrement = 0.5; ACE_ScopeAdjust_VerticalIncrement = 0.5;
ACE_ScopeAdjust_HorizontalIncrement = 0.5; ACE_ScopeAdjust_HorizontalIncrement = 0.5;
}; };
class ItemCore;
class InventoryOpticsItem_Base_F;
class rhs_acc_dh520x56: ItemCore { // http://nightvision.ru/catalog/4/item/35
ACE_ScopeHeightAboveRail = 4.6;
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;
};
};
};
};
class Launcher_Base_F; class Launcher_Base_F;
class rhs_weap_rpg7: Launcher_Base_F { class rhs_weap_rpg7: Launcher_Base_F {
ace_reloadlaunchers_enabled = 1; ace_reloadlaunchers_enabled = 1;

View File

@ -31,7 +31,7 @@ class CfgAmmo {
ACE_caliber = 7.823; ACE_caliber = 7.823;
ACE_bulletLength = 37.821; ACE_bulletLength = 37.821;
ACE_bulletMass = 14.256; ACE_bulletMass = 14.256;
ACE_ammoTempMuzzleVelocityShifts[] = {-26.55, -25.47, -22.85, -20.12, -16.98, -12.80, -7.64, -1.53, 5.96, 15.17, 26.19}; ACE_ammoTempMuzzleVelocityShifts[] = {-5.3, -5.1, -4.6, -4.2, -3.4, -2.6, -1.4, -0.3, 1.4, 3.0, 5.2};
ACE_ballisticCoefficients[] = {0.310}; ACE_ballisticCoefficients[] = {0.310};
ACE_velocityBoundaries[] = {}; ACE_velocityBoundaries[] = {};
ACE_standardAtmosphere = "ICAO"; ACE_standardAtmosphere = "ICAO";

View File

@ -13,15 +13,23 @@ class CfgWeapons {
class rhs_weap_M107_Base_F: GM6_base_F { class rhs_weap_M107_Base_F: GM6_base_F {
ACE_barrelTwist = 381.0; ACE_barrelTwist = 381.0;
ACE_barrelLength = 736.6; ACE_barrelLength = 736.6;
ACE_RailHeightAboveBore = 3.8;
}; };
class rhs_weap_XM2010_Base_F: Rifle_Base_F { class rhs_weap_XM2010_Base_F: Rifle_Base_F {
ACE_barrelTwist = 254.0; ACE_barrelTwist = 254.0;
ACE_barrelLength = 609.6; ACE_barrelLength = 609.6;
ACE_Overheating_dispersion = 0.75; ACE_Overheating_dispersion = 0.75;
ACE_RailHeightAboveBore = 3.6;
}; };
class rhs_weap_m24sws: rhs_weap_XM2010_Base_F { class rhs_weap_m24sws: rhs_weap_XM2010_Base_F {
ACE_barrelTwist = 285.75; ACE_barrelTwist = 285.75;
ACE_barrelLength = 609.6; ACE_barrelLength = 609.6;
ACE_RailHeightAboveBore = 1.8;
};
class rhs_weap_m40a5: rhs_weap_XM2010_Base_F {
ACE_barrelTwist = 304.8; // 1:12"
ACE_barrelLength = 635.0; // 25"
ACE_RailHeightAboveBore = 2.6;
}; };
class arifle_MX_Base_F; class arifle_MX_Base_F;
class rhs_weap_m4_Base: arifle_MX_Base_F { class rhs_weap_m4_Base: arifle_MX_Base_F {
@ -75,14 +83,17 @@ class CfgWeapons {
ACE_barrelTwist = 304.8; ACE_barrelTwist = 304.8;
ACE_barrelLength = 558.8; ACE_barrelLength = 558.8;
ACE_Overheating_dispersion = 0.75; ACE_Overheating_dispersion = 0.75;
ACE_RailHeightAboveBore = 3.3;
}; };
class rhs_weap_sr25: rhs_weap_m14ebrri { class rhs_weap_sr25: rhs_weap_m14ebrri {
ACE_barrelTwist = 285.75; ACE_barrelTwist = 285.75;
ACE_barrelLength = 609.6; ACE_barrelLength = 609.6;
ACE_RailHeightAboveBore = 3.4;
}; };
class rhs_weap_sr25_ec: rhs_weap_sr25 { class rhs_weap_sr25_ec: rhs_weap_sr25 {
ACE_barrelTwist = 285.75; ACE_barrelTwist = 285.75;
ACE_barrelLength = 508.0; ACE_barrelLength = 508.0;
ACE_RailHeightAboveBore = 3.4;
}; };
class rhs_weap_M590_5RD: Rifle_Base_F { class rhs_weap_M590_5RD: Rifle_Base_F {
ACE_barrelTwist = 0.0; ACE_barrelTwist = 0.0;
@ -131,8 +142,11 @@ class CfgWeapons {
}; };
}; };
}; };
class rhsusf_acc_LEUPOLDMK4: rhsusf_acc_sniper_base {}; class rhsusf_acc_LEUPOLDMK4: rhsusf_acc_sniper_base {
ACE_ScopeHeightAboveRail = 2.4;
};
class rhsusf_acc_LEUPOLDMK4_2: rhsusf_acc_sniper_base { class rhsusf_acc_LEUPOLDMK4_2: rhsusf_acc_sniper_base {
ACE_ScopeHeightAboveRail = 3.8;
class ItemInfo: InventoryOpticsItem_Base_F { class ItemInfo: InventoryOpticsItem_Base_F {
class OpticsModes { class OpticsModes {
class pso1_scope { class pso1_scope {
@ -142,8 +156,11 @@ class CfgWeapons {
}; };
}; };
}; };
class rhsusf_acc_LEUPOLDMK4_2_d: rhsusf_acc_LEUPOLDMK4_2 {}; class rhsusf_acc_LEUPOLDMK4_2_d: rhsusf_acc_LEUPOLDMK4_2 {
ACE_ScopeHeightAboveRail = 3.8;
};
class rhsusf_acc_premier: rhsusf_acc_LEUPOLDMK4_2 { class rhsusf_acc_premier: rhsusf_acc_LEUPOLDMK4_2 {
ACE_ScopeHeightAboveRail = 5.4;
class ItemInfo: InventoryOpticsItem_Base_F { class ItemInfo: InventoryOpticsItem_Base_F {
class OpticsModes { class OpticsModes {
class pso1_scope { class pso1_scope {
@ -153,8 +170,11 @@ class CfgWeapons {
}; };
}; };
}; };
class rhsusf_acc_premier_low: rhsusf_acc_premier {}; class rhsusf_acc_premier_low: rhsusf_acc_premier {
ACE_ScopeHeightAboveRail = 4.0;
};
class rhsusf_acc_premier_anpvs27: rhsusf_acc_premier { class rhsusf_acc_premier_anpvs27: rhsusf_acc_premier {
ACE_ScopeHeightAboveRail = 5.4;
class ItemInfo: InventoryOpticsItem_Base_F { class ItemInfo: InventoryOpticsItem_Base_F {
class OpticsModes { class OpticsModes {
class pso1_nvg { class pso1_nvg {
@ -164,6 +184,24 @@ class CfgWeapons {
}; };
}; };
}; };
class rhsusf_acc_M8541: rhsusf_acc_premier { // http://www.schmidtundbender.de/en/products/police-and-military-forces/3-12x50-pm-iilpmtc.html
ACE_ScopeHeightAboveRail = 4.0;
ACE_ScopeAdjust_Vertical[] = {0, 22};
ACE_ScopeAdjust_Horizontal[] = {-6, 6};
ACE_ScopeAdjust_VerticalIncrement = 0.1;
ACE_ScopeAdjust_HorizontalIncrement = 0.1;
class ItemInfo: InventoryOpticsItem_Base_F {
class OpticsModes {
class Snip {
discreteDistance[] = {100};
discreteDistanceInitIndex = 0;
};
};
};
};
class rhsusf_acc_M8541_low: rhsusf_acc_M8541 {
ACE_ScopeHeightAboveRail = 3.0;
};
// RHS lauchers // RHS lauchers
class rhs_weap_fgm148: launch_O_Titan_F { class rhs_weap_fgm148: launch_O_Titan_F {
ace_javelin_enabled = 1; ace_javelin_enabled = 1;