From cbb71c8854b6f54413a363f00659d07b54709778 Mon Sep 17 00:00:00 2001 From: IT07 Date: Tue, 19 Jul 2016 21:33:32 +0200 Subject: [PATCH] renamed --- CHANGELOG.md | 1 + a3_vemf_reloaded/sqf/overrides.sqf | 28 ++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 a3_vemf_reloaded/sqf/overrides.sqf diff --git a/CHANGELOG.md b/CHANGELOG.md index df5f02f..d746224 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ **[FIXED]** still using old ExecVM method
**[NEW]** mission "BaseAttack" is now compatible with Epoch
**[NEW]** loot crates will not always have the same loadout now
+**[NEW]** randomization of loot amounts
**[REMOVED]** S.W.A.T. faction
**[TWEAKED]** blacklist settings
**[TWEAKED]** aiInventory settings
diff --git a/a3_vemf_reloaded/sqf/overrides.sqf b/a3_vemf_reloaded/sqf/overrides.sqf new file mode 100644 index 0000000..b27a388 --- /dev/null +++ b/a3_vemf_reloaded/sqf/overrides.sqf @@ -0,0 +1,28 @@ +/* + Author: IT07 + + Description: + will log all used overrides to the server's RPT + + Returns: + nothing +*/ + +{ + if (isClass _x) then + { + _c1 = configName _x; + { + if (isClass _x) then + { + _c2 = configName _x; + { + if not(isClass _x) then + { + ["Overrides", 1, format["Overriding 'CfgVemfReloaded >> %1 >> %2 >> %3'", _c1, _c2, configName _x]] ExecVM ("log" call VEMFr_fnc_scriptPath); + }; + } forEach (configProperties [configFile >> "CfgVemfReloadedOverrides" >> _c1 >> _c2, "true", false]); + } else { ["Overrides", 1, format["Overriding 'CfgVemfReloaded >> %1 >> %2", _c1, configName _x]] ExecVM ("log" call VEMFr_fnc_scriptPath) }; + } forEach (configProperties [configFile >> "CfgVemfReloadedOverrides" >> _c1, "true", false]); + } else { ["Overrides", 1, format["Overriding 'CfgVemfReloaded >> %1'", configName _x]] ExecVM ("log" call VEMFr_fnc_scriptPath) }; +} forEach (configProperties [configFile >> "CfgVemfReloadedOverrides", "true", false]);