From 3e662d45628b04961df5b5e66f32c931b8ecdc4f Mon Sep 17 00:00:00 2001 From: Ghostrider-DbD- Date: Tue, 25 Oct 2016 18:59:59 -0400 Subject: [PATCH] Fixes for issues with vehicle patrols and static weapons Code for spawning and monitoring vehicle patrols and static weapons was redone. A new method of monitoring these vehicles using a single loop rather than many loops was added. --- .../Compiles/Vehicles/GMS_fnc_vehicleMonitorLoop.sqf | 4 ++-- @epochhive/addons/custom_server/Compiles/blck_variables.sqf | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/@epochhive/addons/custom_server/Compiles/Vehicles/GMS_fnc_vehicleMonitorLoop.sqf b/@epochhive/addons/custom_server/Compiles/Vehicles/GMS_fnc_vehicleMonitorLoop.sqf index d665947..29cbc2f 100644 --- a/@epochhive/addons/custom_server/Compiles/Vehicles/GMS_fnc_vehicleMonitorLoop.sqf +++ b/@epochhive/addons/custom_server/Compiles/Vehicles/GMS_fnc_vehicleMonitorLoop.sqf @@ -36,8 +36,8 @@ while {true} do uiSleep 20; { _v setHitPointDamage [_x, 1]; - diag_log format["vehicleMonitor: hitpart %1 for vehicle %1 set to 1",_x,_v]; - } forEach ["HitLFWheel","HitRFWheel","HitEngine","HitLBWheel","HitRBWheel","HitTurret","HitGun"]; + //diag_log format["vehicleMonitor: hitpart %1 for vehicle %1 set to 1",_x,_v]; + } forEach ["HitLFWheel","HitLF2Wheel","HitRFWheel","HitRF2Wheel","HitEngine","HitLBWheel","HitLMWheel","HitRBWheel","HitRMWheel","HitTurret","HitGun","HitTurret","HitGun","HitTurret","HitGun","HitTurret","HitGun"]; if (blck_debugOn) then { diag_log format["_fnc_vehicleMonitor:: damage applied to a patrol vehicle -- >> current damage for vehicle %1 is = %2",_v, (getAllHitPointsDamage _v)]; diff --git a/@epochhive/addons/custom_server/Compiles/blck_variables.sqf b/@epochhive/addons/custom_server/Compiles/blck_variables.sqf index f2b4433..13017c6 100644 --- a/@epochhive/addons/custom_server/Compiles/blck_variables.sqf +++ b/@epochhive/addons/custom_server/Compiles/blck_variables.sqf @@ -3,10 +3,10 @@ For the Mission System originally coded by blckeagls By Ghostrider Functions and global variables used by the mission system. - Last modified 10/17/16 + Last modified 10/25/16 */ //blck_variablesLoaded = false; -blck_debugON = true; +blck_debugON = false; blck_debugLevel = 3; blck_minFPS = 13;