From 78803b57cfb4bd484c05da58e581303104921b8e Mon Sep 17 00:00:00 2001 From: "[VB]AWOL" Date: Mon, 14 Oct 2013 09:45:47 -0500 Subject: [PATCH] increased industrial loot chances and fixed bunny hop near bases --- SQF/dayz_code/config.cpp | 4 ++-- SQF/dayz_code/init/compiles.sqf | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/SQF/dayz_code/config.cpp b/SQF/dayz_code/config.cpp index bbc3f3d62..ae955f21c 100644 --- a/SQF/dayz_code/config.cpp +++ b/SQF/dayz_code/config.cpp @@ -729,7 +729,7 @@ class CfgBuildingLoot { zombieChance = 0.4; zombieClass[] = {"z_worker1","z_worker2","z_worker3"}; maxRoaming = 2; - lootChance = 0.3; + lootChance = 0.4; lootPos[] = {}; itemType[] = { { "ItemGenerator","magazine" }, @@ -794,7 +794,7 @@ class CfgBuildingLoot { zombieChance = 0.4; zombieClass[] = {"z_worker1","z_worker2","z_worker3"}; maxRoaming = 2; - lootChance = 0.3; + lootChance = 0.4; lootPos[] = {}; itemType[] = { { "ItemGenerator","magazine" }, diff --git a/SQF/dayz_code/init/compiles.sqf b/SQF/dayz_code/init/compiles.sqf index e6c3b20e1..802325eea 100644 --- a/SQF/dayz_code/init/compiles.sqf +++ b/SQF/dayz_code/init/compiles.sqf @@ -296,6 +296,7 @@ if (!isDedicated) then { _nearbyObjects = nearestObjects[getPosATL player, dayz_disallowedVault, 8]; if (count _nearbyObjects > 0) then { if((diag_tickTime - dayz_lastCheckBit > 4)) then { + [objNull, player, rSwitchMove,"GetOver"] call RE; player playActionNow "GetOver"; dayz_lastCheckBit = diag_tickTime; } else {