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]);