diff --git a/ace_advanced_ballistics.dll b/ace_advanced_ballistics.dll
index 3349bb5b38..8f1c62484f 100644
Binary files a/ace_advanced_ballistics.dll and b/ace_advanced_ballistics.dll differ
diff --git a/ace_breakLine.dll b/ace_breakLine.dll
index 428df80092..a13e1a8da9 100644
Binary files a/ace_breakLine.dll and b/ace_breakLine.dll differ
diff --git a/ace_fcs.dll b/ace_fcs.dll
index 9cef4549c7..71fbba7d92 100644
Binary files a/ace_fcs.dll and b/ace_fcs.dll differ
diff --git a/addons/advanced_ballistics/XEH_postInit.sqf b/addons/advanced_ballistics/XEH_postInit.sqf
index 41615696ac..8273859033 100644
--- a/addons/advanced_ballistics/XEH_postInit.sqf
+++ b/addons/advanced_ballistics/XEH_postInit.sqf
@@ -33,6 +33,7 @@ GVAR(AtmosphericDensitySimulationEnabled) = true;
GVAR(currentGrid) = 0;
GVAR(INIT_MESSAGE_ENABLED) = false;
+/* @TODO: Remove this until verisoning is in sync with cmake/build versioning
GVAR(extensionVersion) = ("ace_advanced_ballistics" callExtension "version");
GVAR(extensionAvailable) = (GVAR(extensionVersion) == EXTENSION_REQUIRED_VERSION);
if (!GVAR(extensionAvailable)) exitWith {
@@ -42,5 +43,5 @@ if (!GVAR(extensionAvailable)) exitWith {
diag_log text "[ACE] ERROR: ace_advanced_ballistics.dll is incompatible";
};
};
-
+*/
[] call FUNC(initializeTerrainExtension);
diff --git a/addons/attach/CfgWeapons.hpp b/addons/attach/CfgWeapons.hpp
index d2df948718..9734ceb273 100644
--- a/addons/attach/CfgWeapons.hpp
+++ b/addons/attach/CfgWeapons.hpp
@@ -5,6 +5,7 @@ class CfgWeapons {
class ACE_IR_Strobe_Item: ACE_ItemCore {
ACE_attachable = "ACE_IR_Strobe_Effect";
+ author = "$STR_ACE_Common_ACETeam";
scope = 2;
displayName = "$STR_ACE_IrStrobe_Name";
descriptionShort = "$STR_ACE_IrStrobe_Description";
diff --git a/addons/ballistics/CfgAmmo.hpp b/addons/ballistics/CfgAmmo.hpp
index 76a3970063..3ccc84a7bc 100644
--- a/addons/ballistics/CfgAmmo.hpp
+++ b/addons/ballistics/CfgAmmo.hpp
@@ -129,10 +129,10 @@ class CfgAmmo {
class ACE_65x39_Caseless_green_Tracer_Dim : B_65x39_Caseless_green {
nvgOnly = 1;
};
- class ACE_65x47_Ball_Scenar: B_65x39_Caseless
- {
+ class ACE_65x47_Ball_Scenar: B_65x39_Caseless {
airFriction=-0.00078;
typicalSpeed=820 ;
+ caliber=0.6;
ACE_caliber=0.264;
ACE_bulletLength=1.364;
ACE_bulletMass=139;
@@ -144,6 +144,21 @@ class CfgAmmo {
ACE_muzzleVelocities[]={730, 760, 790, 820, 830};
ACE_barrelLengths[]={10, 16, 20, 24, 26};
};
+ class ACE_65_Creedmor_Ball: B_65x39_Caseless {
+ airFriction=-0.00078;
+ typicalSpeed=860 ;
+ caliber=0.7;
+ ACE_caliber=0.264;
+ ACE_bulletLength=1.426;
+ ACE_bulletMass=140;
+ ACE_ammoTempMuzzleVelocityShifts[]={-26.55, -25.47, -22.85, -20.12, -16.98, -12.80, -7.64, -1.53, 5.96, 15.17, 26.19};
+ ACE_ballisticCoefficients[]={0.317};
+ ACE_velocityBoundaries[]={};
+ ACE_standardAtmosphere="ICAO";
+ ACE_dragModel=7;
+ ACE_muzzleVelocities[]={750, 830, 850, 860, 865};
+ ACE_barrelLengths[]={10, 16, 20, 24, 26};
+ };
class B_762x51_Ball : BulletBase {
airFriction=-0.001035;
typicalSpeed=833;
@@ -211,6 +226,54 @@ class CfgAmmo {
ACE_muzzleVelocities[]={305, 325, 335, 340};
ACE_barrelLengths[]={16, 20, 24, 26};
};
+ class ACE_30_06_M1_Ball : B_762x51_Ball {
+ airFriction=-0.0009;
+ typicalSpeed=800;
+ caliber=1.3;
+ hit=10;
+ ACE_caliber=0.308;
+ ACE_bulletLength=1.21;
+ ACE_bulletMass=174;
+ ACE_ammoTempMuzzleVelocityShifts[]={-26.55, -25.47, -22.85, -20.12, -16.98, -12.80, -7.64, -1.53, 5.96, 15.17, 26.19};
+ ACE_ballisticCoefficients[]={0.494};
+ ACE_velocityBoundaries[]={};
+ ACE_standardAtmosphere="ASM";
+ ACE_dragModel=1;
+ ACE_muzzleVelocities[]={700, 785, 800, 830, 840};
+ ACE_barrelLengths[]={10, 16, 20, 24, 26};
+ };
+ class ACE_7_Remington_Magnum_Ball : B_762x51_Ball {
+ airFriction=-0.0008;
+ typicalSpeed=820;
+ caliber=1.4;
+ hit=8;
+ ACE_caliber=0.284;
+ ACE_bulletLength=1.529;
+ ACE_bulletMass=180;
+ ACE_ammoTempMuzzleVelocityShifts[]={-26.55, -25.47, -22.85, -20.12, -16.98, -12.80, -7.64, -1.53, 5.96, 15.17, 26.19};
+ ACE_ballisticCoefficients[]={0.345};
+ ACE_velocityBoundaries[]={};
+ ACE_standardAtmosphere="ICAO";
+ ACE_dragModel=7;
+ ACE_muzzleVelocities[]={720, 780, 812, 822, 830};
+ ACE_barrelLengths[]={10, 16, 20, 24, 26};
+ };
+ class ACE_243_Winchester_Ball : B_762x51_Ball {
+ airFriction=-0.00095;
+ typicalSpeed=915;
+ caliber=0.8;
+ hit=6;
+ ACE_caliber=0.243;
+ ACE_bulletLength=1.282;
+ ACE_bulletMass=180;
+ ACE_ammoTempMuzzleVelocityShifts[]={-26.55, -25.47, -22.85, -20.12, -16.98, -12.80, -7.64, -1.53, 5.96, 15.17, 26.19};
+ ACE_ballisticCoefficients[]={0.278};
+ ACE_velocityBoundaries[]={};
+ ACE_standardAtmosphere="ICAO";
+ ACE_dragModel=7;
+ ACE_muzzleVelocities[]={830, 875, 900, 915, 920};
+ ACE_barrelLengths[]={10, 16, 20, 24, 26};
+ };
class ACE_762x67_Ball_Mk248_Mod_0 : B_762x51_Ball {
airFriction=-0.000830;
caliber=1.08;
diff --git a/addons/ballistics/CfgMagazines.hpp b/addons/ballistics/CfgMagazines.hpp
index 9ce3ad3eb0..5e3f48c369 100644
--- a/addons/ballistics/CfgMagazines.hpp
+++ b/addons/ballistics/CfgMagazines.hpp
@@ -42,9 +42,9 @@ class CfgMagazines {
class ACE_30Rnd_65x39_caseless_green_mag_Tracer_Dim: 30Rnd_65x39_caseless_green_mag_Tracer {
author = "$STR_ACE_Common_ACETeam";
ammo = "ACE_65x39_Caseless_green_Tracer_Dim";
- displayName = "$STR_ACE_30Rnd_65x39_caseless_mag_Tracer_DimName";
- displayNameShort = "$STR_ACE_30Rnd_65x39_caseless_mag_Tracer_DimNameShort";
- descriptionShort = "$STR_ACE_30Rnd_65x39_caseless_mag_Tracer_DimDescription";
+ displayName = "$STR_ACE_30Rnd_65x39_caseless_green_mag_Tracer_DimName";
+ displayNameShort = "$STR_ACE_30Rnd_65x39_caseless_green_mag_Tracer_DimNameShort";
+ descriptionShort = "$STR_ACE_30Rnd_65x39_caseless_green_mag_Tracer_DimDescription";
};
class 30Rnd_556x45_Stanag: CA_Magazine {
@@ -179,6 +179,13 @@ class CfgMagazines {
displayNameShort = "$STR_ACE_30Rnd_65x47_Scenar_mag_NameShort";
descriptionShort = "$STR_ACE_30Rnd_65x47_Scenar_mag_Description";
};
+ class ACE_30Rnd_65_Creedmor_mag: 30Rnd_65x39_caseless_mag {
+ author = "$STR_ACE_Common_ACETeam";
+ ammo = "ACE_65_Creedmor_Ball";
+ displayName = "$STR_ACE_30Rnd_65_Creedmor_mag_Name";
+ displayNameShort = "$STR_ACE_30Rnd_65_Creedmor_mag_NameShort";
+ descriptionShort = "$STR_ACE_30Rnd_65_Creedmor_mag_Description";
+ };
class 10Rnd_338_Mag;
class ACE_10Rnd_338_300gr_HPBT_Mag: 10Rnd_338_Mag {
author = "$STR_ACE_Common_ACETeam";
diff --git a/addons/ballistics/CfgVehicles.hpp b/addons/ballistics/CfgVehicles.hpp
index 4ea9fc87a2..b40ee12a72 100644
--- a/addons/ballistics/CfgVehicles.hpp
+++ b/addons/ballistics/CfgVehicles.hpp
@@ -14,6 +14,7 @@ class CfgVehicles {
class Box_NATO_Wps_F: NATO_Box_Base {
class TransportMagazines {
MACRO_ADDMAGAZINE(ACE_30Rnd_65x47_Scenar_mag,4);
+ MACRO_ADDMAGAZINE(ACE_30Rnd_65_Creedmor_mag,4);
};
};
@@ -33,6 +34,7 @@ class CfgVehicles {
class Box_NATO_Ammo_F: NATO_Box_Base {
class TransportMagazines {
MACRO_ADDMAGAZINE(ACE_30Rnd_65x47_Scenar_mag,4);
+ MACRO_ADDMAGAZINE(ACE_30Rnd_65_Creedmor_mag,4);
MACRO_ADDMAGAZINE(ACE_10Rnd_762x51_M118LR_Mag,4);
MACRO_ADDMAGAZINE(ACE_20Rnd_762x51_M118LR_Mag,4);
MACRO_ADDMAGAZINE(ACE_10Rnd_762x51_Mk319_Mod_0_Mag,4);
@@ -64,6 +66,7 @@ class CfgVehicles {
class B_supplyCrate_F: ReammoBox_F {
class TransportMagazines {
MACRO_ADDMAGAZINE(ACE_30Rnd_65x47_Scenar_mag,4);
+ MACRO_ADDMAGAZINE(ACE_30Rnd_65_Creedmor_mag,4);
MACRO_ADDMAGAZINE(ACE_10Rnd_762x51_M118LR_Mag,4);
MACRO_ADDMAGAZINE(ACE_20Rnd_762x51_M118LR_Mag,4);
MACRO_ADDMAGAZINE(ACE_10Rnd_762x51_Mk319_Mod_0_Mag,4);
@@ -76,6 +79,7 @@ class CfgVehicles {
class Box_East_Wps_F: EAST_Box_Base {
class TransportMagazines {
MACRO_ADDMAGAZINE(ACE_30Rnd_65x47_Scenar_mag,4);
+ MACRO_ADDMAGAZINE(ACE_30Rnd_65_Creedmor_mag,4);
MACRO_ADDMAGAZINE(ACE_10Rnd_762x54_Tracer_mag,4);
};
};
@@ -85,6 +89,7 @@ class CfgVehicles {
MACRO_ADDMAGAZINE(ACE_30Rnd_556x45_Stanag_Tracer_Dim,1);
MACRO_ADDMAGAZINE(ACE_30Rnd_65x39_caseless_green_mag_Tracer_Dim,4);
MACRO_ADDMAGAZINE(ACE_30Rnd_65x47_Scenar_mag,4);
+ MACRO_ADDMAGAZINE(ACE_30Rnd_65_Creedmor_mag,4);
MACRO_ADDMAGAZINE(ACE_10Rnd_762x54_Tracer_mag,4);
};
};
@@ -92,6 +97,7 @@ class CfgVehicles {
class Box_East_Ammo_F: EAST_Box_Base {
class TransportMagazines {
MACRO_ADDMAGAZINE(ACE_30Rnd_65x47_Scenar_mag,4);
+ MACRO_ADDMAGAZINE(ACE_30Rnd_65_Creedmor_mag,4);
MACRO_ADDMAGAZINE(ACE_10Rnd_762x54_Tracer_mag,4);
};
};
@@ -99,6 +105,7 @@ class CfgVehicles {
class Box_East_Support_F: EAST_Box_Base {
class TransportMagazines {
MACRO_ADDMAGAZINE(ACE_30Rnd_65x47_Scenar_mag,6);
+ MACRO_ADDMAGAZINE(ACE_30Rnd_65_Creedmor_mag,4);
MACRO_ADDMAGAZINE(ACE_20Rnd_762x51_Mag_SD,3);
MACRO_ADDMAGAZINE(ACE_10Rnd_762x54_Tracer_mag,4);
};
@@ -157,6 +164,7 @@ class CfgVehicles {
class C_supplyCrate_F: ReammoBox_F {
class TransportMagazines {
MACRO_ADDMAGAZINE(ACE_30Rnd_65x47_Scenar_mag,4);
+ MACRO_ADDMAGAZINE(ACE_30Rnd_65_Creedmor_mag,4);
};
};
@@ -164,7 +172,7 @@ class CfgVehicles {
scope = 2;
accuracy = 1000;
displayName = "[ACE] Ammo Supply Crate";
- // TODO: model = "...";
+ model = "\A3\weapons_F\AmmoBoxes\AmmoBox_F";
author = "$STR_ACE_Common_ACETeam";
class TransportMagazines {
MACRO_ADDMAGAZINE(ACE_20Rnd_762x51_Mag_SD,4);
@@ -185,6 +193,7 @@ class CfgVehicles {
MACRO_ADDMAGAZINE(ACE_100Rnd_65x39_caseless_mag_Tracer_Dim,4);
MACRO_ADDMAGAZINE(ACE_200Rnd_65x39_cased_Box_Tracer_Dim,4);
MACRO_ADDMAGAZINE(ACE_30Rnd_65x47_Scenar_mag,4);
+ MACRO_ADDMAGAZINE(ACE_30Rnd_65_Creedmor_mag,4);
MACRO_ADDMAGAZINE(ACE_10Rnd_338_300gr_HPBT_Mag,4);
MACRO_ADDMAGAZINE(ACE_10Rnd_338_API526_Mag,4);
MACRO_ADDMAGAZINE(ACE_5Rnd_127x99_Mag,4);
diff --git a/addons/ballistics/CfgWeapons.hpp b/addons/ballistics/CfgWeapons.hpp
index 26b07303c0..e6ce5d4bfd 100644
--- a/addons/ballistics/CfgWeapons.hpp
+++ b/addons/ballistics/CfgWeapons.hpp
@@ -88,7 +88,8 @@ class CfgWeapons {
"30Rnd_65x39_caseless_mag",
"30Rnd_65x39_caseless_mag_Tracer",
"ACE_30Rnd_65x39_caseless_mag_Tracer_Dim",
- "ACE_30Rnd_65x47_Scenar_mag"
+ "ACE_30Rnd_65x47_Scenar_mag",
+ "ACE_30Rnd_65_Creedmor_mag"
};
initSpeed = -1.018;
ACE_barrelTwist=9;
diff --git a/addons/ballistics/stringtable.xml b/addons/ballistics/stringtable.xml
index c75ab6339d..2f89e12d00 100644
--- a/addons/ballistics/stringtable.xml
+++ b/addons/ballistics/stringtable.xml
@@ -743,7 +743,7 @@
6,5 мм ИК-трассирующие
- 6.5mm 100Rnd Tracer IR-DIM Mag
+ 6.5mm 100Rnd Tracer IR-DIM Mag<br />Rounds: 100<br />Used in: MX LSW
Magazynek 6,5mm 100rd Smugacz IR-DIM
Chargeur 6.5mm 100Rnd Traçante IR-DIM
Cargador de 100 balas trazadoras IR-DIM de 6.5mm
@@ -764,7 +764,7 @@
6,5 мм ИК-трассирующие
- 6.5mm 200Rnd Tracer IR-DIM Belt
+ 6.5mm 200Rnd Tracer IR-DIM Belt<br />Rounds: 200<br />Used in: Stoner 99 LMG
Magazynek 6,5mm 200rd Smugacz IR-DIM
Bande 6.5mm 200Cps Traçante IR-DIM
Cinta de 200 balas trazadoras IR-DIM de 6.5mm
@@ -967,19 +967,32 @@
Магазин из 30-ти 6,5x47 мм (HPBT Scenar)
- 6.5mm Scenar
- 6.5mm Scenar
- 6.5mm Scenar
- 6,5mm Scenar
- 6,5 мм Scenar
+ 6.5mm Lapua
+ 6.5mm Lapua
+ 6.5mm Lapua
+ 6,5mm Lapua
+ 6,5 мм Lapua
- Caliber: 6.5x47mm (HPBT Scenar)<br />Rounds: 30
+ Caliber: 6.5x47mm (HPBT Scenar)<br />Rounds: 30<br />Used in: MXM
Calibre: 6.5x47mm (HPBT Scenar)<br />Cartouches: 30
Calibre: 6.5x47mm (HPBT Scenar)<br />Balas: 30
Kaliber: 6,5x47 mm (HPBT Scenar)<br />Pociski: 30
Калибр: 6,5x47 мм (HPBT Scenar)<br />Патронов: 30
+
+ 6.5mm Creedmor 30Rnd Mag
+
+
+ 6.5mm CM
+ 6.5mm CM
+ 6.5mm CM
+ 6,5mm CM
+ 6,5 мм CM
+
+
+ Caliber: 6.5mm Creedmor<br />Rounds: 30<br />Used in: MXM
+
.338 10Rnd Mag (300gr Sierra MatchKing HPBT)
.338 10 Cps (300gr Sierra MatchKing HPBT)
diff --git a/addons/common/CfgWeapons.hpp b/addons/common/CfgWeapons.hpp
index 3e40f360fe..cf8c06798e 100644
--- a/addons/common/CfgWeapons.hpp
+++ b/addons/common/CfgWeapons.hpp
@@ -2,7 +2,6 @@
class CfgWeapons {
class ItemCore;
class ACE_ItemCore: ItemCore {
- author = "$STR_ACE_Common_ACETeam";
type = 4096;//4;
detectRange = -1;
simulation = "ItemMineDetector";
@@ -14,7 +13,6 @@ class CfgWeapons {
};
class ACE_FakePrimaryWeapon: Rifle_Base_F {
- author = "$STR_ACE_Common_ACETeam";
scope = 2;
scopeCurator = 1;
@@ -32,6 +30,7 @@ class CfgWeapons {
class InventoryItem_Base_F;
class ACE_Banana: ACE_ItemCore {
+ author = "$STR_ACE_Common_ACETeam";
scope = 2;
displayName = "$STR_ACE_Common_bananaDisplayName";
descriptionShort = "$STR_ACE_Common_bananaDescr";
diff --git a/addons/dragging/functions/fnc_canCarry.sqf b/addons/dragging/functions/fnc_canCarry.sqf
index 4067b366d6..0fc5c074d6 100644
--- a/addons/dragging/functions/fnc_canCarry.sqf
+++ b/addons/dragging/functions/fnc_canCarry.sqf
@@ -22,4 +22,4 @@ if !([_unit, _target, []] call EFUNC(common,canInteractWith)) exitWith {false};
// a static weapon has to be empty for dragging
if ((typeOf _target) isKindOf "StaticWeapon" && {count crew _target > 0}) exitWith {false};
-alive _target && {_target getVariable [QGVAR(canCarry), false]} && {animationState _target in ["", "unconscious"] || (_target getvariable ["ACE_isUnconscious", false]) || (_target isKindOf "CAManBase" && {(_target getHitPointDamage "HitLeftLeg") + (_target getHitPointDamage "HitRightLeg") > 0.4})}
+alive _target && {_target getVariable [QGVAR(canCarry), false]} && {animationState _target in ["", "unconscious"] || (_target getvariable ["ACE_isUnconscious", false]) || (_target isKindOf "CAManBase" && {(_target getHitPointDamage "HitLegs") > 0.4})}
diff --git a/addons/dragging/functions/fnc_canDrag.sqf b/addons/dragging/functions/fnc_canDrag.sqf
index dc2d64168b..92744553fd 100644
--- a/addons/dragging/functions/fnc_canDrag.sqf
+++ b/addons/dragging/functions/fnc_canDrag.sqf
@@ -22,4 +22,4 @@ if !([_unit, _target, []] call EFUNC(common,canInteractWith)) exitWith {false};
// a static weapon has to be empty for dragging
if ((typeOf _target) isKindOf "StaticWeapon" && {count crew _target > 0}) exitWith {false};
-alive _target && {_target getVariable [QGVAR(canDrag), false]} && {animationState _target in ["", "unconscious"] || (_target getvariable ["ACE_isUnconscious", false]) || (_target isKindOf "CAManBase" && {(_target getHitPointDamage "HitLeftLeg") + (_target getHitPointDamage "HitRightLeg") > 0.4})};
\ No newline at end of file
+alive _target && {_target getVariable [QGVAR(canDrag), false]} && {animationState _target in ["", "unconscious"] || (_target getvariable ["ACE_isUnconscious", false]) || (_target isKindOf "CAManBase" && {(_target getHitPointDamage "HitLegs") > 0.4})};
\ No newline at end of file
diff --git a/addons/explosives/CfgVehicles.hpp b/addons/explosives/CfgVehicles.hpp
index 5aa62992fc..30e1ff151d 100644
--- a/addons/explosives/CfgVehicles.hpp
+++ b/addons/explosives/CfgVehicles.hpp
@@ -50,7 +50,7 @@ class CfgVehicles {
class Items_base_F;
class ACE_DefuseObject: Items_base_F {
XEH_ENABLED;
- author = "$STR_ACE_Common_ACETeam";
+ author = "ACE";
_generalMacro = "ACE_DefuseObject";
displayName = "ACE Defuse Helper";
mapSize = 0.2;
@@ -80,7 +80,7 @@ class CfgVehicles {
};
class ACE_Explosives_Place: Items_base_F {
XEH_ENABLED;
- author = "$STR_ACE_Common_ACETeam";
+ author = "ACE";
_generalMacro = "ACE_Explosives_Place";
displayName = "Multi-meter";
mapSize = 0.2;
diff --git a/addons/grenades/CfgMagazines.hpp b/addons/grenades/CfgMagazines.hpp
index 968b8ed141..23eb4cb759 100644
--- a/addons/grenades/CfgMagazines.hpp
+++ b/addons/grenades/CfgMagazines.hpp
@@ -1,7 +1,7 @@
class CfgMagazines {
class HandGrenade;
class ACE_HandFlare_Base: HandGrenade {
- author = "$STR_ACE_Common_ACETeam";
+ scope = 1;
value = 2;
nameSoundWeapon = "smokeshell";
nameSound = "smokeshell";
@@ -9,6 +9,8 @@ class CfgMagazines {
initSpeed = 22;
};
class ACE_HandFlare_White: ACE_HandFlare_Base {
+ author = "$STR_ACE_Common_ACETeam";
+ scope = 2;
ammo = "ACE_F_Hand_White";
displayname = "$STR_ACE_Grenades_M127A1_White_Name";
descriptionshort = "$STR_ACE_Grenades_M127A1_White_Description";
@@ -17,6 +19,8 @@ class CfgMagazines {
picture = "\A3\Weapons_F\Data\UI\gear_flare_white_ca.paa";
};
class ACE_HandFlare_Red: ACE_HandFlare_Base {
+ author = "$STR_ACE_Common_ACETeam";
+ scope = 2;
ammo = "ACE_F_Hand_Red";
displayname = "$STR_ACE_Grenades_M127A1_Red_Name";
descriptionshort = "$STR_ACE_Grenades_M127A1_Red_Description";
@@ -25,6 +29,8 @@ class CfgMagazines {
picture = "\A3\Weapons_F\Data\UI\gear_flare_red_ca.paa";
};
class ACE_HandFlare_Green: ACE_HandFlare_Base {
+ author = "$STR_ACE_Common_ACETeam";
+ scope = 2;
ammo = "ACE_F_Hand_Green";
displayname = "$STR_ACE_Grenades_M127A1_Green_Name";
descriptionshort = "$STR_ACE_Grenades_M127A1_Green_Description";
@@ -33,6 +39,8 @@ class CfgMagazines {
picture = "\A3\Weapons_F\Data\UI\gear_flare_green_ca.paa";
};
class ACE_HandFlare_Yellow: ACE_HandFlare_Base {
+ author = "$STR_ACE_Common_ACETeam";
+ scope = 2;
ammo = "ACE_F_Hand_Yellow";
displayname = "$STR_ACE_Grenades_M127A1_Yellow_Name";
descriptionshort = "$STR_ACE_Grenades_M127A1_Yellow_Description";
@@ -41,8 +49,8 @@ class CfgMagazines {
picture = "\A3\Weapons_F\Data\UI\gear_flare_yellow_ca.paa";
};
class ACE_M84: HandGrenade {
- ammo = "ACE_G_M84";
author = "$STR_ACE_Common_ACETeam";
+ ammo = "ACE_G_M84";
displayname = "$STR_ACE_Grenades_M84_Name";
descriptionshort = "$STR_ACE_Grenades_M84_Description";
displayNameShort = "M84";
diff --git a/addons/interact_menu/XEH_clientInit.sqf b/addons/interact_menu/XEH_clientInit.sqf
index ea4a971563..b8a8fc899b 100644
--- a/addons/interact_menu/XEH_clientInit.sqf
+++ b/addons/interact_menu/XEH_clientInit.sqf
@@ -3,6 +3,15 @@
if (!hasInterface) exitWith {};
+//Setup text/shadow color matrix
+[] call FUNC(setupTextColors);
+["SettingChanged", {
+ PARAMS_2(_name,_value);
+ if ((_name == QGVAR(colorTextMax)) || {_name == QGVAR(colorTextMin)} || {_name == QGVAR(colorShadowMax)} || {_name == QGVAR(colorShadowMin)}) then {
+ [] call FUNC(setupTextColors);
+ };
+}] call EFUNC(common,addEventhandler);
+
// Install the render EH on the main display
addMissionEventHandler ["Draw3D", DFUNC(render)];
diff --git a/addons/interact_menu/XEH_preInit.sqf b/addons/interact_menu/XEH_preInit.sqf
index 747da7083e..65d5dd4305 100644
--- a/addons/interact_menu/XEH_preInit.sqf
+++ b/addons/interact_menu/XEH_preInit.sqf
@@ -21,6 +21,7 @@ PREP(renderBaseMenu);
PREP(renderIcon);
PREP(renderMenu);
PREP(renderSelector);
+PREP(setupTextColors);
PREP(splitPath);
GVAR(keyDown) = false;
diff --git a/addons/interact_menu/config.cpp b/addons/interact_menu/config.cpp
index eeff688a1a..433c2388c2 100644
--- a/addons/interact_menu/config.cpp
+++ b/addons/interact_menu/config.cpp
@@ -37,6 +37,30 @@ class ACE_Settings {
isClientSettable = 1;
displayName = "$STR_ACE_Interact_Menu_UseListMenu";
};
+ class GVAR(colorTextMax) {
+ value[] = {1, 1, 1, 1};
+ typeName = "COLOR";
+ isClientSettable = 1;
+ displayName = "$STR_ACE_Interact_Menu_ColorTextMax";
+ };
+ class GVAR(colorTextMin) {
+ value[] = {1, 1, 1, 0.25};
+ typeName = "COLOR";
+ isClientSettable = 1;
+ displayName = "$STR_ACE_Interact_Menu_ColorTextMin";
+ };
+ class GVAR(colorShadowMax) {
+ value[] = {1, 1, 1, 1};
+ typeName = "COLOR";
+ isClientSettable = 1;
+ displayName = "$STR_ACE_Interact_Menu_ColorShadowMax";
+ };
+ class GVAR(colorShadowMin) {
+ value[] = {1, 1, 1, 0.25};
+ typeName = "COLOR";
+ isClientSettable = 1;
+ displayName = "$STR_ACE_Interact_Menu_ColorShadowMin";
+ };
};
class ACE_Extensions {
diff --git a/addons/interact_menu/functions/fnc_renderIcon.sqf b/addons/interact_menu/functions/fnc_renderIcon.sqf
index 3da1777bed..9107b6d998 100644
--- a/addons/interact_menu/functions/fnc_renderIcon.sqf
+++ b/addons/interact_menu/functions/fnc_renderIcon.sqf
@@ -4,12 +4,11 @@
*
* Argument:
* 0: Text
- * 1: Color
+ * 1: Icon
* 2: 2d position
- * 3: ?
- * 4: ?
- * 5: ?
- * 6: Icon
+ * 3: Color
+ * 4: Shadow Color
+ * 5: Icon Color
*
* Return value:
* None
@@ -18,11 +17,8 @@
*/
#include "script_component.hpp"
#define DEFAULT_ICON QUOTE(\z\ace\addons\interaction\ui\dot_ca.paa)
-private ["_color", "_sPos", "_ctrl", "_icon"];
-_text = _this select 0;
-_color = _this select 1;
-_sPos = _this select 2;
-_icon = _this select 6;
+private ["_ctrl"];
+PARAMS_6(_text,_icon,_sPos,_textColor,_shadowColor,_iconColor);
//systemChat format ["Icon %1 - %2,%3", _text, _sPos select 0, _sPos select 1];
@@ -37,16 +33,15 @@ if(_icon == "") then {
};
_text = if (GVAR(UseListMenu)) then {
- format ["%4", _icon, _color, _color, _text]
+ format ["%5", _icon, _iconColor, _textColor, _shadowColor, _text]
} else {
- format ["
%4", _icon, _color, _color, "ace_breakLine" callExtension _text];
+ format ["
%5", _icon, _iconColor, _textColor, _shadowColor, "ace_breakLine" callExtension _text];
};
_ctrl ctrlSetStructuredText (parseText _text);
_text = if (GVAR(UseListMenu)) then {
- _ctrl ctrlSetPosition [(_sPos select 0)-(0.0095*SafeZoneW), (_sPos select 1)-(0.0095*SafeZoneW), 0.20*SafeZoneW, 0.035*SafeZoneW];
+ _ctrl ctrlSetPosition [(_sPos select 0)-(0.0095*SafeZoneW), (_sPos select 1)-(0.0095*SafeZoneW), 0.20*SafeZoneW, 0.035*SafeZoneW];
} else {
- _ctrl ctrlSetPosition [(_sPos select 0)-(0.0750*SafeZoneW), (_sPos select 1)-(0.0095*SafeZoneW), 0.15*SafeZoneW, 0.100*SafeZoneW];
+ _ctrl ctrlSetPosition [(_sPos select 0)-(0.0750*SafeZoneW), (_sPos select 1)-(0.0095*SafeZoneW), 0.15*SafeZoneW, 0.100*SafeZoneW];
};
-//_ctrl ctrlSetBackgroundColor [0, 1, 0, 0.1];
_ctrl ctrlCommit 0;
diff --git a/addons/interact_menu/functions/fnc_renderMenu.sqf b/addons/interact_menu/functions/fnc_renderMenu.sqf
index b46740921e..e80e9d41ab 100644
--- a/addons/interact_menu/functions/fnc_renderMenu.sqf
+++ b/addons/interact_menu/functions/fnc_renderMenu.sqf
@@ -45,19 +45,17 @@ _menuInSelectedPath = true;
// Render icon
// ARGB Color (First Hex Pair is transparancy)
-_color = "#FFFFFFFF";
+_textColor = GVAR(colorSelected);
+_shadowColor = GVAR(colorSelectedShadow);
if(!_menuInSelectedPath) then {
- if (_menuDepth > 0) then {
- _color = format ["#%1FFFFFF", [255 * ((((count _path) - 1)/_menuDepth) max 0.25)] call EFUNC(common,toHex)];
- } else {
- _color = format ["#%1FFFFFF", [255 * 0.75] call EFUNC(common,toHex)];
- };
+ _textColor = (GVAR(colorNotSelectedMatrix) select (count _path)) select _menuDepth;
+ _shadowColor = (GVAR(colorShadowNotSelectedMatrix) select (count _path)) select _menuDepth;
};
//END_COUNTER(constructing_colors);
//BEGIN_COUNTER(fnc_renderIcons);
-[_actionData select 1, _color, _sPos, 1, 1, 0, _actionData select 2, 0.5, 0.025, "TahomaB"] call FUNC(renderIcon);
+[_actionData select 1, _actionData select 2, _sPos, _textColor, _shadowColor, "#FFFFFFFF"] call FUNC(renderIcon);
//END_COUNTER(fnc_renderIcons);
diff --git a/addons/interact_menu/functions/fnc_setupTextColors.sqf b/addons/interact_menu/functions/fnc_setupTextColors.sqf
new file mode 100644
index 0000000000..5df9c589da
--- /dev/null
+++ b/addons/interact_menu/functions/fnc_setupTextColors.sqf
@@ -0,0 +1,52 @@
+/*
+ * Author: PabstMirror
+ * Builds color strings needed for displaying interaction text
+ *
+ * Argument:
+ * None
+ *
+ * Return value:
+ * None
+ *
+ * Public: No
+ */
+#include "script_component.hpp"
+
+private ["_mixColor", "_rowT", "_rowS", "_menuDepth", "_pathCount", "_menuInSelectedPath", "_color", "_path"];
+
+//Mixes 2 colors (number arrays) and makes a color string "#AARRGGBB" for structured text
+_mixColor = {
+ PARAMS_3(_color1,_color2,_ratio);
+ private ["_return", "_mix", "_index"];
+ _return = "";
+ for "_index" from 0 to 3 do {
+ _mix = linearConversion [0, 1, _ratio, (_color1 select _index), (_color2 select _index)];
+ if (_index != 3) then {
+ _return = _return + ([255 * _mix] call EFUNC(common,toHex));
+ } else {
+ _return = "#" + ([255 * _mix] call EFUNC(common,toHex)) + _return;
+ };
+ };
+ _return
+};
+
+GVAR(colorSelected) = [GVAR(colorTextMin), GVAR(colorTextMax), 1] call _mixColor;
+GVAR(colorSelectedShadow) = [GVAR(colorShadowMin), GVAR(colorShadowMax), 1] call _mixColor;
+GVAR(colorNotSelectedMatrix) = [];
+GVAR(colorShadowNotSelectedMatrix) = [];
+
+for "_pathCount" from 0 to 15 do {
+ _rowT = [];
+ _rowS = [];
+ for "_menuDepth" from 0 to 15 do {
+ if (_menuDepth > 0) then {
+ _rowT pushBack ([GVAR(colorTextMin), GVAR(colorTextMax), (((_pathCount - 1) / _menuDepth) max 0.25)] call _mixColor);
+ _rowS pushBack ([GVAR(colorShadowMin), GVAR(colorShadowMax), (((_pathCount - 1) / _menuDepth) max 0.25)] call _mixColor);
+ } else {
+ _rowT pushBack ([GVAR(colorTextMin), GVAR(colorTextMax), 0] call _mixColor);
+ _rowS pushBack ([GVAR(colorShadowMin), GVAR(colorShadowMax), 0] call _mixColor);
+ };
+ };
+ GVAR(colorNotSelectedMatrix) pushBack _rowT;
+ GVAR(colorShadowNotSelectedMatrix) pushBack _rowS;
+};
diff --git a/addons/interact_menu/stringtable.xml b/addons/interact_menu/stringtable.xml
index 0b37f40f5e..55d67788f4 100644
--- a/addons/interact_menu/stringtable.xml
+++ b/addons/interact_menu/stringtable.xml
@@ -71,5 +71,17 @@
Járműves cselekvések
Interazioni con veicoli
+
+
+
+ Interaction - Shadow Max
+
+
+ Interaction - Shadow Min
+
-
+
\ No newline at end of file
diff --git a/addons/logistics_wirecutter/CfgWeapons.hpp b/addons/logistics_wirecutter/CfgWeapons.hpp
index 5cb2db02c2..648bc3a3f8 100644
--- a/addons/logistics_wirecutter/CfgWeapons.hpp
+++ b/addons/logistics_wirecutter/CfgWeapons.hpp
@@ -3,6 +3,7 @@ class CfgWeapons {
class ACE_ItemCore;
class ACE_wirecutter: ACE_ItemCore {
+ author = "$STR_ACE_Common_ACETeam";
displayName = "$STR_ACE_logistics_wirecutter_wirecutterName";
descriptionShort = "$STR_ACE_logistics_wirecutter_wirecutterDescription";
model = "\A3\weapons_F\ammo\mag_univ.p3d";
diff --git a/addons/magazinerepack/stringtable.xml b/addons/magazinerepack/stringtable.xml
index 3c84a9109e..9ea10924ac 100644
--- a/addons/magazinerepack/stringtable.xml
+++ b/addons/magazinerepack/stringtable.xml
@@ -1,4 +1,5 @@
+
@@ -66,7 +67,7 @@
%1 volle(s) Magazin(e) und %2 übrig gebliebene Patrone(n)
%1 cargador(es) completo(s) y %2 bala(s) extra(s)
%1 chargeur(s) plein(s) et %2 cartouche(s) en rab
- Pełnych magazynków: %1.<br /> Dodatkowych naboi: %2.
+ Pełnych magazynków: %1.<br/>Dodatkowych naboi: %2.
%1 plný zásobník(y) a %2 munice navíc
%1 caricatore/i pieno e %2 munizioni extra
%1 carregador(es) cheio(s) e %2 disparo(s) a mais
@@ -102,9 +103,9 @@
%1 Total y %2 Parcial
%1 полных и %2 неполных
%1 plný a %2 částečně
- Pełnych: %1.<br />Częściowo pełnych: %2.
+ Pełnych: %1.<br/>Częściowo pełnych: %2.
%1 teljes és %2 részleges
%1 pieno e %2 parziale
-
\ No newline at end of file
+
diff --git a/addons/map/functions/fnc_determineMapLight.sqf b/addons/map/functions/fnc_determineMapLight.sqf
index a5168bd8a1..441dc8103a 100644
--- a/addons/map/functions/fnc_determineMapLight.sqf
+++ b/addons/map/functions/fnc_determineMapLight.sqf
@@ -72,7 +72,7 @@ _vehicle = vehicle _unit;
// Do not obscure the map if the player is on a enclosed vehicle (assume internal illumination)
if (_vehicle != _unit) then {
// Player is in a vehicle
- if (isTurnedOut _unit && {_vehicle isKindOf "Tank" || {_vehicle isKindOf "Wheeled_APC"}}) then {
+ if (isTurnedOut _unit && { _vehicle isKindOf "Tank" || { ( _vehicle isKindOf "Helicopter" || _vehicle isKindOf "Plane" ) && { (driver _vehicle) == _unit || { (gunner _vehicle) == _unit } } } || {_vehicle isKindOf "Wheeled_APC"}}) then {
_isEnclosed = true;
};
};
diff --git a/addons/medical/stringtable.xml b/addons/medical/stringtable.xml
index f735de7ebf..53c587bec0 100644
--- a/addons/medical/stringtable.xml
+++ b/addons/medical/stringtable.xml
@@ -1,12 +1,12 @@
-
+
Litter Simulation Detail
Detale zużytych medykamentów
Detalle de simulación de basura
-
+
Litter simulation detail level sets the number of litter items which will be locally spawned in the client. Excessive amounts in local areas could cause FPS lag, so this is a client only setting.
Opcja ta ustawia liczbę zużytych medykamentów, jakie pojawiają się lokalnie wokół gracza. Ich zbyt duża ilość może spowodować spadki FPS, dlatego jest to ustawienie tylko po stronie klienta.
Detalle simulación de basura establece el número de artículos de basura que se generan a nivel local en el cliente. Las cantidades excesivas en áreas locales podrían causar caída de rendimiento, así que esto es un ajuste de cliente únicamente.
diff --git a/addons/microdagr/CfgWeapons.hpp b/addons/microdagr/CfgWeapons.hpp
index bf4fc95b5c..73615ea6b6 100644
--- a/addons/microdagr/CfgWeapons.hpp
+++ b/addons/microdagr/CfgWeapons.hpp
@@ -3,6 +3,7 @@ class CfgWeapons {
class InventoryItem_Base_F;
class ACE_microDAGR: ACE_ItemCore {
+ author = "$STR_ACE_Common_ACETeam";
scope = 2;
displayName = "$STR_ACE_microdagr_itemName";
descriptionShort = "$STR_ACE_microdagr_itemDescription";
diff --git a/addons/missileguidance/CfgVehicles.hpp b/addons/missileguidance/CfgVehicles.hpp
index bbb1768255..301795b8d7 100644
--- a/addons/missileguidance/CfgVehicles.hpp
+++ b/addons/missileguidance/CfgVehicles.hpp
@@ -20,7 +20,7 @@ class CfgVehicles {
class ACE_Comanche_Test : B_Heli_Attack_01_F {
displayName = "ACE_Comanche_Test";
- author = "$STR_ACE_Common_ACETeam";
+ author = "ACE Team";
class Library {
libTextDesc = "ACE_Comanche_Test";
};
diff --git a/addons/movement/CfgMoves.hpp b/addons/movement/CfgMoves.hpp
index 677ad3dc94..bd9519b013 100644
--- a/addons/movement/CfgMoves.hpp
+++ b/addons/movement/CfgMoves.hpp
@@ -5,10 +5,35 @@ class CfgMovesBasic {
};
class Actions {
- class RifleStandActionsNoAdjust;
- class RifleLowStandActionsNoAdjust;
+ class RifleBaseStandActions;
+ class RifleKneelActions: RifleBaseStandActions {
+ Civil = "AmovPknlMstpSnonWnonDnon";
+ };
+ class RifleProneActions: RifleBaseStandActions {
+ Civil = "AmovPpneMstpSnonWnonDnon";
+ SecondaryWeapon = "AmovPpneMstpSrasWlnrDnon";
+ };
+
+ class PistolStandActions;
+ class PistolProneActions: PistolStandActions {
+ SecondaryWeapon = "AmovPpneMstpSrasWlnrDnon";
+ };
+
+ class LauncherKneelActions;
+ /*class LauncherStandActions: LauncherKneelActions {
+ PlayerProne = "AmovPpneMstpSrasWlnrDnon";
+ Down = "AmovPpneMstpSrasWlnrDnon";
+ };*/
+
+ class LauncherProneActions: LauncherKneelActions {
+ TurnL = "AmovPpneMstpSrasWlnrDnon_turnl";
+ TurnLRelaxed = "AmovPpneMstpSrasWlnrDnon_turnl";
+ TurnR = "AmovPpneMstpSrasWlnrDnon_turnr";
+ TurnRRelaxed = "AmovPpneMstpSrasWlnrDnon_turnr";
+ };
// WEAPON RAISED - RUNNING
+ class RifleStandActionsNoAdjust;
class RifleStandActionsRunF: RifleStandActionsNoAdjust {
getOver = "AovrPercMrunSrasWrflDf";
};
@@ -18,6 +43,7 @@ class CfgMovesBasic {
class RifleStandActionsRunFR: RifleStandActionsNoAdjust {
getOver = "AovrPercMrunSrasWrflDf";
};
+
// WEAPON RAISED - SPRINTING
class RifleStandEvasiveActionsF: RifleStandActionsNoAdjust {
getOver = "AovrPercMrunSrasWrflDf";
@@ -28,7 +54,9 @@ class CfgMovesBasic {
class RifleStandEvasiveActionsFR: RifleStandActionsNoAdjust {
getOver = "AovrPercMrunSrasWrflDf";
};
+
// WEAPON LOWERED - RUNNING
+ class RifleLowStandActionsNoAdjust;
class RifleLowStandActionsRunF: RifleLowStandActionsNoAdjust {
getOver = "AovrPercMrunSrasWrflDf";
};
diff --git a/addons/overheating/CfgWeapons.hpp b/addons/overheating/CfgWeapons.hpp
index 580564e864..12ec43024f 100644
--- a/addons/overheating/CfgWeapons.hpp
+++ b/addons/overheating/CfgWeapons.hpp
@@ -5,6 +5,7 @@ class CfgWeapons {
class ACE_SpareBarrel: ACE_ItemCore {
displayname = "$STR_ACE_Overheating_SpareBarrelName";
descriptionshort = "$STR_ACE_Overheating_SpareBarrelDescription";
+ //model = "";
picture = QUOTE(PATHTOF(UI\spare_barrel_ca.paa));
scope = 2;
class ItemInfo: InventoryItem_Base_F {
diff --git a/addons/realisticnames/CfgWeapons.hpp b/addons/realisticnames/CfgWeapons.hpp
index 56d9e3b7c8..3cbe03f465 100644
--- a/addons/realisticnames/CfgWeapons.hpp
+++ b/addons/realisticnames/CfgWeapons.hpp
@@ -208,7 +208,7 @@ class CfgWeapons {
class srifle_DMR_02_sniper_F: srifle_DMR_02_F {
displayName = "$STR_ACE_RealisticNames_srifle_DMR_02_sniper"; //MAR-10 .338 (Sand)";
};
-
+ */
class DMR_03_base_F: Rifle_Long_Base_F {
displayName = "$STR_ACE_RealisticNames_DMR_03"; //Mk-I EMR 7.62 mm";
};
@@ -236,7 +236,7 @@ class CfgWeapons {
class srifle_DMR_03_spotter_F: srifle_DMR_03_F {
displayName = "$STR_ACE_RealisticNames_srifle_DMR_03_spotter"; //NATO DMR (provisional) spotter";
};
-
+ /*
class DMR_04_base_F: Rifle_Long_Base_F {
displayName = "$STR_ACE_RealisticNames_DMR_04"; //ASP-1 Kir 12.7 mm";
};
@@ -264,7 +264,7 @@ class CfgWeapons {
class srifle_DMR_05_tan_f: srifle_DMR_05_blk_F {
displayName = "$STR_ACE_RealisticNames_srifle_DMR_05_tan"; //Cyrus 9.3 mm (Tan)";
};
-
+ */
class DMR_06_base_F: Rifle_Long_Base_F {
displayName = "$STR_ACE_RealisticNames_DMR_06"; //Mk14 7.62 mm";
};
@@ -278,6 +278,7 @@ class CfgWeapons {
};
// marksmen mgs
+ /*
class MMG_01_base_F: Rifle_Long_Base_F {
displayName = "$STR_ACE_RealisticNames_MMG_01"; //Navid 9.3 mm";
};
@@ -289,7 +290,7 @@ class CfgWeapons {
class MMG_01_tan_F: MMG_01_hex_F {
displayName = "$STR_ACE_RealisticNames_MMG_01_tan"; //Navid 9.3 mm (Tan)";
};
-
+ */
class MMG_02_base_F: Rifle_Long_Base_F {
displayName = "$STR_ACE_RealisticNames_MMG_02"; //SPMG .338";
};
@@ -304,7 +305,7 @@ class CfgWeapons {
class MMG_02_sand_F: MMG_02_camo_F {
displayName = "$STR_ACE_RealisticNames_MMG_02_sand"; //SPMG .338 (Sand)";
- };*/
+ };
// vehicle weapons
diff --git a/addons/realisticnames/stringtable.xml b/addons/realisticnames/stringtable.xml
index a21fcb8e05..1fcf116d1e 100644
--- a/addons/realisticnames/stringtable.xml
+++ b/addons/realisticnames/stringtable.xml
@@ -1135,7 +1135,7 @@
Mini-Spike (AT)
Mini-Spike (PALR)
Mini-Spike (PT)
- Mini-Spike (AT)
+ Mini-Spike (AA)
Mini-Spike (AT)
Mini-Spike (Tankelhárító)
Mini-Spike (AT)
@@ -1510,53 +1510,53 @@
TODO: MAR-10 .338 (песочный)
- TODO: Mk-I EMR 7.62 mm
- TODO: Mk-I EMR 7.62 mm
- Mk-l EMR 7.62 mm
- TODO: Mk-I EMR 7.62 mm
- TODO: Mk-I EMR 7.62 мм
+ SG 556 7.62 mm
+ SG 556 7.62 mm
+ SG 556 7.62 mm
+ SG 556 7.62 mm
+ SG 556 7.62 мм
- TODO: Mk-I EMR 7.62 mm (Black)
- TODO: Mk-I EMR 7.62 mm (Black)
- Mk-l EMR 7.62 mm (Noir)
- TODO: Mk-I EMR 7.62 mm (Negro)
- TODO: Mk-I EMR 7.62 мм (черный)
+ SG 556 7.62 mm (Black)
+ SG 556 7.62 mm (Black)
+ SG 556 7.62 mm (Noir)
+ SG 556 7.62 mm (Negro)
+ SG 556 7.62 мм (черный)
- TODO: Mk-I EMR 7.62 mm (Khaki)
- TODO: Mk-I EMR 7.62 mm (Khaki)
- Mk-l EMR 7.62 mm (Kaki)
- TODO: Mk-I EMR 7.62 mm (Caqui)
- TODO: Mk-I EMR 7.62 мм (хаки)
+ SG 556 7.62 mm (Khaki)
+ SG 556 7.62 mm (Khaki)
+ SG 556 7.62 mm (Kaki)
+ SG 556 7.62 mm (Caqui)
+ SG 556 7.62 мм (хаки)
- TODO: Mk-I EMR 7.62 mm (Sand)
- TODO: Mk-I EMR 7.62 mm (Sand)
- Mk-l EMR 7.62 mm (Beige)
- TODO: Mk-I EMR 7.62 mm (Arena)
- TODO: Mk-I EMR 7.62 мм (песочный)
+ SG 556 7.62 mm (Sand)
+ SG 556 7.62 mm (Sand)
+ SG 556 7.62 mm (Beige)
+ SG 556 7.62 mm (Arena)
+ SG 556 7.62 мм (песочный)
- TODO: Mk-I EMR 7.62 mm (Camo)
- TODO: Mk-I EMR 7.62 mm (Camo)
- Mk-l EMR 7.62 mm (Camo)
- TODO: Mk-I EMR 7.62 mm (Camuflaje)
- TODO: Mk-I EMR 7.62 мм (камо)
+ SG 556 7.62 mm (Camo)
+ SG 556 7.62 mm (Camo)
+ SG 556 7.62 mm (Camo)
+ SG 556 7.62 mm (Camuflaje)
+ SG 556 7.62 мм (камо)
- TODO: Mk-I EMR 7.62 mm (Woodland)
- TODO: Mk-I EMR 7.62 mm (Woodland)
- Mk-l EMR 7.62 mm (Woodland)
- TODO: Mk-I EMR 7.62 mm (Bosque)
- TODO: Mk-I EMR 7.62 мм (лесной)
+ SG 556 7.62 mm (Woodland)
+ SG 556 7.62 mm (Woodland)
+ SG 556 7.62 mm (Woodland)
+ SG 556 7.62 mm (Bosque)
+ SG 556 7.62 мм (лесной)
- TODO: NATO DMR (provisional) spotter
- TODO: NATO DMR (provisional) spotter
- NATO DMR (provisoire) observateur
- TODO: NATO DMR (provisional) observador
- TODO: NATO DMR (provisional) корректировщик
+ SG 556 7.62 mm (provisional) spotter
+ SG 556 7.62 mm (provisional) spotter
+ SG 556 7.62 mm (provisoire) Observateur
+ SG 556 7.62 mm (provisional) observador
+ SG 556 7.62 мм (provisional) корректировщик
TODO: ASP-1 Kir 12.7 mm
@@ -1608,25 +1608,25 @@
TODO: Cyrus 9.3 мм (бронза)
- TODO: Mk14 7.62 mm
- TODO: Mk14 7.62 mm
- Mk 14 7.62 mm
- TODO: Mk14 7.62 mm
- TODO: Mk14 7.62 мм
+ M14 7.62 mm
+ M14 7.62 mm
+ M14 7.62 mm
+ M14 7.62 mm
+ M14 7.62 мм
- TODO: Mk14 7.62 mm (Camo)
- TODO: Mk14 7.62 mm (Camo)
- Mk 14 7.62 mm (Camo)
- TODO: Mk14 7.62 mm (Camuflaje)
- TODO: Mk14 7.62 мм (камо)
+ M14 7.62 mm (Camo)
+ M14 7.62 mm (Camo)
+ M14 7.62 mm (Camo)
+ M14 7.62 mm (Camuflaje)
+ M14 7.62 мм (Камо)
- TODO: Mk14 7.62 mm (Olive)
- TODO: Mk14 7.62 mm (Olive)
- Mk 14 7.62 mm (Olive)
- TODO: Mk14 7.62 mm (Oliva)
- TODO: Mk14 7.62 мм (олива)
+ M14 7.62 mm (Olive)
+ M14 7.62 mm (Olive)
+ M14 7.62 mm (Olive)
+ M14 7.62 mm (Oliva)
+ M14 7.62 мм (Олива)
TODO: Navid 9.3 mm
@@ -1650,32 +1650,32 @@
TODO: Navid 9.3 мм (бронза)
- TODO: SPMG .338
- TODO: SPMG .338
- SPMG .338
- TODO: SPMG .338
- TODO: SPMG .338
+ LWMMG .338
+ LWMMG .338
+ LWMMG .338
+ LWMMG .338
+ LWMMG .338
- TODO: SPMG .338 (MTP)
- TODO: SPMG .338 (MTP)
- SPMG .338 (MTP)
- TODO: SPMG .338 (MTP)
- TODO: SPMG .338 (MTP)
+ LWMMG .338 (MTP)
+ LWMMG .338 (MTP)
+ LWMMG .338 (MTP)
+ LWMMG .338 (MTP)
+ LWMMG .338 (MTP)
- TODO: SPMG .338 (Black)
- TODO: SPMG .338 (Black)
- SPMG .338 (Noir)
- TODO: SPMG .338 (Negro)
- TODO: SPMG .338 (черный)
+ LWMMG .338 (Black)
+ LWMMG .338 (Black)
+ LWMMG .338 (Noir)
+ LWMMG .338 (Negro)
+ LWMMG .338 (Черный)
- TODO: SPMG .338 (Sand)
- TODO: SPMG .338 (Sand)
+ LWMMG .338 (Sand)
+ LWMMG .338 (Sand)
SPMG .338 (Beige)
- TODO: SPMG .338 (Arena)
- TODO: SPMG .338 (песочный)
+ LWMMG .338 (Arena)
+ LWMMG .338 (Песочный)
-
\ No newline at end of file
+
diff --git a/addons/reload/CfgActions.hpp b/addons/reload/CfgActions.hpp
index bdef8adf28..a76be64ba3 100644
--- a/addons/reload/CfgActions.hpp
+++ b/addons/reload/CfgActions.hpp
@@ -1,4 +1,3 @@
-
class CfgActions {
class LoadMagazine;
class LoadEmptyMagazine : LoadMagazine {
diff --git a/addons/reload/CfgEventHandlers.hpp b/addons/reload/CfgEventHandlers.hpp
index c93f74e0bd..75c2280e24 100644
--- a/addons/reload/CfgEventHandlers.hpp
+++ b/addons/reload/CfgEventHandlers.hpp
@@ -1,4 +1,3 @@
-
class Extended_PreInit_EventHandlers {
class ADDON {
init = QUOTE(call COMPILE_FILE(XEH_preInit));
diff --git a/addons/reload/CfgVehicles.hpp b/addons/reload/CfgVehicles.hpp
index 84333a1a09..b6bd212015 100644
--- a/addons/reload/CfgVehicles.hpp
+++ b/addons/reload/CfgVehicles.hpp
@@ -3,13 +3,13 @@ class CfgVehicles {
class CAManBase: Man {
class ACE_Actions {
class ACE_Weapon {
- class ACE_LinkBelt {
+ class GVAR(LinkBelt) {
displayName = "$STR_ACE_Reload_LinkBelt";
distance = 2.0;
condition = QUOTE([ARR_2(_player, _target)] call FUNC(canLinkBelt));
statement = QUOTE([ARR_2(_player, _target)] call FUNC(startLinkingBelt));
};
- class ACE_CheckAmmo {
+ class GVAR(CheckAmmo) {
displayName = "$STR_ACE_Reload_checkAmmo";
distance = 2.0;
condition = QUOTE([ARR_2(_player, _target)] call FUNC(canCheckAmmo));
@@ -23,7 +23,7 @@ class CfgVehicles {
class StaticWeapon: LandVehicle {
class ACE_Actions {
class ACE_MainActions {
- class ACE_CheckAmmo {
+ class GVAR(CheckAmmo) {
displayName = "$STR_ACE_Reload_checkAmmo";
distance = 2.0;
condition = QUOTE([ARR_2(_player, _target)] call FUNC(canCheckAmmo));
diff --git a/addons/reload/XEH_postInit.sqf b/addons/reload/XEH_postInit.sqf
index faefbe449d..422ea183d3 100644
--- a/addons/reload/XEH_postInit.sqf
+++ b/addons/reload/XEH_postInit.sqf
@@ -7,10 +7,9 @@ if !(hasInterface) exitWith {};
["ACE3", QGVAR(checkAmmo), localize "STR_ACE_Reload_checkAmmo",
{
// Conditions: canInteract
- if !([ACE_player, objNull, []] call EFUNC(common,canInteractWith)) exitWith {false};
+ if !([ACE_player, (vehicle ACE_player), ["isNotInside"]] call EFUNC(common,canInteractWith)) exitWith {false};
// Conditions: specific
- if !([ACE_player] call EFUNC(common,canUseWeapon) ||
- {(vehicle ACE_player) isKindOf 'StaticWeapon'}) exitWith {false};
+ if !([ACE_player] call EFUNC(common,canUseWeapon) || {(vehicle ACE_player) isKindOf "StaticWeapon"}) exitWith {false};
// Statement
[ACE_player] call FUNC(checkAmmo);
diff --git a/addons/reload/functions/fnc_canCheckAmmo.sqf b/addons/reload/functions/fnc_canCheckAmmo.sqf
index 4075e7a151..95ac2582a2 100644
--- a/addons/reload/functions/fnc_canCheckAmmo.sqf
+++ b/addons/reload/functions/fnc_canCheckAmmo.sqf
@@ -7,7 +7,12 @@
* 1: Target