From 2e3cd4792499868b5fe4775df7fd8bb0fbd0ecda Mon Sep 17 00:00:00 2001 From: "[VB]AWOL" Date: Fri, 31 Jan 2014 17:26:04 -0600 Subject: [PATCH] option to disable R3F weight system --- SQF/dayz_code/init/variables.sqf | 4 ++++ SQF/dayz_code/system/player_monitor.sqf | 4 +++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/SQF/dayz_code/init/variables.sqf b/SQF/dayz_code/init/variables.sqf index 0c4bdf9ac..e00231af4 100644 --- a/SQF/dayz_code/init/variables.sqf +++ b/SQF/dayz_code/init/variables.sqf @@ -689,6 +689,10 @@ if(!isDedicated) then { if(isNil "DZE_requireplot") then { DZE_requireplot = 1; }; + if(isNil "DZE_R3F_WEIGHT") then { + DZE_R3F_WEIGHT = true; + }; + DZE_AntiWallCounter = 0; diff --git a/SQF/dayz_code/system/player_monitor.sqf b/SQF/dayz_code/system/player_monitor.sqf index 94f521d14..1a462d50e 100644 --- a/SQF/dayz_code/system/player_monitor.sqf +++ b/SQF/dayz_code/system/player_monitor.sqf @@ -2,4 +2,6 @@ if (isServer) then { waitUntil{dayz_preloadFinished}; }; _id = [] execFSM "\z\addons\dayz_code\system\player_monitor.fsm"; -_void = [] execVM "\z\addons\dayz_code\external\R3F_Realism\R3F_Realism_Init.sqf"; \ No newline at end of file +if (DZE_R3F_WEIGHT) then { + _void = [] execVM "\z\addons\dayz_code\external\R3F_Realism\R3F_Realism_Init.sqf"; +}; \ No newline at end of file