diff --git a/addons/advanced_throwing/XEH_postInit.sqf b/addons/advanced_throwing/XEH_postInit.sqf
index 930313fce0..774c99b3e6 100644
--- a/addons/advanced_throwing/XEH_postInit.sqf
+++ b/addons/advanced_throwing/XEH_postInit.sqf
@@ -16,9 +16,8 @@ GVAR(ammoMagLookup) = call CBA_fnc_createNamespace;
{
private _ammo = getText (configFile >> "CfgMagazines" >> _x >> "ammo");
if (_ammo != "") then { GVAR(ammoMagLookup) setVariable [_ammo, _x]; };
- } count (getArray (configFile >> "CfgWeapons" >> "Throw" >> _x >> "magazines"));
- nil
-} count getArray (configFile >> "CfgWeapons" >> "Throw" >> "muzzles");
+ } forEach (getArray (configFile >> "CfgWeapons" >> "Throw" >> _x >> "magazines"));
+} forEach getArray (configFile >> "CfgWeapons" >> "Throw" >> "muzzles");
// Add keybinds
diff --git a/addons/advanced_throwing/functions/fnc_renderPickUpInteraction.sqf b/addons/advanced_throwing/functions/fnc_renderPickUpInteraction.sqf
index 15cae41585..d45f2add93 100644
--- a/addons/advanced_throwing/functions/fnc_renderPickUpInteraction.sqf
+++ b/addons/advanced_throwing/functions/fnc_renderPickUpInteraction.sqf
@@ -44,8 +44,7 @@
_addedPickUpHelpers pushBack _pickUpHelper;
_throwablesHelped pushBack _x;
};
- nil
- } count _nearThrowables;
+ } forEach _nearThrowables;
_args set [0, getPosASL ACE_player];
_args set [3, _nearThrowables];
@@ -56,11 +55,10 @@
{
// Only handling with attachTo works nicely
_x attachTo [_x getVariable [QGVAR(throwable), objNull], [0, 0, 0]];
- nil
- } count _addedPickUpHelpers;
+ } forEach _addedPickUpHelpers;
} else {
TRACE_1("Cleaning Pick Up Helpers",count _addedPickUpHelpers);
- {deleteVehicle _x} count _addedPickUpHelpers;
+ {deleteVehicle _x} forEach _addedPickUpHelpers;
[_idPFH] call CBA_fnc_removePerFrameHandler;
};
}, 0, [(getPosASL ACE_player) vectorAdd [-100, 0, 0], [], [], []]] call CBA_fnc_addPerFrameHandler;
diff --git a/addons/advanced_throwing/stringtable.xml b/addons/advanced_throwing/stringtable.xml
index a63e1e8918..7676464474 100644
--- a/addons/advanced_throwing/stringtable.xml
+++ b/addons/advanced_throwing/stringtable.xml
@@ -191,6 +191,7 @@
Mostra informazioni sul vento temporaneamente
一時的に風の情報を表示
바람 정보 임시로 표시
+ Afficher temporairement les informations sur le vent
Temporarily display Wind Info while throwing, to aid in placing smoke grenades effectively.
@@ -198,6 +199,7 @@
Mostra le informazioni sul vento durante il lancio di granate, facilitando il piazzamento ottimale di fumogeni.
投擲行動中に風向きの情報を一時的に表示し、発煙手榴弾の煙幕を効果的に展開しやすくします。
연막탄을 효과적으로 배치하는 데 도움이 되도록 투척하는 동안 일시적으로 바람 정보를 표시합니다.
+ Affiche les informations sur le vent pendant le lancement pour placer les grenades fumigènes plus efficacement.
Prepare/Change Throwable
diff --git a/addons/ai/functions/fnc_garrison.sqf b/addons/ai/functions/fnc_garrison.sqf
index 0f9613dd9f..4b8f84fce6 100644
--- a/addons/ai/functions/fnc_garrison.sqf
+++ b/addons/ai/functions/fnc_garrison.sqf
@@ -33,7 +33,7 @@ if (_startingPos isEqualTo [0,0,0]) exitWith {
[LSTRING(GarrisonInvalidPosition)] call EFUNC(common,displayTextStructured);
};
-if (count _unitsArray == 0 || {isNull (_unitsArray select 0)}) exitWith {
+if (_unitsArray isEqualTo [] || {isNull (_unitsArray select 0)}) exitWith {
TRACE_1("fnc_garrison: Units error",_unitsArray);
[LSTRING(GarrisonNoUnits)] call EFUNC(common,displayTextStructured);
};
@@ -43,7 +43,7 @@ if (_fillingRadius >= 50) then {
_buildings = [_buildings] call CBA_fnc_shuffle;
};
-if (count _buildings == 0) exitWith {
+if (_buildings isEqualTo []) exitWith {
TRACE_1("fnc_garrison: Building error",_buildings);
[LSTRING(GarrisonNoBuilding)] call EFUNC(common,displayTextStructured);
};
diff --git a/addons/aircraft/functions/fnc_canShowEject.sqf b/addons/aircraft/functions/fnc_canShowEject.sqf
index 08c55eb781..9239c413a7 100644
--- a/addons/aircraft/functions/fnc_canShowEject.sqf
+++ b/addons/aircraft/functions/fnc_canShowEject.sqf
@@ -30,6 +30,6 @@ _vehicle == vehicle _unit
if (_unit == _x select FULLCREW_UNIT) exitWith {
_ejectVarName = format [QGVAR(ejectAction_%1_%2), _x select FULLCREW_ROLE, _x select FULLCREW_TURRETPATH];
};
- } count fullCrew _vehicle;
+ } forEach fullCrew _vehicle;
_vehicle getVariable [_ejectVarName, false]
}
diff --git a/addons/arsenal/functions/fnc_baseAttachment.sqf b/addons/arsenal/functions/fnc_baseAttachment.sqf
index 2cee699ba6..968fd05d9b 100644
--- a/addons/arsenal/functions/fnc_baseAttachment.sqf
+++ b/addons/arsenal/functions/fnc_baseAttachment.sqf
@@ -26,6 +26,14 @@ private _cfgWeapons = configfile >> "CfgWeapons";
private _config = _cfgWeapons >> _item;
_item = configName _config;
+// If the switch config entries are inherited, ignore
+if (
+ (inheritsFrom (_config >> "MRT_SwitchItemNextClass") isNotEqualTo _config) ||
+ {inheritsFrom (_config >> "MRT_SwitchItemPrevClass") isNotEqualTo _config}
+) exitWith {
+ _item // return
+};
+
while {
_config = _cfgWeapons >> getText (_config >> "MRT_SwitchItemNextClass");
isClass _config && {_switchableClasses pushBackUnique configName _config != -1}
diff --git a/addons/arsenal/functions/fnc_verifyLoadout.sqf b/addons/arsenal/functions/fnc_verifyLoadout.sqf
index 53e7221e3a..10cd9a2553 100644
--- a/addons/arsenal/functions/fnc_verifyLoadout.sqf
+++ b/addons/arsenal/functions/fnc_verifyLoadout.sqf
@@ -22,6 +22,10 @@ private _extendedInfo = createHashMap;
// Check if the provided loadout is a CBA extended loadout
if (count _loadout == 2) then {
_extendedInfo = +(_loadout select 1); // Copy the hashmap to prevent events from modifiyng the profileNamespace extendedInfo
+ if (_extendedInfo isEqualType []) then { // Hashmaps are serialized as arrays, convert back to hashmap
+ _extendedInfo = createHashMapFromArray _extendedInfo;
+ _loadout set [1, _extendedInfo]; // Also fix source variable, technically not needed but doesn't hurt
+ };
_loadout = _loadout select 0;
};
diff --git a/addons/arsenal/stringtable.xml b/addons/arsenal/stringtable.xml
index 48b5876f60..02c35266db 100644
--- a/addons/arsenal/stringtable.xml
+++ b/addons/arsenal/stringtable.xml
@@ -1244,6 +1244,7 @@
熱画像装置内蔵
Интегрирован тепловизор.
열화상 내장
+ Thermique intégrée
Thermal & Primary integrated
@@ -1251,6 +1252,7 @@
熱画像装置内蔵・プライマリに内蔵
Интегрирован тепловизор и осн.прицел.
열화상과 주무기 내장
+ Thermique et primaire intégrés
Not Supported
@@ -1718,6 +1720,7 @@
検索\nCTRL + クリックで検索結果の即時表示を有効化
검색\nCtrl + 클릭으로 실시간 검색 결과를 활성화
Поиск\nCtrl + Click для включения результатов в реальном времени
+ Recherche\nCTRL + clic pour modifier les résultats tout en écrivant
diff --git a/addons/cargo/stringtable.xml b/addons/cargo/stringtable.xml
index a75d25ea55..79ee3f96b5 100644
--- a/addons/cargo/stringtable.xml
+++ b/addons/cargo/stringtable.xml
@@ -39,6 +39,7 @@
Разместить
配置する
배치하기
+ Déployer
Raise/Lower | (Ctrl + Scroll) Rotate
@@ -285,6 +286,7 @@
%1 を %2 に積み込んでいます・・・
Загружаем %1 в %2...
%1을(를) %2에 싣는 중...
+ Chargement %1 dans %2...
Unloading %1 from %2...
@@ -293,6 +295,7 @@
%1 を %2 から降ろしています・・・
Выгружаем %1 из %2...
%1을(를) %2(으)로부터 내리는 중...
+ Déchargement %1 de %2...
%1<br/>could not be loaded
@@ -580,6 +583,7 @@
Включить размещение
配置機能を有効化
배치 활성화
+ Permettre le placement
Controls whether cargo items can be unloaded via the deploy method.
@@ -587,6 +591,7 @@
Определяет, можно ли выгружать грузы с помощью метода размещения.
配置機能を介して貨物アイテムを降ろすことが出来るかどうかを制御します。
배치 방법을 통해 화물 아이템을 내릴 수 있는지 여부를 제어합니다.
+ Contrôler si les éléments de cargaison peuvent être déchargés via la méthode de déploiement.
diff --git a/addons/casings/CfgVehicles.hpp b/addons/casings/CfgVehicles.hpp
new file mode 100644
index 0000000000..73d06bc0ac
--- /dev/null
+++ b/addons/casings/CfgVehicles.hpp
@@ -0,0 +1,6 @@
+class CfgVehicles {
+ class FxCartridge;
+ class FxCartridge_65_caseless: FxCartridge {
+ GVAR(model) = ""; // note: the vanilla 6.5 caseless don't actually use this, just being safe
+ };
+};
diff --git a/addons/casings/config.cpp b/addons/casings/config.cpp
index 815048a082..29d0b7cb89 100644
--- a/addons/casings/config.cpp
+++ b/addons/casings/config.cpp
@@ -15,3 +15,4 @@ class CfgPatches {
};
#include "CfgEventHandlers.hpp"
+#include "CfgVehicles.hpp"
diff --git a/addons/casings/functions/fnc_createCasing.sqf b/addons/casings/functions/fnc_createCasing.sqf
index b21e568100..fe35ad5945 100644
--- a/addons/casings/functions/fnc_createCasing.sqf
+++ b/addons/casings/functions/fnc_createCasing.sqf
@@ -20,33 +20,30 @@ params ["_unit", "", "", "", "_ammo"];
if (!isNull objectParent _unit) exitWith {};
-private _modelPath = GVAR(cachedCasings) get _ammo;
-if (isNil "_modelPath") then {
+private _modelPath = GVAR(cachedCasings) getOrDefaultCall [_ammo, {
private _cartridge = getText (configFile >> "CfgAmmo" >> _ammo >> "cartridge");
- //Default cartridge is a 5.56mm model
- _modelPath = switch (_cartridge) do {
- case "FxCartridge_9mm": { "A3\Weapons_f\ammo\cartridge_small.p3d" };
- case "FxCartridge_65": { "A3\weapons_f\ammo\cartridge_65.p3d" };
- case "FxCartridge_762": { "A3\weapons_f\ammo\cartridge_762.p3d" };
- case "FxCartridge_762x39": { "A3\weapons_f_enoch\ammo\cartridge_762x39.p3d" };
- case "FxCartridge_93x64_Ball": { "A3\Weapons_F_Mark\Ammo\cartridge_93x64.p3d" };
- case "FxCartridge_338_Ball": { "A3\Weapons_F_Mark\Ammo\cartridge_338_LM.p3d" };
- case "FxCartridge_338_NM": { "A3\Weapons_F_Mark\Ammo\cartridge_338_NM.p3d" };
- case "FxCartridge_127": { "A3\weapons_f\ammo\cartridge_127.p3d" };
- case "FxCartridge_127x54": { "A3\Weapons_F_Mark\Ammo\cartridge_127x54.p3d" };
- case "FxCartridge_slug": { "A3\weapons_f\ammo\cartridge_slug.p3d" };
- case "FxCartridge_12Gauge_HE_lxWS": { "lxWS\weapons_1_f_lxws\Ammo\cartridge_he_lxws.p3d" };
- case "FxCartridge_12Gauge_Slug_lxWS": { "lxWS\weapons_1_f_lxws\Ammo\cartridge_slug_lxws.p3d" };
- case "FxCartridge_12Gauge_Smoke_lxWS": { "lxWS\weapons_1_f_lxws\Ammo\cartridge_smoke_lxws.p3d" };
- case "FxCartridge_12Gauge_Pellet_lxWS": { "lxWS\weapons_1_f_lxws\Ammo\cartridge_pellet_lxws.p3d" };
- case "CUP_FxCartridge_545": { "CUP\Weapons\CUP_Weapons_Ammunition\magazines\cartridge545.p3d" };
- case "CUP_FxCartridge_939": { "CUP\Weapons\CUP_Weapons_Ammunition\magazines\cartridge939.p3d" };
- case "": { "" };
- default { "A3\Weapons_f\ammo\cartridge.p3d" };
+ if (_cartridge == "") then { // return (note: can't use exitWith)
+ ""
+ } else {
+ private _cartridgeConfig = configFile >> "CfgVehicles" >> _cartridge;
+
+ // if explicitly defined, use ACE's config
+ if (isText (_cartridgeConfig >> QGVAR(model))) exitWith {
+ getText (_cartridgeConfig >> QGVAR(model))
+ };
+ // use casing's default model
+ private _model = getText (_cartridgeConfig >> "model");
+ if ("a3\weapons_f\empty" in toLowerANSI _model) exitWith { "" };
+
+ // Add file extension if missing (fileExists needs file extension)
+ if ((_model select [count _model - 4]) != ".p3d") then {
+ _model = _model + ".p3d";
+ };
+
+ ["", _model] select (fileExists _model)
};
- GVAR(cachedCasings) set [_ammo, _modelPath];
-};
+}, true];
if (_modelPath isEqualTo "") exitWith {};
diff --git a/addons/common/XEH_postInit.sqf b/addons/common/XEH_postInit.sqf
index f5450496bb..b9198c47b7 100644
--- a/addons/common/XEH_postInit.sqf
+++ b/addons/common/XEH_postInit.sqf
@@ -145,8 +145,7 @@ if (isServer) then {
INFO_3("[%1] DC - Was Zeus [%2] while controlling unit [%3] - manually clearing `bis_fnc_moduleRemoteControl_owner`",[_x] call FUNC(getName),_dcPlayer,_x);
_x setVariable ["bis_fnc_moduleRemoteControl_owner", nil, true];
};
- nil
- } count (curatorEditableObjects _zeusLogic);
+ } forEach (curatorEditableObjects _zeusLogic);
};
}];
};
diff --git a/addons/common/functions/fnc__handleRequestSyncedEvent.sqf b/addons/common/functions/fnc__handleRequestSyncedEvent.sqf
index 299dff8373..1924ed22ff 100644
--- a/addons/common/functions/fnc__handleRequestSyncedEvent.sqf
+++ b/addons/common/functions/fnc__handleRequestSyncedEvent.sqf
@@ -43,8 +43,7 @@ if (isServer) then {
{
_x params ["", "_eventArgs","_ttl"];
[_eventName, _eventArgs, _ttl] call FUNC(_handleSyncedEvent);
- false
- } count _eventLog;
+ } forEach _eventLog;
INFO_1("[%1] synchronized",_eventName);
};
diff --git a/addons/common/functions/fnc_assignObjectsInList.sqf b/addons/common/functions/fnc_assignObjectsInList.sqf
index 23d373c310..0928812cd4 100644
--- a/addons/common/functions/fnc_assignObjectsInList.sqf
+++ b/addons/common/functions/fnc_assignObjectsInList.sqf
@@ -28,18 +28,13 @@ if (_list isEqualType "") then {
};
{
- if (!isNil "_x") then {
- if (_x isEqualType objNull) then {
- if (local _x) then {
- if (_vehicle) then {
- (vehicle _x) setVariable [_variable, _setting, _global];
- TRACE_6("Set variable vehicle",_x,vehicle _x,typeOf (vehicle _x),_variable,_setting,_global);
- } else {
- _x setVariable [_variable, _setting, _global];
- TRACE_5("Set variable",_x,typeOf _x,_variable,_setting,_global);
- };
- };
+ if (!isNil "_x" && {_x isEqualType objNull} && {local _x}) then {
+ if (_vehicle) then {
+ (vehicle _x) setVariable [_variable, _setting, _global];
+ TRACE_6("Set variable vehicle",_x,vehicle _x,typeOf (vehicle _x),_variable,_setting,_global);
+ } else {
+ _x setVariable [_variable, _setting, _global];
+ TRACE_5("Set variable",_x,typeOf _x,_variable,_setting,_global);
};
};
- false
-} count _list;
+} forEach _list;
diff --git a/addons/common/functions/fnc_cbaSettings.sqf b/addons/common/functions/fnc_cbaSettings.sqf
index 6be8f60505..29e4d532b1 100644
--- a/addons/common/functions/fnc_cbaSettings.sqf
+++ b/addons/common/functions/fnc_cbaSettings.sqf
@@ -66,8 +66,7 @@ GVAR(settingsMovedToSQF) = [];
INFO_1("%1 delayed functions running.",count GVAR(runAtSettingsInitialized));
{
(_x select 1) call (_x select 0);
- false
- } count GVAR(runAtSettingsInitialized);
+ } forEach GVAR(runAtSettingsInitialized);
GVAR(runAtSettingsInitialized) = nil; //cleanup
#ifdef DEBUG_MODE_FULL
diff --git a/addons/common/functions/fnc_displayIcon.sqf b/addons/common/functions/fnc_displayIcon.sqf
index 1b307fdf33..da08fa832a 100644
--- a/addons/common/functions/fnc_displayIcon.sqf
+++ b/addons/common/functions/fnc_displayIcon.sqf
@@ -53,8 +53,7 @@ private _refresh = {
{
ctrlDelete _x;
- false
- } count _allControls;
+ } forEach _allControls;
_allControls = [];
@@ -80,7 +79,6 @@ private _refresh = {
_ctrl ctrlSetTextColor _xcolor;
_ctrl ctrlCommit 0;
_allControls pushBack _ctrl;
- false
} forEach (missionNamespace getVariable [QGVAR(displayIconList),[]]);
};
@@ -116,8 +114,7 @@ if (_show) then {
if (_x select 0 != _iconId) then {
_newList pushBack _x;
};
- false
- } count _list;
+ } forEach _list;
missionNamespace setVariable [QGVAR(displayIconList), _newList];
call _refresh;
diff --git a/addons/common/functions/fnc_dumpArray.sqf b/addons/common/functions/fnc_dumpArray.sqf
index 754b811314..87437c37e2 100644
--- a/addons/common/functions/fnc_dumpArray.sqf
+++ b/addons/common/functions/fnc_dumpArray.sqf
@@ -34,8 +34,7 @@ if (IS_ARRAY(_var)) then {
{
[_x, _depth] call FUNC(dumpArray);
- false
- } count _var;
+ } forEach _var;
diag_log text format ["%1],", _pad];
};
diff --git a/addons/common/functions/fnc_dumpPerformanceCounters.sqf b/addons/common/functions/fnc_dumpPerformanceCounters.sqf
index fa0b4e4e6d..309b82c673 100644
--- a/addons/common/functions/fnc_dumpPerformanceCounters.sqf
+++ b/addons/common/functions/fnc_dumpPerformanceCounters.sqf
@@ -25,8 +25,7 @@ if (!isNil "ACE_PFH_COUNTER") then {
private _isActive = ["ACTIVE", "REMOVED"] select isNil {CBA_common_PFHhandles select (_pfh select 0)};
diag_log text format ["Registered PFH: id=%1 [%2, delay %3], %4:%5", _pfh select 0, _isActive, _parameters select 1, _pfh select 1, _pfh select 2];
- false
- } count ACE_PFH_COUNTER;
+ } forEach ACE_PFH_COUNTER;
};
diag_log text format ["ACE COUNTER RESULTS"];
@@ -50,8 +49,7 @@ diag_log text format ["-------------------------------------------"];
};
_iter = _iter + 1;
- false
- } count _counterEntry;
+ } forEach _counterEntry;
// results
_averageResult = (_total / _count) * 1000;
@@ -61,8 +59,7 @@ diag_log text format ["-------------------------------------------"];
} else {
diag_log text format ["%1: No results", _counterEntry select 0];
};
- false
-} count ACE_COUNTERS;
+} forEach ACE_COUNTERS;
/*
// Dump PFH Trackers
diff --git a/addons/common/functions/fnc_firedEH.sqf b/addons/common/functions/fnc_firedEH.sqf
index cee874782a..2c0c32994d 100644
--- a/addons/common/functions/fnc_firedEH.sqf
+++ b/addons/common/functions/fnc_firedEH.sqf
@@ -50,8 +50,7 @@ if (_unit isKindOf "CAManBase") then {
_gunner = _unit turretUnit _x;
_turret = _x;
};
- false
- } count allTurrets [_unit, true];
+ } forEach allTurrets [_unit, true];
// Ensure that at least the pilot is returned if there is no gunner
if (isManualFire _unit && {isNull _gunner}) then {
_gunner = effectiveCommander _unit;
diff --git a/addons/common/functions/fnc_getAllDefinedSetVariables.sqf b/addons/common/functions/fnc_getAllDefinedSetVariables.sqf
index 6642a09789..081836c196 100644
--- a/addons/common/functions/fnc_getAllDefinedSetVariables.sqf
+++ b/addons/common/functions/fnc_getAllDefinedSetVariables.sqf
@@ -35,7 +35,6 @@ private _return = [];
_return pushBack [_x select 0, typeName _val, _val, _x select 2, _x select 5];
};
};
- false
-} count GVAR(OBJECT_VARIABLES_STORAGE);
+} forEach GVAR(OBJECT_VARIABLES_STORAGE);
_return
diff --git a/addons/common/functions/fnc_getDoorTurrets.sqf b/addons/common/functions/fnc_getDoorTurrets.sqf
index fb652cfd1a..1b6f22152a 100644
--- a/addons/common/functions/fnc_getDoorTurrets.sqf
+++ b/addons/common/functions/fnc_getDoorTurrets.sqf
@@ -29,7 +29,6 @@ private _doorTurrets = [];
if (((getNumber (_config >> "isCopilot")) == 0) && {count getArray (_config >> "weapons") > 0}) then {
_doorTurrets pushBack _x;
};
- false
-} count _turrets;
+} forEach _turrets;
_doorTurrets
diff --git a/addons/common/functions/fnc_getGunner.sqf b/addons/common/functions/fnc_getGunner.sqf
index bb3ebb23e9..376f18070e 100644
--- a/addons/common/functions/fnc_getGunner.sqf
+++ b/addons/common/functions/fnc_getGunner.sqf
@@ -28,8 +28,7 @@ private _gunner = objNull;
if (_weapon in (_vehicle weaponsTurret _x)) exitWith {
_gunner = _vehicle turretUnit _x;
};
- false
-} count allTurrets [_vehicle, true];
+} forEach allTurrets [_vehicle, true];
// ensure that at least the pilot is returned if there is no gunner
if (isManualFire _vehicle && {isNull _gunner}) then {
diff --git a/addons/common/functions/fnc_getInPosition.sqf b/addons/common/functions/fnc_getInPosition.sqf
index 6a95725e6e..076fd7a23c 100644
--- a/addons/common/functions/fnc_getInPosition.sqf
+++ b/addons/common/functions/fnc_getInPosition.sqf
@@ -38,8 +38,7 @@ private _enemiesInVehicle = false; //Possible Side Restriction
{
if (side _unit getFriend side _x < 0.6) exitWith {_enemiesInVehicle = true};
- false
-} count crew _vehicle;
+} forEach crew _vehicle;
switch (_position) do {
case "driver" : {
diff --git a/addons/common/functions/fnc_getMapGridData.sqf b/addons/common/functions/fnc_getMapGridData.sqf
index bce6351af0..daa4bd86cd 100644
--- a/addons/common/functions/fnc_getMapGridData.sqf
+++ b/addons/common/functions/fnc_getMapGridData.sqf
@@ -38,8 +38,7 @@ private _stepY = 1e10;
_stepX = getNumber (_x >> "stepX");
_stepY = getNumber (_x >> "stepY");
};
- false
-} count configProperties [_cfgGrid, "isClass _x", false];
+} forEach configProperties [_cfgGrid, "isClass _x", false];
private _letterGrid = false;
diff --git a/addons/common/functions/fnc_getNumberMagazinesIn.sqf b/addons/common/functions/fnc_getNumberMagazinesIn.sqf
index fc2c3d0605..b71e6729dd 100644
--- a/addons/common/functions/fnc_getNumberMagazinesIn.sqf
+++ b/addons/common/functions/fnc_getNumberMagazinesIn.sqf
@@ -25,8 +25,7 @@ if (_unit isKindOf "CAManBase") then {
} else {
{
_return = _return + ({_x == _magazine} count magazines _x);
- false
- } count crew _unit;
+ } forEach crew _unit;
(getMagazineCargo _unit) params [["_magNames", []], ["_magCount", []]];
{
diff --git a/addons/common/functions/fnc_getTurretIndex.sqf b/addons/common/functions/fnc_getTurretIndex.sqf
index dcbaafb3b2..75deced412 100644
--- a/addons/common/functions/fnc_getTurretIndex.sqf
+++ b/addons/common/functions/fnc_getTurretIndex.sqf
@@ -24,7 +24,6 @@ scopeName "main";
{
if (_unit == (_vehicle turretUnit _x)) then {_x breakOut "main"};
- nil
-} count allTurrets [_vehicle, true];
+} forEach allTurrets [_vehicle, true];
[]
diff --git a/addons/common/functions/fnc_getVehicleCrew.sqf b/addons/common/functions/fnc_getVehicleCrew.sqf
index 3e5e015785..a1bc06f6ab 100644
--- a/addons/common/functions/fnc_getVehicleCrew.sqf
+++ b/addons/common/functions/fnc_getVehicleCrew.sqf
@@ -33,7 +33,6 @@ private _crew = [];
_crew pushBack (_x select 0);
};
};
- false
-} count fullCrew _vehicle;
+} forEach fullCrew _vehicle;
_crew
diff --git a/addons/common/functions/fnc_getWeaponModes.sqf b/addons/common/functions/fnc_getWeaponModes.sqf
index 55e260ef27..c1ca241cab 100644
--- a/addons/common/functions/fnc_getWeaponModes.sqf
+++ b/addons/common/functions/fnc_getWeaponModes.sqf
@@ -29,7 +29,6 @@ private _modes = [];
if (_x == "this") then {
_modes pushBack _weapon;
};
- false
-} count getArray (_config >> "modes");
+} forEach getArray (_config >> "modes");
_modes
diff --git a/addons/common/functions/fnc_getWeaponState.sqf b/addons/common/functions/fnc_getWeaponState.sqf
index 7ccb016c7a..2fadbd23ea 100644
--- a/addons/common/functions/fnc_getWeaponState.sqf
+++ b/addons/common/functions/fnc_getWeaponState.sqf
@@ -42,7 +42,6 @@ private _ammo = _muzzles apply {0};
_ammo set [_index, _x select 1];
};
};
- false
-} count magazinesAmmoFull _unit;
+} forEach magazinesAmmoFull _unit;
[_attachments, _muzzles, _magazines, _ammo];
diff --git a/addons/common/functions/fnc_moduleLSDVehicles.sqf b/addons/common/functions/fnc_moduleLSDVehicles.sqf
index fde230b0ca..35e1f07eba 100644
--- a/addons/common/functions/fnc_moduleLSDVehicles.sqf
+++ b/addons/common/functions/fnc_moduleLSDVehicles.sqf
@@ -28,8 +28,7 @@ if (isNil QGVAR(LSD_Vehicles)) then {
if (_hSCount > 0) then {
GVAR(LSD_Vehicles) pushBack [_x, _hSCount];
};
- nil
-} count _units;
+} forEach _units;
if (isNil QGVAR(LSD_Colors)) then {
GVAR(LSD_Colors) = [
@@ -51,8 +50,7 @@ if (isNil QGVAR(LSD_PFH)) then {
for "_i" from 0 to (_hSCount - 1) do {
_vehicle setObjectTexture [_i, GVAR(LSD_Colors) select _index];
};
- nil
- } count GVAR(LSD_Vehicles);
+ } forEach GVAR(LSD_Vehicles);
_index = ((_index + 1) % 7) mod count GVAR(LSD_Colors);
(_this select 0) set [0, _index];
diff --git a/addons/common/functions/fnc_parseList.sqf b/addons/common/functions/fnc_parseList.sqf
index 93ceccf17d..a559994bfa 100644
--- a/addons/common/functions/fnc_parseList.sqf
+++ b/addons/common/functions/fnc_parseList.sqf
@@ -32,8 +32,7 @@ private _whitespaceList = [];
} else {
_whitespaceList pushBack ([_x] call CBA_fnc_trim);
};
- false
-} count _list;
+} forEach _list;
_list = _whitespaceList;
TRACE_1("Whitespace List",_list);
@@ -46,8 +45,7 @@ if (_checkNil) then {
if (!isNil _x) then {
_nilCheckedList pushBack (missionNamespace getVariable _x);
};
- false
- } count _list;
+ } forEach _list;
_list = _nilCheckedList;
};
diff --git a/addons/common/functions/fnc_resetAllDefaults.sqf b/addons/common/functions/fnc_resetAllDefaults.sqf
index 4d9f42a13b..ef74724183 100644
--- a/addons/common/functions/fnc_resetAllDefaults.sqf
+++ b/addons/common/functions/fnc_resetAllDefaults.sqf
@@ -27,8 +27,7 @@ if (isPlayer _unit) then {
// clear all disable user input
{
[_x, false] call FUNC(setDisableUserInputStatus);
- false
- } count GVAR(DISABLE_USER_INPUT_COLLECTION);
+ } forEach GVAR(DISABLE_USER_INPUT_COLLECTION);
};
};
@@ -36,5 +35,4 @@ if (isPlayer _unit) then {
if !(_x select 4) then {
_unit setVariable [_x select 0, nil, _x select 3];
};
- false
-} count ([_unit] call FUNC(getAllDefinedSetVariables));
+} forEach ([_unit] call FUNC(getAllDefinedSetVariables));
diff --git a/addons/common/functions/fnc_restoreVariablesJIP.sqf b/addons/common/functions/fnc_restoreVariablesJIP.sqf
index 905353d8ab..ac22cd3fa0 100644
--- a/addons/common/functions/fnc_restoreVariablesJIP.sqf
+++ b/addons/common/functions/fnc_restoreVariablesJIP.sqf
@@ -24,6 +24,4 @@ _respawnVariables pushBack "ACE_PersistentFunctions";
{
_unit setVariable [_x, _unit getVariable _x, true];
- false
-} count _respawnVariables;
-nil
+} forEach _respawnVariables;
diff --git a/addons/common/functions/fnc_sanitizeString.sqf b/addons/common/functions/fnc_sanitizeString.sqf
index c30cbe1292..7d0b2dd2f1 100644
--- a/addons/common/functions/fnc_sanitizeString.sqf
+++ b/addons/common/functions/fnc_sanitizeString.sqf
@@ -47,7 +47,6 @@ private _array = [];
_array pushBack _x;
};
};
- false
-} count toArray _string;
+} forEach toArray _string;
toString _array // return
diff --git a/addons/common/functions/fnc_switchToGroupSide.sqf b/addons/common/functions/fnc_switchToGroupSide.sqf
index 94d8c52701..1a3e588855 100644
--- a/addons/common/functions/fnc_switchToGroupSide.sqf
+++ b/addons/common/functions/fnc_switchToGroupSide.sqf
@@ -58,7 +58,7 @@ if (_switch) then {
private _newGroup = createGroup (_x select 1);
[_unit] joinSilent _newGroup;
};
- if (count units _currentGroup == 0) then {
+ if (units _currentGroup isEqualTo []) then {
deleteGroup _currentGroup;
};
_previousGroupsList set [_forEachIndex, objNull];
diff --git a/addons/common/functions/fnc_throttledPublicVariable.sqf b/addons/common/functions/fnc_throttledPublicVariable.sqf
index 3c1ed2761b..e6b1fdbaf6 100644
--- a/addons/common/functions/fnc_throttledPublicVariable.sqf
+++ b/addons/common/functions/fnc_throttledPublicVariable.sqf
@@ -29,8 +29,7 @@ if (isNil QGVAR(publishSchedId)) then {
{
_x params ["_unit", "_varName"];
_unit setVariable [_varName, _unit getVariable _varName, true];
- false
- } count GVAR(publishVarNames);
+ } forEach GVAR(publishVarNames);
GVAR(publishVarNames) = [];
GVAR(publishNextTime) = 1e7;
diff --git a/addons/common/stringtable.xml b/addons/common/stringtable.xml
index 60b16a742d..7138c8da95 100644
--- a/addons/common/stringtable.xml
+++ b/addons/common/stringtable.xml
@@ -1832,16 +1832,19 @@
Weapon Sway
手ぶれ
무기 흔들림
+ Oscillation de l'arme
Enable Weapon Sway
手ぶれを有効化
무기 흔들림 추가
+ Activer l'oscillation de l'arme
Enables weapon sway influenced by sway factors, such as stance, fatigue and medical condition.\nDisabling this setting will defer sway to vanilla or other mods.
姿勢、疲労、負傷状態などの手ぶれ要因に影響を受ける武器照準の揺れを有効にします。\nこの設定を無効にすると、手ぶれの揺れはバニラまたは他のMODの処理に任されます。
흔들림 계수, 자세, 피로도, 건강 상태 등의 요인에 영향을 받는 무기 흔들림을 활성화합니다.\n이 설정을 비활성화하면 바닐라 또는 다른 모드의 흔들림으로 대체됩니다.
+ Active l'oscillation de l'arme influencé par les facteurs d'oscillation, tels que la position, la fatigue et l'état de santé.\nLa désactivation de ce paramètre reportera l'oscillation à vanilla ou à d'autres mods.
Sway factor
diff --git a/addons/compat_cup_weapons/compat_cup_weapons_csw/stringtable.xml b/addons/compat_cup_weapons/compat_cup_weapons_csw/stringtable.xml
index 0e88b468ca..a23cf87af0 100644
--- a/addons/compat_cup_weapons/compat_cup_weapons_csw/stringtable.xml
+++ b/addons/compat_cup_weapons/compat_cup_weapons_csw/stringtable.xml
@@ -42,66 +42,77 @@
[CSW] M1 榴弾
[CSW] M1 HE
[CSW] M1 고폭탄
+ [CSW] M1 HE
[CSW] M84 Smoke
[CSW] M84 白煙弾
[CSW] M84 Дымовая
[CSW] M84 연막탄
+ [CSW] M84 Fumigène
[CSW] M60A2 WP
[CSW] M60A2 白リン弾
[CSW] M60A2 WP
[CSW] M60A2 백린연막탄
+ [CSW] M60A2 WP
[CSW] M67 AT Laser Guided
[CSW] M67 対戦車レーザー誘導弾
[CSW] M67 AT Laser Guided
[CSW] M67 레이저유도 대전차탄
+ [CSW] M67 AT Guidé laser
[CSW] M314 Illumination
[CSW] M314 照明弾
[CSW] M314 Осветительная
[CSW] M314 조명탄
+ [CSW] M314 Illumination
[CSW] 3OF56 HE
[CSW] 3OF56 榴弾
[CSW] 3OF56 HE
[CSW] 3OF56 고폭탄
+ [CSW] 3OF56 HE
[CSW] 3OF69M Laser Guided
[CSW] 3OF69M レーザー誘導弾
[CSW] 3OF69M Laser Guided
[CSW] 3OF69M 레이저유도탄
+ [CSW] 3OF69M Guidé laser
[CSW] 122mm WP
[CSW] 122mm 白リン弾
[CSW] 122mm WP
[CSW] 122mm 백린탄
+ [CSW] 122mm WP
[CSW] D-462 Smoke
[CSW] D-462 白煙弾
[CSW] D-462 Дымовая
[CSW] D-462 연막탄
+ [CSW] D-462 Fumigène
[CSW] S-463 Illumination
[CSW] S-463 照明弾
[CSW] S-463 Осветительная
[CSW] S-463 조명탄
+ [CSW] S-463 Eclairante
[CSW] BK-6M HEAT
[CSW] BK-6M HEAT弾
[CSW] BK-6M HEAT
[CSW] BK-6M 대전차고폭탄
+ [CSW] BK-6M HEAT
diff --git a/addons/compat_cup_weapons/compat_cup_weapons_nightvision/stringtable.xml b/addons/compat_cup_weapons/compat_cup_weapons_nightvision/stringtable.xml
index f217bc1d2f..a52bea0e31 100644
--- a/addons/compat_cup_weapons/compat_cup_weapons_nightvision/stringtable.xml
+++ b/addons/compat_cup_weapons/compat_cup_weapons_nightvision/stringtable.xml
@@ -46,6 +46,7 @@
AN/PVS-15 (冬季迷彩, WP)
AN/PVS-15 (설상, 백색광)
AN/PVS-15 (Белый, БФ)
+ AN/PVS-15 (Blanc, WP)
GPNVG (Black, WP)
@@ -82,6 +83,7 @@
GPNVG (冬季迷彩, WP)
GPNVG (설상, 백색광)
AN/PVS-15 (Белый, БФ)
+ GPNVG (Blanc, WP)
diff --git a/addons/compat_cup_weapons/config.cpp b/addons/compat_cup_weapons/config.cpp
index e5fd022555..54dd0271cc 100644
--- a/addons/compat_cup_weapons/config.cpp
+++ b/addons/compat_cup_weapons/config.cpp
@@ -15,6 +15,6 @@ class CfgPatches {
};
};
+#include "CfgEventHandlers.hpp"
#include "CfgMagazines.hpp"
#include "CfgWeapons.hpp"
-#include "CfgEventHandlers.hpp"
diff --git a/addons/compat_rhs_usf3/compat_rhs_usf3_csw/stringtable.xml b/addons/compat_rhs_usf3/compat_rhs_usf3_csw/stringtable.xml
index bb185513a7..bc2413a2ca 100644
--- a/addons/compat_rhs_usf3/compat_rhs_usf3_csw/stringtable.xml
+++ b/addons/compat_rhs_usf3/compat_rhs_usf3_csw/stringtable.xml
@@ -10,6 +10,7 @@
[CSW] BGM-71A TOW
[CSW] BGM-71A TOW
[CSW] BGM-71A TOW
+ [CSW] BGM-71A TOW
[CSW] BGM-71B TOW
@@ -20,6 +21,7 @@
[CSW] BGM-71B TOW
[CSW] BGM-71B TOW
[CSW] BGM-71B TOW
+ [CSW] BGM-71B TOW
[CSW] BGM-71C ITOW
@@ -30,6 +32,7 @@
[CSW] BGM-71C ITOW
[CSW] BGM-71C ITOW
[CSW] BGM-71C ITOW
+ [CSW] BGM-71C ITOW
[CSW] BGM-71D TOW-2
@@ -40,6 +43,7 @@
[CSW] BGM-71D TOW-2
[CSW] BGM-71D TOW-2
[CSW] BGM-71D TOW-2
+ [CSW] BGM-71D TOW-2
[CSW] BGM-71E TOW-2A
@@ -50,6 +54,7 @@
[CSW] BGM-71E TOW-2A
[CSW] BGM-71E TOW-2A
[CSW] BGM-71E TOW-2A
+ [CSW] BGM-71E TOW-2A
[CSW] BGM-71F TOW-2B
@@ -60,6 +65,7 @@
[CSW] BGM-71F TOW-2B
[CSW] BGM-71F TOW-2B
[CSW] BGM-71F TOW-2B
+ [CSW] BGM-71F TOW-2B
[CSW] BGM-71F-3 TOW-2B AERO
@@ -70,6 +76,7 @@
[CSW] BGM-71F-3 TOW-2B AERO
[CSW] BGM-71F-3 TOW-2B AERO
[CSW] BGM-71F-3 TOW-2B AERO
+ [CSW] BGM-71F-3 TOW-2B AERO
[CSW] BGM-71H Bunker Buster
@@ -80,6 +87,7 @@
[CSW] BGM-71H Anti-Búnquer
[CSW] BGM-71H Bunker Buster
[CSW] BGM-71H Anti-Bunker
+ [CSW] BGM-71H Bunker Buster
[CSW] Mk. 19 40mm M384 HE
@@ -90,6 +98,7 @@
[CSW] Mk. 19 40mm M384 HE
[CSW] Mk. 19 40mm M384 HE
[CSW] Mk. 19 40mm M384 HE
+ [CSW] Mk. 19 40mm M384 HE
[CSW] Mk. 19 40mm M430I HEDP
@@ -100,6 +109,7 @@
[CSW] Mk. 19 40mm M430I HEDP
[CSW] Mk. 19 40mm M430I HEDP
[CSW] Mk. 19 40mm M430I HEDP
+ [CSW] Mk. 19 40mm M430I HEDP
[CSW] Mk. 19 40mm M430A1 HEDP
@@ -110,6 +120,7 @@
[CSW] Mk. 19 40mm M430A1 HEDP
[CSW] Mk. 19 40mm M430A1 HEDP
[CSW] Mk. 19 40mm M430A1 HEDP
+ [CSW] Mk. 19 40mm M430A1 HEDP
[CSW] Mk. 19 40mm M1001 Canister
@@ -120,6 +131,7 @@
[CSW] Mk. 19 40mm M1001 Bote de metralla
[CSW] Mk. 19 40mm M1001 Kanister
[CSW] Mk. 19 40mm M1001 Pallettoni
+ [CSW] Mk. 19 40 mm M1001 Chevrotine
diff --git a/addons/compat_sog/stringtable.xml b/addons/compat_sog/stringtable.xml
index 06f0827d08..fc64aef97c 100644
--- a/addons/compat_sog/stringtable.xml
+++ b/addons/compat_sog/stringtable.xml
@@ -12,6 +12,7 @@
Закопать
Enterrarse
Escavar
+ Creuser
M49A2 60mm HE
@@ -24,6 +25,7 @@
M49A2 60 мм ОФ
M49A2 60mm HE
M49A2 60mm HE
+ M49A2 60mm HE
M302 60mm WP
@@ -36,6 +38,7 @@
M302 60 мм Фосфорная
M302 60mm WP
M302 60mm WP
+ M302 60mm Phosphore Blanc
M83 60mm Lume
@@ -48,6 +51,7 @@
M83 60 мм Осветительная
M83 60mm Iluminación
M83 60mm Iluminação
+ M83 60 mm Eclairant
M374 81mm HE
@@ -60,6 +64,7 @@
M374 81 мм ОФ
M374 81mm HE
M374 81mm HE
+ M374 81mm HE
M375 81mm WP
@@ -72,6 +77,7 @@
M375 81 мм Фосфорная
M375 81mm WP
M375 81mm WP
+ M375 81mm Phosphore Blanc
M301A3 81mm Lume
@@ -84,6 +90,7 @@
M301A3 81 мм Осветительная
M301A3 81mm Iluminación
M301A3 81mm Iluminação
+ M301A3 81mm Eclairant
M57 81mm Smoke
@@ -96,6 +103,7 @@
M57 81 мм Дымовая
M57 81mm Smoke
M57 81mm Fumígena
+ M57 81mm Fumigène
O-832D 82mm HE
@@ -108,6 +116,7 @@
О-832Д 82 мм ОФ
O-832D 82mm HE
O-832D 82mm HE
+ O-832D 82mm HE
D-832 82mm WP
@@ -120,6 +129,7 @@
Д-832 82 мм Фосфорная
D-832 82mm WP
D-832 82mm WP
+ D-832 82mm Phosphore Blanc
S-832S 82mm Lume
@@ -132,6 +142,7 @@
С-832С 82 мм Осветительная
S-832S 82mm Iluminación
S-832S 82mm Iluminação
+ S-832S 82mm Eclairant
[ACE] M49A2 60mm HE Box
@@ -144,6 +155,7 @@
[ACE] Коробка M49A2 60 мм ОФ
[ACE] M49A2 60mm Caja de HE
[ACE] M49A2 60mm Caixa de HE
+ [ACE] Scatola M49A2 60mm HE
[ACE] M302 60mm WP Box
@@ -156,6 +168,7 @@
[ACE] Коробка M302 60 мм Фосфорных
[ACE] M302 60mm Caja de WP
[ACE] M302 60mm Caixa de WP
+ [ACE] M302 60mm Phosphore Blanc Box
[ACE] M83 60mm Lume Box
@@ -168,6 +181,7 @@
[ACE] Коробка M83 60 мм Осветительных
[ACE] M83 60mm Caja de Iluminación
[ACE] M83 60mm Caixa de Iluminação
+ [ACE] M83 60mm Eclairant Box
[ACE] M374 81mm HE Box
@@ -180,6 +194,7 @@
[ACE] Коробка M374 81 мм ОФ
[ACE] M374 81mm Caja de HE
[ACE] M374 81mm Caixa de HE
+ [ACE] Scatola M374 81mm HE
[ACE] M375 81mm WP Box
@@ -192,6 +207,7 @@
[ACE] Коробка M375 81 мм Фосфорных
[ACE] M375 81mm Caja de WP
[ACE] M375 81mm Caixa de WP
+ [ACE] M375 81mm Phosphore Blanc Box
[ACE] M301A3 81mm Lume Box
@@ -204,6 +220,7 @@
[ACE] Коробка M301A3 81 мм Осветительных
[ACE] M301A3 81mm Caja de Iluminación
[ACE] M301A3 81mm Caixa de Iluminação
+ [ACE] M301A3 81mm Eclairant Box
[ACE] M57 81mm Smoke Box
@@ -216,6 +233,7 @@
[ACE] Коробка M57 81 мм Дымовых
[ACE] M57 81mm Caja de Humo
[ACE] M57 81mm Caixa de Fumígena
+ [ACE] M57 81mm Fumigène Box
[ACE] O-832D 82mm HE Box
@@ -228,6 +246,7 @@
[ACE] Коробка О-832Д 82 мм ОФ
[ACE] O-832D 82mm Caja de HE
[ACE] O-832D 82mm Caixa de HE
+ [ACE] Scatola O-832D 82mm HE
[ACE] D-832 82mm WP Box
@@ -240,6 +259,7 @@
[ACE] Коробка Д-832 82 мм Фосфорных
[ACE] D-832 82mm Caja de WP
[ACE] D-832 82mm Caixa de WP
+ [ACE] D-832 82mm Phosphore Blanc Box
[ACE] S-832S 82mm Lume Box
@@ -252,6 +272,7 @@
[ACE] Коробка С-832С 82 мм Осветительных
[ACE] S-832S 82mm Caja de Iluminación
[ACE] S-832S 82mm Caixa de Iluminação
+ [ACE] S-832S 82mm Eclairant Box
Dig Spiderhole
@@ -264,6 +285,7 @@
Выкопать паучью дыру
Excavar Agujero de araña
Escavar buraco de aranha
+ Creuser un trou d'araignée
Dig Spiderhole (Angled Cover)
@@ -276,6 +298,7 @@
Выкопать крытую паучью дыру
Excavar Agujero de araña (Cubierta inclinada)
Escavar buraco de aranha (Cobertura inclinada)
+ Creuser un trou d'araignée (couverture d'angle)
Dig Spiderhole (Dual)
@@ -288,6 +311,7 @@
Выкопать двойную паучью дыру
Excavar Agujero de araña (Doble)
Escavar buraco de aranha (Duplo)
+ Creuser un trou d'araignée (double)
[CSW] M1919A4 Gun Bag
@@ -300,6 +324,7 @@
[CSW] Сумка с M1919A4
[CSW] M1919A4 Bolsa para arma
[CSW] Bolsa para M1919A4
+ [CSW] M1919A4 Gun Bag
[CSW] M1919A6 Gun Bag
@@ -312,6 +337,7 @@
[CSW] Сумка с M1919A6
[CSW] M1919A6 Bolsa para arma
[CSW] Bolsa para M1919A6
+ [CSW] M1919A6 Gun Bag
[CSW] M60 Gun Bag
@@ -324,6 +350,7 @@
[CSW] Сумка с M60
[CSW] M60 Bolsa para arma
[CSW] Bolsa para M60
+ [CSW] M60 Gun Bag
[CSW] DShK (Shield) Gun Bag
@@ -336,6 +363,7 @@
[CSW] Сумка с ДШК (со щитом)
[CSW] DShK (Apantallada) Bolsa para arma
[CSW] Bolsa para DShK (Escudo)
+ [CSW] DShK (Shield) Gun Bag
[CSW] DShK (AA) Gun Bag
@@ -348,6 +376,7 @@
[CSW] Сумка с ДШК (зенитный)
[CSW] DShK (AA) Bolsa para arma
[CSW] Bolsa para DShK (AA)
+ [CSW] DShK (AA) Gun Bag
[CSW] RPD Gun Bag
@@ -360,6 +389,7 @@
[CSW] Сумка с РПД
[CSW] RPD Bolsa para arma
[CSW] Bolsa para RPD
+ [CSW] RPD Gun Bag
[CSW] PK Gun Bag
@@ -372,6 +402,7 @@
[CSW] Сумка с ПК
[CSW] PK Bolsa para arma
[CSW] Bolsa para PK
+ [CSW] PK Sac d'armes
[CSW] MG42 Gun Bag
@@ -384,6 +415,7 @@
[CSW] Сумка с MG42
[CSW] MG42 Bolsa para arma
[CSW] Bolsa para MG42
+ [CSW] MG42 Sac d'armes
[CSW] SGM Gun Bag
@@ -396,6 +428,7 @@
[CSW] Сумка с СГМ
[CSW] SGM Bolsa para arma
[CSW] Bolsa para SGM
+ [CSW] SGM Sac d'armes
[CSW] SGM (Shield) Gun Bag
@@ -408,6 +441,7 @@
[CSW] Сумка с СГМ (со щитом)
[CSW] SGM (Apantallada) Bolsa para arma
[CSW] Bolsa para SGM (Escudo)
+ [CSW] SGM Sac d'armes (avec bouclier)
[CSW] Mk18 Gun Bag
@@ -420,6 +454,7 @@
[CSW] Сумка с Mk18
[CSW] Mk18 Bolsa para arma
[CSW] Bolsa para Mk18
+ [CSW] Mk18 Sac d'armes
[CSW] M29 Mortar Tube
@@ -432,6 +467,7 @@
[CSW] Сумка с миномётом M29
[CSW] M29 Tubo de Mortero
[CSW] M29 Tubo de Morteiro
+ [CSW] Tube de mortier M29
[CSW] M2 Mortar Tube
@@ -444,6 +480,7 @@
[CSW] Сумка с миномётом M2
[CSW] M2 Tubo de mortero
[CSW] M2 Tubo de Morteiro
+ [CSW] Tube de mortier M2
[CSW] Type 53 Mortar Tube
@@ -456,6 +493,7 @@
[CSW] Сумка с миномётом Type 53
[CSW] Type 53 Tubo de mortero
[CSW] Type 53 Tubo de Morteiro
+ [CSW] Tube de mortier Type 53
diff --git a/addons/compat_ws/compat_ws_realisticnames/stringtable.xml b/addons/compat_ws/compat_ws_realisticnames/stringtable.xml
index b38f1a867e..092fd2a9ea 100644
--- a/addons/compat_ws/compat_ws_realisticnames/stringtable.xml
+++ b/addons/compat_ws/compat_ws_realisticnames/stringtable.xml
@@ -8,6 +8,7 @@
AA12
AA12
AA12
+ AA12
AA12 (Sand)
@@ -16,6 +17,7 @@
AA12 (Sabbia)
AA12 (サンド)
AA12 (Песочный)
+ AA12 (Sable)
AA12 (Snake)
@@ -32,6 +34,7 @@
Galil ARM
ガリル ARM
Galil ARM
+ Galil ARM
Galil ARM (Old)
@@ -40,6 +43,7 @@
Galil ARM (Vecchio)
ガリル ARM (使い古し)
Galil ARM (Старый)
+ Galil ARM (Ancien)
GLX 160
@@ -48,6 +52,7 @@
GLX-160
GLX 160
GLX 160
+ GLX 160
GLX 160 (Snake)
@@ -64,6 +69,7 @@
GLX-160 (Hex)
GLX 160 (六角形迷彩)
GLX 160 (Гекс)
+ GLX 160 (Hex)
GLX 160 (Green Hex)
@@ -72,6 +78,7 @@
GLX-160 (Hex Verde)
GLX 160 (緑六角形迷彩)
GLX 160 (Зеленый Гекс)
+ GLX 160 (Vert Hex)
GLX 160 (Camo)
@@ -80,6 +87,7 @@
GLX-160 (Mimetica)
GLX 160 (迷彩)
GLX 160 (Камуфляж)
+ GLX 160 (Camo)
GLX 160 (Sand)
@@ -88,6 +96,7 @@
GLX-160 (Sabbia)
GLX 160 (サンド)
GLX 160 (Песочный)
+ GLX 160 (Sable)
Mk14 Mod 1 EBR (Black)
@@ -96,6 +105,7 @@
Mk14 Mod 1 EBR (Nero)
Mk14 Mod 1 EBR (ブラック)
Mk14 Mod 1 EBR (Черный)
+ Mk14 Mod 1 EBR (Noir)
Mk14 Mod 1 EBR (Snake)
@@ -111,6 +121,7 @@
Vektor SS-77
ヴェクター SS-77
Vektor SS-77
+ Vektor SS-77
Vektor SS-77 (Camo)
@@ -119,6 +130,7 @@
Vektor SS-77 (Mimetica)
ヴェクター SS-77 (迷彩)
Vektor SS-77 (Камуфляж)
+ Vektor SS-77 (Camo)
Vektor SS-77 (Hex)
@@ -127,6 +139,7 @@
Vektor SS-77 (Hex)
ヴェクター SS-77 (六角形迷彩)
Vektor SS-77 (гекс)
+ Vektor SS-77 (Hex)
Vektor SS-77 (Green Hex)
@@ -135,6 +148,7 @@
Vektor SS-77 (Hex Verde)
ヴェクター SS-77 (緑六角形迷彩)
Vektor SS-77 (зеленый гекс)
+ Vektor SS-77 (VertHex)
Vektor SS-77 (Desert)
@@ -143,6 +157,7 @@
Vektor SS-77 (Deserto)
ヴェクター SS-77 (砂漠迷彩)
Vektor SS-77 (песочныйt)
+ Vektor SS-77 (Désert)
Vektor SS-77 Compact
@@ -151,6 +166,7 @@
Vektor SS-77 Compatto
ヴェクター SS-77 コンパクト
Vektor SS-77 Compact
+ Vektor SS-77 Compacte
Vektor SS-77 Compact (Snake)
@@ -167,6 +183,7 @@
FN FAL 50.00 (Legno)
FN FAL 50.00 (森林迷彩)
FN FAL 50.00 (лесной)
+ FN FAL 50.00 (Bois)
FN FAL 50.00 GL (Wood)
@@ -175,6 +192,7 @@
FN FAL 50.00 GL (Legno)
FN FAL 50.00 GL (森林迷彩)
FN FAL 50.00 GL (лесной)
+ FN FAL 50.00 GL (Bois)
FN FAL 50.00
@@ -183,6 +201,7 @@
FN FAL 50.00
FN FAL 50.00
FN FAL 50.00
+ FN FAL 50.00
FN FAL 50.00 GL
@@ -191,6 +210,7 @@
FN FAL 50.00 GL
FN FAL 50.00 GL
FN FAL 50.00 GL
+ FN FAL 50.00 GL
FN FAL 50.00 (Desert)
@@ -199,6 +219,7 @@
FN FAL 50.00 (Deserto)
FN FAL 50.00 (砂漠迷彩)
FN FAL 50.00 (песочный)
+ FN FAL 50.00 (Désert)
FN FAL 50.00 (Jungle)
@@ -207,6 +228,7 @@
FN FAL 50,00 (Giungla)
FN FAL 50.00 (熱帯迷彩)
FN FAL 50.00 (джунгли)
+ FN FAL 50.00 (Jungle)
Vektor R4
@@ -215,6 +237,7 @@
Vektor R4
ヴェクター R5
Vektor R4
+ Vektor R4
Vektor R5 Carbine
@@ -223,6 +246,7 @@
Vektor R5 Carabina
ヴェクター R5 カービン
Vektor R5 Carbine
+ Vektor R5 Carbine
Vektor R5 Carbine GL
@@ -231,6 +255,7 @@
Vektor R5 Carabina GL
ヴェクター R5 カービン GL
Vektor R5 Carbine GL
+ Vektor R5 Carbine GL
Vektor R5 Carbine (Snake)
diff --git a/addons/concertina_wire/functions/fnc_deploy.sqf b/addons/concertina_wire/functions/fnc_deploy.sqf
index 579bc73f97..c915109e1b 100644
--- a/addons/concertina_wire/functions/fnc_deploy.sqf
+++ b/addons/concertina_wire/functions/fnc_deploy.sqf
@@ -22,7 +22,7 @@ params ["_wirecoil", "_unit"];
private _wireNoGeo = "ACE_ConcertinaWireNoGeo" createVehicle [0,0,0];
{
_wireNoGeo animate [_x, 1];
-} count WIRE_FAST;
+} forEach WIRE_FAST;
GVAR(placer) = _unit;
private _dir = getDir _unit;
@@ -51,7 +51,7 @@ GVAR(deployPFH) = [{
private _wire = "ACE_ConcertinaWire" createvehicle [0, 0, 0];
{
_wire animate [_x, _anim];
- } count WIRE_FAST;
+ } forEach WIRE_FAST;
[{
params ["_args", "_idPFH"];
@@ -74,7 +74,7 @@ GVAR(deployPFH) = [{
_wireNoGeo setDir _dir;
{
_wireNoGeo animate [_x, _anim];
- } count WIRE_FAST;
+ } forEach WIRE_FAST;
}, 0, [_wireNoGeo, _wireNoGeoPos, _unit]] call CBA_fnc_addPerFrameHandler;
[LLSTRING(RollWire), "", ""] call EFUNC(interaction,showMouseHint);
diff --git a/addons/concertina_wire/functions/fnc_dismountSuccess.sqf b/addons/concertina_wire/functions/fnc_dismountSuccess.sqf
index 3a90b62a91..86aac9e8bf 100644
--- a/addons/concertina_wire/functions/fnc_dismountSuccess.sqf
+++ b/addons/concertina_wire/functions/fnc_dismountSuccess.sqf
@@ -20,7 +20,7 @@ params ["_wire"];
{
_wire animate [_x, 1];
-} count WIRE_FAST;
+} forEach WIRE_FAST;
[{
params ["_args", "_idPFH"];
diff --git a/addons/disarming/functions/fnc_disarmDropItems.sqf b/addons/disarming/functions/fnc_disarmDropItems.sqf
index 26e00dfa5f..e1a4c379b4 100644
--- a/addons/disarming/functions/fnc_disarmDropItems.sqf
+++ b/addons/disarming/functions/fnc_disarmDropItems.sqf
@@ -50,7 +50,7 @@ if (!_doNotDropAmmo) then {
if ((_x getVariable [QGVAR(disarmUnit), objNull]) == _target) exitWith {
_holder = _x;
};
- } count ((getpos _target) nearObjects [DISARM_CONTAINER, 3]);
+ } forEach ((getpos _target) nearObjects [DISARM_CONTAINER, 3]);
};
//Create a new weapon holder
diff --git a/addons/disarming/functions/fnc_openDisarmDialog.sqf b/addons/disarming/functions/fnc_openDisarmDialog.sqf
index 27a7dbc521..da9a860678 100644
--- a/addons/disarming/functions/fnc_openDisarmDialog.sqf
+++ b/addons/disarming/functions/fnc_openDisarmDialog.sqf
@@ -93,7 +93,7 @@ GVAR(disarmTarget) = _target;
if ((_x getVariable [QGVAR(disarmUnit), objNull]) == _target) exitWith {
_holder = _x;
};
- } count ((getpos _target) nearObjects [DISARM_CONTAINER, 3]);
+ } forEach ((getpos _target) nearObjects [DISARM_CONTAINER, 3]);
//If a holder exists, show it's inventory
if (!isNull _holder) then {
diff --git a/addons/explosives/functions/fnc_addCellphoneIED.sqf b/addons/explosives/functions/fnc_addCellphoneIED.sqf
index 2ac69b73ae..d35b303fc1 100644
--- a/addons/explosives/functions/fnc_addCellphoneIED.sqf
+++ b/addons/explosives/functions/fnc_addCellphoneIED.sqf
@@ -29,10 +29,10 @@ private _hasRequired = true;
private _detonators = [_unit] call FUNC(getDetonators);
{
- if !(_x in _detonators) exitWith{
+ if !(_x in _detonators) exitWith {
_hasRequired = false;
};
-} count _requiredItems;
+} forEach _requiredItems;
private _code = "";
while {true} do {
diff --git a/addons/explosives/functions/fnc_addTriggerActions.sqf b/addons/explosives/functions/fnc_addTriggerActions.sqf
index d3632d5bb7..b6b6e0ce41 100644
--- a/addons/explosives/functions/fnc_addTriggerActions.sqf
+++ b/addons/explosives/functions/fnc_addTriggerActions.sqf
@@ -31,7 +31,7 @@ private _children = [];
if !(_x in _detonators) exitWith {
_hasRequiredItems = false;
};
- } count _required;
+ } forEach _required;
if (_hasRequiredItems && {(!_isAttached) || {(getNumber (_x >> "isAttachable")) == 1}}) then {
_children pushBack
[
diff --git a/addons/explosives/functions/fnc_getSpeedDialExplosive.sqf b/addons/explosives/functions/fnc_getSpeedDialExplosive.sqf
index 8490eab452..0f4e5d923f 100644
--- a/addons/explosives/functions/fnc_getSpeedDialExplosive.sqf
+++ b/addons/explosives/functions/fnc_getSpeedDialExplosive.sqf
@@ -24,7 +24,6 @@ private _explosive = [];
if ((_x select 1) == _code) exitWith {
_explosive = _x;
};
- false
-} count GVAR(CellphoneIEDs);
+} forEach GVAR(CellphoneIEDs);
_explosive
diff --git a/addons/explosives/stringtable.xml b/addons/explosives/stringtable.xml
index 8643742ab8..b21238e98e 100644
--- a/addons/explosives/stringtable.xml
+++ b/addons/explosives/stringtable.xml
@@ -75,6 +75,7 @@
Подрыв всех на активном детонаторе
選択した点火装置を全て起爆
활성화된 격발기의 모든 것을 폭파
+ Détoner tout sur le détonateur actif
Set Active Clacker
@@ -83,6 +84,7 @@
Установить активный детонатор
この点火装置を選択
격발기 활성 설정
+ Définir le détonateur actif
Cycle Active Clacker
@@ -91,6 +93,7 @@
Цикл активного детонатора
点火装置を切り替え
격발기 활성 전환
+ Modifier le détonateur actif
Active Clacker
@@ -99,6 +102,7 @@
Активный детонатор
選択中の点火装置
격발기 활성
+ Détonateur actif
Explosive code: %1
diff --git a/addons/fastroping/functions/fnc_cutRopes.sqf b/addons/fastroping/functions/fnc_cutRopes.sqf
index cbd01b5661..40d2416049 100644
--- a/addons/fastroping/functions/fnc_cutRopes.sqf
+++ b/addons/fastroping/functions/fnc_cutRopes.sqf
@@ -34,8 +34,8 @@ private _deployedRopes = _vehicle getVariable [QGVAR(deployedRopes), []];
//Only delete the hook first so the rope falls down.
//Note: ropeDetach was used here before, but the command seems a bit broken.
deleteVehicle _hook;
- [{{deleteVehicle _x} count _this}, [_ropeTop, _ropeBottom, _dummy], 60] call CBA_fnc_waitAndExecute;
-} count _deployedRopes;
+ [{{deleteVehicle _x} forEach _this}, [_ropeTop, _ropeBottom, _dummy], 60] call CBA_fnc_waitAndExecute;
+} forEach _deployedRopes;
_vehicle setVariable [QGVAR(deployedRopes), [], true];
diff --git a/addons/fastroping/functions/fnc_deployRopes.sqf b/addons/fastroping/functions/fnc_deployRopes.sqf
index 71cfbbbc21..eea81a7746 100644
--- a/addons/fastroping/functions/fnc_deployRopes.sqf
+++ b/addons/fastroping/functions/fnc_deployRopes.sqf
@@ -67,9 +67,7 @@ if (GVAR(requireRopeItems) && {_ropeClass != ""}) then {
//deployedRopes format: attachment point, top part of the rope, bottom part of the rope, attachTo helper object, occupied, broken
_deployedRopes pushBack [_ropeOrigin, _ropeTop, _ropeBottom, _dummy, _hook, false, false];
-
- false
-} count _ropeOrigins;
+} forEach _ropeOrigins;
_vehicle setVariable [QGVAR(deployedRopes), _deployedRopes, true];
_vehicle setVariable [QGVAR(deploymentStage), 3, true];
diff --git a/addons/fastroping/functions/fnc_moduleEquipFRIES.sqf b/addons/fastroping/functions/fnc_moduleEquipFRIES.sqf
index 970194ab63..892997bf80 100644
--- a/addons/fastroping/functions/fnc_moduleEquipFRIES.sqf
+++ b/addons/fastroping/functions/fnc_moduleEquipFRIES.sqf
@@ -22,5 +22,4 @@ private _synchedUnits = synchronizedObjects _module;
_x = vehicle _x;
};
[_x] call FUNC(equipFRIES);
- false
-} count _synchedUnits;
+} forEach _synchedUnits;
diff --git a/addons/fcs/functions/fnc_calculateSolution.sqf b/addons/fcs/functions/fnc_calculateSolution.sqf
index b89122f65d..b0cb2ea1c4 100644
--- a/addons/fcs/functions/fnc_calculateSolution.sqf
+++ b/addons/fcs/functions/fnc_calculateSolution.sqf
@@ -44,8 +44,7 @@ private _turretConfig = [configOf _vehicle, _turret] call EFUNC(common,getTurret
if (_x != "this") then {
_weaponMagazines append getArray (configFile >> "CfgWeapons" >> _weapon >> _x >> "magazines");
};
- false
- } count _muzzles;
+ } forEach _muzzles;
// Fix the `in` operator being case sensitive and BI fucking up the spelling of their own classnames
private _weaponMagazinesCheck = _weaponMagazines apply {toLowerANSI _x};
@@ -62,8 +61,7 @@ private _turretConfig = [configOf _vehicle, _turret] call EFUNC(common,getTurret
_initSpeed = _initSpeedCoef;
};
};
- false
- } count (_vehicle weaponsTurret _turret);
+ } forEach (_vehicle weaponsTurret _turret);
private _offset = "ace_fcs" callExtension format ["%1,%2,%3,%4", _initSpeed, _airFriction, _angleTarget, _distance];
_offset = parseNumber _offset;
@@ -72,8 +70,7 @@ private _turretConfig = [configOf _vehicle, _turret] call EFUNC(common,getTurret
_FCSMagazines pushBack _magazine;
_FCSElevation pushBack _offset;
};
- false
-} count (_vehicle magazinesTurret _turret);
+} forEach (_vehicle magazinesTurret _turret);
[_vehicle, format ["%1_%2", QGVAR(Distance), _turret], _distance] call EFUNC(common,setVariablePublic);
[_vehicle, format ["%1_%2", QGVAR(InitSpeed), _turret], _FCSInitSpeed] call EFUNC(common,setVariablePublic);
diff --git a/addons/field_rations/stringtable.xml b/addons/field_rations/stringtable.xml
index 78e1ebfe87..482f347598 100644
--- a/addons/field_rations/stringtable.xml
+++ b/addons/field_rations/stringtable.xml
@@ -31,6 +31,7 @@
ACE 전투식량 HUD
ACE HUD de Raciones de campo
ACE HUD de Rações de Campo
+ ACE Rations de terrain HUD
Indicates current hunger and thirst status.
@@ -78,6 +79,7 @@
먹기/마시기
Comer/Beber
Comer/Beber
+ Manger/Boire
Enable/Disable Field Rations
@@ -177,6 +179,7 @@
갈증 해소
Sed saciada
Sede saciada
+ Soif étanchée
Coefficient for the amount of thirst quenched from drinking.
@@ -191,6 +194,7 @@
마심으로써 갈증이 얼마나 해소되는지를 정합니다
Coeficiente del saciamiento de sed por beber.
Coeficiente para a quantidade de sede saciada por beber.
+ Coefficient déterminant la quantité de soif étanchée par la boisson.
Hunger Satiated
@@ -205,6 +209,7 @@
배부름
Hambre saciada
Fome saciada
+ Faim rassasiée
Coefficient for the amount of hunger satiated from eating.
@@ -219,6 +224,7 @@
밥을 먹어서 배고픔이 얼마나 해결되는지를 정합니다
Coeficiente del saciamiento del hambre por comer.
Coeficiente para a quantidade de fome saciada por comer.
+ Coefficient déterminant la quantité de faim satisfaite en mangeant.
Water Source Actions
@@ -232,6 +238,7 @@
물 근처 행동
Acciones para suministros de agua
Ações para suprimentos de água
+ Interactions sur les sources d'eau
Controls what actions are available on water sources.
@@ -245,6 +252,7 @@
물가에서 어떤 행동을 취할지 정합니다
Controla qué acciones están disponibles para los suministros de agua.
Controla quais ações estão disponíveis para os suprimentos de água.
+ Déterminer les stocks disponibles dans les sources d'eau.
Refill Only
@@ -258,6 +266,7 @@
다시 채우기만 가능
Sólo rellenar
Apenas reabastecer
+ Remplissage uniquement
Terrain Object Actions
@@ -271,6 +280,7 @@
지형 물체 상호작용
Acciones sobre objetos del terreno
Ações para objetos do terreno
+ Actions sur les objets du terrain
Enables water source actions for terrain objects.
@@ -284,6 +294,7 @@
지형 물체에서 물을 얻는 게 가능해집니다.
Habilitar acciones de suministros de agua para los objetos en el suelo.
Habilita ações para suprimentos de água para objetos do terreno.
+ Active les actions relatives aux sources d'eau pour les objets de terrain.
Affect Advanced Fatigue
@@ -298,6 +309,7 @@
고급 피로도에 영향을 끼침
Afecta a la Fatiga Avanzada
Afeta a Fadiga Avançada
+ Affectation Fatigue avancée
Controls if thirst and hunger should affect ACE Advanced Fatigue.
@@ -312,6 +324,7 @@
배고픔과 목마름이 고급 피로도에 영향을 끼칠지를 정합니다
Controla si la sed y el hambre afectan a la Fatiga Avanzada de ACE
Controla se a sede e a fome afetam a Fadiga Avançada do ACE.
+ Contrôle si la soif et la faim doivent affecter la fatigue avancée ACE.
HUD Type
@@ -326,6 +339,7 @@
HUD 종류
Tipo de HUD
Tipo de HUD
+ Type de HUD
Selects which HUD style will be used.
@@ -340,6 +354,7 @@
사용될 HUD 스타일을 고르십시오.
Selecciona qué estilo de HUD será utilizado.
Seleciona qual estilo de HUD será usado.
+ Sélectionne le style HUD à utiliser.
Colored Icons
@@ -354,6 +369,7 @@
색깔 아이콘
Iconos coloreados
Ícones coloridos
+ Icônes de couleur
Draining Icons
@@ -368,6 +384,7 @@
빠지는 아이콘
Iconos de drenado
Ícones de drenagem
+ Icônes incolores
HUD Show Level
@@ -382,6 +399,7 @@
HUD 표시
Mostrar nivel en HUD
Mostrar nível no HUD
+ Afficher le niveau dans le HUD
Automatically show the HUD when either thirst or hunger are above this level.
@@ -396,6 +414,7 @@
정한 퍼센트 이하로 내려가면 HUD가 나타나게 합니다.
Mostrar automáticamente el HUD cuando la sed o el hambre están por encima de este nivel.
Mostrar automaticamente o HUD quando a sede ou a fome estão acima deste nível.
+ Affiche automatiquement le HUD dès que la soif ou la faim sont au-dessus de ce niveau.
Always
@@ -427,6 +446,7 @@
색깔 아이콘 - 투명도
Iconos coloreados - Transparencia
Ícones coloridos - Transparência
+ Icônes de couleur - Transparence
Controls the transparency of the Colored Icons HUD. Dynamic setting makes the HUD less transparent as thirst or hunger increase.
@@ -441,6 +461,7 @@
색깔 아이콘의 투명도를 조절합니다. 동적 설정의 경우 배고픔이나 목마름이 해결되면 덜 투명하게 바뀝니다.
Controla la transparencia de los Iconos coloreados en el HUD. La opción dinámica muestra el HUD menos transparente cuando la sed o el hambre aumentan.
Controla a transparência dos ícones coloridos no HUD. A configuração dinâmica torna o HUD menos transparente à medida que a sede ou a fome aumentam.
+ Contrôle la transparence du HUD des icônes colorées. Un réglage dynamique rend le HUD moins transparent lorsque la soif ou la faim augmentent.
Dynamic
@@ -471,6 +492,7 @@
식수 보급량
Suministro de agua
Suprimentos de água
+ Réserve d'eau
The amount of water available for ACE Field Rations water source actions (-1 disabled, -10 infinite)
@@ -484,6 +506,7 @@
ACE 전투식량 물 근처 행동에서 얼마나 물을 얻어 갈 수 있는지를 정합니다 (-1은 비활성화, -10은 무한대)
La cantidad de agua disponible para las acciones de suministro de agua de las Raciones de Combate de ACE (-1 deshabilitado, -10 infinito)
A quantidade de água disponível para as ações de suprimentos de água das Rações de Campo do ACE (-1 desativado, -10 infinito)
+ Quantité d'eau disponible pour les actions relatives aux sources d'eau des rations de campagne ACE (-1 désactivé, -10 infini).
Water Source
@@ -498,6 +521,7 @@
수원지
Suministro de agua
Fonte de água
+ Source d'eau
Check Remaining Water
@@ -512,6 +536,7 @@
남은 물 확인
Comprobar agua restante
Verificar água restante
+ Vérifier l'eau restante
Checking remaining water...
@@ -526,6 +551,7 @@
남은 물 확인 중...
Comprobando agua restante...
Verificando água restante...
+ Vérification de l'eau restante...
There are %1 litres left.
@@ -540,6 +566,7 @@
%1 리터의 물이 남아있습니다.
Quedan %1 litros.
Ainda há %1 litros.
+ Il reste %1 litres.
There is no water left.
@@ -554,6 +581,7 @@
물이 한 방울도 없습니다.
No queda agua.
Não há mais água.
+ Il n'y a plus d'eau.
Drink From Source
@@ -567,6 +595,7 @@
수원에서 물 마시기
Beber desde el suministro
Beber da fonte
+ Boire à la source
Refill
@@ -632,6 +661,7 @@
%1 먹는 중...
Comiendo %1...
Comendo %1...
+ Manger %1...
Drinking %1...
@@ -646,6 +676,7 @@
%1 마시는 중...
Bebiendo %1...
Bebendo %1...
+ Boire %1...
Drinking from %1...
@@ -660,6 +691,7 @@
%1 으로 부터 마시는 중...
Bebiendo desde %1...
Bebendo de %1...
+ Boire à %1...
Drinking from source...
@@ -673,6 +705,7 @@
수원에서 마시는 중...
Bebiendo desde el suministro...
Bebendo da fonte...
+ Boire à la source...
Water Bottle
@@ -891,6 +924,7 @@
상쾌한 레몬라임향의 탄산음료
Bebida refrescante de sabor lima y limón
Bebida refrescante de sabor limão e lima
+ Une boisson gazeuse rafraîchissante au goût de citron et de citron vert.
Orange flavored soft drink with a tingly, fruity taste
@@ -905,6 +939,7 @@
오렌지 향의 톡쏘는 탄산음료
Bebida refrescante de sabor naranja, con un chispeante y afrutado sabor.
Bebida refrescante de sabor laranja, com um sabor frutado e formigante.
+ Une boisson gazeuse aromatisée à l'orange
Red Gull gives you wings
@@ -919,6 +954,7 @@
레드굴은 날개를 달아줘요
Red Gull te da alas
Red Gull te dá asas
+ Red Gull vous donne des ailes
MRE Lamb Curry
@@ -967,6 +1003,7 @@
MRE 비프스튜
MRE Estofado de ternera
MRE ensopado de carne
+ MRE Ragoût de bœuf
An MRE containing Beef Stew. Heat for best effect
@@ -981,6 +1018,7 @@
비프스튜가 들어있는 MRE입니다. 뜨겁게 먹을 때 가장 좋습니다
Un MRE que contiene estofado de ternera. Calentar para mejor efecto.
Um MRE contendo ensopado de carne. Aquecer para melhor efeito
+ Un MRE contenant du ragoût de bœuf. Chauffer pour un meilleur effet
MRE Cream Tomato Soup
@@ -1229,6 +1267,7 @@
Семечки подсолнуха
Pipas de girasol
Sementes de girassol
+ Graines de tournesol
Roasted And Salted
@@ -1241,6 +1280,7 @@
Поджаренные и солёные
Tostadas y saladas
Torradas e salgadas
+ Grillé et salé
diff --git a/addons/fieldmanual/stringtable.xml b/addons/fieldmanual/stringtable.xml
index 647a5bad43..18f45a1e7e 100644
--- a/addons/fieldmanual/stringtable.xml
+++ b/addons/fieldmanual/stringtable.xml
@@ -27,6 +27,7 @@
Hunger
空腹
Голод
+ Faim
%3Hunger%4 increases linearly with soldier's movement speed. Restore by eating food.<br/><br/>%3Usage:%4<br/>%2Pick up food.<br/>%2Use [%3%12%4] and select %3Survival%4.<br/>%2Choose an item to consume.
@@ -37,6 +38,7 @@
%3Fame%4 aumenta linearmente con la velocità di movimento del soldato. Si rigenera consumando cibo.<br/><br/>%3Usa:%4<br/>%2Raccogli cibo.<br/>%2Usa [%3%12%4] e scegli %3sopravvivenza%4.<br />%2Scegli un articolo da mangiare.
%3空腹度%4は兵士の移動速度に比例して増加します。食べ物を食べることで回復します。<br/><br/>%3使用方法:%4<br/>%2食べ物を持つ。<br/>%2[%3%12%4] を使って%3サバイバル%4を選択。<br/>%2食べたいものを選ぶ。
%3Голод%4 линейно увеличивается со скоростью передвижения солдата. Восстанавливайтесь, употребляя пищу.<br/><br/>%3 Использование:%4<br/>%2Возьмите еду.<br/>%2Используйте [%3%12%4] и выберите %3Выживание% 4.<br/>%2Выберите продукт для потребления.
+ %3La faim%4 augmente linéairement avec la vitesse de déplacement du soldat. Il se régénère en consommant de la nourriture.<br/><br/>%3Utilisation:%4<br/>%2Ramasser la nourriture.<br/>%2Utilisez [%3%12%4] et sélectionnez %3Survie%4.<br/>%2Choisissez un article à consommer.
Thirst
@@ -47,6 +49,7 @@
Durst
渇き
Жажда
+ Soif
%3Thirst%4 increases linearly with soldier's movement speed. Restore by drinking liquids.<br/><br/>%3Usage:%4<br/>%2Pick up a drink.<br/>%2Use [%3%12%4] and select %3Survival%4.<br/>%2Choose an item to consume.
@@ -57,6 +60,7 @@
%3Sete%4 aumenta linearmente con la velocità di movimento del soldato. Si rigenera bevendo liquidi.<br/><br/>%3Usa:%4<br/>%2Raccogli bevanda.<br/>%2Usa [%3%12%4] e scegli %3sopravvivenza%4.<br />%2Scegli un articolo da bere.
%3喉の渇き%4は兵士の移動速度に比例して増加します。飲み物を飲むことで回復します。<br/><br/>%3使用方法:%4<br/>%2飲み物を持つ。<br/>%2[%3%12%4] を使って%3サバイバル%4を選択。<br/>%2飲みたいものを選ぶ。
%3Жажда%4 линейно увеличивается со скоростью передвижения солдата. Восстанавливайтесь, употребляя напитки.<br/><br/>%3 Использование:%4<br/>%2Возьмите напиток.<br/>%2Используйте [%3%12%4] и выберите %3Выживание% 4.<br/>%2Выберите напиток для потребления.
+ %3La soif%4 augmente linéairement avec la vitesse de déplacement du soldat. Elle se régénère en buvant des liquides.<br/><br/>%3Utilisez [%3%12%4] et choisissez %3survival%4.<br />%2Choisissez un article à boire.
Medical Treatment
@@ -67,6 +71,7 @@
Cure Mediche
治療
Медицинское лечение
+ Traitement médical
Decrease Heart Rate
@@ -77,6 +82,7 @@
Rallenta ritmo cardiaco
心拍数を下げる
Уменьшить частоту сердечных сокращений
+ Diminution de la fréquence cardiaque
%3Adenosine%4 is used to decrease heart rate.<br/><br/>%3Usage:%4<br/>%2Use [%3%13%4] or [%3%14%4] and select an appendage.<br/>%2Inject %3Adenosine%4.
@@ -87,6 +93,7 @@
%3Adenosina%4 è usata per rallentare il ritmo cardiaco.<br/><br/>%3Utilizzo:%4<br/>%2Usa [%3%13%4] o [%3%14%4] e seleziona un arto.<br/>%2Inject %3Adenosina%4.
%3アデノシン%4は心拍数を下げるのに使われます。<br/><br/>%3使用方法:%4<br/>%2[%3%13%4] または [%3%14%4] を使って四肢を選択します。<br/>%2そして%3アデノシン%4を注射します。
%3Аденозин%4 используется для снижения частоты сердечных сокращений.<br/><br/>%3Применение:%4<br/>%2Используйте [%3%13%4] или [%3%14%4] и выберите конечность.<br/>%2Введите %3Аденозин%4.
+ L'%3adénosine%4 est utilisée pour réduire la fréquence cardiaque.<br/><br/>%3Utilisation:%4<br/>%2Utilisez [%3%13%4] ou [%3%14%4] et sélectionnez un membre.<br/>%2Injectez l'%3Adénosine%4.
Bandages
@@ -97,6 +104,7 @@
Bende
包帯
Бинты
+ Pansements
Close Wounds
@@ -107,6 +115,7 @@
Chiudi ferite
傷口をふさぐ
Закрыть раны
+ Fermer les plaies
%3Bandages%4 stop bleeding and close wounds. Depending on your settings, bandages may reopen if surgery is not performed.<br/><br/>%2%3Field Dressing:%4<br/>%11<t color='#D9D900'>Average</t> In All Categories<br/>%2%3Packing Bandage:%4<br/>%11<t color='#D9D900'>Average</t> Treatment<br/>%11<t color='#E60000'>Higher</t> Reopen Chance<br/>%11<t color='#00CC00'>Longer</t> Reopen Delay<br/>%2%3Elastic Bandage:%4<br/>%11<t color='#00CC00'>Higher</t> Treatment<br/>%11<t color='#E60000'>Higher</t> Reopen Chance<br/>%11<t color='#E60000'>Shorter</t> Reopen Delay<br/>%2%3Quickclot:%4<br/>%11<t color='#E60000'>Lower</t> Treatment<br/>%11<t color='#00CC00'>Lower</t> Reopen Chance<br/>%11<t color='#00CC00'>Longer</t> Reopening Delay<br/><br/>%3Usage:%4<br/>%2Use [%3%13%4] or [%3%14%4] and select a injured body part.<br/>%2Bandage body part by selecting desired %3Bandage%4 type.
@@ -125,6 +134,7 @@
IV-Flüssigkeiten
Fluidi EV
IV 輸液
+ IV Fluides
Restore Blood Volume
@@ -135,6 +145,7 @@
Ristorano Volume di Sangue
血液量を回復する
Внутривенные жидкости
+ Restaurer le volume sanguin
%3IV fluids%4 restore lost blood volume. Blood, Plasma, and Saline are functionally the same.<br/><br/>%3Usage:%4<br/>%2Use [%3%13%4] or [%3%14%4] and select an appendage.<br/>%2Restore blood volume by selecting desired %3IV Fluid%4 type.
@@ -154,6 +165,7 @@
Aumenta ritmo cardiaco | Accelera rinvenimento
心拍数を上げる | はやく起こす
Увеличьте частоту сердечных сокращений | просыпайтесь быстрее
+ Augmentation de la fréquence cardiaque - Réveil plus rapide
%3Epinephrine%4 increases a patient's pulse as well as potentially decreasing the time between consciousnesss checks (effectively reducing the time needed for the patient to wake up).<br/><br/>%3Usage%4<br/>%2Use [%3%13%4] or [%3%14%4] and select an appendage.<br/>%2Inject %3Epinephrine%4.
@@ -173,6 +185,7 @@
Cura completa
生まれたてのように回復する
Лечение тела
+ Remettre comme neuf
The %3Personal Aid Kit%4 is an item that allows a soldier to be fully healed. Independent of %3ACE Settings%4, it requires that the patient is in %3Stable Condition%4 before use.<br/><br/>%3Stable Condition%4 qualifies as:<br/>%2Unit is %3Alive%4.<br/>%2Unit is %3Conscious%4.<br/>%2Unit has no active %3Bleeding%4.<br/>%2Heart Rate >= 40.<br/>%2Systolic BP >= 60.<br/>%2Diastolic BP >= 50.<br/><br/>%3Usage:%4<br/>%2Move to appropriate location depending on %3ACE Settings%4.<br/>%2Use [%3%13%4] or [%3%14%4] and select %3Advanced Treatments%4<br/>%2Select %3Use Personal Aid Kit%4.
@@ -192,6 +205,7 @@
Risolvi frattura
骨折を治す
Исправлять переломы
+ Réparation des fractures
A %3Splint%4 is used to fix fractures. The %3Splint%4 is consumed when used.<br/><br/>%3Usage:%4<br/>%2Use [%3%13%4] or [%3%14%4] and select an affected appendage.<br/>%2Select %3Apply Splint%4.
@@ -210,6 +224,7 @@
Impedisce la riapertura di ferite
傷口が開くのを防ぐ
Предотвратить повторное открытие ран
+ Empêcher la réouverture des plaies
A %3Surgical Kit%4 is used to prevent wounds from reopening after being bandaged. Depending on settings, it can also clear trauma and may require additional %3Sutures%4 to close wounds. Sutures are consumable, much like bandages, and are not a replacement for the Surgical Kit.<br/><br/>%3Usage:%4<br/>%2Use [%3%13%4] or [%3%14%4] and select %3Advanced Treatment%4.<br/>%2Select %3Use Surgical Kit%4.
@@ -227,6 +242,7 @@
Ferma emorragia
出血を止める
Остановить кровотечение
+ Arrêter les saignements
A %3Tourniquet%4 stops bleeding temporarily so that a wound(s) can be bandaged. Can only be used on limbs.<br/><br/>%3Usage:%4<br/>%2Use [%3%13%4] or [%3%14%4] and select an affected appendage.<br/>%2Select %3Apply Tourniquet%4.
@@ -259,6 +275,7 @@
Cure, Semplificato
Tratamento, Simplificado
治療を簡略化する
+ Traitement, simplifié
The %3Horus ATragMX%4 considers atmospheric conditions, gun data, ammunition, range, speed, and muzzle velocity to calculate precise aiming solutions with %3Come-Up%4 results - and even accounts for %3Coriolis%4 and %3Spin Drift%4 effects. %3ATragMX%4, loaded on a handheld computer made by %3TDS Recon%4, is easy to use and lightning fast. The %3Recon%4 meets the rigorous %3MIL-STD-810F%4 military standard for drops, vibration, humidity, altitude and extreme temperatures.<br/><br/>%3Usage:%4<br/>Please visit the wiki page for more information.
@@ -291,6 +309,7 @@
Retorne os Abatidos
Recupera i tuoi morti
死者を連れ出す
+ Récupérez vos morts
%3Body Bags%4 are used to transport dead bodies. They can be dragged and loaded into vehicles.<br/><br/>%3Usage:%4<br/>%2Approach a dead body.<br/>%2Use [%3%13%4] or [%3%15%4] and select %3Place Body In Bodybag%4.
@@ -307,6 +326,7 @@
Faça Prisioneiros
Prendi prigionieri
捕虜の捕り方
+ Faire des prisonniers
%3Cable Ties%4 enable a soldier to capture and detain another soldier. Once apprehended, the captor gains the ability to inspect the prisoner's belongings, set them free, or accompany them to an alternate area. Transporting escorted prisoners is also possible, including loading them into vehicles if needed. Depending on your settings, units may need to surrender before being taken captive.<br/><br/>%3Usage:%4<br/>%2Approach the unit and use the [%3%13%4].<br/>%2The interaction is located around the hands in the form of a handcuffs icon.<br/>%2Repeat to release.
@@ -323,6 +343,7 @@
Celular Explosivo
Cellulare per esplosivi
電話でドカン
+ Explosifs téléphone portable
The %3Cellphone%4 is functionally a %3Clacker%4. Use it to connect and detonate an explosive device. Multiple devices can be linked to the cellphone and called within the phonebook.<br/><br/>%3Usage:%4<br/>%2Place an explosive.<br/>%2Use [%3%13%4], select %3Explosives%4, and select %3Cellphone%4.<br/>%2Open the cellphone interface with [%3%12%4].<br/>%2Navigate the phone book with the arrows and select your calling number.<br/>%2Call the number to detonate.
@@ -339,6 +360,7 @@
Luzes de Leitura Portáteis
Luci da Lettura Portabili
携帯読書灯
+ Lampes de lecture portables
%3Chemlight Shields%4 give you the ability to read your map, even in dark environments. However, when using %3Chemlight Shields%4, you will have a slight glow around you.<br/><br/>%3Usage:%4<br/>%2Use [%3%12%4] and select %3Equipment%4.<br/>%2elect %3Chemlights%4 and %3Prepare Chemlight Shield (Color)%4.<br/>%2Open %3Map%4.<br/>%2Use [%3%12%4] and select %3Flashlights%4 where you will find your chemlight shield.
@@ -355,6 +377,7 @@
Detonação Remota
Detonazione da remoto
リモコン爆弾
+ Détonation à distance
Use %3Clackers%4 to connect and detonate an explosive device. Multiple devices can be linked to a clacker and detonated on different channels.<br/><br/>%3Usage:%4<br/>%2Place an explosive.<br/>%2Use [%3%13%4], select %3Explosives%4, and select the %3Clacker%4 you wish to link to.<br/>%2Open the ACE interface with [%3%12%4].<br/>%2Select %3Explosives%4 and select a %3Clacker%4.<br/>%2Select the %3Explosive%4 you wish to detonate.
@@ -370,6 +393,7 @@
Naviga
測位
Навигация
+ Naviguer
The %3DAGR%4 is a simpler version of the %3MicroDAGR GPS%4. It has similar features but lacks the topographic and satellite imaging functions of the %3MicroDAGR GPS%4.<br/><br/>%3Usage:%4<br/>%2Equip a %3DAGR%4.<br/>%2Use [%3%12%4] and select %3Configure%4 or %3Toggle%4.<br/><br/>The following menus are available when configuring your %3DAGR:%4<br/>%11%2Data View: WIP<br/>%11%2GoTo WP: Select a waypoint to track.<br/>%11%2WP List: Add/Edit/Remove waypoints.<br/>%11%2Connect To: Connect %3DAGR%4 to the %3Vector 21 Rangefinder%4.<br/>%11%2Options
@@ -385,6 +409,7 @@
Vendetta Esplosiva
爆発的な復讐
Взрывная месть
+ Homme mort
The %3Dead Man's Switch%4 is a device that allows a soldier to detonate an %3Explosive%4 when the soldier dies.<br/><br/>%3Usage:%4<br/>%2Use [%3%12%4] and select %3Explosives%4.<br/>%2Select %3Dead Man's Switch%4 and connect the desired %3Explosive%4.<br/>%2Repeat the process and disconnect to reverse.
@@ -407,6 +432,7 @@
Disinnesca Esplosivi
爆発物の解除
Обезвреживание взрывчатки
+ Désamorcer les explosifs
Protect Your Hearing
@@ -415,6 +441,7 @@
Proteggi il tuo Udito
聴覚の保護
Защитите свой слух
+ Protéger votre audition
%3Ear Plugs%4 help prevent hearing damage from repeat loud noises near a soldier. Insert %3Ear Plugs%4 to lower volume of a soldier's environment and prevent %3Combat Deafness%4.<br/><br/>%3Usage:%4<br/>%2Use [%3%12%4] and select %3Equipment%4.<br/>%2Insert %3Ear Plugs%4.
@@ -430,6 +457,7 @@
Mettiti in Copertura
遮蔽を造り出す
Добраться до укрытия
+ Se mettre à couvert
The %3Entrenching Tool%4 allows soldiers to dig trenches to help defend their position. The soldier must be on soil in order to dig a trench.<br/><br/>%3Usage:%4<br/>%2Equip an %3Entrenching Tool%4.<br/>%2Use [%3%12%4] and select %3Equipment%4.<br/>%2Select the type of trench you wish to build.
@@ -445,6 +473,7 @@
손전등
フラッシュライト
Фонари
+ Lampes de poche
Illuminate Your Map
@@ -453,6 +482,7 @@
지도를 밝혀줍니다
地図に光あれ
Осветите свою карту
+ Éclairer votre carte
%3Flashlights%4 give you the ability to read your map, even in dark environments. However, when using %3Flashlights%4, you will have a slight glow around you.<br/><br/>%3Usage:%4<br/>%2On the map screen, use [%3%12%4] and select %3Flashlights%4.<br/>%2Select the %3Flashlight%4 you want to use and select %3On%4.<br/><br/>%3Available Flashlight Items%4:<br/>%2 Fulton MX-991<br/>%2 KSF-1<br/>%2 Maglite XL50<br/><br/>%3NOTE:%4<br/>Flashlight states are persistent.
@@ -468,6 +498,7 @@
하늘에서 관측합니다
空から戦場を見てみよう
Наблюдайте с Небес
+ Observer depuis le ciel
The %3High-Altitude Unit Navigated Tactical Imaging Round (HuntIR)%4 is designed to be fired from a grenade launcher. After being fired in the air, the built-in parachute will be deployed and the IR CMOS camera will activate, providing a video stream until it touches the ground or is shot down.<br/><br/>%3Usage:%4<br/>%2Equip a %3HuntIR Monitor%4 and compatible ammunition.<br/>%2Fire the %3HuntIR Round%4 as high as possible over the area you want to observe.<br/>%2Open the %3HuntIR Monitor%4.<br/>%2Use [%3%12%4], select %3Equipment%4.<br/>%2Select %3Activate HuntIR Monitor%4.
@@ -483,6 +514,7 @@
은신하여 팀을 찾아냅니다
自分の部隊を追う
Следите за своей командой незаметно
+ Suivez votre équipe en toute discrétion
The %3IR Strobe%4 is a throwable that emits an IR light pulse intermittently. The %3IR Strobe%4 can also be attached to a soldier, making it useful for tracking teammates under night vision devices.<br/><br/>%3Usage:%4<br/>%2Use [%3%12%4] and select %3Equipment%4.<br/>%2Select %3Attach%4 and select the %3IR Strobe%4.
@@ -498,6 +530,7 @@
휴대용 기상 관측 장비입니다
携帯気象予報所
Карманная метеостанция
+ Station météo de poche
The %3Kestrel 4500 Pocket Weather Tracker%4 is a mini weather station useful for collecting the the following weather data:<br/>%2Heading and wind direction<br/>%2Crosswind and headwind<br/>%2Altitude and barometric pressure<br/>%2Wet bulb temperature<br/>%2Humidity and dewpoint<br/>%2Density altitude<br/>%2Wind chill and temperature<br/>%2Time and date<br/>%2Minimum, maximum, and average values<br/><br/>%3Usage:%4<br/>%2Equip a %3Kestrel%4.<br/>%2Use [%3%12%4] and select %3Equipment%4.<br/>%2Select %3Open%4.
@@ -513,6 +546,7 @@
위치를 삼각측량합니다
三角測量で位置を特定
Передавайте свое местоположение
+ Trianguler votre position
The %3Map Tools%4 are a set of tools that allows a soldier to measure distances and angles. Useful for land, and calculating firing solutions for artillery.<br/><br/>%3Usage:%4<br/>%2Open %3Map%4.<br/>%2Use [%3%12%4] and select %3Map Tools%4.<br/>%2 The Tool can be moved by dragging with [%3Left-Click%4] while holding [%3ALT%4].
@@ -520,6 +554,7 @@
Gli %3Strumenti Cartografici%4 permettono al soldato di misurare distanze e angoli sulla mappa. Utile a terra e per calculare direzioni di tiro per artiglieria.<br/><br/>%3Utilizzo:%4<br/>%2Apri %3Mappa%4.<br/>%2Usa [%3%12%4] e seleziona %3Strumenti Cartografici%4.<br/>%2 Lo strumento può essere spostato trascinandolo con [%3Click-Sinistro%4] premendo [%3ALT%4].
%3독도용 도구%4는 병사가 거리와 각도를 측정할 수 있는 도구 세트입니다. 지상에서 유용하며 포병 사격 솔루션 계산에 유용합니다,<br/><br/>%3사용 방법:%4<br/>%2%3지도%4를 여십시오.<br/>%2[%3%12%4]를 사용하여 %3독도용 도구%4를 선택하십시오.<br/>%2도구는 [%3Alt 키%4]를 누른 상태에서 [%3마우스 왼쪽 클릭%4]으로 드래그하여 이동할 수 있습니다.
%3マップ ツール%4は、兵士が距離と角度を測定できるようにするツールのセットです。陸上や大砲の射撃工程の計算を解くのに役立ちます。<br/><br/>%3使用方法:%4<br/>%2%3マップ%4を開きます。<br/>%2[%3%12%4] を使って%3マップ ツール%4を選択します。<br/>%2 [%3ALT%4] を押しながら [%3左クリック%4] でドラッグするとツールを移動できます。
+ Les %3Outils cartographiques%4 sont un ensemble d'outils permettant au soldat de mesurer des distances et des angles. Utile pour la terre et le calcul des solutions de tir pour l'artillerie.<br/><br/>%3Utilisation:%4<br/>%2Ouvrir la%3Carte%4.<br/>%2Utiliser [%3%12%4] et sélectionner %3Outils cartographiques%4.<br/>%2 L'outil peut être déplacé en le faisant glisser avec [%3Clic gauche%4] tout en maintenant [%3ALT%4].
Advanced DAGR
@@ -528,6 +563,7 @@
고급형 DAGR입니다
より高度なDAGR
Продвинутый DAGR
+ DAGR avancé
The %3MicroDAGR GPS%4 is an advanced version of the %3DAGR%4. It provides position, navigation, and timing (PNT) data to include:<br/>%2Compass and heading<br/>%2Date and hour synced to the mission<br/>%2Elevation (relative to sea level)<br/>%2Current speed<br/>%2GPS with topographic and satellite view<br/>%2Creating, naming, and deleting waypoints<br/>%2Friendly identification (Requires ACE BLUFOR Tracker Setting)<br/>Connection to the Vector-21 Rangefinder for data import (waypoint creation and grid reference of ranged targets)<br/><br/>%3Usage:%4<br/>%2For usage instructions, please visit the dedicated %3MicroDAGR%4 wiki.
@@ -543,6 +579,7 @@
사거리표
射表
Таблицы диапазонов
+ Tables de tir
Get A Firing Solution
@@ -551,6 +588,7 @@
사격 솔루션을 제공합니다
撃ち方の解を得る
Получите расчёт
+ Obtenir une solution de tir
%3Range Tables%4 allow for a soldier to estimate accurate shot placement on direct or indirect targets (depending on asset). The %3Range Table%4 will automatically fill depending on the soldiers selected weapon/vehicle.<br/><br/>%3Usage:%4<br/>%2Use [%3%12%4] and select %3Equipment%4.<br/>%2Select the desired %3Range Table%4.
@@ -566,6 +604,7 @@
로프
ロープ
Канаты
+ Corde
Tow With Ease
@@ -574,6 +613,7 @@
쉽게 견인을 할 수 있습니다
楽々けん引
Буксируйте с легкостью
+ Remorquer avec facilité
%3Ropes%4 have multiple uses including %3Towing%4 vehicles and %3Fast Roping%4 from helicopters.<br/><br/>%3Towing:%4<br/>%2Approach a vehicle.<br/>%2Use [%3%13%4] and select %3Towing%4.<br/>%2Select rope length.<br/>%2Select attachment point on towing vehicle.<br/>%2Select attachment on towed vehicle.<br/><br/>%3Available Rope Lengths:%4<br/>%2 3.2 meters<br/>%2 6.2 meters<br/>%2 12.2 meters<br/>%2 15.2 meters<br/>%2 18.3 meters<br/>%2 27.4 meters<br/>%2 36.6 meters
@@ -589,6 +629,7 @@
당신의 요새를 확장합니다
要塞を拡張する
Расширить свои укрепления
+ Élargissez vos fortifications
%3Sandbags%4 are sacks made of sturdy material, filled with sand, used for a variety of purposes such as creating barriers or providing stability in construction projects. Useful in expanding larger placed fortifications.<br/><br/>%3Usage:%4<br/>%2Equip a %3Sandbag (Empty)%4.<br/>%2Use [%3%12%4] and select %3Deploy Sandbag%4.<br/>%2Follow on-screen instructions for placement.
@@ -604,6 +645,7 @@
총기의 온도를 낮춥니다
銃の熱を冷ます
Понизьте температуру оружия
+ Refroidir l'arme
%3Spare Barrels%4 allow a soldier to reduce their weapon's heat significantly. After a short delay, the weapon's barrel will be swapped and its heat reduced. A soldier may also check the temperature of any barrels within their inventory. Not all weapons support swapping barrels.<br/><br/>%3Usage:%4<br/>%2Use [%3%12%4] and select %3Equipment%4.<br/>%2Select %3Swap Barrel%4.<br/>%2Resume operation after barrel swap is complete.
@@ -619,6 +661,7 @@
스프레이 페인트
ペイントスプレー
Аэрозольная краска
+ Bombe de peinture
Tag Your Territory
@@ -627,6 +670,7 @@
당신의 영역을 지정합니다
自分のテリトリーをマーキング
Пометьте свою территорию
+ Marquez votre territoire
%3Spray Paint%4 is used to tag surfaces with various symbols.<br/><br/>%3Usage:%4<br/>%2Move close to a surface (wall, vehicle, ground, etc).<br/>%2Use [%3%12%4] and select %3Tag%4.<br/>%2Choose a symbol.<br/><br/>%3Available Colors:%4<br/>%2Black<br/>%2Blue<br/>%2Green<br/>%2Red
@@ -642,6 +686,7 @@
어느 곳에나 지지대를 배치할 수 있습니다
どこでも支持器
Опора может быть установлена в любом месте
+ Stabilisé partout
The %3SSWT Kit%4 is a deployable tripod that allows a soldier to brace their aim when deployed. Use it when you need an elevated shooting position and there are no other objects around.<br/><br/>%3Usage:%4<br/>%2Use [%3%12%4] and select %3Equipment%4.<br/>%2Select %3SSWT Kit%4 and follow the on screen prompts to place.
@@ -657,6 +702,8 @@
하늘에서 계속 내려다봅니다
空の目を維持する
Не Отрывай Глаз От Неба
+ Gardez les yeux au ciel
+ Gardez les yeux au ciel
%3UAV Batteries%4 are used to recharge a UAV's energy storage. Especially useful for small UAVs.<br/><br/>%3Usage:%4<br/>%2Equip a %3UAV Battery%4<br/>%2Approach a %3UAV%4 with its %3Engine Off%4.<br/>%2Use [%3%13%4] and select %3Recharge%4.
@@ -672,6 +719,7 @@
진입로를 만듭니다
堂々入場する
Создание собственного входа
+ Faire son entrée
%3Wirecutters%4 are a tool that allows a soldier to bypass wired fencing. Useful for creating backdoor entrances into secure areas.<br/><br/>%3Usage:%4<br/>%2Move close to a fence.<br/>%2Use [%3%12%4] and select %3Cut Fence%4.
@@ -703,6 +751,15 @@
ACE3
ACE 3
ACE3
+ ACE3
+ ACE3
+ ACE3
+ ACE3
+ ACE3
+ ACE3
+ ACE3
+ ACE3
+ ACE3
Build Fortifications
@@ -711,6 +768,7 @@
요새를 건설합니다
要塞を構築する
Стройте укрепления
+ Construire des fortifications
The %3Fortify Tool%4 allows soldiers to build fortifications provided by their mission creator.<br/><br/>%3Usage:%4<br/>%2Pick up a %3Fortify Tool%4.<br/>%2Use [%3%12%4] and select %3Fortify%4.<br/>%2Select an available fortification and follow the on screen prompts for placement.
@@ -726,6 +784,7 @@
침입용 도구입니다
破壊して乗り込む
Взлом и проникновение
+ Entrée par effraction
%3Lockpicks%4 are used to gain access to locked vehicles.<br/><br/>%3Usage:%4<br/>%2Equip a %3Lockpick%4.<br/>%2Approach a %3Locked%4 vehicle.<br/>Use [%3%13%4] and select %3Lockpick Vehicle%4.<br/><br/><t underline='1'>%3Note:%4</t> Lockpicks and keys are only available via scripting or ACE Vehicle Key modules.
@@ -741,6 +800,7 @@
차량 열쇠
車両キー
Взлом и проникновение
+ Clés de véhicule
Lock/Unlock Vehicles
@@ -749,6 +809,7 @@
차량을 잠그거나 해제합니다
車両のロック/ロック解除
Взлом и проникновение
+ Verrouiller/déverrouiller un véhicule
%3Vehicle Keys%4 are used to lock/unlock your vehicles. Vehicle keys can exist for the whole side, or keys can be created for a particular vehicle itself.<br/><br/>%3Usage:%4<br/>%2Equip a %3Vehicle Key%4.<br/>%2Approach the vehicle that the key belongs to.<br/>Use [%3%13%4] and select %3Lock/Unlock Vehicle%4.<br/><br/><t underline='1'>%3Note:%4</t> Lockpicks and keys are only available via scripting or ACE Vehicle Key modules.
diff --git a/addons/finger/functions/fnc_keyPress.sqf b/addons/finger/functions/fnc_keyPress.sqf
index 59405b57a5..2445986d15 100644
--- a/addons/finger/functions/fnc_keyPress.sqf
+++ b/addons/finger/functions/fnc_keyPress.sqf
@@ -42,7 +42,7 @@ private _sendFingerToPlayers = [];
private _nearbyMen = (ACE_player nearObjects ["CAManBase", (GVAR(maxRange) + 2)]);
{
_nearbyMen append (crew _x);
-} count (ACE_player nearObjects ["StaticWeapon", (GVAR(maxRange) + 2)]);
+} forEach (ACE_player nearObjects ["StaticWeapon", (GVAR(maxRange) + 2)]);
{
if ((((eyePos _x) vectorDistance _playerEyePosASL) < GVAR(maxRange)) &&
{alive _x} &&
@@ -53,8 +53,7 @@ private _nearbyMen = (ACE_player nearObjects ["CAManBase", (GVAR(maxRange) + 2)]
_sendFingerToPlayers pushBack _x;
};
- true
-} count _nearbyMen;
+} forEach _nearbyMen;
TRACE_1("sending finger to",_sendFingerToPlayers);
diff --git a/addons/gestures/XEH_postInit.sqf b/addons/gestures/XEH_postInit.sqf
index 935b81aa61..5133f48c41 100644
--- a/addons/gestures/XEH_postInit.sqf
+++ b/addons/gestures/XEH_postInit.sqf
@@ -31,9 +31,7 @@ if (!hasInterface) exitWith {};
[_key, [false, (_key != -1), false]],
false
] call CBA_fnc_addKeybind;
-
- false
-} count [
+} forEach [
["Freeze", 80], // Numpad 2
["Cover", 81], // Numpad 3
["Forward", 75], // Numpad 4
diff --git a/addons/goggles/functions/fnc_isInRotorWash.sqf b/addons/goggles/functions/fnc_isInRotorWash.sqf
index 8c3b29723d..6784e9db12 100644
--- a/addons/goggles/functions/fnc_isInRotorWash.sqf
+++ b/addons/goggles/functions/fnc_isInRotorWash.sqf
@@ -36,7 +36,6 @@ private _rotorWash = [false, 0];
_rotorWash set [1, _distance];
};
};
- false
-} count (position _unit nearEntities [["Helicopter"], _radius]);
+} forEach (position _unit nearEntities [["Helicopter"], _radius]);
_rotorWash
diff --git a/addons/grenades/functions/fnc_flashbangExplosionEH.sqf b/addons/grenades/functions/fnc_flashbangExplosionEH.sqf
index e39a7730ce..6a7b683e6b 100644
--- a/addons/grenades/functions/fnc_flashbangExplosionEH.sqf
+++ b/addons/grenades/functions/fnc_flashbangExplosionEH.sqf
@@ -85,7 +85,7 @@ _affected = _affected - [ACE_player];
}, [_unit]] call CBA_fnc_waitUntilAndExecute;
};
};
-} count _affected;
+} forEach _affected;
// Affect local player, independently of distance
if (hasInterface && {!isNull ACE_player} && {alive ACE_player}) then {
diff --git a/addons/headless/XEH_postInit.sqf b/addons/headless/XEH_postInit.sqf
index 63c7fd5038..d1c76a332b 100644
--- a/addons/headless/XEH_postInit.sqf
+++ b/addons/headless/XEH_postInit.sqf
@@ -1,12 +1,12 @@
#include "script_component.hpp"
-["ace_settingsInitialized", {
+["CBA_settingsInitialized", {
// Register and remove HCs if not client that is not server and distribution or end mission enabled
if ((!hasInterface || isServer) && {XGVAR(enabled) || XGVAR(endMission) != 0}) then {
if (isServer) then {
// Request rebalance on any unit spawn (only if distribution enabled)
if (XGVAR(enabled)) then {
- ["AllVehicles", "initPost", LINKFUNC(handleSpawn), nil, nil, true] call CBA_fnc_addClassEventHandler;
+ ["CAManBase", "initPost", LINKFUNC(handleSpawn), nil, nil, true] call CBA_fnc_addClassEventHandler;
};
// Add disconnect EH
addMissionEventHandler ["HandleDisconnect", {call FUNC(handleDisconnect)}];
diff --git a/addons/headless/XEH_preInit.sqf b/addons/headless/XEH_preInit.sqf
index d3b2c8ff5c..c51b62cf57 100644
--- a/addons/headless/XEH_preInit.sqf
+++ b/addons/headless/XEH_preInit.sqf
@@ -12,7 +12,6 @@ if (isServer) then {
GVAR(headlessClients) = [];
GVAR(inRebalance) = false;
GVAR(endMissionCheckDelayed) = false;
- GVAR(blacklistType) = [BLACKLIST_UAV];
[QXGVAR(headlessClientJoined), LINKFUNC(handleConnectHC)] call CBA_fnc_addEventHandler;
};
diff --git a/addons/headless/functions/fnc_handleConnectHC.sqf b/addons/headless/functions/fnc_handleConnectHC.sqf
index b19ef25012..e5acaf48fc 100644
--- a/addons/headless/functions/fnc_handleConnectHC.sqf
+++ b/addons/headless/functions/fnc_handleConnectHC.sqf
@@ -19,17 +19,14 @@ params ["_headlessClient"];
// Exit if HC already registered
// No need to check if distribution or end mission enabled, as if disabled this will never run
-if (_headlessClient in GVAR(headlessClients)) exitWith {};
-
-// Register for use
-GVAR(headlessClients) pushBack _headlessClient;
+if (GVAR(headlessClients) pushBackUnique _headlessClient == -1) exitWith {};
if (XGVAR(log)) then {
INFO_1("Registered HC: %1",_headlessClient);
};
// Exit if AI distribution is disabled
-if (!XGVAR(enabled)) exitWith {true};
+if (!XGVAR(enabled)) exitWith {};
// Rebalance
[true] call FUNC(rebalance);
diff --git a/addons/headless/functions/fnc_handleDisconnect.sqf b/addons/headless/functions/fnc_handleDisconnect.sqf
index c94cec2599..a18f22a3bd 100644
--- a/addons/headless/functions/fnc_handleDisconnect.sqf
+++ b/addons/headless/functions/fnc_handleDisconnect.sqf
@@ -17,7 +17,7 @@
*/
params ["_object"];
-TRACE_1("HandleDisconnect",_this);
+TRACE_1("HandleDisconnect",_object);
// Exit if not HC
if !(_object in GVAR(headlessClients)) exitWith {
@@ -28,9 +28,7 @@ if !(_object in GVAR(headlessClients)) exitWith {
if (CBA_missionTime < 150) then {
TRACE_1("Mission start delay",CBA_missionTime);
GVAR(endMissionCheckDelayed) = true;
- [{
- call FUNC(endMissionNoPlayers);
- }, [], 150 - CBA_missionTime] call CBA_fnc_waitAndExecute;
+ [LINKFUNC(endMissionNoPlayers), [], 150 - CBA_missionTime] call CBA_fnc_waitAndExecute;
} else {
// End instantly or after delay
if (XGVAR(endMission) == 1) then {
@@ -39,7 +37,7 @@ if !(_object in GVAR(headlessClients)) exitWith {
} else {
TRACE_2("Delayed 60s end",GVAR(endMission),CBA_missionTime);
GVAR(endMissionCheckDelayed) = true;
- [FUNC(endMissionNoPlayers), [], 60] call CBA_fnc_waitAndExecute;
+ [LINKFUNC(endMissionNoPlayers), [], 60] call CBA_fnc_waitAndExecute;
};
};
};
diff --git a/addons/headless/functions/fnc_handleSpawn.sqf b/addons/headless/functions/fnc_handleSpawn.sqf
index 50277e3845..56b74f407d 100644
--- a/addons/headless/functions/fnc_handleSpawn.sqf
+++ b/addons/headless/functions/fnc_handleSpawn.sqf
@@ -4,27 +4,22 @@
* Handles AI spawn and requests a rebalance if applicable.
*
* Arguments:
- * 0: Object
diff --git a/addons/huntir/functions/fnc_cam.sqf b/addons/huntir/functions/fnc_cam.sqf
index c306595fc7..411dbfe30e 100644
--- a/addons/huntir/functions/fnc_cam.sqf
+++ b/addons/huntir/functions/fnc_cam.sqf
@@ -77,8 +77,7 @@ GVAR(no_cams) sort true;
if (((getPosVisual _x) select 2) > 20 && {!(_x in GVAR(no_cams))} && {_x getHitPointDamage "HitCamera" < 0.25}) then {
GVAR(no_cams) pushBack _x;
};
- true
- } count GVAR(nearHuntIRs);
+ } forEach GVAR(nearHuntIRs);
{
if (((getPosVisual _x) select 2) <= 20 || {!(_x in GVAR(nearHuntIRs))} || {_x getHitPointDamage "HitCamera" >= 0.25}) then {
GVAR(no_cams) deleteAt _forEachIndex;
diff --git a/addons/interact_menu/functions/fnc_collectActiveActionTree.sqf b/addons/interact_menu/functions/fnc_collectActiveActionTree.sqf
index 82235493e6..ebb02caa11 100644
--- a/addons/interact_menu/functions/fnc_collectActiveActionTree.sqf
+++ b/addons/interact_menu/functions/fnc_collectActiveActionTree.sqf
@@ -43,12 +43,21 @@ _origActionData params [
"_distance"
];
+private _result = [_target, ACE_player, _customParams] call _conditionCode;
+
+// Handle nil as false
+if (isNil "_result") then {
+ ERROR_1("Action [%1] bad condition return",_actionName);
+
+ _result = false;
+};
+
// Return nothing if the action itself is not active
-if !([_target, ACE_player, _customParams] call _conditionCode) exitWith {
+if (!_result) exitWith {
[]
};
-// Return nothing if the action is to far (including checking sub actions) [DISABLED FOR NOW ref #2196]
+// Return nothing if the action is too far (including checking sub actions) [DISABLED FOR NOW ref #2196]
// if (_distanceToBasePoint > _distance) exitWith {
// []
// };
@@ -64,21 +73,19 @@ if (_insertChildrenCode isNotEqualTo {}) then {
// Collect dynamic children class actions
{
private _action = [_x select 2, _x, _fullPath, _distanceToBasePoint] call FUNC(collectActiveActionTree);
- if ((count _action) > 0) then {
+ if (_action isNotEqualTo []) then {
_activeChildren pushBack _action;
};
- nil
- } count _dynamicChildren;
+ } forEach _dynamicChildren;
};
// Collect children class actions
{
private _action = [_object, _x, _fullPath, _distanceToBasePoint] call FUNC(collectActiveActionTree);
- if ((count _action) > 0) then {
+ if (_action isNotEqualTo []) then {
_activeChildren pushBack _action;
};
- nil
-} count _origActionChildren;
+} forEach _origActionChildren;
// Collect children object actions
{
@@ -87,12 +94,11 @@ if (_insertChildrenCode isNotEqualTo {}) then {
// Check if the action is children of the original action
if (_pPath isEqualTo _fullPath) then {
private _action = [_object, [_actionData,[]], _fullPath, _distanceToBasePoint] call FUNC(collectActiveActionTree);
- if ((count _action) > 0) then {
+ if (_action isNotEqualTo []) then {
_activeChildren pushBack _action;
};
};
- nil
-} count GVAR(objectActionList);
+} forEach GVAR(objectActionList);
// If the original action has no statement, and no children, don't display it
diff --git a/addons/interact_menu/functions/fnc_compileMenu.sqf b/addons/interact_menu/functions/fnc_compileMenu.sqf
index 5290d8f284..75d759465c 100644
--- a/addons/interact_menu/functions/fnc_compileMenu.sqf
+++ b/addons/interact_menu/functions/fnc_compileMenu.sqf
@@ -114,8 +114,7 @@ private _recurseFnc = {
];
_actions pushBack _entry;
};
- nil
- } count (configProperties [_actionsCfg, "isClass _x", true]);
+ } forEach (configProperties [_actionsCfg, "isClass _x", true]);
_actions
};
diff --git a/addons/interact_menu/functions/fnc_compileMenuSelfAction.sqf b/addons/interact_menu/functions/fnc_compileMenuSelfAction.sqf
index 75fdb93819..ed3a02dd14 100644
--- a/addons/interact_menu/functions/fnc_compileMenuSelfAction.sqf
+++ b/addons/interact_menu/functions/fnc_compileMenuSelfAction.sqf
@@ -84,8 +84,7 @@ private _recurseFnc = {
];
_actions pushBack _entry;
};
- nil
- } count (configProperties [_actionsCfg, "isClass _x", true]);
+ } forEach (configProperties [_actionsCfg, "isClass _x", true]);
_actions
};
diff --git a/addons/interaction/functions/fnc_addPassengerActions.sqf b/addons/interaction/functions/fnc_addPassengerActions.sqf
index 112919ee80..a3d8c2eff0 100644
--- a/addons/interaction/functions/fnc_addPassengerActions.sqf
+++ b/addons/interaction/functions/fnc_addPassengerActions.sqf
@@ -33,7 +33,6 @@ private _actions = [];
_x params ["_actionData", "_children"];
_actions pushBack [_actionData, _children, _unit];
- false
-} count (_actionTrees select 0 select 1);
+} forEach (_actionTrees select 0 select 1);
_actions
diff --git a/addons/interaction/functions/fnc_getDown.sqf b/addons/interaction/functions/fnc_getDown.sqf
index b8f6d7c50d..531cd23c54 100644
--- a/addons/interaction/functions/fnc_getDown.sqf
+++ b/addons/interaction/functions/fnc_getDown.sqf
@@ -22,11 +22,10 @@ params ["_unit", "_target"];
[_unit, "GestureGo"] call EFUNC(common,doGesture);
-private _chance = [0.5, 0.8] select (count weapons _unit > 0);
+private _chance = [0.5, 0.8] select (weapons _unit isNotEqualTo []);
{
- if (count weapons _x == 0 && {random 1 < _chance}) then {
+ if (weapons _x isEqualTo [] && {random 1 < _chance}) then {
[QGVAR(getDown), [_x], [_x]] call CBA_fnc_targetEvent;
};
- false
-} count (_target nearEntities ["Civilian", SEND_RADIUS]);
+} forEach (_target nearEntities ["Civilian", SEND_RADIUS]);
diff --git a/addons/interaction/functions/fnc_openDoor.sqf b/addons/interaction/functions/fnc_openDoor.sqf
index 540712ef41..11b9c67c91 100644
--- a/addons/interaction/functions/fnc_openDoor.sqf
+++ b/addons/interaction/functions/fnc_openDoor.sqf
@@ -35,12 +35,12 @@ if (_animations isEqualTo []) exitWith {};
private _lockedVariable = format ["bis_disabled_%1", _door];
private _lockedVariableAlt = _lockedVariable; // GM Buildings may have door names like door_01 but locking expects door_1
-if ((count _door == 7) && {(_door select [0, 6]) == "door_0"}) then {
+if ((count _door == 7) && {(_door select [0, 6]) == "door_0"}) then {
_lockedVariableAlt = format ["bis_disabled_door_%1", _door select [6, 1]]; // stip off the leading zero then check both vars
};
// Check if the door can be locked aka have locked variable, otherwhise cant lock it
-if ((_house animationPhase (_animations select 0) <= 0) &&
+if ((_house animationPhase (_animations select 0) <= 0) &&
{(_house getVariable [_lockedVariable, 0] == 1) || {_house getVariable [_lockedVariableAlt, 0] == 1}}) exitWith {
private _lockedAnimation = format ["%1_locked_source", _door];
TRACE_3("locked",_house,_lockedAnimation,isClass (configOf _house >> "AnimationSources" >> _lockedAnimation));
@@ -63,8 +63,11 @@ GVAR(doorTargetPhase) = _house animationPhase (_animations select 0);
GVAR(isOpeningDoor) = true;
GVAR(usedScrollWheel) = false;
+// Raise local started opening event
+[QGVAR(doorOpeningStarted), [_house, _door, _animations]] call CBA_fnc_localEvent;
+
[{
- (_this select 0) params ["_house", "_animations", "_position", "_time", "_frame"];
+ (_this select 0) params ["_house", "_animations", "_position", "_time", "_frame", "_door"];
if !(GVAR(isOpeningDoor)) exitWith {
[_this select 1] call CBA_fnc_removePerFrameHandler;
@@ -73,8 +76,11 @@ GVAR(usedScrollWheel) = false;
if !(GVAR(usedScrollWheel)) then {
private _phase = parseNumber (_house animationPhase (_animations select 0) < 0.5);
- {_house animate [_x, _phase]; false} count _animations;
+ {_house animate [_x, _phase]} forEach _animations;
};
+
+ // Raise local stopped opening event
+ [QGVAR(doorOpeningStopped), [_house, _door, _animations]] call CBA_fnc_localEvent;
};
// check if player moved too far away
@@ -87,5 +93,5 @@ GVAR(usedScrollWheel) = false;
GVAR(usedScrollWheel) = true;
};
// do incremental door opening
- {_house animate [_x, GVAR(doorTargetPhase)]; false} count _animations;
-}, 0.1, [_house, _animations, getPosASL ACE_player, CBA_missionTime + 0.2, diag_frameno + 2]] call CBA_fnc_addPerFrameHandler;
+ {_house animate [_x, GVAR(doorTargetPhase)]} forEach _animations;
+}, 0.1, [_house, _animations, getPosASL ACE_player, CBA_missionTime + 0.2, diag_frameno + 2, _door]] call CBA_fnc_addPerFrameHandler;
diff --git a/addons/interaction/functions/fnc_sendAway.sqf b/addons/interaction/functions/fnc_sendAway.sqf
index cef314756f..b986ea2661 100644
--- a/addons/interaction/functions/fnc_sendAway.sqf
+++ b/addons/interaction/functions/fnc_sendAway.sqf
@@ -22,14 +22,13 @@ params ["_unit"];
[_unit, "GestureGo"] call EFUNC(common,doGesture);
-private _chance = [0.5, 0.8] select (count weapons _unit > 0);
+private _chance = [0.5, 0.8] select (weapons _unit isNotEqualTo []);
{
- if (count weapons _x == 0 && {random 1 < _chance}) then {
+ if (weapons _x isEqualTo [] && {random 1 < _chance}) then {
private _position = getPosASL _unit vectorAdd (eyeDirection _unit vectorMultiply SEND_DISTANCE);
_position set [2, 0];
[QGVAR(sendAway), [_x, _position], [_x]] call CBA_fnc_targetEvent;
};
- false
-} count (_unit nearEntities ["Civilian", SEND_RADIUS]);
+} forEach (_unit nearEntities ["Civilian", SEND_RADIUS]);
diff --git a/addons/killtracker/stringtable.xml b/addons/killtracker/stringtable.xml
index 9c0f410e63..24c7bcdd56 100644
--- a/addons/killtracker/stringtable.xml
+++ b/addons/killtracker/stringtable.xml
@@ -8,6 +8,7 @@
ACE Отслеживание убийств
ACE キルトラッカー
ACE 킬트래커
+ ACE Suivi des morts
ACE Killed Events
@@ -101,6 +102,7 @@
Отслеживание юнитов ИИ, убитых игроком
プレイヤーに殺害されたAIユニットを追跡
플레이어가 죽인 AI 트래킹
+ Suivi de l'IA tuée par les joueurs
Defines if killed AIs will be shown in the kill tracker during mission debriefing.
@@ -109,6 +111,7 @@
Определяет, будут ли убитые ИИ отображаться в трекере убийств во время дебрифинга миссии.
ミッションデブリーフィングのキルトラッカーに殺害されたAIが表示されるかどうかを定義します。
사후강평 중 살해된 AI가 킬트래킹에 표시되는지 여부를 정의합니다.
+ Définit si les IA tuées seront affichées dans le tracker pendant le débriefing de la mission.
diff --git a/addons/laser/functions/fnc_seekerFindLaserSpot.sqf b/addons/laser/functions/fnc_seekerFindLaserSpot.sqf
index d1e4626d53..aa3e43d35a 100644
--- a/addons/laser/functions/fnc_seekerFindLaserSpot.sqf
+++ b/addons/laser/functions/fnc_seekerFindLaserSpot.sqf
@@ -103,7 +103,7 @@ private _finalOwner = objNull;
TRACE_2("",count _spots,_spots);
-if ((count _spots) > 0) then {
+if (_spots isNotEqualTo []) then {
private _bucketList = nil;
private _bucketPos = nil;
private _c = 0;
diff --git a/addons/map/XEH_postInitClient.sqf b/addons/map/XEH_postInitClient.sqf
index 72637e3092..ea3ce19464 100644
--- a/addons/map/XEH_postInitClient.sqf
+++ b/addons/map/XEH_postInitClient.sqf
@@ -73,8 +73,7 @@ GVAR(hasWatch) = true;
GVAR(hasWatch) = false;
{
if (_x isKindOf ["ItemWatch", configFile >> "CfgWeapons"]) exitWith {GVAR(hasWatch) = true;};
- false
- } count (assignedItems _unit);
+ } forEach (assignedItems _unit);
}, true] call CBA_fnc_addPlayerEventHandler;
diff --git a/addons/maptools/functions/fnc_canUseMapGPS.sqf b/addons/maptools/functions/fnc_canUseMapGPS.sqf
index 317eee6c42..0bdd0d0ea6 100644
--- a/addons/maptools/functions/fnc_canUseMapGPS.sqf
+++ b/addons/maptools/functions/fnc_canUseMapGPS.sqf
@@ -15,6 +15,10 @@
* Public: No
*/
-visibleMap &&
-{alive ACE_player} &&
-{"ItemGPS" in (assignedItems ACE_player)}
+if (!visibleMap || {!alive ACE_player}) exitWith {false};
+
+private _gpsOpened = visibleGPS;
+private _gpsAvailable = openGPS true;
+if (!_gpsOpened) then {openGPS false};
+
+_gpsAvailable // return
diff --git a/addons/maptools/stringtable.xml b/addons/maptools/stringtable.xml
index 9d23c4ffff..cca7aa98a8 100644
--- a/addons/maptools/stringtable.xml
+++ b/addons/maptools/stringtable.xml
@@ -41,6 +41,7 @@
標定盤
Tavola di calcolo
Графическая доска
+ Tableau de calcul
The Plotting Board is a map tool designed for use in the directing of short range indirect fires.
@@ -48,6 +49,7 @@
標定盤(プロッティング・ボード)は、短距離の間接射撃の指示に使用するために設計されたマップツールです。
La tavola di calcolo è uno strumento utilizzato per dirigere fuoco di artiglieria a corto raggio.
Графическая доска - это картографический инструмент, предназначенный для использования при ведении непрямого огня с малой дистанции.
+ La table de calcul est un instrument utilisé pour diriger les tirs d'artillerie à courte portée.
Channels in which plotting board drawing is enabled.
@@ -279,6 +282,7 @@
플로팅 보드 그리기가 활성화된 채널입니다.
Canali in cui si può disegnare sulla tavola di calcolo.
Каналы, в которых включено рисование на миллиметровой доске.
+ Canaux dans lesquels vous pouvez dessiner sur le tableau.
Allow Direct Comms Only (Polylines Only)
@@ -286,6 +290,7 @@
직접교신만 허용 (선 긋기만)
Comunicazioni Dirette (solo linee)
Разрешать только прямую связь (только полилинии)
+ Communications directes uniquement (lignes uniquement)
Allow Direct/Group Comms (Polylines and Group Markers)
@@ -293,6 +298,7 @@
직접교신/그룹무전망 허용 (선 긋기와 그룹 마커)
Comunicazioni dirette/gruppo (linee e marker)
Разрешить прямую/групповую связь (полилинии и групповые маркеры)
+ Autoriser les communications directes/de groupe (polylignes et marqueurs de groupe)
Plotting Board
@@ -300,6 +306,7 @@
플로팅 보드
Tavola di calcolo
Миллиметровая доска
+ Table de calcul
Plotting Board Acrylic
@@ -307,6 +314,7 @@
플로팅 보드 (아크릴)
Acrilico tavola di calcolo
Миллиметровая доска акрилловая
+ Table de calcul Acrylique
Plotting Board Ruler
@@ -314,6 +322,7 @@
플로팅 보드 (자)
Righello tavola di calcolo
Линейка для миллиметровой доски
+ Règle de la table de calcul
To Plotting Board
@@ -321,6 +330,7 @@
플로팅 보드에
Su tavola di calcolo
К миллиметровой доске.
+ Sur la table de calcul
To Plotting Board Acrylic
@@ -328,6 +338,7 @@
플로팅 보드 (아크릴)에
Su acrilico tavola di calcolo
К миллиметровой доске акрилловой
+ Sur la table de calcul Acrylique
To Plotting Board Ruler
@@ -335,6 +346,7 @@
플로팅 보드 (자)에
Su righello tavola di calcolo
К линейке миллиметровой доски.
+ Sur la règle de la table à calcul
Wipe all markers off Plotting Board
@@ -342,6 +354,7 @@
플로팅 보드에 있는 모든 마커 지우기
Cancella tutti i disegni dalla tavola
Сотрите все маркеры с миллиметровой доски.
+ Effacer tous les dessins de la planche
Show Plotting Board
@@ -349,6 +362,7 @@
플로팅 보드 보이기
Mostra tavola di calcolo
Показать миллиметровую доску.
+ Afficher la table de calcul
Hide Plotting Board
@@ -356,6 +370,7 @@
플로팅 보드 숨기기
Nascondi tavola di calcolo
Скрыть миллиметровую доску.
+ Masquer la table de calcul
Toggle Plotting Board Ruler
@@ -363,6 +378,7 @@
플로팅 보드 (자) 토글
Mostra/Nascondi Righello
Переключить линейку миллиметровой доски.
+ Afficher/masquer la règle
Align
@@ -412,6 +428,7 @@
위로
Su
Вверх
+ Monter
To Maptool
@@ -419,6 +436,7 @@
독도용 도구로
Su strumento cartografico
К инструментам карты
+ Outil cartographique
diff --git a/addons/markers/functions/fnc_setMarkerJIP.sqf b/addons/markers/functions/fnc_setMarkerJIP.sqf
index 8536b90a90..12dfe5de77 100644
--- a/addons/markers/functions/fnc_setMarkerJIP.sqf
+++ b/addons/markers/functions/fnc_setMarkerJIP.sqf
@@ -49,5 +49,4 @@ TRACE_2("params",_allMapMarkers,_allMapMarkersProperties);
_x setMarkerDirLocal _dir;
_x setMarkerSizeLocal [_scale, _scale];
};
- false
-} count allMapMarkers;
+} forEach allMapMarkers;
diff --git a/addons/medical_damage/functions/fnc_interpolatePoints.sqf b/addons/medical_damage/functions/fnc_interpolatePoints.sqf
index a84f079f30..b343417837 100644
--- a/addons/medical_damage/functions/fnc_interpolatePoints.sqf
+++ b/addons/medical_damage/functions/fnc_interpolatePoints.sqf
@@ -19,7 +19,7 @@
*/
params ["_input", "_points", ["_randomRound", false]];
-if (count _points < 1) exitWith {
+if (_points isEqualTo []) exitWith {
//TODO: sensible default/error value
0
};
diff --git a/addons/medical_engine/XEH_postInit.sqf b/addons/medical_engine/XEH_postInit.sqf
index 5557807629..2514c62254 100644
--- a/addons/medical_engine/XEH_postInit.sqf
+++ b/addons/medical_engine/XEH_postInit.sqf
@@ -86,12 +86,6 @@
if (!isNull objectParent _unit && {local objectParent _unit}) exitWith {
[_unit] call FUNC(lockUnconsciousSeat);
};
-
- // Prevent second ragdoll of uncon units when they're killed
- if (IS_UNCONSCIOUS(_unit) && !isAwake _unit) then {
- _unit enableSimulation false;
- [{_this enableSimulation true}, _unit, 2] call CBA_fnc_waitAndExecute;
- };
}] call CBA_fnc_addEventHandler;
["CAManBase", "deleted", {
diff --git a/addons/medical_engine/XEH_preInit.sqf b/addons/medical_engine/XEH_preInit.sqf
index a7221ce1c1..b0304f167f 100644
--- a/addons/medical_engine/XEH_preInit.sqf
+++ b/addons/medical_engine/XEH_preInit.sqf
@@ -19,7 +19,7 @@ if (isNil QUOTE(BLOOD_LOSS_KNOCK_OUT_THRESHOLD)) then {BLOOD_LOSS_KNOCK_OUT_THRE
if (isNil QUOTE(PAIN_FADE_TIME)) then {PAIN_FADE_TIME = PAIN_FADE_TIME_DEFAULT};
if (isNil QUOTE(LIMPING_DAMAGE_THRESHOLD)) then {LIMPING_DAMAGE_THRESHOLD = LIMPING_DAMAGE_THRESHOLD_DEFAULT};
if (isNil QUOTE(FRACTURE_DAMAGE_THRESHOLD)) then {FRACTURE_DAMAGE_THRESHOLD = FRACTURE_DAMAGE_THRESHOLD_DEFAULT};
-if (isNil QUOTE(CARIDAC_OUTPUT_MIN)) then {CARIDAC_OUTPUT_MIN = CARIDAC_OUTPUT_MIN_DEFAULT};
+if (isNil QUOTE(CARDIAC_OUTPUT_MIN)) then {CARDIAC_OUTPUT_MIN = CARDIAC_OUTPUT_MIN_DEFAULT};
// Derive the alternate fatal damage coefficents
if (isNil QUOTE(FATAL_SUM_DAMAGE_WEIBULL_K) || isNil QUOTE(FATAL_SUM_DAMAGE_WEIBULL_L)) then {
private _x1 = 0.5;
diff --git a/addons/medical_engine/script_macros_medical.hpp b/addons/medical_engine/script_macros_medical.hpp
index f789caec9e..167765c576 100644
--- a/addons/medical_engine/script_macros_medical.hpp
+++ b/addons/medical_engine/script_macros_medical.hpp
@@ -109,8 +109,8 @@
#define FRACTURE_DAMAGE_THRESHOLD_DEFAULT 0.50
// Minimum cardiac output
-#define CARIDAC_OUTPUT_MIN EGVAR(medical,const_minCardiacOutput)
-#define CARIDAC_OUTPUT_MIN_DEFAULT 0.05
+#define CARDIAC_OUTPUT_MIN EGVAR(medical,const_minCardiacOutput)
+#define CARDIAC_OUTPUT_MIN_DEFAULT 0.05
// Minimum body part damage required for blood effect on uniform
#define VISUAL_BODY_DAMAGE_THRESHOLD 0.35
diff --git a/addons/medical_gui/stringtable.xml b/addons/medical_gui/stringtable.xml
index 3b18ede459..6d7e819b29 100644
--- a/addons/medical_gui/stringtable.xml
+++ b/addons/medical_gui/stringtable.xml
@@ -1365,6 +1365,7 @@
Mostrar estado de sangramento
出血状態の表示
출혈 상태 표시
+ Afficher l'état des saignements
Display if the patient is bleeding, optionally with rate
@@ -1374,6 +1375,7 @@
Mostrar se o paciente está sangrando, opcionalmente com taxa
患者が出血しているかどうかを表示します。オプションで出血速度も表示します
환자가 출혈 중인지 여부를 표시합니다(선택적으로 출혈 속도 포함)
+ Indique si le patient saigne, éventuellement avec le taux de saignement
Show Bleeding Rate
@@ -1383,6 +1385,7 @@
Mostrar taxa de sangramento
出血速度の表示
출혈 속도 표시
+ Afficher le taux de saignement
Peek Medical Info on Hit
diff --git a/addons/medical_statemachine/CfgEventHandlers.hpp b/addons/medical_statemachine/CfgEventHandlers.hpp
index 98c29f77dc..b9150d8564 100644
--- a/addons/medical_statemachine/CfgEventHandlers.hpp
+++ b/addons/medical_statemachine/CfgEventHandlers.hpp
@@ -10,6 +10,12 @@ class Extended_PreInit_EventHandlers {
};
};
+class Extended_PostInit_EventHandlers {
+ class ADDON {
+ init = QUOTE(call COMPILE_SCRIPT(XEH_postInit));
+ };
+};
+
class Extended_Respawn_EventHandlers {
class CAManBase {
class ADDON {
diff --git a/addons/medical_statemachine/XEH_postInit.sqf b/addons/medical_statemachine/XEH_postInit.sqf
new file mode 100644
index 0000000000..a7c7740a39
--- /dev/null
+++ b/addons/medical_statemachine/XEH_postInit.sqf
@@ -0,0 +1,14 @@
+#include "script_component.hpp"
+
+["ace_killed", { // global event
+ params ["_unit"];
+
+ // Prevent second ragdoll of uncon units when they're killed
+ if (
+ IS_UNCONSCIOUS(_unit) && !isAwake _unit // uncon and not ragdolling
+ && {isPlayer _unit || {_unit getVariable [QGVAR(AIUnconsciousness), GVAR(AIUnconsciousness)]}}
+ ) then {
+ _unit enableSimulation false;
+ [{_this enableSimulation true}, _unit, 2] call CBA_fnc_waitAndExecute;
+ };
+}] call CBA_fnc_addEventHandler;
diff --git a/addons/medical_status/functions/fnc_getBloodLoss.sqf b/addons/medical_status/functions/fnc_getBloodLoss.sqf
index d1adbb9864..c2a6604679 100644
--- a/addons/medical_status/functions/fnc_getBloodLoss.sqf
+++ b/addons/medical_status/functions/fnc_getBloodLoss.sqf
@@ -23,4 +23,10 @@ if (_woundBleeding == 0) exitWith {0};
private _cardiacOutput = [_unit] call FUNC(getCardiacOutput);
// even if heart stops blood will still flow slowly (gravity)
-(_woundBleeding * (_cardiacOutput max CARIDAC_OUTPUT_MIN) * EGVAR(medical,bleedingCoefficient))
+private _bloodLoss = (_woundBleeding * (_cardiacOutput max CARDIAC_OUTPUT_MIN) * EGVAR(medical,bleedingCoefficient));
+
+private _eventArgs = [_unit, _bloodLoss]; // Pass by reference
+
+[QGVAR(getBloodLoss), _eventArgs] call CBA_fnc_localEvent;
+
+_eventArgs select 1 // return
diff --git a/addons/medical_status/functions/fnc_setDead.sqf b/addons/medical_status/functions/fnc_setDead.sqf
index 9dfc07d114..cb1e1f1d6f 100644
--- a/addons/medical_status/functions/fnc_setDead.sqf
+++ b/addons/medical_status/functions/fnc_setDead.sqf
@@ -17,10 +17,14 @@
params ["_unit", ["_reason", "#setDead"], ["_instigator", objNull]];
TRACE_3("setDead",_unit,_reason,_instigator);
+
// No heart rate or blood pressure to measure when dead
_unit setVariable [VAR_HEART_RATE, 0, true];
_unit setVariable [VAR_BLOOD_PRESS, [0, 0], true];
+// Clear uncon variable just to be safe
+_unit setVariable [VAR_UNCON, nil, true];
+
_unit setVariable [QEGVAR(medical,causeOfDeath), _reason, true];
// Send a local event before death
diff --git a/addons/medical_treatment/functions/fnc_treatment.sqf b/addons/medical_treatment/functions/fnc_treatment.sqf
index b7ebbfd8b0..4222d69a4b 100644
--- a/addons/medical_treatment/functions/fnc_treatment.sqf
+++ b/addons/medical_treatment/functions/fnc_treatment.sqf
@@ -52,7 +52,7 @@ private _userAndItem = if (GET_NUMBER_ENTRY(_config >> "consumeItem") == 1) then
[objNull, ""]; // Treatment does not require items to be consumed
};
-_userAndItem params ["_itemUser", "_usedItem"];
+_userAndItem params ["_itemUser", "_usedItem", "_createLitter"];
private _isInZeus = !isNull findDisplay 312;
@@ -161,7 +161,7 @@ if (_callbackProgress isEqualTo {}) then {
[
_treatmentTime,
- [_medic, _patient, _bodyPart, _classname, _itemUser, _usedItem],
+ [_medic, _patient, _bodyPart, _classname, _itemUser, _usedItem, _createLitter],
FUNC(treatmentSuccess),
FUNC(treatmentFailure),
getText (_config >> "displayNameProgress"),
diff --git a/addons/medical_treatment/functions/fnc_treatmentSuccess.sqf b/addons/medical_treatment/functions/fnc_treatmentSuccess.sqf
index 96f0d11ead..a400fa98dc 100644
--- a/addons/medical_treatment/functions/fnc_treatmentSuccess.sqf
+++ b/addons/medical_treatment/functions/fnc_treatmentSuccess.sqf
@@ -11,6 +11,7 @@
* 3: Treatment
* 4: Item User
* 5: Used Item
+ * 6: Create Litter
*
* Return Value:
* None
@@ -19,7 +20,8 @@
*/
params ["_args"];
-_args params ["_medic", "_patient", "_bodyPart", "_classname", "_itemUser", "_usedItem"];
+_args params ["_medic", "_patient", "_bodyPart", "_classname", "_itemUser", "_usedItem", "_createLitter"];
+TRACE_7("",_medic,_patient,_bodyPart,_classname,_itemUser,_usedItem,_createLitter);
// Switch medic to end animation immediately
private _endInAnim = _medic getVariable QGVAR(endInAnim);
@@ -45,7 +47,7 @@ GET_FUNCTION(_callbackSuccess,configFile >> QGVAR(actions) >> _classname >> "cal
_args call _callbackSuccess;
// Call litter creation handler
-_args call FUNC(createLitter);
+if (_createLitter) then { _args call FUNC(createLitter); };
// Emit local event for medical API
["ace_treatmentSucceded", [_medic, _patient, _bodyPart, _classname, _itemUser, _usedItem]] call CBA_fnc_localEvent;
diff --git a/addons/medical_treatment/functions/fnc_useItem.sqf b/addons/medical_treatment/functions/fnc_useItem.sqf
index 9bba3d1c90..33ac9f98f4 100644
--- a/addons/medical_treatment/functions/fnc_useItem.sqf
+++ b/addons/medical_treatment/functions/fnc_useItem.sqf
@@ -10,7 +10,7 @@
* 2: Items
*
* Return Value:
- * User and Item
+ * User and Item and Litter Created
*
* Example:
* [player, cursorObject, ["bandage"]] call ace_medical_treatment_fnc_useItem
@@ -40,22 +40,24 @@ private _useOrder = [[_patient, _medic], [_medic, _patient], [_medic]] select GV
switch (true) do {
case (_x in _vehicleItems): {
_unitVehicle addItemCargoGlobal [_x, -1];
- [_unit, _x] breakOut "Main";
+ [_unit, _x, false] breakOut "Main";
};
case (_x in _vehicleMagazines): {
[_unitVehicle, _x] call EFUNC(common,adjustMagazineAmmo);
- [_unit, _x] breakOut "Main";
+ [_unit, _x, false] breakOut "Main";
};
case (_x in _unitItems): {
_unit removeItem _x;
- [_unit, _x] breakOut "Main";
+ [_unit, _x, true] breakOut "Main";
};
case (_x in _unitMagazines): {
+ private _magsStart = count magazines _unit;
[_unit, _x] call EFUNC(common,adjustMagazineAmmo);
- [_unit, _x] breakOut "Main";
+ private _magsEnd = count magazines _unit;
+ [_unit, _x, (_magsEnd < _magsStart)] breakOut "Main";
};
};
} forEach _items;
} forEach _useOrder;
-[objNull, ""]
+[objNull, "", false]
diff --git a/addons/medical_treatment/stringtable.xml b/addons/medical_treatment/stringtable.xml
index 438778a6ad..4e186edc85 100644
--- a/addons/medical_treatment/stringtable.xml
+++ b/addons/medical_treatment/stringtable.xml
@@ -4981,6 +4981,7 @@
Zeus治療時間係数
제우스 치료 시간 계수
Коэффициент времени обработки Zeus
+ Coeff. de temps
Multiply all treatment times with this coefficient when in Zeus.
@@ -4989,6 +4990,7 @@
Zeus操作中は、すべての治療時間にこの係数を掛けます。
제우스일 때 모든 치료 시간에 이 계수를 곱합니다.
Умножьте все время лечения на этот коэффициент, когда вы находитесь в Zeus.
+ Coefficient de temps de traitement Zeus
Painkillers
@@ -5012,6 +5014,7 @@
Испол-ть обезболивающие
鎮痛剤を投与
진통제 투여
+ Administrer des analgésiques
Administering Painkillers...
@@ -5019,6 +5022,7 @@
Использование обезболивающего...
鎮痛剤を投与しています・・・
진통제 투여 중...
+ Administration d'analgésiques...
Over-the-counter analgesic used to combat light to moderate pain experiences.
@@ -5026,6 +5030,7 @@
Безрецептурный анальгетик, используемый для борьбы с легкими и умеренными болевыми ощущениями.
軽度から中程度の痛みに対処するために使用される市販の鎮痛薬。
가벼운 통증부터 중간 정도의 통증을 퇴치하는 데 사용되는 일반의약품 진통제입니다.
+ Analgésique sans ordonnance utilisé pour lutter contre les douleurs légères à modérées.
Over-the-counter analgesic used to combat light to moderate pain experiences.
@@ -5033,6 +5038,7 @@
Безрецептурный анальгетик, используемый для борьбы с легкими и умеренными болевыми ощущениями.
軽度から中程度の痛みに対処するために使用される市販の鎮痛薬。
가벼운 통증부터 중간 정도의 통증을 퇴치하는 데 사용되는 일반의약품 진통제입니다.
+ Analgésique sans ordonnance utilisé pour lutter contre les douleurs légères à modérées.
diff --git a/addons/medical_vitals/stringtable.xml b/addons/medical_vitals/stringtable.xml
index 37368655e2..eb0080bd07 100644
--- a/addons/medical_vitals/stringtable.xml
+++ b/addons/medical_vitals/stringtable.xml
@@ -8,6 +8,7 @@
Жизненно-важные органы
バイタル
생명
+ Paramètres vitaux
Enable SpO2 Simulation
@@ -15,6 +16,7 @@
Включить имитацию SpO2
SpO2シミュレーションを有効化
산소포화도 시뮬레이션 활성화
+ Activer la simulation de la SpO2
Enables oxygen saturation simulation, providing variable heart rate and oxygen demand based on physical activity and altitude. Required for Airway Management.
@@ -22,6 +24,7 @@
Позволяет имитировать насыщение кислородом, обеспечивая переменную частоту сердечных сокращений и потребность в кислороде в зависимости от физической активности и высоты над уровнем моря. Требуется для управления дыхательными путями.
酸素飽和度シミュレーションを有効にし、身体活動や標高に基づいて変動する心拍数と酸素要求量の機能を提供します。 気道管理に必要です。
산소포화도 시뮬레이션을 활성화하여 신체 활동과 고도에 따라 다양한 심박수와 산소 요구량을 제공합니다. 기도 관리에 필요합니다.
+ Permet de simuler la saturation en oxygène, de modifier la fréquence cardiaque et la consommation d'oxygène en fonction de l'activité physique et de l'altitude. Nécessaire pour la gestion des voies respiratoires.
diff --git a/addons/missileguidance/functions/fnc_seekerType_ARH.sqf b/addons/missileguidance/functions/fnc_seekerType_ARH.sqf
index 20571e3d65..54e487a9a0 100644
--- a/addons/missileguidance/functions/fnc_seekerType_ARH.sqf
+++ b/addons/missileguidance/functions/fnc_seekerType_ARH.sqf
@@ -72,7 +72,7 @@ if (_isActive || { CBA_missionTime >= _timeWhenActive }) then {
};
_nearestObjects = _nearestObjects select { !isNull _x };
// Select closest object to the expected position to be the current radar target
- if ((count _nearestObjects) <= 0) exitWith {
+ if (_nearestObjects isEqualTo []) exitWith {
_projectile setMissileTarget objNull;
_searchPos
};
@@ -117,4 +117,3 @@ if !(isNull _target) then {
_launchParams set [0, _target];
_expectedTargetPos
-
diff --git a/addons/missionmodules/functions/fnc_moduleAmbianceSound.sqf b/addons/missionmodules/functions/fnc_moduleAmbianceSound.sqf
index 63465a6588..88e2ba02d5 100644
--- a/addons/missionmodules/functions/fnc_moduleAmbianceSound.sqf
+++ b/addons/missionmodules/functions/fnc_moduleAmbianceSound.sqf
@@ -55,11 +55,9 @@ private _missionRoot = str missionConfigFile select [0, count str missionConfigF
ERROR_1("Ambient Sounds: Sound ""%1"" not found.",_x);
};
};
+} forEach _splittedList;
- false
-} count _splittedList;
-
-if (count _ambianceSounds == 0) exitWith {};
+if (_ambianceSounds isEqualTo []) exitWith {};
{
if ((_x find ".") == -1) then {
_ambianceSounds set [_forEachIndex, _x + ".wss"];
@@ -82,7 +80,7 @@ TRACE_1("",_ambianceSounds);
private _allUnits = if (isMultiplayer) then {playableUnits} else {[ACE_player]};
// Check if there are enough players to even start playing this sound.
- if (count _allUnits > 0) then {
+ if (_allUnits isNotEqualTo []) then {
// find the position from which we are going to play this sound from.
private _newPosASL = if (_followPlayers) then {
// Select a target unit at random.
diff --git a/addons/nametags/functions/fnc_onDraw3d.sqf b/addons/nametags/functions/fnc_onDraw3d.sqf
index 7e9d156014..f831a3209f 100644
--- a/addons/nametags/functions/fnc_onDraw3d.sqf
+++ b/addons/nametags/functions/fnc_onDraw3d.sqf
@@ -138,8 +138,7 @@ if (_enabledTagsNearby) then {
[ACE_player, _target, _alpha, _distance * 0.026, _drawName, _drawRank, _drawSoundwave] call FUNC(drawNameTagIcon);
};
};
- nil
- } count _targets;
+ } forEach _targets;
};
END_COUNTER(GVAR(onDraw3d));
diff --git a/addons/overheating/functions/fnc_loadCoolestSpareBarrel.sqf b/addons/overheating/functions/fnc_loadCoolestSpareBarrel.sqf
index 29b7191471..a5fb95cf31 100644
--- a/addons/overheating/functions/fnc_loadCoolestSpareBarrel.sqf
+++ b/addons/overheating/functions/fnc_loadCoolestSpareBarrel.sqf
@@ -31,7 +31,7 @@ if (_weaponBarrelClass == "") then {
// Find all spare barrel the player has
private _allBarrels = [_assistant, _weaponBarrelClass] call CBA_fnc_getMagazineIndex;
TRACE_1("_allBarrels",_allBarrels);
-if ((count _allBarrels) < 1) exitWith {};
+if (_allBarrels isEqualTo []) exitWith {};
// Determine which on is coolest
private _coolestTemp = 10000;
diff --git a/addons/overheating/functions/fnc_sendSpareBarrelsTemperaturesHint.sqf b/addons/overheating/functions/fnc_sendSpareBarrelsTemperaturesHint.sqf
index 9204b58124..5f75423f2e 100644
--- a/addons/overheating/functions/fnc_sendSpareBarrelsTemperaturesHint.sqf
+++ b/addons/overheating/functions/fnc_sendSpareBarrelsTemperaturesHint.sqf
@@ -32,7 +32,7 @@ if (_weaponBarrelClass == "") then {
};
private _allBarrels = [_unit, _weaponBarrelClass] call CBA_fnc_getMagazineIndex;
TRACE_1("_allBarrels",_allBarrels);
-if ((count _allBarrels) < 1) exitWith {};
+if (_allBarrels isEqualTo []) exitWith {};
// Determine the temp of each barrel
private _temps = [];
diff --git a/addons/overheating/stringtable.xml b/addons/overheating/stringtable.xml
index ba662bf684..48399b443c 100644
--- a/addons/overheating/stringtable.xml
+++ b/addons/overheating/stringtable.xml
@@ -881,6 +881,7 @@
遊底(ボルト)形式
노리쇠 방식
Тип болта
+ Type d'obturateur
Open Bolt
@@ -888,6 +889,7 @@
オープンボルト
오픈 볼트
Открыть болт
+ Obturateur ouvert
Closed Bolt
@@ -895,6 +897,7 @@
クローズドボルト
클로즈드 볼트
Закрыть болт
+ Obturateur fermé
Barrel Type
@@ -902,6 +905,7 @@
銃身形式
총열 방식
Тип ствола
+ Type de canon
Non-Removeable
@@ -909,6 +913,7 @@
取り外し不可
제거 불가
Несъемный
+ Inamovible
Quick Change
@@ -916,6 +921,7 @@
即時交換可
신속 교체
Быстросъемный
+ Changement rapide
diff --git a/addons/rangecard/functions/fnc_updateRangeCard.sqf b/addons/rangecard/functions/fnc_updateRangeCard.sqf
index 999dfc5a2e..c2c8673844 100644
--- a/addons/rangecard/functions/fnc_updateRangeCard.sqf
+++ b/addons/rangecard/functions/fnc_updateRangeCard.sqf
@@ -100,7 +100,7 @@ private _barrelLength = _weaponConfig select 2;
private _muzzleVelocity = 0;
private _bc = 0;
-if (count (_ammoConfig select 6) > 0) then {
+if ((_ammoConfig select 6) isNotEqualTo []) then {
_bc = (_ammoConfig select 6) select 0;
};
private _transonicStabilityCoef = _ammoConfig select 4;
diff --git a/addons/rearm/functions/fnc_hasEnoughSupply.sqf b/addons/rearm/functions/fnc_hasEnoughSupply.sqf
index c7efb7eca6..8b606bdf6f 100644
--- a/addons/rearm/functions/fnc_hasEnoughSupply.sqf
+++ b/addons/rearm/functions/fnc_hasEnoughSupply.sqf
@@ -44,7 +44,6 @@ if (GVAR(supply) == 2) exitWith {
{
_x params ["_magazine", "_rounds"];
if ((_magazine isEqualTo _magazineClass) && (_rounds > 0)) exitWith {_magazinePresent = true; };
- false
- } count _magazineSupply;
+ } forEach _magazineSupply;
_magazinePresent
};
diff --git a/addons/rearm/functions/fnc_readSupplyCounter.sqf b/addons/rearm/functions/fnc_readSupplyCounter.sqf
index 7526fd013a..f298579705 100644
--- a/addons/rearm/functions/fnc_readSupplyCounter.sqf
+++ b/addons/rearm/functions/fnc_readSupplyCounter.sqf
@@ -58,8 +58,7 @@ if (GVAR(supply) == 1) then {
_numChars = _numChars max (count _line);
_text = format ["%1
%2", _text, _line];
_supply = _supply + 0.5;
- false
- } count _magazines;
+ } forEach _magazines;
};
if (_supply > 1.5) then {
[[LSTRING(Hint_RemainingAmmo), _text], _supply, _unit, (_numChars/2.9)] call EFUNC(common,displayTextStructured);
diff --git a/addons/rearm/functions/fnc_rearmEntireVehicleSuccess.sqf b/addons/rearm/functions/fnc_rearmEntireVehicleSuccess.sqf
index d014e9d58d..396b501dab 100644
--- a/addons/rearm/functions/fnc_rearmEntireVehicleSuccess.sqf
+++ b/addons/rearm/functions/fnc_rearmEntireVehicleSuccess.sqf
@@ -28,8 +28,7 @@ if (isServer) then {
} else {
[QGVAR(rearmEntireVehicleSuccessLocalEH), [_truck, _vehicle, _x], _turretOwnerID] call CBA_fnc_ownerEvent;
};
- false
- } count _turrets;
+ } forEach _turrets;
} else {
[QGVAR(rearmEntireVehicleSuccessEH), _this] call CBA_fnc_serverEvent;
};
diff --git a/addons/refuel/stringtable.xml b/addons/refuel/stringtable.xml
index dc61a2c168..41a8c5254e 100644
--- a/addons/refuel/stringtable.xml
+++ b/addons/refuel/stringtable.xml
@@ -505,6 +505,7 @@
燃料キャニスターを持つ
연료통 집어들기
Взять канистру с топливом
+ Ramasser le réservoir de carburant
Picking fuel canister up...
@@ -513,6 +514,7 @@
燃料キャニスターを持ち上げています・・・
연료통 집어드는 중...
Поднимаю канистру с топливом...
+ Ramasser les bidons de carburant...
Connect fuel canister
@@ -521,6 +523,7 @@
燃料キャニスターを接続する
연료통 꽂기
Подсоединить канистру с топливом
+ Raccorder le réservoir de carburant
Connecting fuel canister...
@@ -529,6 +532,7 @@
燃料キャニスターを接続しています・・・
연료통 꽂는 중...
Подсоединение топливной канистры...
+ Raccorder le réservoir de carburant...
Disconnect fuel canister
@@ -537,6 +541,7 @@
燃料キャニスターを外します
연료통 빼기
Отсоединить канистру с топливом
+ Débrancher le réservoir de carburant
Refuel hose length
diff --git a/addons/repair/functions/fnc_canRepair.sqf b/addons/repair/functions/fnc_canRepair.sqf
index 264baf9ef0..f1f4aa7b7c 100644
--- a/addons/repair/functions/fnc_canRepair.sqf
+++ b/addons/repair/functions/fnc_canRepair.sqf
@@ -38,7 +38,7 @@ private _engineerRequired = if (isNumber (_config >> "requiredEngineer")) then {
if !([_caller, _engineerRequired] call FUNC(isEngineer)) exitWith {false};
private _items = _config call FUNC(getRepairItems);
-if (count _items > 0 && {!([_caller, _items] call FUNC(hasItems))}) exitWith {false};
+if (_items isNotEqualTo [] && {!([_caller, _items] call FUNC(hasItems))}) exitWith {false};
private _return = true;
if (getText (_config >> "condition") != "") then {
diff --git a/addons/repair/functions/fnc_getHitPointString.sqf b/addons/repair/functions/fnc_getHitPointString.sqf
index 35270887ad..23a57f8895 100644
--- a/addons/repair/functions/fnc_getHitPointString.sqf
+++ b/addons/repair/functions/fnc_getHitPointString.sqf
@@ -20,17 +20,9 @@
*/
params ["_hitPoint", "_textLocalized", "_textDefault", ["_trackArray", []]];
+_trackArray params [["_trackNames", []], ["_trackStrings", []], ["_trackAmount", []]];
-private _track = (count _trackArray > 0);
-private _trackNames = [];
-private _trackStrings = [];
-private _trackAmount = [];
-
-if (_track) then {
- _trackNames = _trackArray select 0;
- _trackStrings = _trackArray select 1;
- _trackAmount = _trackArray select 2;
-};
+private _track = _trackArray isNotEqualTo [];
// Prepare first part of the string from stringtable
//IGNORE_STRING_WARNING(str_ace_repair_hit);
diff --git a/addons/repair/functions/fnc_moduleAddSpareParts.sqf b/addons/repair/functions/fnc_moduleAddSpareParts.sqf
index bccccdcc22..cb6da371d7 100644
--- a/addons/repair/functions/fnc_moduleAddSpareParts.sqf
+++ b/addons/repair/functions/fnc_moduleAddSpareParts.sqf
@@ -30,8 +30,7 @@ if (!isNull _logic) then {
// Add synchronized objects to list
{
_list pushBack _x;
- nil
- } count (synchronizedObjects _logic);
+ } forEach (synchronizedObjects _logic);
if (_list isEqualTo []) exitWith {};
@@ -40,6 +39,5 @@ if (!isNull _logic) then {
// Add spare parts
{
[_x, _amount, _part, true] call FUNC(addSpareParts);
- false
- } count _list;
+ } forEach _list;
};
diff --git a/addons/repair/functions/fnc_repair.sqf b/addons/repair/functions/fnc_repair.sqf
index 9e6a692fef..86ff191000 100644
--- a/addons/repair/functions/fnc_repair.sqf
+++ b/addons/repair/functions/fnc_repair.sqf
@@ -44,7 +44,7 @@ if ((isEngineOn _target) && {!GVAR(autoShutOffEngineWhenStartingRepair)}) exitWi
};
private _items = _config call FUNC(getRepairItems);
-if (count _items > 0 && {!([_caller, _items] call FUNC(hasItems))}) exitWith {false};
+if (_items isNotEqualTo [] && {!([_caller, _items] call FUNC(hasItems))}) exitWith {false};
private _return = true;
if (getText (_config >> "condition") != "") then {
diff --git a/addons/respawn/functions/fnc_moduleRallypoint.sqf b/addons/respawn/functions/fnc_moduleRallypoint.sqf
index 0af3357201..31ba68f1d6 100644
--- a/addons/respawn/functions/fnc_moduleRallypoint.sqf
+++ b/addons/respawn/functions/fnc_moduleRallypoint.sqf
@@ -23,7 +23,6 @@ if !(_activated) exitWith {};
{
_x setVariable ["ACE_canMoveRallypoint", true];
- false
-} count _units;
+} forEach _units;
INFO("Rallypoint Module Initialized.");
diff --git a/addons/safemode/functions/fnc_unlockSafety.sqf b/addons/safemode/functions/fnc_unlockSafety.sqf
index 8afc6802c1..10372f1a2e 100644
--- a/addons/safemode/functions/fnc_unlockSafety.sqf
+++ b/addons/safemode/functions/fnc_unlockSafety.sqf
@@ -56,8 +56,7 @@ if (inputAction "nextWeapon" > 0) then {
if (_x == "this") then {
_modes pushBack _weapon;
};
- nil
- } count getArray (configFile >> "CfgWeapons" >> _weapon >> "modes");
+ } forEach getArray (configFile >> "CfgWeapons" >> _weapon >> "modes");
// select last mode
private _mode = _modes select (count _modes - 1);
diff --git a/addons/sandbag/functions/fnc_pickup.sqf b/addons/sandbag/functions/fnc_pickup.sqf
index 7c21656ca0..2bcc418f4c 100644
--- a/addons/sandbag/functions/fnc_pickup.sqf
+++ b/addons/sandbag/functions/fnc_pickup.sqf
@@ -34,7 +34,7 @@ _unit setVariable [QGVAR(isUsingSandbag), true];
// Force physx update
{
_x setPosASL (getPosASL _x);
- } count (_unit nearObjects ["ACE_SandbagObject", 5]);
+ } forEach (_unit nearObjects ["ACE_SandbagObject", 5]);
[_unit, "ACE_Sandbag_empty"] call EFUNC(common,addToInventory);
}, [_unit, _sandbag], 1.5] call CBA_fnc_waitAndExecute;
diff --git a/addons/slideshow/functions/fnc_addSlideActions.sqf b/addons/slideshow/functions/fnc_addSlideActions.sqf
index 8ec804d577..409c724943 100644
--- a/addons/slideshow/functions/fnc_addSlideActions.sqf
+++ b/addons/slideshow/functions/fnc_addSlideActions.sqf
@@ -34,7 +34,7 @@ private _actions = [];
(_this select 2) params ["_objects", "_image", "_currentSlideshow", "_selection"];
{
_x setObjectTextureGlobal [_selection, _image]
- } count _objects;
+ } forEach _objects;
[QGVAR(slideChanged), [_image, _currentSlideshow]] call CBA_fnc_localEvent;
},
{true},
diff --git a/addons/slideshow/functions/fnc_autoTransition.sqf b/addons/slideshow/functions/fnc_autoTransition.sqf
index 793b8baf1b..6a18a041c4 100644
--- a/addons/slideshow/functions/fnc_autoTransition.sqf
+++ b/addons/slideshow/functions/fnc_autoTransition.sqf
@@ -36,7 +36,7 @@ private _image = _images select _currentSlide;
// Set slide
{
_x setObjectTextureGlobal [_selection, _image];
-} count _objects;
+} forEach _objects;
[QGVAR(slideChanged), [_image, _currentSlideshow]] call CBA_fnc_localEvent;
diff --git a/addons/slideshow/functions/fnc_createSlideshow.sqf b/addons/slideshow/functions/fnc_createSlideshow.sqf
index 9021a92613..c24d302346 100644
--- a/addons/slideshow/functions/fnc_createSlideshow.sqf
+++ b/addons/slideshow/functions/fnc_createSlideshow.sqf
@@ -50,7 +50,7 @@ if (isServer) then {
// Default images on whiteboards (first image)
{
_x setObjectTextureGlobal [_selection, _images select 0];
- } count _objects;
+ } forEach _objects;
};
// Number of slideshows (multiple modules support)
@@ -89,8 +89,7 @@ if (_duration == 0) then {
2
] call EFUNC(interact_menu,createAction);
[_x, 0, ["ACE_MainActions"], _slidesAction] call EFUNC(interact_menu,addActionToObject);
- nil
- } count _controllers;
+ } forEach _controllers;
} else {
if !(isServer) exitWith {};
diff --git a/addons/slideshow/functions/fnc_moduleInit.sqf b/addons/slideshow/functions/fnc_moduleInit.sqf
index 896c64eb50..7e6a78dc95 100644
--- a/addons/slideshow/functions/fnc_moduleInit.sqf
+++ b/addons/slideshow/functions/fnc_moduleInit.sqf
@@ -37,8 +37,7 @@ private _selection = _logic getVariable ["Selection", 0];
// Objects synced to the module
{
_objects pushBack _x;
- nil
-} count (synchronizedObjects _logic);
+} forEach (synchronizedObjects _logic);
// Prepare with actions
[_objects, _controllers, _images, _names, _duration, _setName, _selection] call FUNC(createSlideshow);
diff --git a/addons/spottingscope/CfgVehicles.hpp b/addons/spottingscope/CfgVehicles.hpp
index 6be6d70d63..93fa00a7bc 100644
--- a/addons/spottingscope/CfgVehicles.hpp
+++ b/addons/spottingscope/CfgVehicles.hpp
@@ -48,7 +48,7 @@ class CfgVehicles {
selection = "";
displayName = CSTRING(PickUp);
distance = 5;
- condition = QUOTE((alive _target) && (count (crew _target) == 0));
+ condition = QUOTE((alive _target) && {(crew _target) isEqualTo []});
statement = QUOTE([ARR_2(_target,_player)] call FUNC(pickup));
showDisabled = 0;
exceptions[] = {};
diff --git a/addons/switchunits/functions/fnc_markAiOnMap.sqf b/addons/switchunits/functions/fnc_markAiOnMap.sqf
index 8c7dc4924c..203ba426ff 100644
--- a/addons/switchunits/functions/fnc_markAiOnMap.sqf
+++ b/addons/switchunits/functions/fnc_markAiOnMap.sqf
@@ -27,7 +27,7 @@ GVAR(AllMarkerNames) = [];
// delete markers
{
deleteMarkerLocal _x;
- } count GVAR(AllMarkerNames);
+ } forEach GVAR(AllMarkerNames);
// reset the array
GVAR(AllMarkerNames) = [];
@@ -58,8 +58,7 @@ GVAR(AllMarkerNames) = [];
};
GVAR(AllMarkerNames) pushBack _markerName;
- nil
};
- } count allUnits;
+ } forEach allUnits;
};
}, 1.5, [_sidesToShow]] call CBA_fnc_addPerFrameHandler;
diff --git a/addons/switchunits/functions/fnc_switchUnit.sqf b/addons/switchunits/functions/fnc_switchUnit.sqf
index 6fc8fa35c9..135088d243 100644
--- a/addons/switchunits/functions/fnc_switchUnit.sqf
+++ b/addons/switchunits/functions/fnc_switchUnit.sqf
@@ -27,7 +27,7 @@ if (GVAR(EnableSafeZone)) then {
private _allNearestPlayers = [position _unit, GVAR(SafeZoneRadius)] call FUNC(nearestPlayers);
private _nearestEnemyPlayers = _allNearestPlayers select {((side GVAR(OriginalGroup)) getFriend side _x < 0.6) && !(_x getVariable [QGVAR(IsPlayerControlled), false])};
- if (count _nearestEnemyPlayers > 0) exitWith {
+ if (_nearestEnemyPlayers isNotEqualTo []) exitWith {
_leave = true;
};
};
diff --git a/addons/tacticalladder/functions/fnc_positionTL.sqf b/addons/tacticalladder/functions/fnc_positionTL.sqf
index 1ea19e737b..6d6f78f1a3 100644
--- a/addons/tacticalladder/functions/fnc_positionTL.sqf
+++ b/addons/tacticalladder/functions/fnc_positionTL.sqf
@@ -26,7 +26,7 @@ params ["_unit", "_ladder"];
{
_ladder animate [_x, 0];
-} count __ANIMS;
+} forEach __ANIMS;
[_unit, "amovpercmstpslowwrfldnon_player_idlesteady03", 2] call EFUNC(common,doAnimation);
@@ -35,7 +35,7 @@ _ladder attachTo [_unit, [0, 0.75, 0], ""]; // Position ladder in front of playe
_ladder animate ["rotate", 0];
{
_ladder animate [_x, 1];
-} count ["extract_1", "extract_2", "extract_3"]; // Extract ladder at head height (extract_3)
+} forEach ["extract_1", "extract_2", "extract_3"]; // Extract ladder at head height (extract_3)
GVAR(ladder) = _ladder;
GVAR(cancelTime) = CBA_missionTime + 1; // Workaround to prevent accidental canceling
diff --git a/addons/tripod/functions/fnc_adjust.sqf b/addons/tripod/functions/fnc_adjust.sqf
index db31a0733f..b7cdc842e9 100644
--- a/addons/tripod/functions/fnc_adjust.sqf
+++ b/addons/tripod/functions/fnc_adjust.sqf
@@ -35,8 +35,7 @@ GVAR(adjustPFH) = [{
{
_tripod animate [_x, 1 - GVAR(height)];
- } count ["slide_down_tripod", "retract_leg_1", "retract_leg_2", "retract_leg_3"];
-
+ } forEach ["slide_down_tripod", "retract_leg_1", "retract_leg_2", "retract_leg_3"];
}, 0, [_unit, _tripod]] call CBA_fnc_addPerFrameHandler;
[_unit, "blockThrow", QUOTE(ADDON), true] call EFUNC(common,statusEffect_set);
diff --git a/addons/tripod/functions/fnc_place.sqf b/addons/tripod/functions/fnc_place.sqf
index ecefe12784..0109990ded 100644
--- a/addons/tripod/functions/fnc_place.sqf
+++ b/addons/tripod/functions/fnc_place.sqf
@@ -34,7 +34,7 @@ if (stance _unit == "STAND") then {
{
_tripod animate [_x, 0.5];
- } count ["slide_down_tripod", "retract_leg_1", "retract_leg_2", "retract_leg_3"];
+ } forEach ["slide_down_tripod", "retract_leg_1", "retract_leg_2", "retract_leg_3"];
[{
(_this select 0) params ["_tripod", "_direction", "_position"];
diff --git a/addons/vehicle_damage/functions/fnc_processHit.sqf b/addons/vehicle_damage/functions/fnc_processHit.sqf
index 72a10577f5..2d29825c93 100644
--- a/addons/vehicle_damage/functions/fnc_processHit.sqf
+++ b/addons/vehicle_damage/functions/fnc_processHit.sqf
@@ -124,7 +124,7 @@ private _chanceOfDetonation = 0;
private _explosiveAmmoCount = 0;
private _nonExplosiveAmmoCount = 0;
-if ((_currentVehicleAmmo select 1) > 0) then {
+if ((_currentVehicleAmmo select 0) isNotEqualTo []) then {
private _magConfig = configFile >> "CfgMagazines";
private _ammoConfig = configFile >> "CfgAmmo";
private _countOfExplodableAmmo = 0;
diff --git a/addons/vehiclelock/functions/fnc_addKeyForVehicle.sqf b/addons/vehiclelock/functions/fnc_addKeyForVehicle.sqf
index d730589b36..6461e7fca2 100644
--- a/addons/vehiclelock/functions/fnc_addKeyForVehicle.sqf
+++ b/addons/vehiclelock/functions/fnc_addKeyForVehicle.sqf
@@ -30,7 +30,7 @@ if (_useCustom) then {
private _previousMags = magazinesDetail _unit;
_unit addMagazine ["ACE_key_customKeyMagazine", 1]; //addMagazine array has global effects
private _newMags = (magazinesDetail _unit) - _previousMags;
- if ((count _newMags) == 0) exitWith {ERROR("failed to add magazine (inventory full?)");};
+ if (_newMags isEqualTo []) exitWith {ERROR("failed to add magazine (inventory full?)");};
private _keyMagazine = _newMags select 0;
TRACE_2("setting up key on server",_veh,_keyMagazine);
//Have the server run add the key to the vehicle's key array:
diff --git a/addons/viewdistance/stringtable.xml b/addons/viewdistance/stringtable.xml
index 0d97fe1f96..4404d0efe8 100644
--- a/addons/viewdistance/stringtable.xml
+++ b/addons/viewdistance/stringtable.xml
@@ -128,6 +128,7 @@
0に設定すると、デフォルトのビデオ設定が使用されます
Значение 0 будет использовать настройки видео по умолчанию
Establecer a 0 utiliza las opciones de video por defecto
+ La valeur 0 permet d'utiliser les paramètres vidéo par défaut
Toggle NVGs
@@ -1966,6 +1967,7 @@
医療メニューは無効になっています
의료 메뉴가 비활성화되었습니다
Медицинское меню отключено
+ Le Menu médical est désactivé
Lay Trenchline
diff --git a/docs/wiki/feature/maptools.md b/docs/wiki/feature/maptools.md
index f31c81f0e2..f8ce7e5416 100644
--- a/docs/wiki/feature/maptools.md
+++ b/docs/wiki/feature/maptools.md
@@ -25,7 +25,7 @@ This adds map tools that can be used to measure distances between two points or
This adds a plotting board that can be used to aid in the rapid usage and adjustment of short-ranged indirect fires, as well as quick measurements of directions and distances between points, and general land-navigation.
### 1.4 GPS on map
-If you are equipped with a vanilla GPS it will be shown on the map. (You don't need the `Map Tools` item in your inventory for this.)
+If you have GPS capability, a GPS display will be shown on the map, indicating current grid position. (You don't need the `Map Tools` item in your inventory for this.)
## 2. Usage
diff --git a/docs/wiki/framework/events-framework.md b/docs/wiki/framework/events-framework.md
index e795befaeb..816d5611e9 100644
--- a/docs/wiki/framework/events-framework.md
+++ b/docs/wiki/framework/events-framework.md
@@ -147,6 +147,20 @@ MenuType: 0 = Interaction, 1 = Self Interaction
|---------- |------------|----------|------|-------------|
| `ace_medical_treatment_fullHealLocalMod` | [_patient] | Local | Listen | Called before a local unit is fully healed, mods can listen and apply their own healing logic
+### 2.15 Medical Status (`ace_medical_status`)
+
+| Event Key | Parameters | Locality | Type | Description |
+|---------- |------------|----------|------|-------------|
+| `ace_medical_status_getBloodLoss` | [_unit, _bloodLoss] | Local | Listen | Called when blood loss is calculated for a unit, mods can listen and modify the blood loss value by modifying the array
+
+### 2.16 Interaction (`ace_interaction`)
+
+| Event Key | Parameters | Locality | Type | Description |
+|---------- |------------|----------|------|-------------|
+|---------- |------------|----------|------|-------------|
+| `ace_interaction_doorOpeningStarted` | [_house, _door, _animations] | Local | Listen | Called when local unit starts interacting with doors
+| `ace_interaction_doorOpeningStopped` | [_house, _door, _animations] | Local | Listen | Called when local unit stopps interacting with doors
+
## 3. Usage
Also Reference [CBA Events System](https://github.com/CBATeam/CBA_A3/wiki/Custom-Events-System){:target="_blank"} documentation.