2016-07-28 21:50:52 +00:00
|
|
|
class CfgWeapons {
|
2017-12-06 19:15:33 +00:00
|
|
|
class NVGoggles;
|
|
|
|
class rhsusf_ANPVS_14: NVGoggles { // Monocular
|
|
|
|
modelOptics = "";
|
|
|
|
EGVAR(nightvision,border) = QPATHTOEF(nightvision,data\nvg_mask_4096.paa);
|
|
|
|
EGVAR(nightvision,bluRadius) = 0.13;
|
|
|
|
};
|
|
|
|
class rhsusf_ANPVS_15: rhsusf_ANPVS_14 { // Binocular (same as base)
|
2019-03-25 09:07:31 +00:00
|
|
|
modelOptics = "";
|
2017-12-06 19:15:33 +00:00
|
|
|
EGVAR(nightvision,border) = QPATHTOEF(nightvision,data\nvg_mask_binos_4096.paa);
|
|
|
|
EGVAR(nightvision,bluRadius) = 0.15;
|
|
|
|
};
|
|
|
|
|
2015-04-27 13:48:53 +00:00
|
|
|
class Pistol_Base_F;
|
|
|
|
class Rifle_Base_F;
|
2020-05-10 15:20:56 +00:00
|
|
|
class rhs_weap_m14ebrri_base;
|
2015-05-13 19:19:00 +00:00
|
|
|
class launch_O_Titan_F;
|
2016-07-28 21:50:52 +00:00
|
|
|
class GM6_base_F;
|
|
|
|
class rhs_weap_M107_Base_F: GM6_base_F {
|
|
|
|
ACE_barrelTwist = 381.0;
|
|
|
|
ACE_barrelLength = 736.6;
|
2017-10-23 13:02:48 +00:00
|
|
|
ACE_RailHeightAboveBore = 4.18639;
|
2016-07-28 21:50:52 +00:00
|
|
|
};
|
2015-06-12 02:04:34 +00:00
|
|
|
class rhs_weap_XM2010_Base_F: Rifle_Base_F {
|
2015-12-20 20:37:14 +00:00
|
|
|
ACE_barrelTwist = 254.0;
|
|
|
|
ACE_barrelLength = 609.6;
|
2016-07-28 21:50:52 +00:00
|
|
|
ACE_Overheating_dispersion = 0.75;
|
2017-10-23 13:02:48 +00:00
|
|
|
ACE_RailHeightAboveBore = 3.1028;
|
2015-04-27 13:48:53 +00:00
|
|
|
};
|
2017-01-09 18:11:31 +00:00
|
|
|
class rhs_weap_m24sws: rhs_weap_XM2010_Base_F {
|
2016-07-28 21:50:52 +00:00
|
|
|
ACE_barrelTwist = 285.75;
|
|
|
|
ACE_barrelLength = 609.6;
|
2017-10-23 13:02:48 +00:00
|
|
|
ACE_RailHeightAboveBore = 2.41891;
|
2016-07-28 22:05:53 +00:00
|
|
|
};
|
2017-02-11 20:24:54 +00:00
|
|
|
class rhs_weap_m40a5: rhs_weap_XM2010_Base_F {
|
|
|
|
ACE_barrelTwist = 304.8; // 1:12"
|
|
|
|
ACE_barrelLength = 635.0; // 25"
|
2017-10-23 13:02:48 +00:00
|
|
|
ACE_RailHeightAboveBore = 2.46368;
|
2017-05-17 02:40:07 +00:00
|
|
|
};
|
2015-04-27 13:48:53 +00:00
|
|
|
class arifle_MX_Base_F;
|
2015-06-12 02:04:34 +00:00
|
|
|
class rhs_weap_m4_Base: arifle_MX_Base_F {
|
2017-10-23 13:02:48 +00:00
|
|
|
ACE_RailHeightAboveBore = 2.56518;
|
2015-12-20 20:37:14 +00:00
|
|
|
ACE_barrelTwist = 177.8;
|
|
|
|
ACE_barrelLength = 368.3;
|
2015-04-27 13:48:53 +00:00
|
|
|
};
|
2016-07-28 21:50:52 +00:00
|
|
|
class rhs_weap_m4a1;
|
|
|
|
class rhs_weap_hk416d10: rhs_weap_m4a1 {
|
2017-10-23 13:02:48 +00:00
|
|
|
ACE_RailHeightAboveBore = 3.56139;
|
2016-07-28 21:50:52 +00:00
|
|
|
ACE_barrelTwist = 177.8;
|
|
|
|
ACE_barrelLength = 254;
|
|
|
|
};
|
|
|
|
class rhs_weap_hk416d145: rhs_weap_hk416d10 {
|
|
|
|
ACE_barrelTwist = 177.8;
|
|
|
|
ACE_barrelLength = 368.3;
|
|
|
|
};
|
|
|
|
class rhs_weap_m27iar: rhs_weap_m4a1 {
|
2017-10-23 13:02:48 +00:00
|
|
|
ACE_RailHeightAboveBore = 3.56139;
|
2016-07-28 21:50:52 +00:00
|
|
|
ACE_barrelTwist = 177.8;
|
|
|
|
ACE_barrelLength = 419.1;
|
|
|
|
};
|
2016-05-20 00:53:23 +00:00
|
|
|
class rhs_weap_m4a1_blockII;
|
|
|
|
class rhs_weap_mk18: rhs_weap_m4a1_blockII {
|
2017-10-23 13:02:48 +00:00
|
|
|
ACE_RailHeightAboveBore = 2.6068;
|
2015-12-20 20:37:14 +00:00
|
|
|
ACE_barrelTwist = 177.8;
|
|
|
|
ACE_barrelLength = 261.62;
|
2015-04-27 13:48:53 +00:00
|
|
|
};
|
2015-06-12 02:04:34 +00:00
|
|
|
class rhs_weap_m16a4: rhs_weap_m4_Base {
|
2017-10-23 13:02:48 +00:00
|
|
|
ACE_RailHeightAboveBore = 2.59324;
|
2015-12-17 23:04:30 +00:00
|
|
|
ACE_barrelTwist = 177.8;
|
|
|
|
ACE_barrelLength = 508.0;
|
2015-04-27 13:48:53 +00:00
|
|
|
};
|
2018-11-17 16:11:47 +00:00
|
|
|
class rhs_weap_saw_base: Rifle_Base_F { // Base class for all Minimi
|
|
|
|
ACE_Overheating_allowSwapBarrel = 1;
|
|
|
|
};
|
|
|
|
class rhs_weap_lmg_minimi_railed;
|
2016-07-28 21:50:52 +00:00
|
|
|
class rhs_weap_m249_pip_S: rhs_weap_lmg_minimi_railed {
|
2017-10-23 13:02:48 +00:00
|
|
|
ACE_RailHeightAboveBore = 4.11044;
|
2017-01-09 18:11:31 +00:00
|
|
|
ACE_barrelLength = 348;
|
2015-12-17 23:04:30 +00:00
|
|
|
ACE_barrelTwist = 177.8;
|
2016-07-28 21:50:52 +00:00
|
|
|
};
|
|
|
|
class rhs_weap_m249_pip_L: rhs_weap_lmg_minimi_railed {
|
2017-10-23 13:02:48 +00:00
|
|
|
ACE_RailHeightAboveBore = 4.34899;
|
2016-09-03 20:00:15 +00:00
|
|
|
ACE_barrelLength = 464.8;
|
2016-07-28 21:50:52 +00:00
|
|
|
ACE_barrelTwist = 177.8;
|
|
|
|
};
|
2020-06-13 20:55:05 +00:00
|
|
|
class rhs_weap_m249: rhs_weap_lmg_minimi_railed {
|
|
|
|
ACE_barrelLength = 464.8;
|
|
|
|
ACE_barrelTwist = 177.8;
|
|
|
|
};
|
|
|
|
class rhs_weap_m249_pip: rhs_weap_lmg_minimi_railed {
|
|
|
|
ACE_barrelLength = 464.8;
|
|
|
|
ACE_barrelTwist = 177.8;
|
|
|
|
};
|
|
|
|
class rhs_weap_M249_base;
|
|
|
|
class rhs_weap_m240_base: rhs_weap_M249_base {
|
2017-10-23 13:02:48 +00:00
|
|
|
ACE_RailHeightAboveBore = 4.3987;
|
2015-12-17 23:04:30 +00:00
|
|
|
ACE_barrelTwist = 304.8;
|
|
|
|
ACE_barrelLength = 629.92;
|
|
|
|
ACE_Overheating_allowSwapBarrel = 1;
|
2015-04-27 13:48:53 +00:00
|
|
|
};
|
2020-06-13 20:55:05 +00:00
|
|
|
class rhs_weap_m14_base;
|
|
|
|
class rhs_weap_m14: rhs_weap_m14_base {
|
|
|
|
ACE_barrelTwist = 304.8;
|
|
|
|
ACE_barrelLength = 558.8;
|
|
|
|
ACE_Overheating_dispersion = 0.75;
|
|
|
|
};
|
2020-05-10 15:20:56 +00:00
|
|
|
class rhs_weap_m14ebrri: rhs_weap_m14ebrri_base {
|
2015-12-20 20:37:14 +00:00
|
|
|
ACE_barrelTwist = 304.8;
|
|
|
|
ACE_barrelLength = 558.8;
|
2016-07-28 21:50:52 +00:00
|
|
|
ACE_Overheating_dispersion = 0.75;
|
2017-10-23 13:02:48 +00:00
|
|
|
ACE_RailHeightAboveBore = 3.08341;
|
2015-04-27 13:48:53 +00:00
|
|
|
};
|
2020-07-22 15:25:09 +00:00
|
|
|
class rhs_weap_m14_socom_base: rhs_weap_m14_base {
|
2020-06-13 20:55:05 +00:00
|
|
|
ACE_barrelTwist = 304.8;
|
|
|
|
ACE_barrelLength = 413; //16.25 in (413 mm)
|
|
|
|
ACE_Overheating_dispersion = 0.75;
|
|
|
|
};
|
2015-06-12 02:04:34 +00:00
|
|
|
class rhs_weap_sr25: rhs_weap_m14ebrri {
|
2015-12-20 20:37:14 +00:00
|
|
|
ACE_barrelTwist = 285.75;
|
|
|
|
ACE_barrelLength = 609.6;
|
2017-10-23 13:02:48 +00:00
|
|
|
ACE_RailHeightAboveBore = 3.13162;
|
2015-04-27 13:48:53 +00:00
|
|
|
};
|
2015-06-12 02:04:34 +00:00
|
|
|
class rhs_weap_sr25_ec: rhs_weap_sr25 {
|
2020-08-25 00:34:43 +00:00
|
|
|
ACE_barrelLength = 508.0;
|
|
|
|
ACE_RailHeightAboveBore = 3.13689;
|
|
|
|
};
|
|
|
|
class rhs_weap_sr25_d;
|
|
|
|
class rhs_weap_sr25_ec_d: rhs_weap_sr25_d {
|
|
|
|
ACE_barrelLength = 508.0;
|
|
|
|
ACE_RailHeightAboveBore = 3.13689;
|
|
|
|
};
|
|
|
|
class rhs_weap_sr25_wd;
|
|
|
|
class rhs_weap_sr25_ec_wd: rhs_weap_sr25_wd {
|
2015-12-20 20:37:14 +00:00
|
|
|
ACE_barrelLength = 508.0;
|
2017-10-23 13:02:48 +00:00
|
|
|
ACE_RailHeightAboveBore = 3.13689;
|
2015-04-27 13:48:53 +00:00
|
|
|
};
|
2020-06-13 20:55:05 +00:00
|
|
|
class rhs_weap_SCAR_H_Base;
|
|
|
|
class rhs_weap_SCAR_H_CQC_Base: rhs_weap_SCAR_H_Base {
|
|
|
|
ACE_barrelTwist = 304.8; // 1:12"
|
|
|
|
ACE_barrelLength = 330.0;
|
|
|
|
};
|
2020-07-22 15:25:09 +00:00
|
|
|
class rhs_weap_SCAR_H_LB_Base: rhs_weap_SCAR_H_Base {
|
2020-06-13 20:55:05 +00:00
|
|
|
ACE_barrelTwist = 304.8; // 1:12"
|
|
|
|
ACE_barrelLength = 508.0;
|
|
|
|
};
|
2020-07-22 15:25:09 +00:00
|
|
|
class rhs_weap_SCAR_H_STD_Base: rhs_weap_SCAR_H_Base {
|
2020-06-13 20:55:05 +00:00
|
|
|
ACE_barrelTwist = 304.8; // 1:12"
|
|
|
|
ACE_barrelLength = 406.0;
|
|
|
|
};
|
2015-06-12 02:04:34 +00:00
|
|
|
class rhs_weap_M590_5RD: Rifle_Base_F {
|
2015-12-20 20:37:14 +00:00
|
|
|
ACE_barrelTwist = 0.0;
|
|
|
|
ACE_twistDirection = 0;
|
|
|
|
ACE_barrelLength = 469.9;
|
2015-04-27 13:48:53 +00:00
|
|
|
};
|
2015-06-12 02:04:34 +00:00
|
|
|
class rhs_weap_M590_8RD: rhs_weap_M590_5RD {
|
2015-12-20 20:37:14 +00:00
|
|
|
ACE_barrelTwist = 0.0;
|
|
|
|
ACE_twistDirection = 0;
|
|
|
|
ACE_barrelLength = 508.0;
|
2015-04-27 13:48:53 +00:00
|
|
|
};
|
2021-10-15 18:47:05 +00:00
|
|
|
class rhs_weap_m32_Base_F: Rifle_Base_F {
|
2021-10-19 00:05:40 +00:00
|
|
|
ace_overheating_jamTypesAllowed[] = {"Fire", "Dud"};
|
2021-10-14 15:47:52 +00:00
|
|
|
};
|
2017-04-16 14:09:50 +00:00
|
|
|
class SMG_02_base_F;
|
|
|
|
class rhsusf_weap_MP7A1_base_f: SMG_02_base_F {
|
2019-05-30 18:34:18 +00:00
|
|
|
ACE_barrelLength = 180;
|
|
|
|
ACE_barrelTwist = 160;
|
|
|
|
ACE_IronSightBaseAngle = -0.286479; // 5 mRad POA = POI at the default discreteDistance 100 m, SMG_02_base_F default value 0.434847
|
|
|
|
ACE_RailBaseAngle = 0; // SMG_02_base_F default value 0.0217724
|
2017-10-23 13:02:48 +00:00
|
|
|
ACE_RailHeightAboveBore = 5;
|
2016-07-28 21:50:52 +00:00
|
|
|
};
|
|
|
|
// RHS pistols
|
2015-04-27 13:48:53 +00:00
|
|
|
class hgun_ACPC2_F;
|
2015-06-12 02:04:34 +00:00
|
|
|
class rhsusf_weap_m1911a1: hgun_ACPC2_F {
|
2015-12-20 20:37:14 +00:00
|
|
|
ACE_barrelTwist = 406.4;
|
|
|
|
ACE_barrelLength = 127.0;
|
2015-04-27 13:48:53 +00:00
|
|
|
};
|
2016-07-28 21:50:52 +00:00
|
|
|
class hgun_P07_F;
|
|
|
|
class rhsusf_weap_glock17g4: hgun_P07_F {
|
|
|
|
ACE_barrelTwist = 248.92;
|
|
|
|
ACE_barrelLength = 114.046;
|
|
|
|
};
|
|
|
|
class rhsusf_weap_m9: rhsusf_weap_glock17g4 {
|
|
|
|
ACE_barrelTwist = 248.92;
|
|
|
|
ACE_barrelLength = 124.46;
|
|
|
|
};
|
2021-10-14 15:47:52 +00:00
|
|
|
class rhs_weap_M320_Base_F: Pistol_Base_F {
|
2021-10-19 00:05:40 +00:00
|
|
|
ace_overheating_jamTypesAllowed[] = {"Fire", "Dud"};
|
2021-10-14 15:47:52 +00:00
|
|
|
};
|
|
|
|
|
2016-07-28 21:50:52 +00:00
|
|
|
// RHS sniper scopes
|
|
|
|
class ItemCore;
|
|
|
|
class InventoryOpticsItem_Base_F;
|
|
|
|
class rhsusf_acc_sniper_base: ItemCore {
|
|
|
|
ACE_ScopeAdjust_Vertical[] = {-4, 30};
|
|
|
|
ACE_ScopeAdjust_Horizontal[] = {-6, 6};
|
2015-05-19 18:13:31 +00:00
|
|
|
ACE_ScopeAdjust_VerticalIncrement = 0.1;
|
2015-05-23 15:06:46 +00:00
|
|
|
ACE_ScopeAdjust_HorizontalIncrement = 0.1;
|
2016-07-28 21:50:52 +00:00
|
|
|
class ItemInfo: InventoryOpticsItem_Base_F {
|
|
|
|
class OpticsModes {
|
|
|
|
class pso1_scope {
|
|
|
|
discreteDistance[] = {100};
|
|
|
|
discreteDistanceInitIndex = 0;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2015-04-27 15:35:03 +00:00
|
|
|
};
|
2020-01-09 20:42:54 +00:00
|
|
|
// ACOG is a sniper scope for some reason, but we don't want scope adjust
|
|
|
|
class rhsusf_acc_ACOG: rhsusf_acc_sniper_base {
|
|
|
|
ACE_ScopeAdjust_Vertical[] = { 0, 0 };
|
|
|
|
ACE_ScopeAdjust_Horizontal[] = { 0, 0 };
|
|
|
|
ACE_ScopeAdjust_VerticalIncrement = 0;
|
|
|
|
ACE_ScopeAdjust_HorizontalIncrement = 0;
|
|
|
|
};
|
2017-02-11 20:24:54 +00:00
|
|
|
class rhsusf_acc_LEUPOLDMK4: rhsusf_acc_sniper_base {
|
2017-10-23 13:02:48 +00:00
|
|
|
ACE_ScopeHeightAboveRail = 2.62567;
|
2017-02-11 20:24:54 +00:00
|
|
|
};
|
2015-04-27 15:35:03 +00:00
|
|
|
class rhsusf_acc_LEUPOLDMK4_2: rhsusf_acc_sniper_base {
|
2017-10-23 13:02:48 +00:00
|
|
|
ACE_ScopeHeightAboveRail = 3.86377;
|
2016-07-28 21:50:52 +00:00
|
|
|
class ItemInfo: InventoryOpticsItem_Base_F {
|
|
|
|
class OpticsModes {
|
|
|
|
class pso1_scope {
|
|
|
|
discreteDistance[] = {100};
|
|
|
|
discreteDistanceInitIndex = 0;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2015-04-27 15:35:03 +00:00
|
|
|
};
|
2016-07-28 21:50:52 +00:00
|
|
|
class rhsusf_acc_premier: rhsusf_acc_LEUPOLDMK4_2 {
|
2017-10-23 13:02:48 +00:00
|
|
|
ACE_ScopeHeightAboveRail = 5.26066;
|
2016-07-28 21:50:52 +00:00
|
|
|
class ItemInfo: InventoryOpticsItem_Base_F {
|
|
|
|
class OpticsModes {
|
|
|
|
class pso1_scope {
|
|
|
|
discreteDistance[] = {100};
|
|
|
|
discreteDistanceInitIndex = 0;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2017-02-11 20:24:54 +00:00
|
|
|
class rhsusf_acc_premier_low: rhsusf_acc_premier {
|
2017-10-23 13:02:48 +00:00
|
|
|
ACE_ScopeHeightAboveRail = 3.90899;
|
2017-02-11 20:24:54 +00:00
|
|
|
};
|
2016-07-28 21:50:52 +00:00
|
|
|
class rhsusf_acc_premier_anpvs27: rhsusf_acc_premier {
|
2017-10-23 13:02:48 +00:00
|
|
|
ACE_ScopeHeightAboveRail = 5.25066;
|
2016-07-28 21:50:52 +00:00
|
|
|
class ItemInfo: InventoryOpticsItem_Base_F {
|
|
|
|
class OpticsModes {
|
|
|
|
class pso1_nvg {
|
|
|
|
discreteDistance[] = {100};
|
|
|
|
discreteDistanceInitIndex = 0;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2017-02-11 20:24:54 +00:00
|
|
|
class rhsusf_acc_M8541: rhsusf_acc_premier { // http://www.schmidtundbender.de/en/products/police-and-military-forces/3-12x50-pm-iilpmtc.html
|
2017-10-23 13:02:48 +00:00
|
|
|
ACE_ScopeHeightAboveRail = 4.2235;
|
2017-02-11 20:24:54 +00:00
|
|
|
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;
|
2017-05-17 02:40:07 +00:00
|
|
|
};
|
2017-02-11 20:24:54 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
class rhsusf_acc_M8541_low: rhsusf_acc_M8541 {
|
2017-10-23 13:02:48 +00:00
|
|
|
ACE_ScopeHeightAboveRail = 2.9789;
|
2017-02-11 20:24:54 +00:00
|
|
|
};
|
2021-04-21 19:11:12 +00:00
|
|
|
class rhsusf_acc_nxs_3515x50_base: ItemCore { // http://www.nightforceusa.com/PDF/nightforce-2011-catalog.pdf#page=12
|
|
|
|
ACE_ScopeAdjust_Vertical[] = {0, 30};
|
|
|
|
ACE_ScopeAdjust_Horizontal[] = {-10.9, 10.9};
|
|
|
|
ACE_ScopeAdjust_VerticalIncrement = 0.1;
|
|
|
|
ACE_ScopeAdjust_HorizontalIncrement = 0.1;
|
|
|
|
class ItemInfo: InventoryOpticsItem_Base_F {
|
|
|
|
class OpticsModes {
|
|
|
|
class nxs_scope {
|
|
|
|
discreteDistance[] = {100};
|
|
|
|
discreteDistanceInitIndex = 0;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
class rhsusf_acc_nxs_3515x50f1_base: rhsusf_acc_sniper_base { // http://www.nightforceusa.com/PDF/nightforce-2011-catalog.pdf#page=12
|
|
|
|
ACE_ScopeAdjust_Vertical[] = {0, 30};
|
|
|
|
ACE_ScopeAdjust_Horizontal[] = {-10.9, 10.9};
|
|
|
|
class ItemInfo: InventoryOpticsItem_Base_F {
|
|
|
|
class OpticsModes {
|
|
|
|
class nxs_scope {
|
|
|
|
discreteDistance[] = {100};
|
|
|
|
discreteDistanceInitIndex = 0;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
class rhsusf_acc_nxs_5522x56_base: ItemCore { // http://www.nightforceusa.com/PDF/nightforce-2011-catalog.pdf#page=12
|
|
|
|
ACE_ScopeAdjust_Vertical[] = {0, 27.3};
|
|
|
|
ACE_ScopeAdjust_Horizontal[] = {-8.2, 8.2};
|
|
|
|
ACE_ScopeAdjust_VerticalIncrement = 0.1;
|
|
|
|
ACE_ScopeAdjust_HorizontalIncrement = 0.1;
|
|
|
|
class ItemInfo: InventoryOpticsItem_Base_F {
|
|
|
|
class OpticsModes {
|
|
|
|
class nxs_scope {
|
|
|
|
discreteDistance[] = {100};
|
|
|
|
discreteDistanceInitIndex = 0;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
2016-07-28 21:50:52 +00:00
|
|
|
// RHS lauchers
|
|
|
|
class rhs_weap_fgm148: launch_O_Titan_F {
|
2015-05-13 19:18:40 +00:00
|
|
|
ace_javelin_enabled = 1;
|
|
|
|
weaponInfoType = "ACE_RscOptics_javelin";
|
2015-05-13 22:04:27 +00:00
|
|
|
modelOptics = "\z\ace\addons\javelin\data\reticle_titan.p3d";
|
2015-05-13 19:18:40 +00:00
|
|
|
canLock = 0;
|
|
|
|
lockingTargetSound[] = {"",0,1};
|
|
|
|
lockedTargetSound[] = {"",0,1};
|
2019-01-31 04:11:01 +00:00
|
|
|
class Single;
|
|
|
|
class Cruise: Single {
|
|
|
|
EGVAR(missileGuidance,attackProfile) = "JAV_DIR";
|
|
|
|
};
|
|
|
|
class TopDown: Single {
|
|
|
|
EGVAR(missileGuidance,attackProfile) = "JAV_TOP";
|
|
|
|
};
|
2015-05-13 19:18:40 +00:00
|
|
|
};
|
2015-07-01 20:25:19 +00:00
|
|
|
|
RHS CSW compatability (#7082)
* Initial Commit
* Got rid of unneeded translation values
* Updated Strings
* "Fixed" issue where when you deploy the tripid and weapon on slope it freaked out.
* Fixed locality issues. Added timers to relavent functions.
* Added weights to all magazines/tripod. Weights to weapons coming soon when I transfer them to the launcher slot
* Fixed bug regarding localized strings. Created new tripod model
* Added timers for deploying/picking up the tripod. Changed ammo-box model from custom to one already in ARMA. Changed gun-bag model for a more generic one. Created a texture for the tripod and gunbag
* Removed ability to disassemble weapons via the addAction. Added ACE Action to get in due to a memory point issue. Changed from a static deploy/dismount time to one based in the weapon configs
* Created forward-compatability. Made it so I can define a base plate for any weapon if I ever want to expand from the generic M3 Tripod.
* Fixed bug where tripod wouldn't deploy with the correct times. Fixed bug where if you moved the tripod into the ground it would go flying.
* Added mortar compatability. Will probably shift whole mortar ammo loading to CSW one day
* Added icons to each relavent item
* Added README, possibly fixed bug where if you are in a weapon others cant load/unload ammo. Changed distance you can interact with weapons
* Added checks for when deploying the gun as well as unloading ammo to prevent duplication/deletion of items.
* Added documentation
* Added order to doc
* Explained why things are the way they are
* Remove temp files
* Removed redundant files
* Converted tabs->spaces. Added newlines at end of all files. Changed broken line in fnc_tripodDeploy.sqf.
* 100% newlines at end of file
* Added newlines to files that didnt get the change. Fixed README. Changed from GVAR(cswOptions) to GVAR(options). Changed from tabs to spaces in wiki
* Fixed issue with UAV assembling with enableWeaponDisassembling. Fixed bug where game would crash if you disassembled static weapon with more than 1 magazine
* Tabs->Spaces
* Added CSW options to base StaticWeapon class to allow for easier additions. Switched default mortar away from CSW system due to incompatabilities
* Lazy Evaluations and macros to describe how things work.
* Added newlines to script_component. Fix no-texture issue on tripod. "Fix" 20mm HE saying 40mm HE. Add custom icons to all weapons. Move "Check Ammo" to CSW menu
* abc
* Revert "abc"
This reverts commit bcb4214bd99bba3fec692efa4dca950323da582d.
* Update to current commit
* Revert changes to fortify.md
* Updated UI Icon to Crew Served Ammo branch UI
* Added Pabst's CrewServedAmmo to handle ammo loading/unloading instead of my solution
* Fixed bug where currentWeaponTurret returned a blank string when a player hasent entered hte weapon to select the current weapon
* Re-added ammo loading time
* Tabs->Spaces
* Newline at end of files
* Removed replaced functions
* Remove redundant strings. Move ammo handling to appropiate section
* Tabs->Spaces
* Update wiki
* Updated to fix crash with default weapons and disable CSW ability on default static weapons
* Added editor attributes to enable/disable CSW at edit time
* Change how ammo is removed from the CSW. Uses math instead of iteration
* Fix bug where assembled weapon did not get rid of default actions
* Added support for multiple types of ammo in one CSW
* Add tracer magazines for .50 cal
* Fix bug where you could load ammo even if the gun couldnt take any more
* Disable debug and enable compile cache
* Changed weapon deploy/pickup time. Removed custom Titan missiles. Using ACE Dragging now. Added progress bar check for pickupTripod. Updated documentation
* Removed check if CSW is full to unload ammo
* Fix bug where items would spawn underneath other items on wepaon dismount
* Change some things
* Configure base statics, improve returnAmmo
* Add mortar baseplate
* Remove explicit inheritance
* Fix bug where unloading ammo would duplicate it if you had room in your person.
* Tab->Space
* Player couldnt pickup tripod due to legacy code
* Fix GMG_01_base_F inheritce
* Port of ACE 2 tripod + ACE 2 CSW Bag
* Move ACE 2 Data to APL folder
* Adjust weights to make them more accurate to how ARMA uses it and the real life equivalents
* Fix bug where error was thrown on esc from picking up tripod. Tripod rotated 180
* Fix bug where if you called ace_common_claim the weapon could be set to be disassembled even though it may not be wanted via CSW
* Added ability to toggle ammo handling when weaponAssembly is disabled.
* Add Proxy Weapons for all Vanilla static weapons. These serve as a way to allow for realistic ammo reload times without having to modify base classes if you want feautres turned off. Adjusted reload and mount times to be more "realistic"
* Fix Shadow RPT Spam
* Update wiki
* Change order of setDir and setPos
* Change all setDir/setPos orientations. Remove redundant check. Ensure that weapon locked state reflects it with the "getIn" command. Add a way to pass in a specific classname for the weapon assemble type. Add a callback function onDisassemble if user wants to set the state of the new tripod using the old weapon as a reference
* Actually check for the carryWeaponClassname in the deployWeapon check
* Ai Compatiblity
* Add stringtable entries
* Formatting fixes
* Stringtables for settings, fix setMagazineTurretAmmo
* inherit ammo for mags, reorder stringtable
displays correct ammo and descriptionShort
* don't require ace_javelin
* Tweaks, cleanup, localzation, ace_reload changes
change weapon tag to [CSW]
tweak localization strings
minor cleanup
simplify some ace_reload funcs
* delete moved dev func
* Hopefully fix issue where to-be deleted tripod intersects with newly created weapon and vice versa. Remove PBOPREFIX newline
* cleanup/proxyWeapon/mk6 compat
* RHS compatability
* Modified all tripod p3ds to have [0,0,0] at the mount. Ported AGS-30, Kord, M220, and SPG-9 tripods to APL And added them to CSW. Changed RHS compats to use new ported tripods. Changed strings to reflect real names.
* Change from M224 Mortar Bag -> Mk6 Mortar bag
* Add named propert (Autocenter) to make P3D [0,0,0] the center of the object instead of engine calculated
* oh no tabs
* remove some more evil tabs
* fix changes lost in merge
* fix bad merge pt2
* Fix UBC
2019-07-04 22:56:49 +00:00
|
|
|
class Launcher;
|
|
|
|
class Launcher_Base_F: Launcher {
|
|
|
|
class WeaponSlotsInfo;
|
|
|
|
};
|
2017-10-10 15:27:49 +00:00
|
|
|
class rhs_weap_smaw: Launcher_Base_F {
|
|
|
|
ace_reloadlaunchers_enabled = 1;
|
|
|
|
ace_overpressure_angle = 45;
|
|
|
|
};
|
|
|
|
class rhs_weap_maaws: Launcher_Base_F {
|
|
|
|
ace_reloadlaunchers_enabled = 1;
|
|
|
|
ace_overpressure_range = 15;
|
|
|
|
ace_overpressure_angle = 70;
|
|
|
|
ace_overpressure_damage = 0.75;
|
|
|
|
};
|
2017-05-17 02:40:07 +00:00
|
|
|
|
2019-03-25 09:07:31 +00:00
|
|
|
#define HEARING_PROTECTION_OPEN EGVAR(hearing,protection) = 0; EGVAR(hearing,lowerVolume) = 0;
|
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;
|
|
|
|
// Fast Helmets
|
|
|
|
class rhsusf_opscore_01;
|
2019-03-25 09:07:31 +00:00
|
|
|
class rhsusf_opscore_ut_pelt_nsw: rhsusf_opscore_01 {
|
|
|
|
HEARING_PROTECTION_PELTOR
|
|
|
|
};
|
2017-05-17 02:40:07 +00:00
|
|
|
class rhsusf_opscore_aor1_pelt: rhsusf_opscore_01 {
|
|
|
|
HEARING_PROTECTION_PELTOR
|
|
|
|
};
|
|
|
|
class rhsusf_opscore_aor1_pelt_nsw: rhsusf_opscore_01 {
|
|
|
|
HEARING_PROTECTION_PELTOR
|
|
|
|
};
|
|
|
|
class rhsusf_opscore_bk_pelt: rhsusf_opscore_01 {
|
|
|
|
HEARING_PROTECTION_PELTOR
|
|
|
|
};
|
|
|
|
class rhsusf_opscore_fg_pelt: rhsusf_opscore_01 {
|
|
|
|
HEARING_PROTECTION_PELTOR
|
|
|
|
};
|
|
|
|
class rhsusf_opscore_fg_pelt_nsw: rhsusf_opscore_01 {
|
|
|
|
HEARING_PROTECTION_PELTOR
|
|
|
|
};
|
|
|
|
class rhsusf_opscore_fg_pelt_cam: rhsusf_opscore_01 {
|
|
|
|
HEARING_PROTECTION_PELTOR
|
|
|
|
};
|
|
|
|
class rhsusf_opscore_paint_pelt: rhsusf_opscore_01 {
|
|
|
|
HEARING_PROTECTION_PELTOR
|
|
|
|
};
|
|
|
|
class rhsusf_opscore_paint_pelt_nsw: rhsusf_opscore_01 {
|
|
|
|
HEARING_PROTECTION_PELTOR
|
|
|
|
};
|
|
|
|
class rhsusf_opscore_paint_pelt_nsw_cam: rhsusf_opscore_01 {
|
|
|
|
HEARING_PROTECTION_PELTOR
|
|
|
|
};
|
|
|
|
class rhsusf_opscore_aor2_pelt: rhsusf_opscore_01 {
|
|
|
|
HEARING_PROTECTION_PELTOR
|
|
|
|
};
|
|
|
|
class rhsusf_opscore_aor2_pelt_nsw: rhsusf_opscore_01 {
|
|
|
|
HEARING_PROTECTION_PELTOR
|
|
|
|
};
|
|
|
|
class rhsusf_opscore_ut_pelt: rhsusf_opscore_01 {
|
|
|
|
HEARING_PROTECTION_PELTOR
|
|
|
|
};
|
|
|
|
class rhsusf_opscore_ut_pelt_cam: rhsusf_opscore_01 {
|
|
|
|
HEARING_PROTECTION_PELTOR
|
|
|
|
};
|
|
|
|
class rhsusf_opscore_ut_pelt_nsw_cam: rhsusf_opscore_01 {
|
|
|
|
HEARING_PROTECTION_PELTOR
|
|
|
|
};
|
|
|
|
class rhsusf_opscore_mc_pelt: rhsusf_opscore_01 {
|
|
|
|
HEARING_PROTECTION_PELTOR
|
|
|
|
};
|
|
|
|
class rhsusf_opscore_mc_pelt_nsw: rhsusf_opscore_01 {
|
|
|
|
HEARING_PROTECTION_PELTOR
|
|
|
|
};
|
|
|
|
class rhsusf_opscore_cover;
|
2019-03-25 09:07:31 +00:00
|
|
|
class rhsusf_opscore_mc_cover_pelt_nsw: rhsusf_opscore_cover {
|
|
|
|
HEARING_PROTECTION_PELTOR
|
|
|
|
};
|
2017-05-17 02:40:07 +00:00
|
|
|
class rhsusf_opscore_mc_cover_pelt: rhsusf_opscore_cover {
|
|
|
|
HEARING_PROTECTION_PELTOR
|
|
|
|
};
|
|
|
|
class rhsusf_opscore_mc_cover_pelt_cam: rhsusf_opscore_cover {
|
|
|
|
HEARING_PROTECTION_PELTOR
|
|
|
|
};
|
|
|
|
class rhsusf_opscore_rg_cover_pelt: rhsusf_opscore_cover {
|
|
|
|
HEARING_PROTECTION_PELTOR
|
|
|
|
};
|
|
|
|
class rhsusf_opscore_coy_cover_pelt: rhsusf_opscore_cover {
|
|
|
|
HEARING_PROTECTION_PELTOR
|
|
|
|
};
|
|
|
|
class rhsusf_opscore_mar_01;
|
|
|
|
class rhsusf_opscore_mar_ut_pelt: rhsusf_opscore_mar_01 {
|
|
|
|
HEARING_PROTECTION_PELTOR
|
|
|
|
};
|
|
|
|
class rhsusf_opscore_mar_fg_pelt: rhsusf_opscore_mar_01 {
|
|
|
|
HEARING_PROTECTION_PELTOR
|
|
|
|
};
|
|
|
|
|
|
|
|
// ACH Helmets
|
2015-07-26 23:42:02 +00:00
|
|
|
class rhsusf_ach_helmet_ocp;
|
2017-05-17 02:40:07 +00:00
|
|
|
class rhsusf_ach_bare_des_headset: rhsusf_ach_helmet_ocp {
|
|
|
|
HEARING_PROTECTION_PELTOR
|
|
|
|
};
|
|
|
|
class rhsusf_ach_bare_des_headset_ess: rhsusf_ach_helmet_ocp {
|
|
|
|
HEARING_PROTECTION_PELTOR
|
|
|
|
};
|
|
|
|
class rhsusf_ach_bare_headset: rhsusf_ach_helmet_ocp {
|
|
|
|
HEARING_PROTECTION_PELTOR
|
|
|
|
};
|
|
|
|
class rhsusf_ach_bare_headset_ess: rhsusf_ach_helmet_ocp {
|
|
|
|
HEARING_PROTECTION_PELTOR
|
|
|
|
};
|
|
|
|
class rhsusf_ach_bare_semi_headset: rhsusf_ach_helmet_ocp {
|
|
|
|
HEARING_PROTECTION_PELTOR
|
|
|
|
};
|
|
|
|
class rhsusf_ach_bare_semi_headset_ess: rhsusf_ach_helmet_ocp {
|
|
|
|
HEARING_PROTECTION_PELTOR
|
|
|
|
};
|
|
|
|
class rhsusf_ach_bare_tan_headset: rhsusf_ach_helmet_ocp {
|
|
|
|
HEARING_PROTECTION_PELTOR
|
|
|
|
};
|
|
|
|
class rhsusf_ach_bare_tan_headset_ess: rhsusf_ach_helmet_ocp {
|
|
|
|
HEARING_PROTECTION_PELTOR
|
|
|
|
};
|
|
|
|
class rhsusf_ach_bare_wood_headset: rhsusf_ach_helmet_ocp {
|
|
|
|
HEARING_PROTECTION_PELTOR
|
|
|
|
};
|
|
|
|
class rhsusf_ach_bare_wood_headset_ess: rhsusf_ach_helmet_ocp {
|
|
|
|
HEARING_PROTECTION_PELTOR
|
|
|
|
};
|
|
|
|
class rhsusf_ach_helmet_headset_ocp: rhsusf_ach_helmet_ocp {
|
|
|
|
HEARING_PROTECTION_PELTOR
|
|
|
|
};
|
|
|
|
class rhsusf_ach_helmet_headset_ess_ocp: rhsusf_ach_helmet_ocp {
|
|
|
|
HEARING_PROTECTION_PELTOR
|
2015-07-26 23:42:02 +00:00
|
|
|
};
|
|
|
|
|
2017-05-17 02:40:07 +00:00
|
|
|
// ACVC Helmets
|
2015-07-01 20:25:19 +00:00
|
|
|
class rhsusf_cvc_helmet: rhsusf_opscore_01 {
|
2017-05-17 02:40:07 +00:00
|
|
|
HEARING_PROTECTION_VICCREW
|
|
|
|
};
|
|
|
|
|
|
|
|
// MICH Helmets
|
|
|
|
class rhsusf_mich_bare;
|
|
|
|
class rhsusf_mich_bare_alt: rhsusf_mich_bare {
|
|
|
|
HEARING_PROTECTION_PELTOR
|
|
|
|
};
|
|
|
|
class rhsusf_mich_bare_norotos;
|
|
|
|
class rhsusf_mich_bare_norotos_alt: rhsusf_mich_bare_norotos {
|
|
|
|
HEARING_PROTECTION_PELTOR
|
|
|
|
};
|
|
|
|
class rhsusf_mich_bare_norotos_arc;
|
|
|
|
class rhsusf_mich_bare_norotos_arc_alt: rhsusf_mich_bare_norotos_arc {
|
|
|
|
HEARING_PROTECTION_PELTOR
|
|
|
|
};
|
|
|
|
class rhsusf_mich_bare_semi;
|
|
|
|
class rhsusf_mich_bare_alt_semi: rhsusf_mich_bare_semi {
|
|
|
|
HEARING_PROTECTION_PELTOR
|
2015-07-01 20:25:19 +00:00
|
|
|
};
|
2017-05-17 02:40:07 +00:00
|
|
|
class rhsusf_mich_bare_norotos_semi;
|
|
|
|
class rhsusf_mich_bare_norotos_alt_semi: rhsusf_mich_bare_norotos_semi {
|
|
|
|
HEARING_PROTECTION_PELTOR
|
|
|
|
};
|
2019-03-25 09:07:31 +00:00
|
|
|
class rhsusf_mich_bare_norotos_arc_semi: rhsusf_mich_bare_norotos_alt_semi {
|
|
|
|
HEARING_PROTECTION_OPEN
|
|
|
|
};
|
2017-05-17 02:40:07 +00:00
|
|
|
class rhsusf_mich_bare_norotos_arc_alt_semi: rhsusf_mich_bare_norotos_arc_semi {
|
|
|
|
HEARING_PROTECTION_PELTOR
|
|
|
|
};
|
|
|
|
class rhsusf_mich_bare_tan;
|
|
|
|
class rhsusf_mich_bare_alt_tan: rhsusf_mich_bare_tan {
|
|
|
|
HEARING_PROTECTION_PELTOR
|
|
|
|
};
|
|
|
|
class rhsusf_mich_bare_norotos_tan;
|
|
|
|
class rhsusf_mich_bare_norotos_alt_tan: rhsusf_mich_bare_norotos_tan {
|
|
|
|
HEARING_PROTECTION_PELTOR
|
|
|
|
};
|
|
|
|
class rhsusf_mich_bare_norotos_arc_tan;
|
|
|
|
class rhsusf_mich_bare_norotos_arc_alt_tan: rhsusf_mich_bare_norotos_arc_tan {
|
|
|
|
HEARING_PROTECTION_PELTOR
|
|
|
|
};
|
|
|
|
|
2017-10-01 17:31:01 +00:00
|
|
|
class rhsusf_hgu56p: rhsusf_opscore_01 {
|
2017-05-17 02:40:07 +00:00
|
|
|
HEARING_PROTECTION_VICCREW
|
2015-07-01 20:25:19 +00:00
|
|
|
};
|
2019-12-19 16:20:20 +00:00
|
|
|
class rhsusf_hgu56p_visor: rhsusf_hgu56p {
|
|
|
|
ACE_Protection = 1;
|
|
|
|
};
|
|
|
|
class rhsusf_hgu56p_black;
|
|
|
|
class rhsusf_hgu56p_visor_black: rhsusf_hgu56p_black {
|
|
|
|
ACE_Protection = 1;
|
|
|
|
};
|
|
|
|
class rhsusf_hgu56p_green;
|
|
|
|
class rhsusf_hgu56p_visor_green: rhsusf_hgu56p_green {
|
|
|
|
ACE_Protection = 1;
|
|
|
|
};
|
|
|
|
class rhsusf_hgu56p_visor_mask: rhsusf_hgu56p {
|
|
|
|
ACE_Protection = 1;
|
|
|
|
};
|
|
|
|
class rhsusf_hgu56p_visor_mask_black: rhsusf_hgu56p_black {
|
|
|
|
ACE_Protection = 1;
|
|
|
|
};
|
|
|
|
class rhsusf_hgu56p_visor_mask_Empire_black: rhsusf_hgu56p_black {
|
|
|
|
ACE_Protection = 1;
|
|
|
|
};
|
|
|
|
class rhsusf_hgu56p_visor_mask_green: rhsusf_hgu56p_green {
|
|
|
|
ACE_Protection = 1;
|
|
|
|
};
|
|
|
|
class rhsusf_hgu56p_mask_smiley;
|
|
|
|
class rhsusf_hgu56p_visor_mask_smiley: rhsusf_hgu56p_mask_smiley {
|
|
|
|
ACE_Protection = 1;
|
|
|
|
};
|
|
|
|
class rhsusf_hgu56p_pink;
|
|
|
|
class rhsusf_hgu56p_visor_mask_pink: rhsusf_hgu56p_pink {
|
|
|
|
ACE_Protection = 1;
|
|
|
|
};
|
|
|
|
class rhsusf_hgu56p_visor_pink: rhsusf_hgu56p_pink {
|
|
|
|
ACE_Protection = 1;
|
|
|
|
};
|
|
|
|
class rhsusf_hgu56p_saf;
|
|
|
|
class rhsusf_hgu56p_visor_saf: rhsusf_hgu56p_saf {
|
|
|
|
ACE_Protection = 1;
|
|
|
|
};
|
|
|
|
class rhsusf_hgu56p_usa;
|
|
|
|
class rhsusf_hgu56p_visor_usa: rhsusf_hgu56p_usa {
|
|
|
|
ACE_Protection = 1;
|
|
|
|
};
|
|
|
|
class rhsusf_hgu56p_white;
|
|
|
|
class rhsusf_hgu56p_visor_white: rhsusf_hgu56p_white {
|
|
|
|
ACE_Protection = 1;
|
|
|
|
};
|
|
|
|
class rhsusf_hgu56p_visor_mask_black_skull;
|
|
|
|
class rhsusf_hgu56p_mask_black_skull: rhsusf_hgu56p_visor_mask_black_skull {
|
|
|
|
ACE_Protection = 0;
|
|
|
|
};
|
|
|
|
class rhsusf_ihadss: rhsusf_opscore_01 {
|
|
|
|
HEARING_PROTECTION_VICCREW
|
|
|
|
};
|
2015-07-01 20:25:19 +00:00
|
|
|
|
|
|
|
class H_HelmetB;
|
|
|
|
class RHS_jetpilot_usaf: H_HelmetB {
|
2019-12-19 16:20:20 +00:00
|
|
|
ACE_Protection = 1;
|
2017-05-17 02:40:07 +00:00
|
|
|
HEARING_PROTECTION_VICCREW
|
2015-07-01 20:25:19 +00:00
|
|
|
};
|
2019-07-05 22:57:22 +00:00
|
|
|
|
RHS CSW compatability (#7082)
* Initial Commit
* Got rid of unneeded translation values
* Updated Strings
* "Fixed" issue where when you deploy the tripid and weapon on slope it freaked out.
* Fixed locality issues. Added timers to relavent functions.
* Added weights to all magazines/tripod. Weights to weapons coming soon when I transfer them to the launcher slot
* Fixed bug regarding localized strings. Created new tripod model
* Added timers for deploying/picking up the tripod. Changed ammo-box model from custom to one already in ARMA. Changed gun-bag model for a more generic one. Created a texture for the tripod and gunbag
* Removed ability to disassemble weapons via the addAction. Added ACE Action to get in due to a memory point issue. Changed from a static deploy/dismount time to one based in the weapon configs
* Created forward-compatability. Made it so I can define a base plate for any weapon if I ever want to expand from the generic M3 Tripod.
* Fixed bug where tripod wouldn't deploy with the correct times. Fixed bug where if you moved the tripod into the ground it would go flying.
* Added mortar compatability. Will probably shift whole mortar ammo loading to CSW one day
* Added icons to each relavent item
* Added README, possibly fixed bug where if you are in a weapon others cant load/unload ammo. Changed distance you can interact with weapons
* Added checks for when deploying the gun as well as unloading ammo to prevent duplication/deletion of items.
* Added documentation
* Added order to doc
* Explained why things are the way they are
* Remove temp files
* Removed redundant files
* Converted tabs->spaces. Added newlines at end of all files. Changed broken line in fnc_tripodDeploy.sqf.
* 100% newlines at end of file
* Added newlines to files that didnt get the change. Fixed README. Changed from GVAR(cswOptions) to GVAR(options). Changed from tabs to spaces in wiki
* Fixed issue with UAV assembling with enableWeaponDisassembling. Fixed bug where game would crash if you disassembled static weapon with more than 1 magazine
* Tabs->Spaces
* Added CSW options to base StaticWeapon class to allow for easier additions. Switched default mortar away from CSW system due to incompatabilities
* Lazy Evaluations and macros to describe how things work.
* Added newlines to script_component. Fix no-texture issue on tripod. "Fix" 20mm HE saying 40mm HE. Add custom icons to all weapons. Move "Check Ammo" to CSW menu
* abc
* Revert "abc"
This reverts commit bcb4214bd99bba3fec692efa4dca950323da582d.
* Update to current commit
* Revert changes to fortify.md
* Updated UI Icon to Crew Served Ammo branch UI
* Added Pabst's CrewServedAmmo to handle ammo loading/unloading instead of my solution
* Fixed bug where currentWeaponTurret returned a blank string when a player hasent entered hte weapon to select the current weapon
* Re-added ammo loading time
* Tabs->Spaces
* Newline at end of files
* Removed replaced functions
* Remove redundant strings. Move ammo handling to appropiate section
* Tabs->Spaces
* Update wiki
* Updated to fix crash with default weapons and disable CSW ability on default static weapons
* Added editor attributes to enable/disable CSW at edit time
* Change how ammo is removed from the CSW. Uses math instead of iteration
* Fix bug where assembled weapon did not get rid of default actions
* Added support for multiple types of ammo in one CSW
* Add tracer magazines for .50 cal
* Fix bug where you could load ammo even if the gun couldnt take any more
* Disable debug and enable compile cache
* Changed weapon deploy/pickup time. Removed custom Titan missiles. Using ACE Dragging now. Added progress bar check for pickupTripod. Updated documentation
* Removed check if CSW is full to unload ammo
* Fix bug where items would spawn underneath other items on wepaon dismount
* Change some things
* Configure base statics, improve returnAmmo
* Add mortar baseplate
* Remove explicit inheritance
* Fix bug where unloading ammo would duplicate it if you had room in your person.
* Tab->Space
* Player couldnt pickup tripod due to legacy code
* Fix GMG_01_base_F inheritce
* Port of ACE 2 tripod + ACE 2 CSW Bag
* Move ACE 2 Data to APL folder
* Adjust weights to make them more accurate to how ARMA uses it and the real life equivalents
* Fix bug where error was thrown on esc from picking up tripod. Tripod rotated 180
* Fix bug where if you called ace_common_claim the weapon could be set to be disassembled even though it may not be wanted via CSW
* Added ability to toggle ammo handling when weaponAssembly is disabled.
* Add Proxy Weapons for all Vanilla static weapons. These serve as a way to allow for realistic ammo reload times without having to modify base classes if you want feautres turned off. Adjusted reload and mount times to be more "realistic"
* Fix Shadow RPT Spam
* Update wiki
* Change order of setDir and setPos
* Change all setDir/setPos orientations. Remove redundant check. Ensure that weapon locked state reflects it with the "getIn" command. Add a way to pass in a specific classname for the weapon assemble type. Add a callback function onDisassemble if user wants to set the state of the new tripod using the old weapon as a reference
* Actually check for the carryWeaponClassname in the deployWeapon check
* Ai Compatiblity
* Add stringtable entries
* Formatting fixes
* Stringtables for settings, fix setMagazineTurretAmmo
* inherit ammo for mags, reorder stringtable
displays correct ammo and descriptionShort
* don't require ace_javelin
* Tweaks, cleanup, localzation, ace_reload changes
change weapon tag to [CSW]
tweak localization strings
minor cleanup
simplify some ace_reload funcs
* delete moved dev func
* Hopefully fix issue where to-be deleted tripod intersects with newly created weapon and vice versa. Remove PBOPREFIX newline
* cleanup/proxyWeapon/mk6 compat
* RHS compatability
* Modified all tripod p3ds to have [0,0,0] at the mount. Ported AGS-30, Kord, M220, and SPG-9 tripods to APL And added them to CSW. Changed RHS compats to use new ported tripods. Changed strings to reflect real names.
* Change from M224 Mortar Bag -> Mk6 Mortar bag
* Add named propert (Autocenter) to make P3D [0,0,0] the center of the object instead of engine calculated
* oh no tabs
* remove some more evil tabs
* fix changes lost in merge
* fix bad merge pt2
* Fix UBC
2019-07-04 22:56:49 +00:00
|
|
|
CREATE_CSW_PROXY(rhs_mortar_81mm);
|
|
|
|
CREATE_CSW_PROXY(RHS_M2);
|
|
|
|
CREATE_CSW_PROXY(RHS_MK19);
|
|
|
|
CREATE_CSW_PROXY(Rhs_weap_TOW_Launcher_static);
|
2019-07-05 22:57:22 +00:00
|
|
|
|
RHS CSW compatability (#7082)
* Initial Commit
* Got rid of unneeded translation values
* Updated Strings
* "Fixed" issue where when you deploy the tripid and weapon on slope it freaked out.
* Fixed locality issues. Added timers to relavent functions.
* Added weights to all magazines/tripod. Weights to weapons coming soon when I transfer them to the launcher slot
* Fixed bug regarding localized strings. Created new tripod model
* Added timers for deploying/picking up the tripod. Changed ammo-box model from custom to one already in ARMA. Changed gun-bag model for a more generic one. Created a texture for the tripod and gunbag
* Removed ability to disassemble weapons via the addAction. Added ACE Action to get in due to a memory point issue. Changed from a static deploy/dismount time to one based in the weapon configs
* Created forward-compatability. Made it so I can define a base plate for any weapon if I ever want to expand from the generic M3 Tripod.
* Fixed bug where tripod wouldn't deploy with the correct times. Fixed bug where if you moved the tripod into the ground it would go flying.
* Added mortar compatability. Will probably shift whole mortar ammo loading to CSW one day
* Added icons to each relavent item
* Added README, possibly fixed bug where if you are in a weapon others cant load/unload ammo. Changed distance you can interact with weapons
* Added checks for when deploying the gun as well as unloading ammo to prevent duplication/deletion of items.
* Added documentation
* Added order to doc
* Explained why things are the way they are
* Remove temp files
* Removed redundant files
* Converted tabs->spaces. Added newlines at end of all files. Changed broken line in fnc_tripodDeploy.sqf.
* 100% newlines at end of file
* Added newlines to files that didnt get the change. Fixed README. Changed from GVAR(cswOptions) to GVAR(options). Changed from tabs to spaces in wiki
* Fixed issue with UAV assembling with enableWeaponDisassembling. Fixed bug where game would crash if you disassembled static weapon with more than 1 magazine
* Tabs->Spaces
* Added CSW options to base StaticWeapon class to allow for easier additions. Switched default mortar away from CSW system due to incompatabilities
* Lazy Evaluations and macros to describe how things work.
* Added newlines to script_component. Fix no-texture issue on tripod. "Fix" 20mm HE saying 40mm HE. Add custom icons to all weapons. Move "Check Ammo" to CSW menu
* abc
* Revert "abc"
This reverts commit bcb4214bd99bba3fec692efa4dca950323da582d.
* Update to current commit
* Revert changes to fortify.md
* Updated UI Icon to Crew Served Ammo branch UI
* Added Pabst's CrewServedAmmo to handle ammo loading/unloading instead of my solution
* Fixed bug where currentWeaponTurret returned a blank string when a player hasent entered hte weapon to select the current weapon
* Re-added ammo loading time
* Tabs->Spaces
* Newline at end of files
* Removed replaced functions
* Remove redundant strings. Move ammo handling to appropiate section
* Tabs->Spaces
* Update wiki
* Updated to fix crash with default weapons and disable CSW ability on default static weapons
* Added editor attributes to enable/disable CSW at edit time
* Change how ammo is removed from the CSW. Uses math instead of iteration
* Fix bug where assembled weapon did not get rid of default actions
* Added support for multiple types of ammo in one CSW
* Add tracer magazines for .50 cal
* Fix bug where you could load ammo even if the gun couldnt take any more
* Disable debug and enable compile cache
* Changed weapon deploy/pickup time. Removed custom Titan missiles. Using ACE Dragging now. Added progress bar check for pickupTripod. Updated documentation
* Removed check if CSW is full to unload ammo
* Fix bug where items would spawn underneath other items on wepaon dismount
* Change some things
* Configure base statics, improve returnAmmo
* Add mortar baseplate
* Remove explicit inheritance
* Fix bug where unloading ammo would duplicate it if you had room in your person.
* Tab->Space
* Player couldnt pickup tripod due to legacy code
* Fix GMG_01_base_F inheritce
* Port of ACE 2 tripod + ACE 2 CSW Bag
* Move ACE 2 Data to APL folder
* Adjust weights to make them more accurate to how ARMA uses it and the real life equivalents
* Fix bug where error was thrown on esc from picking up tripod. Tripod rotated 180
* Fix bug where if you called ace_common_claim the weapon could be set to be disassembled even though it may not be wanted via CSW
* Added ability to toggle ammo handling when weaponAssembly is disabled.
* Add Proxy Weapons for all Vanilla static weapons. These serve as a way to allow for realistic ammo reload times without having to modify base classes if you want feautres turned off. Adjusted reload and mount times to be more "realistic"
* Fix Shadow RPT Spam
* Update wiki
* Change order of setDir and setPos
* Change all setDir/setPos orientations. Remove redundant check. Ensure that weapon locked state reflects it with the "getIn" command. Add a way to pass in a specific classname for the weapon assemble type. Add a callback function onDisassemble if user wants to set the state of the new tripod using the old weapon as a reference
* Actually check for the carryWeaponClassname in the deployWeapon check
* Ai Compatiblity
* Add stringtable entries
* Formatting fixes
* Stringtables for settings, fix setMagazineTurretAmmo
* inherit ammo for mags, reorder stringtable
displays correct ammo and descriptionShort
* don't require ace_javelin
* Tweaks, cleanup, localzation, ace_reload changes
change weapon tag to [CSW]
tweak localization strings
minor cleanup
simplify some ace_reload funcs
* delete moved dev func
* Hopefully fix issue where to-be deleted tripod intersects with newly created weapon and vice versa. Remove PBOPREFIX newline
* cleanup/proxyWeapon/mk6 compat
* RHS compatability
* Modified all tripod p3ds to have [0,0,0] at the mount. Ported AGS-30, Kord, M220, and SPG-9 tripods to APL And added them to CSW. Changed RHS compats to use new ported tripods. Changed strings to reflect real names.
* Change from M224 Mortar Bag -> Mk6 Mortar bag
* Add named propert (Autocenter) to make P3D [0,0,0] the center of the object instead of engine calculated
* oh no tabs
* remove some more evil tabs
* fix changes lost in merge
* fix bad merge pt2
* Fix UBC
2019-07-04 22:56:49 +00:00
|
|
|
class GVAR(m252_carry): Launcher_Base_F {
|
|
|
|
class ACE_CSW {
|
|
|
|
type = "weapon";
|
|
|
|
deployTime = 20;
|
|
|
|
pickupTime = 25;
|
|
|
|
class assembleTo {
|
|
|
|
EGVAR(csw,mortarBaseplate) = "RHS_M252_WD";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
class WeaponSlotsInfo: WeaponSlotsInfo {
|
2020-01-31 17:33:16 +00:00
|
|
|
// One WeaponSlot with a positive value for iconScale forces game to use icon overlay method.
|
|
|
|
// Required, because the inventory icon has no accessory variants.
|
2020-01-24 20:41:52 +00:00
|
|
|
class MuzzleSlot {
|
|
|
|
iconScale = 0.1;
|
|
|
|
};
|
RHS CSW compatability (#7082)
* Initial Commit
* Got rid of unneeded translation values
* Updated Strings
* "Fixed" issue where when you deploy the tripid and weapon on slope it freaked out.
* Fixed locality issues. Added timers to relavent functions.
* Added weights to all magazines/tripod. Weights to weapons coming soon when I transfer them to the launcher slot
* Fixed bug regarding localized strings. Created new tripod model
* Added timers for deploying/picking up the tripod. Changed ammo-box model from custom to one already in ARMA. Changed gun-bag model for a more generic one. Created a texture for the tripod and gunbag
* Removed ability to disassemble weapons via the addAction. Added ACE Action to get in due to a memory point issue. Changed from a static deploy/dismount time to one based in the weapon configs
* Created forward-compatability. Made it so I can define a base plate for any weapon if I ever want to expand from the generic M3 Tripod.
* Fixed bug where tripod wouldn't deploy with the correct times. Fixed bug where if you moved the tripod into the ground it would go flying.
* Added mortar compatability. Will probably shift whole mortar ammo loading to CSW one day
* Added icons to each relavent item
* Added README, possibly fixed bug where if you are in a weapon others cant load/unload ammo. Changed distance you can interact with weapons
* Added checks for when deploying the gun as well as unloading ammo to prevent duplication/deletion of items.
* Added documentation
* Added order to doc
* Explained why things are the way they are
* Remove temp files
* Removed redundant files
* Converted tabs->spaces. Added newlines at end of all files. Changed broken line in fnc_tripodDeploy.sqf.
* 100% newlines at end of file
* Added newlines to files that didnt get the change. Fixed README. Changed from GVAR(cswOptions) to GVAR(options). Changed from tabs to spaces in wiki
* Fixed issue with UAV assembling with enableWeaponDisassembling. Fixed bug where game would crash if you disassembled static weapon with more than 1 magazine
* Tabs->Spaces
* Added CSW options to base StaticWeapon class to allow for easier additions. Switched default mortar away from CSW system due to incompatabilities
* Lazy Evaluations and macros to describe how things work.
* Added newlines to script_component. Fix no-texture issue on tripod. "Fix" 20mm HE saying 40mm HE. Add custom icons to all weapons. Move "Check Ammo" to CSW menu
* abc
* Revert "abc"
This reverts commit bcb4214bd99bba3fec692efa4dca950323da582d.
* Update to current commit
* Revert changes to fortify.md
* Updated UI Icon to Crew Served Ammo branch UI
* Added Pabst's CrewServedAmmo to handle ammo loading/unloading instead of my solution
* Fixed bug where currentWeaponTurret returned a blank string when a player hasent entered hte weapon to select the current weapon
* Re-added ammo loading time
* Tabs->Spaces
* Newline at end of files
* Removed replaced functions
* Remove redundant strings. Move ammo handling to appropiate section
* Tabs->Spaces
* Update wiki
* Updated to fix crash with default weapons and disable CSW ability on default static weapons
* Added editor attributes to enable/disable CSW at edit time
* Change how ammo is removed from the CSW. Uses math instead of iteration
* Fix bug where assembled weapon did not get rid of default actions
* Added support for multiple types of ammo in one CSW
* Add tracer magazines for .50 cal
* Fix bug where you could load ammo even if the gun couldnt take any more
* Disable debug and enable compile cache
* Changed weapon deploy/pickup time. Removed custom Titan missiles. Using ACE Dragging now. Added progress bar check for pickupTripod. Updated documentation
* Removed check if CSW is full to unload ammo
* Fix bug where items would spawn underneath other items on wepaon dismount
* Change some things
* Configure base statics, improve returnAmmo
* Add mortar baseplate
* Remove explicit inheritance
* Fix bug where unloading ammo would duplicate it if you had room in your person.
* Tab->Space
* Player couldnt pickup tripod due to legacy code
* Fix GMG_01_base_F inheritce
* Port of ACE 2 tripod + ACE 2 CSW Bag
* Move ACE 2 Data to APL folder
* Adjust weights to make them more accurate to how ARMA uses it and the real life equivalents
* Fix bug where error was thrown on esc from picking up tripod. Tripod rotated 180
* Fix bug where if you called ace_common_claim the weapon could be set to be disassembled even though it may not be wanted via CSW
* Added ability to toggle ammo handling when weaponAssembly is disabled.
* Add Proxy Weapons for all Vanilla static weapons. These serve as a way to allow for realistic ammo reload times without having to modify base classes if you want feautres turned off. Adjusted reload and mount times to be more "realistic"
* Fix Shadow RPT Spam
* Update wiki
* Change order of setDir and setPos
* Change all setDir/setPos orientations. Remove redundant check. Ensure that weapon locked state reflects it with the "getIn" command. Add a way to pass in a specific classname for the weapon assemble type. Add a callback function onDisassemble if user wants to set the state of the new tripod using the old weapon as a reference
* Actually check for the carryWeaponClassname in the deployWeapon check
* Ai Compatiblity
* Add stringtable entries
* Formatting fixes
* Stringtables for settings, fix setMagazineTurretAmmo
* inherit ammo for mags, reorder stringtable
displays correct ammo and descriptionShort
* don't require ace_javelin
* Tweaks, cleanup, localzation, ace_reload changes
change weapon tag to [CSW]
tweak localization strings
minor cleanup
simplify some ace_reload funcs
* delete moved dev func
* Hopefully fix issue where to-be deleted tripod intersects with newly created weapon and vice versa. Remove PBOPREFIX newline
* cleanup/proxyWeapon/mk6 compat
* RHS compatability
* Modified all tripod p3ds to have [0,0,0] at the mount. Ported AGS-30, Kord, M220, and SPG-9 tripods to APL And added them to CSW. Changed RHS compats to use new ported tripods. Changed strings to reflect real names.
* Change from M224 Mortar Bag -> Mk6 Mortar bag
* Add named propert (Autocenter) to make P3D [0,0,0] the center of the object instead of engine calculated
* oh no tabs
* remove some more evil tabs
* fix changes lost in merge
* fix bad merge pt2
* Fix UBC
2019-07-04 22:56:49 +00:00
|
|
|
mass = 620; // M252 Mortar Weight
|
|
|
|
};
|
2019-07-05 22:57:22 +00:00
|
|
|
displayName = ECSTRING(CSW,m252_tube);
|
RHS CSW compatability (#7082)
* Initial Commit
* Got rid of unneeded translation values
* Updated Strings
* "Fixed" issue where when you deploy the tripid and weapon on slope it freaked out.
* Fixed locality issues. Added timers to relavent functions.
* Added weights to all magazines/tripod. Weights to weapons coming soon when I transfer them to the launcher slot
* Fixed bug regarding localized strings. Created new tripod model
* Added timers for deploying/picking up the tripod. Changed ammo-box model from custom to one already in ARMA. Changed gun-bag model for a more generic one. Created a texture for the tripod and gunbag
* Removed ability to disassemble weapons via the addAction. Added ACE Action to get in due to a memory point issue. Changed from a static deploy/dismount time to one based in the weapon configs
* Created forward-compatability. Made it so I can define a base plate for any weapon if I ever want to expand from the generic M3 Tripod.
* Fixed bug where tripod wouldn't deploy with the correct times. Fixed bug where if you moved the tripod into the ground it would go flying.
* Added mortar compatability. Will probably shift whole mortar ammo loading to CSW one day
* Added icons to each relavent item
* Added README, possibly fixed bug where if you are in a weapon others cant load/unload ammo. Changed distance you can interact with weapons
* Added checks for when deploying the gun as well as unloading ammo to prevent duplication/deletion of items.
* Added documentation
* Added order to doc
* Explained why things are the way they are
* Remove temp files
* Removed redundant files
* Converted tabs->spaces. Added newlines at end of all files. Changed broken line in fnc_tripodDeploy.sqf.
* 100% newlines at end of file
* Added newlines to files that didnt get the change. Fixed README. Changed from GVAR(cswOptions) to GVAR(options). Changed from tabs to spaces in wiki
* Fixed issue with UAV assembling with enableWeaponDisassembling. Fixed bug where game would crash if you disassembled static weapon with more than 1 magazine
* Tabs->Spaces
* Added CSW options to base StaticWeapon class to allow for easier additions. Switched default mortar away from CSW system due to incompatabilities
* Lazy Evaluations and macros to describe how things work.
* Added newlines to script_component. Fix no-texture issue on tripod. "Fix" 20mm HE saying 40mm HE. Add custom icons to all weapons. Move "Check Ammo" to CSW menu
* abc
* Revert "abc"
This reverts commit bcb4214bd99bba3fec692efa4dca950323da582d.
* Update to current commit
* Revert changes to fortify.md
* Updated UI Icon to Crew Served Ammo branch UI
* Added Pabst's CrewServedAmmo to handle ammo loading/unloading instead of my solution
* Fixed bug where currentWeaponTurret returned a blank string when a player hasent entered hte weapon to select the current weapon
* Re-added ammo loading time
* Tabs->Spaces
* Newline at end of files
* Removed replaced functions
* Remove redundant strings. Move ammo handling to appropiate section
* Tabs->Spaces
* Update wiki
* Updated to fix crash with default weapons and disable CSW ability on default static weapons
* Added editor attributes to enable/disable CSW at edit time
* Change how ammo is removed from the CSW. Uses math instead of iteration
* Fix bug where assembled weapon did not get rid of default actions
* Added support for multiple types of ammo in one CSW
* Add tracer magazines for .50 cal
* Fix bug where you could load ammo even if the gun couldnt take any more
* Disable debug and enable compile cache
* Changed weapon deploy/pickup time. Removed custom Titan missiles. Using ACE Dragging now. Added progress bar check for pickupTripod. Updated documentation
* Removed check if CSW is full to unload ammo
* Fix bug where items would spawn underneath other items on wepaon dismount
* Change some things
* Configure base statics, improve returnAmmo
* Add mortar baseplate
* Remove explicit inheritance
* Fix bug where unloading ammo would duplicate it if you had room in your person.
* Tab->Space
* Player couldnt pickup tripod due to legacy code
* Fix GMG_01_base_F inheritce
* Port of ACE 2 tripod + ACE 2 CSW Bag
* Move ACE 2 Data to APL folder
* Adjust weights to make them more accurate to how ARMA uses it and the real life equivalents
* Fix bug where error was thrown on esc from picking up tripod. Tripod rotated 180
* Fix bug where if you called ace_common_claim the weapon could be set to be disassembled even though it may not be wanted via CSW
* Added ability to toggle ammo handling when weaponAssembly is disabled.
* Add Proxy Weapons for all Vanilla static weapons. These serve as a way to allow for realistic ammo reload times without having to modify base classes if you want feautres turned off. Adjusted reload and mount times to be more "realistic"
* Fix Shadow RPT Spam
* Update wiki
* Change order of setDir and setPos
* Change all setDir/setPos orientations. Remove redundant check. Ensure that weapon locked state reflects it with the "getIn" command. Add a way to pass in a specific classname for the weapon assemble type. Add a callback function onDisassemble if user wants to set the state of the new tripod using the old weapon as a reference
* Actually check for the carryWeaponClassname in the deployWeapon check
* Ai Compatiblity
* Add stringtable entries
* Formatting fixes
* Stringtables for settings, fix setMagazineTurretAmmo
* inherit ammo for mags, reorder stringtable
displays correct ammo and descriptionShort
* don't require ace_javelin
* Tweaks, cleanup, localzation, ace_reload changes
change weapon tag to [CSW]
tweak localization strings
minor cleanup
simplify some ace_reload funcs
* delete moved dev func
* Hopefully fix issue where to-be deleted tripod intersects with newly created weapon and vice versa. Remove PBOPREFIX newline
* cleanup/proxyWeapon/mk6 compat
* RHS compatability
* Modified all tripod p3ds to have [0,0,0] at the mount. Ported AGS-30, Kord, M220, and SPG-9 tripods to APL And added them to CSW. Changed RHS compats to use new ported tripods. Changed strings to reflect real names.
* Change from M224 Mortar Bag -> Mk6 Mortar bag
* Add named propert (Autocenter) to make P3D [0,0,0] the center of the object instead of engine calculated
* oh no tabs
* remove some more evil tabs
* fix changes lost in merge
* fix bad merge pt2
* Fix UBC
2019-07-04 22:56:49 +00:00
|
|
|
author = ECSTRING(common,ACETeam);
|
|
|
|
scope = 2;
|
|
|
|
model = QPATHTOEF(apl,ACE_CSW_Bag.p3d);
|
|
|
|
modes[] = {};
|
2019-10-05 00:02:11 +00:00
|
|
|
picture = "\rhsusf\addons\rhsusf_heavyweapons\data\ico\RHS_M252_D_ca.paa";
|
RHS CSW compatability (#7082)
* Initial Commit
* Got rid of unneeded translation values
* Updated Strings
* "Fixed" issue where when you deploy the tripid and weapon on slope it freaked out.
* Fixed locality issues. Added timers to relavent functions.
* Added weights to all magazines/tripod. Weights to weapons coming soon when I transfer them to the launcher slot
* Fixed bug regarding localized strings. Created new tripod model
* Added timers for deploying/picking up the tripod. Changed ammo-box model from custom to one already in ARMA. Changed gun-bag model for a more generic one. Created a texture for the tripod and gunbag
* Removed ability to disassemble weapons via the addAction. Added ACE Action to get in due to a memory point issue. Changed from a static deploy/dismount time to one based in the weapon configs
* Created forward-compatability. Made it so I can define a base plate for any weapon if I ever want to expand from the generic M3 Tripod.
* Fixed bug where tripod wouldn't deploy with the correct times. Fixed bug where if you moved the tripod into the ground it would go flying.
* Added mortar compatability. Will probably shift whole mortar ammo loading to CSW one day
* Added icons to each relavent item
* Added README, possibly fixed bug where if you are in a weapon others cant load/unload ammo. Changed distance you can interact with weapons
* Added checks for when deploying the gun as well as unloading ammo to prevent duplication/deletion of items.
* Added documentation
* Added order to doc
* Explained why things are the way they are
* Remove temp files
* Removed redundant files
* Converted tabs->spaces. Added newlines at end of all files. Changed broken line in fnc_tripodDeploy.sqf.
* 100% newlines at end of file
* Added newlines to files that didnt get the change. Fixed README. Changed from GVAR(cswOptions) to GVAR(options). Changed from tabs to spaces in wiki
* Fixed issue with UAV assembling with enableWeaponDisassembling. Fixed bug where game would crash if you disassembled static weapon with more than 1 magazine
* Tabs->Spaces
* Added CSW options to base StaticWeapon class to allow for easier additions. Switched default mortar away from CSW system due to incompatabilities
* Lazy Evaluations and macros to describe how things work.
* Added newlines to script_component. Fix no-texture issue on tripod. "Fix" 20mm HE saying 40mm HE. Add custom icons to all weapons. Move "Check Ammo" to CSW menu
* abc
* Revert "abc"
This reverts commit bcb4214bd99bba3fec692efa4dca950323da582d.
* Update to current commit
* Revert changes to fortify.md
* Updated UI Icon to Crew Served Ammo branch UI
* Added Pabst's CrewServedAmmo to handle ammo loading/unloading instead of my solution
* Fixed bug where currentWeaponTurret returned a blank string when a player hasent entered hte weapon to select the current weapon
* Re-added ammo loading time
* Tabs->Spaces
* Newline at end of files
* Removed replaced functions
* Remove redundant strings. Move ammo handling to appropiate section
* Tabs->Spaces
* Update wiki
* Updated to fix crash with default weapons and disable CSW ability on default static weapons
* Added editor attributes to enable/disable CSW at edit time
* Change how ammo is removed from the CSW. Uses math instead of iteration
* Fix bug where assembled weapon did not get rid of default actions
* Added support for multiple types of ammo in one CSW
* Add tracer magazines for .50 cal
* Fix bug where you could load ammo even if the gun couldnt take any more
* Disable debug and enable compile cache
* Changed weapon deploy/pickup time. Removed custom Titan missiles. Using ACE Dragging now. Added progress bar check for pickupTripod. Updated documentation
* Removed check if CSW is full to unload ammo
* Fix bug where items would spawn underneath other items on wepaon dismount
* Change some things
* Configure base statics, improve returnAmmo
* Add mortar baseplate
* Remove explicit inheritance
* Fix bug where unloading ammo would duplicate it if you had room in your person.
* Tab->Space
* Player couldnt pickup tripod due to legacy code
* Fix GMG_01_base_F inheritce
* Port of ACE 2 tripod + ACE 2 CSW Bag
* Move ACE 2 Data to APL folder
* Adjust weights to make them more accurate to how ARMA uses it and the real life equivalents
* Fix bug where error was thrown on esc from picking up tripod. Tripod rotated 180
* Fix bug where if you called ace_common_claim the weapon could be set to be disassembled even though it may not be wanted via CSW
* Added ability to toggle ammo handling when weaponAssembly is disabled.
* Add Proxy Weapons for all Vanilla static weapons. These serve as a way to allow for realistic ammo reload times without having to modify base classes if you want feautres turned off. Adjusted reload and mount times to be more "realistic"
* Fix Shadow RPT Spam
* Update wiki
* Change order of setDir and setPos
* Change all setDir/setPos orientations. Remove redundant check. Ensure that weapon locked state reflects it with the "getIn" command. Add a way to pass in a specific classname for the weapon assemble type. Add a callback function onDisassemble if user wants to set the state of the new tripod using the old weapon as a reference
* Actually check for the carryWeaponClassname in the deployWeapon check
* Ai Compatiblity
* Add stringtable entries
* Formatting fixes
* Stringtables for settings, fix setMagazineTurretAmmo
* inherit ammo for mags, reorder stringtable
displays correct ammo and descriptionShort
* don't require ace_javelin
* Tweaks, cleanup, localzation, ace_reload changes
change weapon tag to [CSW]
tweak localization strings
minor cleanup
simplify some ace_reload funcs
* delete moved dev func
* Hopefully fix issue where to-be deleted tripod intersects with newly created weapon and vice versa. Remove PBOPREFIX newline
* cleanup/proxyWeapon/mk6 compat
* RHS compatability
* Modified all tripod p3ds to have [0,0,0] at the mount. Ported AGS-30, Kord, M220, and SPG-9 tripods to APL And added them to CSW. Changed RHS compats to use new ported tripods. Changed strings to reflect real names.
* Change from M224 Mortar Bag -> Mk6 Mortar bag
* Add named propert (Autocenter) to make P3D [0,0,0] the center of the object instead of engine calculated
* oh no tabs
* remove some more evil tabs
* fix changes lost in merge
* fix bad merge pt2
* Fix UBC
2019-07-04 22:56:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
class GVAR(m2_carry): Launcher_Base_F {
|
|
|
|
class ACE_CSW {
|
|
|
|
type = "weapon";
|
|
|
|
deployTime = 4;
|
|
|
|
pickupTime = 4;
|
|
|
|
class assembleTo {
|
|
|
|
EGVAR(csw,m3Tripod) = "RHS_M2StaticMG_WD";
|
|
|
|
EGVAR(csw,m3TripodLow) = "RHS_M2StaticMG_MiniTripod_WD";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
class WeaponSlotsInfo: WeaponSlotsInfo {
|
2020-01-24 20:41:52 +00:00
|
|
|
class MuzzleSlot {
|
|
|
|
iconScale = 0.1;
|
|
|
|
};
|
RHS CSW compatability (#7082)
* Initial Commit
* Got rid of unneeded translation values
* Updated Strings
* "Fixed" issue where when you deploy the tripid and weapon on slope it freaked out.
* Fixed locality issues. Added timers to relavent functions.
* Added weights to all magazines/tripod. Weights to weapons coming soon when I transfer them to the launcher slot
* Fixed bug regarding localized strings. Created new tripod model
* Added timers for deploying/picking up the tripod. Changed ammo-box model from custom to one already in ARMA. Changed gun-bag model for a more generic one. Created a texture for the tripod and gunbag
* Removed ability to disassemble weapons via the addAction. Added ACE Action to get in due to a memory point issue. Changed from a static deploy/dismount time to one based in the weapon configs
* Created forward-compatability. Made it so I can define a base plate for any weapon if I ever want to expand from the generic M3 Tripod.
* Fixed bug where tripod wouldn't deploy with the correct times. Fixed bug where if you moved the tripod into the ground it would go flying.
* Added mortar compatability. Will probably shift whole mortar ammo loading to CSW one day
* Added icons to each relavent item
* Added README, possibly fixed bug where if you are in a weapon others cant load/unload ammo. Changed distance you can interact with weapons
* Added checks for when deploying the gun as well as unloading ammo to prevent duplication/deletion of items.
* Added documentation
* Added order to doc
* Explained why things are the way they are
* Remove temp files
* Removed redundant files
* Converted tabs->spaces. Added newlines at end of all files. Changed broken line in fnc_tripodDeploy.sqf.
* 100% newlines at end of file
* Added newlines to files that didnt get the change. Fixed README. Changed from GVAR(cswOptions) to GVAR(options). Changed from tabs to spaces in wiki
* Fixed issue with UAV assembling with enableWeaponDisassembling. Fixed bug where game would crash if you disassembled static weapon with more than 1 magazine
* Tabs->Spaces
* Added CSW options to base StaticWeapon class to allow for easier additions. Switched default mortar away from CSW system due to incompatabilities
* Lazy Evaluations and macros to describe how things work.
* Added newlines to script_component. Fix no-texture issue on tripod. "Fix" 20mm HE saying 40mm HE. Add custom icons to all weapons. Move "Check Ammo" to CSW menu
* abc
* Revert "abc"
This reverts commit bcb4214bd99bba3fec692efa4dca950323da582d.
* Update to current commit
* Revert changes to fortify.md
* Updated UI Icon to Crew Served Ammo branch UI
* Added Pabst's CrewServedAmmo to handle ammo loading/unloading instead of my solution
* Fixed bug where currentWeaponTurret returned a blank string when a player hasent entered hte weapon to select the current weapon
* Re-added ammo loading time
* Tabs->Spaces
* Newline at end of files
* Removed replaced functions
* Remove redundant strings. Move ammo handling to appropiate section
* Tabs->Spaces
* Update wiki
* Updated to fix crash with default weapons and disable CSW ability on default static weapons
* Added editor attributes to enable/disable CSW at edit time
* Change how ammo is removed from the CSW. Uses math instead of iteration
* Fix bug where assembled weapon did not get rid of default actions
* Added support for multiple types of ammo in one CSW
* Add tracer magazines for .50 cal
* Fix bug where you could load ammo even if the gun couldnt take any more
* Disable debug and enable compile cache
* Changed weapon deploy/pickup time. Removed custom Titan missiles. Using ACE Dragging now. Added progress bar check for pickupTripod. Updated documentation
* Removed check if CSW is full to unload ammo
* Fix bug where items would spawn underneath other items on wepaon dismount
* Change some things
* Configure base statics, improve returnAmmo
* Add mortar baseplate
* Remove explicit inheritance
* Fix bug where unloading ammo would duplicate it if you had room in your person.
* Tab->Space
* Player couldnt pickup tripod due to legacy code
* Fix GMG_01_base_F inheritce
* Port of ACE 2 tripod + ACE 2 CSW Bag
* Move ACE 2 Data to APL folder
* Adjust weights to make them more accurate to how ARMA uses it and the real life equivalents
* Fix bug where error was thrown on esc from picking up tripod. Tripod rotated 180
* Fix bug where if you called ace_common_claim the weapon could be set to be disassembled even though it may not be wanted via CSW
* Added ability to toggle ammo handling when weaponAssembly is disabled.
* Add Proxy Weapons for all Vanilla static weapons. These serve as a way to allow for realistic ammo reload times without having to modify base classes if you want feautres turned off. Adjusted reload and mount times to be more "realistic"
* Fix Shadow RPT Spam
* Update wiki
* Change order of setDir and setPos
* Change all setDir/setPos orientations. Remove redundant check. Ensure that weapon locked state reflects it with the "getIn" command. Add a way to pass in a specific classname for the weapon assemble type. Add a callback function onDisassemble if user wants to set the state of the new tripod using the old weapon as a reference
* Actually check for the carryWeaponClassname in the deployWeapon check
* Ai Compatiblity
* Add stringtable entries
* Formatting fixes
* Stringtables for settings, fix setMagazineTurretAmmo
* inherit ammo for mags, reorder stringtable
displays correct ammo and descriptionShort
* don't require ace_javelin
* Tweaks, cleanup, localzation, ace_reload changes
change weapon tag to [CSW]
tweak localization strings
minor cleanup
simplify some ace_reload funcs
* delete moved dev func
* Hopefully fix issue where to-be deleted tripod intersects with newly created weapon and vice versa. Remove PBOPREFIX newline
* cleanup/proxyWeapon/mk6 compat
* RHS compatability
* Modified all tripod p3ds to have [0,0,0] at the mount. Ported AGS-30, Kord, M220, and SPG-9 tripods to APL And added them to CSW. Changed RHS compats to use new ported tripods. Changed strings to reflect real names.
* Change from M224 Mortar Bag -> Mk6 Mortar bag
* Add named propert (Autocenter) to make P3D [0,0,0] the center of the object instead of engine calculated
* oh no tabs
* remove some more evil tabs
* fix changes lost in merge
* fix bad merge pt2
* Fix UBC
2019-07-04 22:56:49 +00:00
|
|
|
mass = 840;
|
|
|
|
};
|
2019-07-05 22:57:22 +00:00
|
|
|
displayName = ECSTRING(CSW,m2_gun);
|
RHS CSW compatability (#7082)
* Initial Commit
* Got rid of unneeded translation values
* Updated Strings
* "Fixed" issue where when you deploy the tripid and weapon on slope it freaked out.
* Fixed locality issues. Added timers to relavent functions.
* Added weights to all magazines/tripod. Weights to weapons coming soon when I transfer them to the launcher slot
* Fixed bug regarding localized strings. Created new tripod model
* Added timers for deploying/picking up the tripod. Changed ammo-box model from custom to one already in ARMA. Changed gun-bag model for a more generic one. Created a texture for the tripod and gunbag
* Removed ability to disassemble weapons via the addAction. Added ACE Action to get in due to a memory point issue. Changed from a static deploy/dismount time to one based in the weapon configs
* Created forward-compatability. Made it so I can define a base plate for any weapon if I ever want to expand from the generic M3 Tripod.
* Fixed bug where tripod wouldn't deploy with the correct times. Fixed bug where if you moved the tripod into the ground it would go flying.
* Added mortar compatability. Will probably shift whole mortar ammo loading to CSW one day
* Added icons to each relavent item
* Added README, possibly fixed bug where if you are in a weapon others cant load/unload ammo. Changed distance you can interact with weapons
* Added checks for when deploying the gun as well as unloading ammo to prevent duplication/deletion of items.
* Added documentation
* Added order to doc
* Explained why things are the way they are
* Remove temp files
* Removed redundant files
* Converted tabs->spaces. Added newlines at end of all files. Changed broken line in fnc_tripodDeploy.sqf.
* 100% newlines at end of file
* Added newlines to files that didnt get the change. Fixed README. Changed from GVAR(cswOptions) to GVAR(options). Changed from tabs to spaces in wiki
* Fixed issue with UAV assembling with enableWeaponDisassembling. Fixed bug where game would crash if you disassembled static weapon with more than 1 magazine
* Tabs->Spaces
* Added CSW options to base StaticWeapon class to allow for easier additions. Switched default mortar away from CSW system due to incompatabilities
* Lazy Evaluations and macros to describe how things work.
* Added newlines to script_component. Fix no-texture issue on tripod. "Fix" 20mm HE saying 40mm HE. Add custom icons to all weapons. Move "Check Ammo" to CSW menu
* abc
* Revert "abc"
This reverts commit bcb4214bd99bba3fec692efa4dca950323da582d.
* Update to current commit
* Revert changes to fortify.md
* Updated UI Icon to Crew Served Ammo branch UI
* Added Pabst's CrewServedAmmo to handle ammo loading/unloading instead of my solution
* Fixed bug where currentWeaponTurret returned a blank string when a player hasent entered hte weapon to select the current weapon
* Re-added ammo loading time
* Tabs->Spaces
* Newline at end of files
* Removed replaced functions
* Remove redundant strings. Move ammo handling to appropiate section
* Tabs->Spaces
* Update wiki
* Updated to fix crash with default weapons and disable CSW ability on default static weapons
* Added editor attributes to enable/disable CSW at edit time
* Change how ammo is removed from the CSW. Uses math instead of iteration
* Fix bug where assembled weapon did not get rid of default actions
* Added support for multiple types of ammo in one CSW
* Add tracer magazines for .50 cal
* Fix bug where you could load ammo even if the gun couldnt take any more
* Disable debug and enable compile cache
* Changed weapon deploy/pickup time. Removed custom Titan missiles. Using ACE Dragging now. Added progress bar check for pickupTripod. Updated documentation
* Removed check if CSW is full to unload ammo
* Fix bug where items would spawn underneath other items on wepaon dismount
* Change some things
* Configure base statics, improve returnAmmo
* Add mortar baseplate
* Remove explicit inheritance
* Fix bug where unloading ammo would duplicate it if you had room in your person.
* Tab->Space
* Player couldnt pickup tripod due to legacy code
* Fix GMG_01_base_F inheritce
* Port of ACE 2 tripod + ACE 2 CSW Bag
* Move ACE 2 Data to APL folder
* Adjust weights to make them more accurate to how ARMA uses it and the real life equivalents
* Fix bug where error was thrown on esc from picking up tripod. Tripod rotated 180
* Fix bug where if you called ace_common_claim the weapon could be set to be disassembled even though it may not be wanted via CSW
* Added ability to toggle ammo handling when weaponAssembly is disabled.
* Add Proxy Weapons for all Vanilla static weapons. These serve as a way to allow for realistic ammo reload times without having to modify base classes if you want feautres turned off. Adjusted reload and mount times to be more "realistic"
* Fix Shadow RPT Spam
* Update wiki
* Change order of setDir and setPos
* Change all setDir/setPos orientations. Remove redundant check. Ensure that weapon locked state reflects it with the "getIn" command. Add a way to pass in a specific classname for the weapon assemble type. Add a callback function onDisassemble if user wants to set the state of the new tripod using the old weapon as a reference
* Actually check for the carryWeaponClassname in the deployWeapon check
* Ai Compatiblity
* Add stringtable entries
* Formatting fixes
* Stringtables for settings, fix setMagazineTurretAmmo
* inherit ammo for mags, reorder stringtable
displays correct ammo and descriptionShort
* don't require ace_javelin
* Tweaks, cleanup, localzation, ace_reload changes
change weapon tag to [CSW]
tweak localization strings
minor cleanup
simplify some ace_reload funcs
* delete moved dev func
* Hopefully fix issue where to-be deleted tripod intersects with newly created weapon and vice versa. Remove PBOPREFIX newline
* cleanup/proxyWeapon/mk6 compat
* RHS compatability
* Modified all tripod p3ds to have [0,0,0] at the mount. Ported AGS-30, Kord, M220, and SPG-9 tripods to APL And added them to CSW. Changed RHS compats to use new ported tripods. Changed strings to reflect real names.
* Change from M224 Mortar Bag -> Mk6 Mortar bag
* Add named propert (Autocenter) to make P3D [0,0,0] the center of the object instead of engine calculated
* oh no tabs
* remove some more evil tabs
* fix changes lost in merge
* fix bad merge pt2
* Fix UBC
2019-07-04 22:56:49 +00:00
|
|
|
author = ECSTRING(common,ACETeam);
|
|
|
|
scope = 2;
|
|
|
|
model = QPATHTOEF(apl,ACE_CSW_Bag.p3d);
|
|
|
|
modes[] = {};
|
2019-10-05 00:02:11 +00:00
|
|
|
picture = "\rhsusf\addons\rhsusf_heavyweapons\data\ico\RHS_M2StaticMG_D_ca.paa";
|
RHS CSW compatability (#7082)
* Initial Commit
* Got rid of unneeded translation values
* Updated Strings
* "Fixed" issue where when you deploy the tripid and weapon on slope it freaked out.
* Fixed locality issues. Added timers to relavent functions.
* Added weights to all magazines/tripod. Weights to weapons coming soon when I transfer them to the launcher slot
* Fixed bug regarding localized strings. Created new tripod model
* Added timers for deploying/picking up the tripod. Changed ammo-box model from custom to one already in ARMA. Changed gun-bag model for a more generic one. Created a texture for the tripod and gunbag
* Removed ability to disassemble weapons via the addAction. Added ACE Action to get in due to a memory point issue. Changed from a static deploy/dismount time to one based in the weapon configs
* Created forward-compatability. Made it so I can define a base plate for any weapon if I ever want to expand from the generic M3 Tripod.
* Fixed bug where tripod wouldn't deploy with the correct times. Fixed bug where if you moved the tripod into the ground it would go flying.
* Added mortar compatability. Will probably shift whole mortar ammo loading to CSW one day
* Added icons to each relavent item
* Added README, possibly fixed bug where if you are in a weapon others cant load/unload ammo. Changed distance you can interact with weapons
* Added checks for when deploying the gun as well as unloading ammo to prevent duplication/deletion of items.
* Added documentation
* Added order to doc
* Explained why things are the way they are
* Remove temp files
* Removed redundant files
* Converted tabs->spaces. Added newlines at end of all files. Changed broken line in fnc_tripodDeploy.sqf.
* 100% newlines at end of file
* Added newlines to files that didnt get the change. Fixed README. Changed from GVAR(cswOptions) to GVAR(options). Changed from tabs to spaces in wiki
* Fixed issue with UAV assembling with enableWeaponDisassembling. Fixed bug where game would crash if you disassembled static weapon with more than 1 magazine
* Tabs->Spaces
* Added CSW options to base StaticWeapon class to allow for easier additions. Switched default mortar away from CSW system due to incompatabilities
* Lazy Evaluations and macros to describe how things work.
* Added newlines to script_component. Fix no-texture issue on tripod. "Fix" 20mm HE saying 40mm HE. Add custom icons to all weapons. Move "Check Ammo" to CSW menu
* abc
* Revert "abc"
This reverts commit bcb4214bd99bba3fec692efa4dca950323da582d.
* Update to current commit
* Revert changes to fortify.md
* Updated UI Icon to Crew Served Ammo branch UI
* Added Pabst's CrewServedAmmo to handle ammo loading/unloading instead of my solution
* Fixed bug where currentWeaponTurret returned a blank string when a player hasent entered hte weapon to select the current weapon
* Re-added ammo loading time
* Tabs->Spaces
* Newline at end of files
* Removed replaced functions
* Remove redundant strings. Move ammo handling to appropiate section
* Tabs->Spaces
* Update wiki
* Updated to fix crash with default weapons and disable CSW ability on default static weapons
* Added editor attributes to enable/disable CSW at edit time
* Change how ammo is removed from the CSW. Uses math instead of iteration
* Fix bug where assembled weapon did not get rid of default actions
* Added support for multiple types of ammo in one CSW
* Add tracer magazines for .50 cal
* Fix bug where you could load ammo even if the gun couldnt take any more
* Disable debug and enable compile cache
* Changed weapon deploy/pickup time. Removed custom Titan missiles. Using ACE Dragging now. Added progress bar check for pickupTripod. Updated documentation
* Removed check if CSW is full to unload ammo
* Fix bug where items would spawn underneath other items on wepaon dismount
* Change some things
* Configure base statics, improve returnAmmo
* Add mortar baseplate
* Remove explicit inheritance
* Fix bug where unloading ammo would duplicate it if you had room in your person.
* Tab->Space
* Player couldnt pickup tripod due to legacy code
* Fix GMG_01_base_F inheritce
* Port of ACE 2 tripod + ACE 2 CSW Bag
* Move ACE 2 Data to APL folder
* Adjust weights to make them more accurate to how ARMA uses it and the real life equivalents
* Fix bug where error was thrown on esc from picking up tripod. Tripod rotated 180
* Fix bug where if you called ace_common_claim the weapon could be set to be disassembled even though it may not be wanted via CSW
* Added ability to toggle ammo handling when weaponAssembly is disabled.
* Add Proxy Weapons for all Vanilla static weapons. These serve as a way to allow for realistic ammo reload times without having to modify base classes if you want feautres turned off. Adjusted reload and mount times to be more "realistic"
* Fix Shadow RPT Spam
* Update wiki
* Change order of setDir and setPos
* Change all setDir/setPos orientations. Remove redundant check. Ensure that weapon locked state reflects it with the "getIn" command. Add a way to pass in a specific classname for the weapon assemble type. Add a callback function onDisassemble if user wants to set the state of the new tripod using the old weapon as a reference
* Actually check for the carryWeaponClassname in the deployWeapon check
* Ai Compatiblity
* Add stringtable entries
* Formatting fixes
* Stringtables for settings, fix setMagazineTurretAmmo
* inherit ammo for mags, reorder stringtable
displays correct ammo and descriptionShort
* don't require ace_javelin
* Tweaks, cleanup, localzation, ace_reload changes
change weapon tag to [CSW]
tweak localization strings
minor cleanup
simplify some ace_reload funcs
* delete moved dev func
* Hopefully fix issue where to-be deleted tripod intersects with newly created weapon and vice versa. Remove PBOPREFIX newline
* cleanup/proxyWeapon/mk6 compat
* RHS compatability
* Modified all tripod p3ds to have [0,0,0] at the mount. Ported AGS-30, Kord, M220, and SPG-9 tripods to APL And added them to CSW. Changed RHS compats to use new ported tripods. Changed strings to reflect real names.
* Change from M224 Mortar Bag -> Mk6 Mortar bag
* Add named propert (Autocenter) to make P3D [0,0,0] the center of the object instead of engine calculated
* oh no tabs
* remove some more evil tabs
* fix changes lost in merge
* fix bad merge pt2
* Fix UBC
2019-07-04 22:56:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
class GVAR(mk19_carry): Launcher_Base_F {
|
|
|
|
class ACE_CSW {
|
|
|
|
type = "weapon";
|
|
|
|
deployTime = 4;
|
|
|
|
pickupTime = 4;
|
|
|
|
class assembleTo {
|
|
|
|
EGVAR(csw,m3TripodLow) = "RHS_MK19_TriPod_WD";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
class WeaponSlotsInfo: WeaponSlotsInfo {
|
2020-01-24 20:41:52 +00:00
|
|
|
class MuzzleSlot {
|
|
|
|
iconScale = 0.1;
|
|
|
|
};
|
RHS CSW compatability (#7082)
* Initial Commit
* Got rid of unneeded translation values
* Updated Strings
* "Fixed" issue where when you deploy the tripid and weapon on slope it freaked out.
* Fixed locality issues. Added timers to relavent functions.
* Added weights to all magazines/tripod. Weights to weapons coming soon when I transfer them to the launcher slot
* Fixed bug regarding localized strings. Created new tripod model
* Added timers for deploying/picking up the tripod. Changed ammo-box model from custom to one already in ARMA. Changed gun-bag model for a more generic one. Created a texture for the tripod and gunbag
* Removed ability to disassemble weapons via the addAction. Added ACE Action to get in due to a memory point issue. Changed from a static deploy/dismount time to one based in the weapon configs
* Created forward-compatability. Made it so I can define a base plate for any weapon if I ever want to expand from the generic M3 Tripod.
* Fixed bug where tripod wouldn't deploy with the correct times. Fixed bug where if you moved the tripod into the ground it would go flying.
* Added mortar compatability. Will probably shift whole mortar ammo loading to CSW one day
* Added icons to each relavent item
* Added README, possibly fixed bug where if you are in a weapon others cant load/unload ammo. Changed distance you can interact with weapons
* Added checks for when deploying the gun as well as unloading ammo to prevent duplication/deletion of items.
* Added documentation
* Added order to doc
* Explained why things are the way they are
* Remove temp files
* Removed redundant files
* Converted tabs->spaces. Added newlines at end of all files. Changed broken line in fnc_tripodDeploy.sqf.
* 100% newlines at end of file
* Added newlines to files that didnt get the change. Fixed README. Changed from GVAR(cswOptions) to GVAR(options). Changed from tabs to spaces in wiki
* Fixed issue with UAV assembling with enableWeaponDisassembling. Fixed bug where game would crash if you disassembled static weapon with more than 1 magazine
* Tabs->Spaces
* Added CSW options to base StaticWeapon class to allow for easier additions. Switched default mortar away from CSW system due to incompatabilities
* Lazy Evaluations and macros to describe how things work.
* Added newlines to script_component. Fix no-texture issue on tripod. "Fix" 20mm HE saying 40mm HE. Add custom icons to all weapons. Move "Check Ammo" to CSW menu
* abc
* Revert "abc"
This reverts commit bcb4214bd99bba3fec692efa4dca950323da582d.
* Update to current commit
* Revert changes to fortify.md
* Updated UI Icon to Crew Served Ammo branch UI
* Added Pabst's CrewServedAmmo to handle ammo loading/unloading instead of my solution
* Fixed bug where currentWeaponTurret returned a blank string when a player hasent entered hte weapon to select the current weapon
* Re-added ammo loading time
* Tabs->Spaces
* Newline at end of files
* Removed replaced functions
* Remove redundant strings. Move ammo handling to appropiate section
* Tabs->Spaces
* Update wiki
* Updated to fix crash with default weapons and disable CSW ability on default static weapons
* Added editor attributes to enable/disable CSW at edit time
* Change how ammo is removed from the CSW. Uses math instead of iteration
* Fix bug where assembled weapon did not get rid of default actions
* Added support for multiple types of ammo in one CSW
* Add tracer magazines for .50 cal
* Fix bug where you could load ammo even if the gun couldnt take any more
* Disable debug and enable compile cache
* Changed weapon deploy/pickup time. Removed custom Titan missiles. Using ACE Dragging now. Added progress bar check for pickupTripod. Updated documentation
* Removed check if CSW is full to unload ammo
* Fix bug where items would spawn underneath other items on wepaon dismount
* Change some things
* Configure base statics, improve returnAmmo
* Add mortar baseplate
* Remove explicit inheritance
* Fix bug where unloading ammo would duplicate it if you had room in your person.
* Tab->Space
* Player couldnt pickup tripod due to legacy code
* Fix GMG_01_base_F inheritce
* Port of ACE 2 tripod + ACE 2 CSW Bag
* Move ACE 2 Data to APL folder
* Adjust weights to make them more accurate to how ARMA uses it and the real life equivalents
* Fix bug where error was thrown on esc from picking up tripod. Tripod rotated 180
* Fix bug where if you called ace_common_claim the weapon could be set to be disassembled even though it may not be wanted via CSW
* Added ability to toggle ammo handling when weaponAssembly is disabled.
* Add Proxy Weapons for all Vanilla static weapons. These serve as a way to allow for realistic ammo reload times without having to modify base classes if you want feautres turned off. Adjusted reload and mount times to be more "realistic"
* Fix Shadow RPT Spam
* Update wiki
* Change order of setDir and setPos
* Change all setDir/setPos orientations. Remove redundant check. Ensure that weapon locked state reflects it with the "getIn" command. Add a way to pass in a specific classname for the weapon assemble type. Add a callback function onDisassemble if user wants to set the state of the new tripod using the old weapon as a reference
* Actually check for the carryWeaponClassname in the deployWeapon check
* Ai Compatiblity
* Add stringtable entries
* Formatting fixes
* Stringtables for settings, fix setMagazineTurretAmmo
* inherit ammo for mags, reorder stringtable
displays correct ammo and descriptionShort
* don't require ace_javelin
* Tweaks, cleanup, localzation, ace_reload changes
change weapon tag to [CSW]
tweak localization strings
minor cleanup
simplify some ace_reload funcs
* delete moved dev func
* Hopefully fix issue where to-be deleted tripod intersects with newly created weapon and vice versa. Remove PBOPREFIX newline
* cleanup/proxyWeapon/mk6 compat
* RHS compatability
* Modified all tripod p3ds to have [0,0,0] at the mount. Ported AGS-30, Kord, M220, and SPG-9 tripods to APL And added them to CSW. Changed RHS compats to use new ported tripods. Changed strings to reflect real names.
* Change from M224 Mortar Bag -> Mk6 Mortar bag
* Add named propert (Autocenter) to make P3D [0,0,0] the center of the object instead of engine calculated
* oh no tabs
* remove some more evil tabs
* fix changes lost in merge
* fix bad merge pt2
* Fix UBC
2019-07-04 22:56:49 +00:00
|
|
|
mass = 770;
|
|
|
|
};
|
2019-07-05 22:57:22 +00:00
|
|
|
displayName = ECSTRING(CSW,mk19_gun);
|
RHS CSW compatability (#7082)
* Initial Commit
* Got rid of unneeded translation values
* Updated Strings
* "Fixed" issue where when you deploy the tripid and weapon on slope it freaked out.
* Fixed locality issues. Added timers to relavent functions.
* Added weights to all magazines/tripod. Weights to weapons coming soon when I transfer them to the launcher slot
* Fixed bug regarding localized strings. Created new tripod model
* Added timers for deploying/picking up the tripod. Changed ammo-box model from custom to one already in ARMA. Changed gun-bag model for a more generic one. Created a texture for the tripod and gunbag
* Removed ability to disassemble weapons via the addAction. Added ACE Action to get in due to a memory point issue. Changed from a static deploy/dismount time to one based in the weapon configs
* Created forward-compatability. Made it so I can define a base plate for any weapon if I ever want to expand from the generic M3 Tripod.
* Fixed bug where tripod wouldn't deploy with the correct times. Fixed bug where if you moved the tripod into the ground it would go flying.
* Added mortar compatability. Will probably shift whole mortar ammo loading to CSW one day
* Added icons to each relavent item
* Added README, possibly fixed bug where if you are in a weapon others cant load/unload ammo. Changed distance you can interact with weapons
* Added checks for when deploying the gun as well as unloading ammo to prevent duplication/deletion of items.
* Added documentation
* Added order to doc
* Explained why things are the way they are
* Remove temp files
* Removed redundant files
* Converted tabs->spaces. Added newlines at end of all files. Changed broken line in fnc_tripodDeploy.sqf.
* 100% newlines at end of file
* Added newlines to files that didnt get the change. Fixed README. Changed from GVAR(cswOptions) to GVAR(options). Changed from tabs to spaces in wiki
* Fixed issue with UAV assembling with enableWeaponDisassembling. Fixed bug where game would crash if you disassembled static weapon with more than 1 magazine
* Tabs->Spaces
* Added CSW options to base StaticWeapon class to allow for easier additions. Switched default mortar away from CSW system due to incompatabilities
* Lazy Evaluations and macros to describe how things work.
* Added newlines to script_component. Fix no-texture issue on tripod. "Fix" 20mm HE saying 40mm HE. Add custom icons to all weapons. Move "Check Ammo" to CSW menu
* abc
* Revert "abc"
This reverts commit bcb4214bd99bba3fec692efa4dca950323da582d.
* Update to current commit
* Revert changes to fortify.md
* Updated UI Icon to Crew Served Ammo branch UI
* Added Pabst's CrewServedAmmo to handle ammo loading/unloading instead of my solution
* Fixed bug where currentWeaponTurret returned a blank string when a player hasent entered hte weapon to select the current weapon
* Re-added ammo loading time
* Tabs->Spaces
* Newline at end of files
* Removed replaced functions
* Remove redundant strings. Move ammo handling to appropiate section
* Tabs->Spaces
* Update wiki
* Updated to fix crash with default weapons and disable CSW ability on default static weapons
* Added editor attributes to enable/disable CSW at edit time
* Change how ammo is removed from the CSW. Uses math instead of iteration
* Fix bug where assembled weapon did not get rid of default actions
* Added support for multiple types of ammo in one CSW
* Add tracer magazines for .50 cal
* Fix bug where you could load ammo even if the gun couldnt take any more
* Disable debug and enable compile cache
* Changed weapon deploy/pickup time. Removed custom Titan missiles. Using ACE Dragging now. Added progress bar check for pickupTripod. Updated documentation
* Removed check if CSW is full to unload ammo
* Fix bug where items would spawn underneath other items on wepaon dismount
* Change some things
* Configure base statics, improve returnAmmo
* Add mortar baseplate
* Remove explicit inheritance
* Fix bug where unloading ammo would duplicate it if you had room in your person.
* Tab->Space
* Player couldnt pickup tripod due to legacy code
* Fix GMG_01_base_F inheritce
* Port of ACE 2 tripod + ACE 2 CSW Bag
* Move ACE 2 Data to APL folder
* Adjust weights to make them more accurate to how ARMA uses it and the real life equivalents
* Fix bug where error was thrown on esc from picking up tripod. Tripod rotated 180
* Fix bug where if you called ace_common_claim the weapon could be set to be disassembled even though it may not be wanted via CSW
* Added ability to toggle ammo handling when weaponAssembly is disabled.
* Add Proxy Weapons for all Vanilla static weapons. These serve as a way to allow for realistic ammo reload times without having to modify base classes if you want feautres turned off. Adjusted reload and mount times to be more "realistic"
* Fix Shadow RPT Spam
* Update wiki
* Change order of setDir and setPos
* Change all setDir/setPos orientations. Remove redundant check. Ensure that weapon locked state reflects it with the "getIn" command. Add a way to pass in a specific classname for the weapon assemble type. Add a callback function onDisassemble if user wants to set the state of the new tripod using the old weapon as a reference
* Actually check for the carryWeaponClassname in the deployWeapon check
* Ai Compatiblity
* Add stringtable entries
* Formatting fixes
* Stringtables for settings, fix setMagazineTurretAmmo
* inherit ammo for mags, reorder stringtable
displays correct ammo and descriptionShort
* don't require ace_javelin
* Tweaks, cleanup, localzation, ace_reload changes
change weapon tag to [CSW]
tweak localization strings
minor cleanup
simplify some ace_reload funcs
* delete moved dev func
* Hopefully fix issue where to-be deleted tripod intersects with newly created weapon and vice versa. Remove PBOPREFIX newline
* cleanup/proxyWeapon/mk6 compat
* RHS compatability
* Modified all tripod p3ds to have [0,0,0] at the mount. Ported AGS-30, Kord, M220, and SPG-9 tripods to APL And added them to CSW. Changed RHS compats to use new ported tripods. Changed strings to reflect real names.
* Change from M224 Mortar Bag -> Mk6 Mortar bag
* Add named propert (Autocenter) to make P3D [0,0,0] the center of the object instead of engine calculated
* oh no tabs
* remove some more evil tabs
* fix changes lost in merge
* fix bad merge pt2
* Fix UBC
2019-07-04 22:56:49 +00:00
|
|
|
author = ECSTRING(common,ACETeam);
|
|
|
|
scope = 2;
|
|
|
|
model = QPATHTOEF(apl,ACE_CSW_Bag.p3d);
|
|
|
|
modes[] = {};
|
2019-10-05 00:02:11 +00:00
|
|
|
picture = "\rhsusf\addons\rhsusf_heavyweapons\data\ico\RHS_MK19_TriPod_D_ca.paa";
|
RHS CSW compatability (#7082)
* Initial Commit
* Got rid of unneeded translation values
* Updated Strings
* "Fixed" issue where when you deploy the tripid and weapon on slope it freaked out.
* Fixed locality issues. Added timers to relavent functions.
* Added weights to all magazines/tripod. Weights to weapons coming soon when I transfer them to the launcher slot
* Fixed bug regarding localized strings. Created new tripod model
* Added timers for deploying/picking up the tripod. Changed ammo-box model from custom to one already in ARMA. Changed gun-bag model for a more generic one. Created a texture for the tripod and gunbag
* Removed ability to disassemble weapons via the addAction. Added ACE Action to get in due to a memory point issue. Changed from a static deploy/dismount time to one based in the weapon configs
* Created forward-compatability. Made it so I can define a base plate for any weapon if I ever want to expand from the generic M3 Tripod.
* Fixed bug where tripod wouldn't deploy with the correct times. Fixed bug where if you moved the tripod into the ground it would go flying.
* Added mortar compatability. Will probably shift whole mortar ammo loading to CSW one day
* Added icons to each relavent item
* Added README, possibly fixed bug where if you are in a weapon others cant load/unload ammo. Changed distance you can interact with weapons
* Added checks for when deploying the gun as well as unloading ammo to prevent duplication/deletion of items.
* Added documentation
* Added order to doc
* Explained why things are the way they are
* Remove temp files
* Removed redundant files
* Converted tabs->spaces. Added newlines at end of all files. Changed broken line in fnc_tripodDeploy.sqf.
* 100% newlines at end of file
* Added newlines to files that didnt get the change. Fixed README. Changed from GVAR(cswOptions) to GVAR(options). Changed from tabs to spaces in wiki
* Fixed issue with UAV assembling with enableWeaponDisassembling. Fixed bug where game would crash if you disassembled static weapon with more than 1 magazine
* Tabs->Spaces
* Added CSW options to base StaticWeapon class to allow for easier additions. Switched default mortar away from CSW system due to incompatabilities
* Lazy Evaluations and macros to describe how things work.
* Added newlines to script_component. Fix no-texture issue on tripod. "Fix" 20mm HE saying 40mm HE. Add custom icons to all weapons. Move "Check Ammo" to CSW menu
* abc
* Revert "abc"
This reverts commit bcb4214bd99bba3fec692efa4dca950323da582d.
* Update to current commit
* Revert changes to fortify.md
* Updated UI Icon to Crew Served Ammo branch UI
* Added Pabst's CrewServedAmmo to handle ammo loading/unloading instead of my solution
* Fixed bug where currentWeaponTurret returned a blank string when a player hasent entered hte weapon to select the current weapon
* Re-added ammo loading time
* Tabs->Spaces
* Newline at end of files
* Removed replaced functions
* Remove redundant strings. Move ammo handling to appropiate section
* Tabs->Spaces
* Update wiki
* Updated to fix crash with default weapons and disable CSW ability on default static weapons
* Added editor attributes to enable/disable CSW at edit time
* Change how ammo is removed from the CSW. Uses math instead of iteration
* Fix bug where assembled weapon did not get rid of default actions
* Added support for multiple types of ammo in one CSW
* Add tracer magazines for .50 cal
* Fix bug where you could load ammo even if the gun couldnt take any more
* Disable debug and enable compile cache
* Changed weapon deploy/pickup time. Removed custom Titan missiles. Using ACE Dragging now. Added progress bar check for pickupTripod. Updated documentation
* Removed check if CSW is full to unload ammo
* Fix bug where items would spawn underneath other items on wepaon dismount
* Change some things
* Configure base statics, improve returnAmmo
* Add mortar baseplate
* Remove explicit inheritance
* Fix bug where unloading ammo would duplicate it if you had room in your person.
* Tab->Space
* Player couldnt pickup tripod due to legacy code
* Fix GMG_01_base_F inheritce
* Port of ACE 2 tripod + ACE 2 CSW Bag
* Move ACE 2 Data to APL folder
* Adjust weights to make them more accurate to how ARMA uses it and the real life equivalents
* Fix bug where error was thrown on esc from picking up tripod. Tripod rotated 180
* Fix bug where if you called ace_common_claim the weapon could be set to be disassembled even though it may not be wanted via CSW
* Added ability to toggle ammo handling when weaponAssembly is disabled.
* Add Proxy Weapons for all Vanilla static weapons. These serve as a way to allow for realistic ammo reload times without having to modify base classes if you want feautres turned off. Adjusted reload and mount times to be more "realistic"
* Fix Shadow RPT Spam
* Update wiki
* Change order of setDir and setPos
* Change all setDir/setPos orientations. Remove redundant check. Ensure that weapon locked state reflects it with the "getIn" command. Add a way to pass in a specific classname for the weapon assemble type. Add a callback function onDisassemble if user wants to set the state of the new tripod using the old weapon as a reference
* Actually check for the carryWeaponClassname in the deployWeapon check
* Ai Compatiblity
* Add stringtable entries
* Formatting fixes
* Stringtables for settings, fix setMagazineTurretAmmo
* inherit ammo for mags, reorder stringtable
displays correct ammo and descriptionShort
* don't require ace_javelin
* Tweaks, cleanup, localzation, ace_reload changes
change weapon tag to [CSW]
tweak localization strings
minor cleanup
simplify some ace_reload funcs
* delete moved dev func
* Hopefully fix issue where to-be deleted tripod intersects with newly created weapon and vice versa. Remove PBOPREFIX newline
* cleanup/proxyWeapon/mk6 compat
* RHS compatability
* Modified all tripod p3ds to have [0,0,0] at the mount. Ported AGS-30, Kord, M220, and SPG-9 tripods to APL And added them to CSW. Changed RHS compats to use new ported tripods. Changed strings to reflect real names.
* Change from M224 Mortar Bag -> Mk6 Mortar bag
* Add named propert (Autocenter) to make P3D [0,0,0] the center of the object instead of engine calculated
* oh no tabs
* remove some more evil tabs
* fix changes lost in merge
* fix bad merge pt2
* Fix UBC
2019-07-04 22:56:49 +00:00
|
|
|
};
|
2019-07-05 22:57:22 +00:00
|
|
|
|
RHS CSW compatability (#7082)
* Initial Commit
* Got rid of unneeded translation values
* Updated Strings
* "Fixed" issue where when you deploy the tripid and weapon on slope it freaked out.
* Fixed locality issues. Added timers to relavent functions.
* Added weights to all magazines/tripod. Weights to weapons coming soon when I transfer them to the launcher slot
* Fixed bug regarding localized strings. Created new tripod model
* Added timers for deploying/picking up the tripod. Changed ammo-box model from custom to one already in ARMA. Changed gun-bag model for a more generic one. Created a texture for the tripod and gunbag
* Removed ability to disassemble weapons via the addAction. Added ACE Action to get in due to a memory point issue. Changed from a static deploy/dismount time to one based in the weapon configs
* Created forward-compatability. Made it so I can define a base plate for any weapon if I ever want to expand from the generic M3 Tripod.
* Fixed bug where tripod wouldn't deploy with the correct times. Fixed bug where if you moved the tripod into the ground it would go flying.
* Added mortar compatability. Will probably shift whole mortar ammo loading to CSW one day
* Added icons to each relavent item
* Added README, possibly fixed bug where if you are in a weapon others cant load/unload ammo. Changed distance you can interact with weapons
* Added checks for when deploying the gun as well as unloading ammo to prevent duplication/deletion of items.
* Added documentation
* Added order to doc
* Explained why things are the way they are
* Remove temp files
* Removed redundant files
* Converted tabs->spaces. Added newlines at end of all files. Changed broken line in fnc_tripodDeploy.sqf.
* 100% newlines at end of file
* Added newlines to files that didnt get the change. Fixed README. Changed from GVAR(cswOptions) to GVAR(options). Changed from tabs to spaces in wiki
* Fixed issue with UAV assembling with enableWeaponDisassembling. Fixed bug where game would crash if you disassembled static weapon with more than 1 magazine
* Tabs->Spaces
* Added CSW options to base StaticWeapon class to allow for easier additions. Switched default mortar away from CSW system due to incompatabilities
* Lazy Evaluations and macros to describe how things work.
* Added newlines to script_component. Fix no-texture issue on tripod. "Fix" 20mm HE saying 40mm HE. Add custom icons to all weapons. Move "Check Ammo" to CSW menu
* abc
* Revert "abc"
This reverts commit bcb4214bd99bba3fec692efa4dca950323da582d.
* Update to current commit
* Revert changes to fortify.md
* Updated UI Icon to Crew Served Ammo branch UI
* Added Pabst's CrewServedAmmo to handle ammo loading/unloading instead of my solution
* Fixed bug where currentWeaponTurret returned a blank string when a player hasent entered hte weapon to select the current weapon
* Re-added ammo loading time
* Tabs->Spaces
* Newline at end of files
* Removed replaced functions
* Remove redundant strings. Move ammo handling to appropiate section
* Tabs->Spaces
* Update wiki
* Updated to fix crash with default weapons and disable CSW ability on default static weapons
* Added editor attributes to enable/disable CSW at edit time
* Change how ammo is removed from the CSW. Uses math instead of iteration
* Fix bug where assembled weapon did not get rid of default actions
* Added support for multiple types of ammo in one CSW
* Add tracer magazines for .50 cal
* Fix bug where you could load ammo even if the gun couldnt take any more
* Disable debug and enable compile cache
* Changed weapon deploy/pickup time. Removed custom Titan missiles. Using ACE Dragging now. Added progress bar check for pickupTripod. Updated documentation
* Removed check if CSW is full to unload ammo
* Fix bug where items would spawn underneath other items on wepaon dismount
* Change some things
* Configure base statics, improve returnAmmo
* Add mortar baseplate
* Remove explicit inheritance
* Fix bug where unloading ammo would duplicate it if you had room in your person.
* Tab->Space
* Player couldnt pickup tripod due to legacy code
* Fix GMG_01_base_F inheritce
* Port of ACE 2 tripod + ACE 2 CSW Bag
* Move ACE 2 Data to APL folder
* Adjust weights to make them more accurate to how ARMA uses it and the real life equivalents
* Fix bug where error was thrown on esc from picking up tripod. Tripod rotated 180
* Fix bug where if you called ace_common_claim the weapon could be set to be disassembled even though it may not be wanted via CSW
* Added ability to toggle ammo handling when weaponAssembly is disabled.
* Add Proxy Weapons for all Vanilla static weapons. These serve as a way to allow for realistic ammo reload times without having to modify base classes if you want feautres turned off. Adjusted reload and mount times to be more "realistic"
* Fix Shadow RPT Spam
* Update wiki
* Change order of setDir and setPos
* Change all setDir/setPos orientations. Remove redundant check. Ensure that weapon locked state reflects it with the "getIn" command. Add a way to pass in a specific classname for the weapon assemble type. Add a callback function onDisassemble if user wants to set the state of the new tripod using the old weapon as a reference
* Actually check for the carryWeaponClassname in the deployWeapon check
* Ai Compatiblity
* Add stringtable entries
* Formatting fixes
* Stringtables for settings, fix setMagazineTurretAmmo
* inherit ammo for mags, reorder stringtable
displays correct ammo and descriptionShort
* don't require ace_javelin
* Tweaks, cleanup, localzation, ace_reload changes
change weapon tag to [CSW]
tweak localization strings
minor cleanup
simplify some ace_reload funcs
* delete moved dev func
* Hopefully fix issue where to-be deleted tripod intersects with newly created weapon and vice versa. Remove PBOPREFIX newline
* cleanup/proxyWeapon/mk6 compat
* RHS compatability
* Modified all tripod p3ds to have [0,0,0] at the mount. Ported AGS-30, Kord, M220, and SPG-9 tripods to APL And added them to CSW. Changed RHS compats to use new ported tripods. Changed strings to reflect real names.
* Change from M224 Mortar Bag -> Mk6 Mortar bag
* Add named propert (Autocenter) to make P3D [0,0,0] the center of the object instead of engine calculated
* oh no tabs
* remove some more evil tabs
* fix changes lost in merge
* fix bad merge pt2
* Fix UBC
2019-07-04 22:56:49 +00:00
|
|
|
class GVAR(tow_carry): Launcher_Base_F {
|
|
|
|
class ACE_CSW {
|
|
|
|
type = "weapon";
|
|
|
|
deployTime = 4;
|
|
|
|
pickupTime = 4;
|
|
|
|
class assembleTo {
|
|
|
|
EGVAR(csw,m220Tripod) = "RHS_TOW_TriPod_WD";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
class WeaponSlotsInfo: WeaponSlotsInfo {
|
2020-01-24 20:41:52 +00:00
|
|
|
class MuzzleSlot {
|
|
|
|
iconScale = 0.1;
|
|
|
|
};
|
RHS CSW compatability (#7082)
* Initial Commit
* Got rid of unneeded translation values
* Updated Strings
* "Fixed" issue where when you deploy the tripid and weapon on slope it freaked out.
* Fixed locality issues. Added timers to relavent functions.
* Added weights to all magazines/tripod. Weights to weapons coming soon when I transfer them to the launcher slot
* Fixed bug regarding localized strings. Created new tripod model
* Added timers for deploying/picking up the tripod. Changed ammo-box model from custom to one already in ARMA. Changed gun-bag model for a more generic one. Created a texture for the tripod and gunbag
* Removed ability to disassemble weapons via the addAction. Added ACE Action to get in due to a memory point issue. Changed from a static deploy/dismount time to one based in the weapon configs
* Created forward-compatability. Made it so I can define a base plate for any weapon if I ever want to expand from the generic M3 Tripod.
* Fixed bug where tripod wouldn't deploy with the correct times. Fixed bug where if you moved the tripod into the ground it would go flying.
* Added mortar compatability. Will probably shift whole mortar ammo loading to CSW one day
* Added icons to each relavent item
* Added README, possibly fixed bug where if you are in a weapon others cant load/unload ammo. Changed distance you can interact with weapons
* Added checks for when deploying the gun as well as unloading ammo to prevent duplication/deletion of items.
* Added documentation
* Added order to doc
* Explained why things are the way they are
* Remove temp files
* Removed redundant files
* Converted tabs->spaces. Added newlines at end of all files. Changed broken line in fnc_tripodDeploy.sqf.
* 100% newlines at end of file
* Added newlines to files that didnt get the change. Fixed README. Changed from GVAR(cswOptions) to GVAR(options). Changed from tabs to spaces in wiki
* Fixed issue with UAV assembling with enableWeaponDisassembling. Fixed bug where game would crash if you disassembled static weapon with more than 1 magazine
* Tabs->Spaces
* Added CSW options to base StaticWeapon class to allow for easier additions. Switched default mortar away from CSW system due to incompatabilities
* Lazy Evaluations and macros to describe how things work.
* Added newlines to script_component. Fix no-texture issue on tripod. "Fix" 20mm HE saying 40mm HE. Add custom icons to all weapons. Move "Check Ammo" to CSW menu
* abc
* Revert "abc"
This reverts commit bcb4214bd99bba3fec692efa4dca950323da582d.
* Update to current commit
* Revert changes to fortify.md
* Updated UI Icon to Crew Served Ammo branch UI
* Added Pabst's CrewServedAmmo to handle ammo loading/unloading instead of my solution
* Fixed bug where currentWeaponTurret returned a blank string when a player hasent entered hte weapon to select the current weapon
* Re-added ammo loading time
* Tabs->Spaces
* Newline at end of files
* Removed replaced functions
* Remove redundant strings. Move ammo handling to appropiate section
* Tabs->Spaces
* Update wiki
* Updated to fix crash with default weapons and disable CSW ability on default static weapons
* Added editor attributes to enable/disable CSW at edit time
* Change how ammo is removed from the CSW. Uses math instead of iteration
* Fix bug where assembled weapon did not get rid of default actions
* Added support for multiple types of ammo in one CSW
* Add tracer magazines for .50 cal
* Fix bug where you could load ammo even if the gun couldnt take any more
* Disable debug and enable compile cache
* Changed weapon deploy/pickup time. Removed custom Titan missiles. Using ACE Dragging now. Added progress bar check for pickupTripod. Updated documentation
* Removed check if CSW is full to unload ammo
* Fix bug where items would spawn underneath other items on wepaon dismount
* Change some things
* Configure base statics, improve returnAmmo
* Add mortar baseplate
* Remove explicit inheritance
* Fix bug where unloading ammo would duplicate it if you had room in your person.
* Tab->Space
* Player couldnt pickup tripod due to legacy code
* Fix GMG_01_base_F inheritce
* Port of ACE 2 tripod + ACE 2 CSW Bag
* Move ACE 2 Data to APL folder
* Adjust weights to make them more accurate to how ARMA uses it and the real life equivalents
* Fix bug where error was thrown on esc from picking up tripod. Tripod rotated 180
* Fix bug where if you called ace_common_claim the weapon could be set to be disassembled even though it may not be wanted via CSW
* Added ability to toggle ammo handling when weaponAssembly is disabled.
* Add Proxy Weapons for all Vanilla static weapons. These serve as a way to allow for realistic ammo reload times without having to modify base classes if you want feautres turned off. Adjusted reload and mount times to be more "realistic"
* Fix Shadow RPT Spam
* Update wiki
* Change order of setDir and setPos
* Change all setDir/setPos orientations. Remove redundant check. Ensure that weapon locked state reflects it with the "getIn" command. Add a way to pass in a specific classname for the weapon assemble type. Add a callback function onDisassemble if user wants to set the state of the new tripod using the old weapon as a reference
* Actually check for the carryWeaponClassname in the deployWeapon check
* Ai Compatiblity
* Add stringtable entries
* Formatting fixes
* Stringtables for settings, fix setMagazineTurretAmmo
* inherit ammo for mags, reorder stringtable
displays correct ammo and descriptionShort
* don't require ace_javelin
* Tweaks, cleanup, localzation, ace_reload changes
change weapon tag to [CSW]
tweak localization strings
minor cleanup
simplify some ace_reload funcs
* delete moved dev func
* Hopefully fix issue where to-be deleted tripod intersects with newly created weapon and vice versa. Remove PBOPREFIX newline
* cleanup/proxyWeapon/mk6 compat
* RHS compatability
* Modified all tripod p3ds to have [0,0,0] at the mount. Ported AGS-30, Kord, M220, and SPG-9 tripods to APL And added them to CSW. Changed RHS compats to use new ported tripods. Changed strings to reflect real names.
* Change from M224 Mortar Bag -> Mk6 Mortar bag
* Add named propert (Autocenter) to make P3D [0,0,0] the center of the object instead of engine calculated
* oh no tabs
* remove some more evil tabs
* fix changes lost in merge
* fix bad merge pt2
* Fix UBC
2019-07-04 22:56:49 +00:00
|
|
|
mass = 500;
|
|
|
|
};
|
2019-07-05 22:57:22 +00:00
|
|
|
displayName = ECSTRING(CSW,tow_tube);
|
RHS CSW compatability (#7082)
* Initial Commit
* Got rid of unneeded translation values
* Updated Strings
* "Fixed" issue where when you deploy the tripid and weapon on slope it freaked out.
* Fixed locality issues. Added timers to relavent functions.
* Added weights to all magazines/tripod. Weights to weapons coming soon when I transfer them to the launcher slot
* Fixed bug regarding localized strings. Created new tripod model
* Added timers for deploying/picking up the tripod. Changed ammo-box model from custom to one already in ARMA. Changed gun-bag model for a more generic one. Created a texture for the tripod and gunbag
* Removed ability to disassemble weapons via the addAction. Added ACE Action to get in due to a memory point issue. Changed from a static deploy/dismount time to one based in the weapon configs
* Created forward-compatability. Made it so I can define a base plate for any weapon if I ever want to expand from the generic M3 Tripod.
* Fixed bug where tripod wouldn't deploy with the correct times. Fixed bug where if you moved the tripod into the ground it would go flying.
* Added mortar compatability. Will probably shift whole mortar ammo loading to CSW one day
* Added icons to each relavent item
* Added README, possibly fixed bug where if you are in a weapon others cant load/unload ammo. Changed distance you can interact with weapons
* Added checks for when deploying the gun as well as unloading ammo to prevent duplication/deletion of items.
* Added documentation
* Added order to doc
* Explained why things are the way they are
* Remove temp files
* Removed redundant files
* Converted tabs->spaces. Added newlines at end of all files. Changed broken line in fnc_tripodDeploy.sqf.
* 100% newlines at end of file
* Added newlines to files that didnt get the change. Fixed README. Changed from GVAR(cswOptions) to GVAR(options). Changed from tabs to spaces in wiki
* Fixed issue with UAV assembling with enableWeaponDisassembling. Fixed bug where game would crash if you disassembled static weapon with more than 1 magazine
* Tabs->Spaces
* Added CSW options to base StaticWeapon class to allow for easier additions. Switched default mortar away from CSW system due to incompatabilities
* Lazy Evaluations and macros to describe how things work.
* Added newlines to script_component. Fix no-texture issue on tripod. "Fix" 20mm HE saying 40mm HE. Add custom icons to all weapons. Move "Check Ammo" to CSW menu
* abc
* Revert "abc"
This reverts commit bcb4214bd99bba3fec692efa4dca950323da582d.
* Update to current commit
* Revert changes to fortify.md
* Updated UI Icon to Crew Served Ammo branch UI
* Added Pabst's CrewServedAmmo to handle ammo loading/unloading instead of my solution
* Fixed bug where currentWeaponTurret returned a blank string when a player hasent entered hte weapon to select the current weapon
* Re-added ammo loading time
* Tabs->Spaces
* Newline at end of files
* Removed replaced functions
* Remove redundant strings. Move ammo handling to appropiate section
* Tabs->Spaces
* Update wiki
* Updated to fix crash with default weapons and disable CSW ability on default static weapons
* Added editor attributes to enable/disable CSW at edit time
* Change how ammo is removed from the CSW. Uses math instead of iteration
* Fix bug where assembled weapon did not get rid of default actions
* Added support for multiple types of ammo in one CSW
* Add tracer magazines for .50 cal
* Fix bug where you could load ammo even if the gun couldnt take any more
* Disable debug and enable compile cache
* Changed weapon deploy/pickup time. Removed custom Titan missiles. Using ACE Dragging now. Added progress bar check for pickupTripod. Updated documentation
* Removed check if CSW is full to unload ammo
* Fix bug where items would spawn underneath other items on wepaon dismount
* Change some things
* Configure base statics, improve returnAmmo
* Add mortar baseplate
* Remove explicit inheritance
* Fix bug where unloading ammo would duplicate it if you had room in your person.
* Tab->Space
* Player couldnt pickup tripod due to legacy code
* Fix GMG_01_base_F inheritce
* Port of ACE 2 tripod + ACE 2 CSW Bag
* Move ACE 2 Data to APL folder
* Adjust weights to make them more accurate to how ARMA uses it and the real life equivalents
* Fix bug where error was thrown on esc from picking up tripod. Tripod rotated 180
* Fix bug where if you called ace_common_claim the weapon could be set to be disassembled even though it may not be wanted via CSW
* Added ability to toggle ammo handling when weaponAssembly is disabled.
* Add Proxy Weapons for all Vanilla static weapons. These serve as a way to allow for realistic ammo reload times without having to modify base classes if you want feautres turned off. Adjusted reload and mount times to be more "realistic"
* Fix Shadow RPT Spam
* Update wiki
* Change order of setDir and setPos
* Change all setDir/setPos orientations. Remove redundant check. Ensure that weapon locked state reflects it with the "getIn" command. Add a way to pass in a specific classname for the weapon assemble type. Add a callback function onDisassemble if user wants to set the state of the new tripod using the old weapon as a reference
* Actually check for the carryWeaponClassname in the deployWeapon check
* Ai Compatiblity
* Add stringtable entries
* Formatting fixes
* Stringtables for settings, fix setMagazineTurretAmmo
* inherit ammo for mags, reorder stringtable
displays correct ammo and descriptionShort
* don't require ace_javelin
* Tweaks, cleanup, localzation, ace_reload changes
change weapon tag to [CSW]
tweak localization strings
minor cleanup
simplify some ace_reload funcs
* delete moved dev func
* Hopefully fix issue where to-be deleted tripod intersects with newly created weapon and vice versa. Remove PBOPREFIX newline
* cleanup/proxyWeapon/mk6 compat
* RHS compatability
* Modified all tripod p3ds to have [0,0,0] at the mount. Ported AGS-30, Kord, M220, and SPG-9 tripods to APL And added them to CSW. Changed RHS compats to use new ported tripods. Changed strings to reflect real names.
* Change from M224 Mortar Bag -> Mk6 Mortar bag
* Add named propert (Autocenter) to make P3D [0,0,0] the center of the object instead of engine calculated
* oh no tabs
* remove some more evil tabs
* fix changes lost in merge
* fix bad merge pt2
* Fix UBC
2019-07-04 22:56:49 +00:00
|
|
|
author = ECSTRING(common,ACETeam);
|
|
|
|
scope = 2;
|
|
|
|
model = QPATHTOEF(apl,ACE_CSW_Bag.p3d);
|
|
|
|
modes[] = {};
|
2019-10-05 00:02:11 +00:00
|
|
|
picture = "\rhsusf\addons\rhsusf_heavyweapons\data\Ico\RHS_TOW_TriPod_D_ca.paa";
|
RHS CSW compatability (#7082)
* Initial Commit
* Got rid of unneeded translation values
* Updated Strings
* "Fixed" issue where when you deploy the tripid and weapon on slope it freaked out.
* Fixed locality issues. Added timers to relavent functions.
* Added weights to all magazines/tripod. Weights to weapons coming soon when I transfer them to the launcher slot
* Fixed bug regarding localized strings. Created new tripod model
* Added timers for deploying/picking up the tripod. Changed ammo-box model from custom to one already in ARMA. Changed gun-bag model for a more generic one. Created a texture for the tripod and gunbag
* Removed ability to disassemble weapons via the addAction. Added ACE Action to get in due to a memory point issue. Changed from a static deploy/dismount time to one based in the weapon configs
* Created forward-compatability. Made it so I can define a base plate for any weapon if I ever want to expand from the generic M3 Tripod.
* Fixed bug where tripod wouldn't deploy with the correct times. Fixed bug where if you moved the tripod into the ground it would go flying.
* Added mortar compatability. Will probably shift whole mortar ammo loading to CSW one day
* Added icons to each relavent item
* Added README, possibly fixed bug where if you are in a weapon others cant load/unload ammo. Changed distance you can interact with weapons
* Added checks for when deploying the gun as well as unloading ammo to prevent duplication/deletion of items.
* Added documentation
* Added order to doc
* Explained why things are the way they are
* Remove temp files
* Removed redundant files
* Converted tabs->spaces. Added newlines at end of all files. Changed broken line in fnc_tripodDeploy.sqf.
* 100% newlines at end of file
* Added newlines to files that didnt get the change. Fixed README. Changed from GVAR(cswOptions) to GVAR(options). Changed from tabs to spaces in wiki
* Fixed issue with UAV assembling with enableWeaponDisassembling. Fixed bug where game would crash if you disassembled static weapon with more than 1 magazine
* Tabs->Spaces
* Added CSW options to base StaticWeapon class to allow for easier additions. Switched default mortar away from CSW system due to incompatabilities
* Lazy Evaluations and macros to describe how things work.
* Added newlines to script_component. Fix no-texture issue on tripod. "Fix" 20mm HE saying 40mm HE. Add custom icons to all weapons. Move "Check Ammo" to CSW menu
* abc
* Revert "abc"
This reverts commit bcb4214bd99bba3fec692efa4dca950323da582d.
* Update to current commit
* Revert changes to fortify.md
* Updated UI Icon to Crew Served Ammo branch UI
* Added Pabst's CrewServedAmmo to handle ammo loading/unloading instead of my solution
* Fixed bug where currentWeaponTurret returned a blank string when a player hasent entered hte weapon to select the current weapon
* Re-added ammo loading time
* Tabs->Spaces
* Newline at end of files
* Removed replaced functions
* Remove redundant strings. Move ammo handling to appropiate section
* Tabs->Spaces
* Update wiki
* Updated to fix crash with default weapons and disable CSW ability on default static weapons
* Added editor attributes to enable/disable CSW at edit time
* Change how ammo is removed from the CSW. Uses math instead of iteration
* Fix bug where assembled weapon did not get rid of default actions
* Added support for multiple types of ammo in one CSW
* Add tracer magazines for .50 cal
* Fix bug where you could load ammo even if the gun couldnt take any more
* Disable debug and enable compile cache
* Changed weapon deploy/pickup time. Removed custom Titan missiles. Using ACE Dragging now. Added progress bar check for pickupTripod. Updated documentation
* Removed check if CSW is full to unload ammo
* Fix bug where items would spawn underneath other items on wepaon dismount
* Change some things
* Configure base statics, improve returnAmmo
* Add mortar baseplate
* Remove explicit inheritance
* Fix bug where unloading ammo would duplicate it if you had room in your person.
* Tab->Space
* Player couldnt pickup tripod due to legacy code
* Fix GMG_01_base_F inheritce
* Port of ACE 2 tripod + ACE 2 CSW Bag
* Move ACE 2 Data to APL folder
* Adjust weights to make them more accurate to how ARMA uses it and the real life equivalents
* Fix bug where error was thrown on esc from picking up tripod. Tripod rotated 180
* Fix bug where if you called ace_common_claim the weapon could be set to be disassembled even though it may not be wanted via CSW
* Added ability to toggle ammo handling when weaponAssembly is disabled.
* Add Proxy Weapons for all Vanilla static weapons. These serve as a way to allow for realistic ammo reload times without having to modify base classes if you want feautres turned off. Adjusted reload and mount times to be more "realistic"
* Fix Shadow RPT Spam
* Update wiki
* Change order of setDir and setPos
* Change all setDir/setPos orientations. Remove redundant check. Ensure that weapon locked state reflects it with the "getIn" command. Add a way to pass in a specific classname for the weapon assemble type. Add a callback function onDisassemble if user wants to set the state of the new tripod using the old weapon as a reference
* Actually check for the carryWeaponClassname in the deployWeapon check
* Ai Compatiblity
* Add stringtable entries
* Formatting fixes
* Stringtables for settings, fix setMagazineTurretAmmo
* inherit ammo for mags, reorder stringtable
displays correct ammo and descriptionShort
* don't require ace_javelin
* Tweaks, cleanup, localzation, ace_reload changes
change weapon tag to [CSW]
tweak localization strings
minor cleanup
simplify some ace_reload funcs
* delete moved dev func
* Hopefully fix issue where to-be deleted tripod intersects with newly created weapon and vice versa. Remove PBOPREFIX newline
* cleanup/proxyWeapon/mk6 compat
* RHS compatability
* Modified all tripod p3ds to have [0,0,0] at the mount. Ported AGS-30, Kord, M220, and SPG-9 tripods to APL And added them to CSW. Changed RHS compats to use new ported tripods. Changed strings to reflect real names.
* Change from M224 Mortar Bag -> Mk6 Mortar bag
* Add named propert (Autocenter) to make P3D [0,0,0] the center of the object instead of engine calculated
* oh no tabs
* remove some more evil tabs
* fix changes lost in merge
* fix bad merge pt2
* Fix UBC
2019-07-04 22:56:49 +00:00
|
|
|
};
|
2015-05-23 19:22:15 +00:00
|
|
|
};
|