From 9aab4ddd03e764f2b8b4137dfaf69da0067cf46f Mon Sep 17 00:00:00 2001 From: ebaydayz Date: Thu, 11 Aug 2016 18:08:21 -0400 Subject: [PATCH] Added WIP Limited fuel in Refuel points. Vanilla development commits: https://github.com/DayZMod/DayZ/commit/707a591765c8a568429fd243a0f3d6f38793d8dc https://github.com/DayZMod/DayZ/commit/c453cdedd2568ab365788415e6dcfbecc5c6cfd4 Set to double vanilla default value since Epoch has a lot more large vehicles with 1000+ fuel capacity. --- CHANGE LOG 1.0.6.txt | 4 ++ SQF/dayz_code/actions/jerry_fill.sqf | 66 +++++++++++++++---- SQF/dayz_code/compile/fn_selfActions.sqf | 2 +- SQF/dayz_code/init/variables.sqf | 3 + SQF/dayz_code/stringtable.xml | 6 ++ .../MPMissions/DayZ_Epoch_1.Takistan/init.sqf | 1 + .../DayZ_Epoch_10.Mountains_ACR/init.sqf | 1 + .../DayZ_Epoch_11.Chernarus/init.sqf | 1 + .../DayZ_Epoch_12.isladuala/init.sqf | 1 + .../MPMissions/DayZ_Epoch_13.Tavi/init.sqf | 1 + .../MPMissions/DayZ_Epoch_15.namalsk/init.sqf | 1 + .../DayZ_Epoch_16.Panthera2/init.sqf | 1 + .../DayZ_Epoch_17.Chernarus/init.sqf | 1 + .../DayZ_Epoch_19.FDF_Isle1_a/init.sqf | 1 + .../MPMissions/DayZ_Epoch_2.Utes/init.sqf | 1 + .../MPMissions/DayZ_Epoch_20.fapovo/init.sqf | 1 + .../MPMissions/DayZ_Epoch_21.Caribou/init.sqf | 1 + .../DayZ_Epoch_22.smd_sahrani_A2/init.sqf | 1 + .../DayZ_Epoch_23.cmr_ovaron/init.sqf | 1 + .../MPMissions/DayZ_Epoch_24.Napf/init.sqf | 1 + .../DayZ_Epoch_25.sauerland/init.sqf | 1 + .../DayZ_Epoch_26.sauerland_winter/init.sqf | 1 + .../DayZ_Epoch_3.Shapur_BAF/init.sqf | 1 + .../MPMissions/DayZ_Epoch_4.Zargabad/init.sqf | 1 + .../DayZ_Epoch_5.Bootcamp_ACR/init.sqf | 1 + .../MPMissions/DayZ_Epoch_7.Lingor/init.sqf | 1 + .../DayZ_Epoch_8.ProvingGrounds_PMC/init.sqf | 1 + .../DayZ_Epoch_9.Woodland_ACR/init.sqf | 1 + 28 files changed, 90 insertions(+), 14 deletions(-) diff --git a/CHANGE LOG 1.0.6.txt b/CHANGE LOG 1.0.6.txt index 0f09e6239..593d9af99 100644 --- a/CHANGE LOG 1.0.6.txt +++ b/CHANGE LOG 1.0.6.txt @@ -40,6 +40,9 @@ [NEW] Weather effects are now configurable with DZE_WeatherVariables See DynamicWeatherEffects.sqf for info on these values @icomrade [NEW] Full height cinderblock wall kits are now in game, classname "full_cinder_wall_kit" #1172 @icomrade [NEW] You can exclude built items from the god mode base function using DZE_GodModeBaseExclude = []; which is an array of item classnames +[NEW] Fuel stations now have limited amount of fuel each restart. Configurable with dayz_randomMaxFuelAmount in init.sqf +[NEW] More possible causes of death added to study body: fell, ran over, shot, melee hit, zombie hit @ebaydayz +[NEW] Player-list no longer shows who's in lobby or ingame. [CHANGED] Combattimeout now uses diag_tickTime instead of time. [CHANGED] AmmoBoxSmall_556/762 is replaced with DZ_AmmoBoxUS/RU/EU/CZ and MedBox0 is replaced with DZ_MedBox (new model) @@ -98,6 +101,7 @@ [NOTE] Servers that use trader safezones must configure the variable DZE_SafeZonePosArray with their safezone posisitons and radii, otherwise passangers of vehicles in safezones will be killed upon destruction of their vehicle [FIXED] Players are no longer able to brute force doors or safes by the method described in #1187 @icomrade [FIXED] Fix some items not displaying removal option #1135 @icomrade +[FIXED] Study body message saying his/he on female players. @ebaydayz [UPDATED] .hpp files updated in dayz_code\Configs\CfgLoot\CfgBuildingPos. @Uro1 [UPDATED] .bat files updated in Config-Examples @Raziel23x diff --git a/SQF/dayz_code/actions/jerry_fill.sqf b/SQF/dayz_code/actions/jerry_fill.sqf index a8b84c309..8145cc7a7 100644 --- a/SQF/dayz_code/actions/jerry_fill.sqf +++ b/SQF/dayz_code/actions/jerry_fill.sqf @@ -1,20 +1,34 @@ if (DZE_ActionInProgress) exitWith {localize "str_epoch_player_34" call dayz_rollingMessages;}; DZE_ActionInProgress = true; -private ["_qty","_dis","_sfx","_started","_finished","_animState","_isRefuel","_fuelcans","_qty20","_qty5","_qty40"]; +private ["_qty","_dis","_sfx","_started","_finished","_animState","_isRefuel","_fuelcans","_qty20","_qty5","_qty40","_magazines","_cursorTarget","_fuelAmount"]; player removeAction s_player_fillfuel; //s_player_fillfuel = -1; +_cursorTarget = _this select 3; +_magazines = magazines player; + +//Limit Fuel in tankers +_fuelAmount = _cursorTarget getVariable "FuelAmount"; + +if (isNil "_fuelAmount") then { + _fuelAmount = floor(Random dayz_randomMaxFuelAmount); + _cursorTarget setVariable ["FuelAmount",_fuelAmount,true]; +}; + +if (_fuelAmount < 5) exitWith { format[localize "str_fill_notenough",typeOf _cursorTarget,_fuelAmount] call dayz_rollingMessages; }; + +diag_log format["Fill Jerry, %1 - %2",_cursorTarget,_fuelAmount]; _fuelcans = ["ItemFuelcanEmpty","ItemJerrycanEmpty","ItemFuelBarrelEmpty"]; _qty = 0; -_qty = {_x in _fuelcans} count magazines player; +_qty = {_x in _fuelcans} count _magazines; -_qty20 = {_x == "ItemJerrycanEmpty"} count magazines player; -_qty5 = {_x == "ItemFuelcanEmpty"} count magazines player; -_qty40 = {_x == "ItemFuelBarrelEmpty"} count magazines player; +_qty20 = {_x == "ItemJerrycanEmpty"} count _magazines; +_qty5 = {_x == "ItemFuelcanEmpty"} count _magazines; +_qty40 = {_x == "ItemFuelBarrelEmpty"} count _magazines; -if (("ItemJerrycanEmpty" in magazines player) or ("ItemFuelcanEmpty" in magazines player) or ("ItemFuelBarrelEmpty" in magazines player)) then { +if (("ItemJerrycanEmpty" in _magazines) or ("ItemFuelcanEmpty" in _magazines) or ("ItemFuelBarrelEmpty" in _magazines)) then { player playActionNow "Medic"; _dis=5; @@ -45,20 +59,46 @@ if (("ItemJerrycanEmpty" in magazines player) or ("ItemFuelcanEmpty" in magazine if (_finished) then { for "_x" from 1 to _qty20 do { - player removeMagazine "ItemJerrycanEmpty"; - player addMagazine "ItemJerrycan"; + _fuelAmount = _cursorTarget getVariable "FuelAmount"; + + if (_fuelAmount >= 20) then { + _fuelAmount = _fuelAmount - 20; + _cursorTarget setVariable ["FuelAmount",_fuelAmount,true]; + player removeMagazine "ItemJerrycanEmpty"; + player addMagazine "ItemJerrycan"; + } else { + _qty = _qty - 1; + }; }; for "_x" from 1 to _qty5 do { - player removeMagazine "ItemFuelcanEmpty"; - player addMagazine "ItemFuelcan"; + _fuelAmount = _cursorTarget getVariable "FuelAmount"; + + if (_fuelAmount >= 5) then { + _fuelAmount = _fuelAmount - 5; + _cursorTarget setVariable ["FuelAmount",_fuelAmount,true]; + player removeMagazine "ItemFuelcanEmpty"; + player addMagazine "ItemFuelcan"; + } else { + _qty = _qty - 1; + }; }; for "_x" from 1 to _qty40 do { - player removeMagazine "ItemFuelBarrelEmpty"; - player addMagazine "ItemFuelBarrel"; + _fuelAmount = _cursorTarget getVariable "FuelAmount"; + + if (_fuelAmount >= 40) then { + _fuelAmount = _fuelAmount - 40; + _cursorTarget setVariable ["FuelAmount",_fuelAmount,true]; + player removeMagazine "ItemFuelBarrelEmpty"; + player addMagazine "ItemFuelBarrel"; + } else { + _qty = _qty - 1; + }; }; }; - format[localize "str_player_09",_qty] call dayz_rollingMessages; + //format[localize "str_player_09",_qty] call dayz_rollingMessages; + format[localize "str_fill_success",_qty,typeOf _cursorTarget,_fuelAmount] call dayz_rollingMessages; + //diag_log format[localize "str_fill_success",_qty,typeOf _cursorTarget,_fuelAmount]; } else { localize "str_player_10" call dayz_rollingMessages; }; diff --git a/SQF/dayz_code/compile/fn_selfActions.sqf b/SQF/dayz_code/compile/fn_selfActions.sqf index 08682209b..7382f867e 100644 --- a/SQF/dayz_code/compile/fn_selfActions.sqf +++ b/SQF/dayz_code/compile/fn_selfActions.sqf @@ -292,7 +292,7 @@ if (!isNull _cursorTarget && !_inVehicle && !_isPZombie && (player distance _cur //Allow player to fill Fuel can if (_hasEmptyFuelCan && {_isFuel} && {!a_player_jerryfilling}) then { if (s_player_fillfuel < 0) then { - s_player_fillfuel = player addAction [localize "str_actions_self_10", "\z\addons\dayz_code\actions\jerry_fill.sqf",[], 1, false, true]; + s_player_fillfuel = player addAction [localize "str_actions_self_10", "\z\addons\dayz_code\actions\jerry_fill.sqf",_cursorTarget, 1, false, true]; }; } else { player removeAction s_player_fillfuel; diff --git a/SQF/dayz_code/init/variables.sqf b/SQF/dayz_code/init/variables.sqf index 72ce5e953..06618f130 100644 --- a/SQF/dayz_code/init/variables.sqf +++ b/SQF/dayz_code/init/variables.sqf @@ -418,6 +418,9 @@ if(isNil "dayz_POIs") then { if(isNil "dayz_ForcefullmoonNights") then { dayz_ForcefullmoonNights = false; // Forces night time to be full moon. }; +if(isNil "dayz_randomMaxFuelAmount") then { + dayz_randomMaxFuelAmount = 500; //Puts a random amount of fuel in all fuel stations. +}; //Replace server individual settings with ranked settings if(isNil "dayz_presets") then { dayz_presets = "Vanilla"; }; diff --git a/SQF/dayz_code/stringtable.xml b/SQF/dayz_code/stringtable.xml index afbe2f33d..b2ed441d2 100644 --- a/SQF/dayz_code/stringtable.xml +++ b/SQF/dayz_code/stringtable.xml @@ -1302,6 +1302,12 @@ Es ist nicht mehr genügend Treibstoff im %1, um etwas abzuzapfen. Deze %1 heeft niet voldoende brandstof. + + %1 does not have enough fuel to fill jerry can(s). (Estimated %2 Liters left) + + + You have filled %1 jerry can(s) with fuel. %2 has an estimated %3 Liters of fuel left. + Canceled siphon Слив отменен. diff --git a/Server Files/MPMissions/DayZ_Epoch_1.Takistan/init.sqf b/Server Files/MPMissions/DayZ_Epoch_1.Takistan/init.sqf index 7d66b4665..29c16fde7 100644 --- a/Server Files/MPMissions/DayZ_Epoch_1.Takistan/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_1.Takistan/init.sqf @@ -16,6 +16,7 @@ dayz_quickSwitch = false; //Turns on forced animation for weapon switch. (hotkey dayz_POIs = true; dayz_infectiousWaterholes = true; dayz_ForcefullmoonNights = true; // Forces night time to be full moon. +dayz_randomMaxFuelAmount = 500; //Puts a random amount of fuel in all fuel stations. //DayZMod presets dayz_presets = "Custom"; //"Custom","Classic","Vanilla","Elite" diff --git a/Server Files/MPMissions/DayZ_Epoch_10.Mountains_ACR/init.sqf b/Server Files/MPMissions/DayZ_Epoch_10.Mountains_ACR/init.sqf index b79353033..2d114e6de 100644 --- a/Server Files/MPMissions/DayZ_Epoch_10.Mountains_ACR/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_10.Mountains_ACR/init.sqf @@ -16,6 +16,7 @@ dayz_quickSwitch = false; //Turns on forced animation for weapon switch. (hotkey dayz_POIs = true; dayz_infectiousWaterholes = true; dayz_ForcefullmoonNights = true; // Forces night time to be full moon. +dayz_randomMaxFuelAmount = 500; //Puts a random amount of fuel in all fuel stations. //DayZMod presets dayz_presets = "Custom"; //"Custom","Classic","Vanilla","Elite" diff --git a/Server Files/MPMissions/DayZ_Epoch_11.Chernarus/init.sqf b/Server Files/MPMissions/DayZ_Epoch_11.Chernarus/init.sqf index a811f88df..8a37f117b 100644 --- a/Server Files/MPMissions/DayZ_Epoch_11.Chernarus/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_11.Chernarus/init.sqf @@ -16,6 +16,7 @@ dayz_quickSwitch = false; //Turns on forced animation for weapon switch. (hotkey dayz_POIs = true; dayz_infectiousWaterholes = true; dayz_ForcefullmoonNights = true; // Forces night time to be full moon. +dayz_randomMaxFuelAmount = 500; //Puts a random amount of fuel in all fuel stations. //DayZMod presets dayz_presets = "Custom"; //"Custom","Classic","Vanilla","Elite" diff --git a/Server Files/MPMissions/DayZ_Epoch_12.isladuala/init.sqf b/Server Files/MPMissions/DayZ_Epoch_12.isladuala/init.sqf index a30ea15b4..855c06dac 100644 --- a/Server Files/MPMissions/DayZ_Epoch_12.isladuala/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_12.isladuala/init.sqf @@ -16,6 +16,7 @@ dayz_quickSwitch = false; //Turns on forced animation for weapon switch. (hotkey dayz_POIs = true; dayz_infectiousWaterholes = true; dayz_ForcefullmoonNights = true; // Forces night time to be full moon. +dayz_randomMaxFuelAmount = 500; //Puts a random amount of fuel in all fuel stations. //DayZMod presets dayz_presets = "Custom"; //"Custom","Classic","Vanilla","Elite" diff --git a/Server Files/MPMissions/DayZ_Epoch_13.Tavi/init.sqf b/Server Files/MPMissions/DayZ_Epoch_13.Tavi/init.sqf index 532ae7347..e3c46e1dd 100644 --- a/Server Files/MPMissions/DayZ_Epoch_13.Tavi/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_13.Tavi/init.sqf @@ -16,6 +16,7 @@ dayz_quickSwitch = false; //Turns on forced animation for weapon switch. (hotkey dayz_POIs = true; dayz_infectiousWaterholes = true; dayz_ForcefullmoonNights = true; // Forces night time to be full moon. +dayz_randomMaxFuelAmount = 500; //Puts a random amount of fuel in all fuel stations. //DayZMod presets dayz_presets = "Custom"; //"Custom","Classic","Vanilla","Elite" diff --git a/Server Files/MPMissions/DayZ_Epoch_15.namalsk/init.sqf b/Server Files/MPMissions/DayZ_Epoch_15.namalsk/init.sqf index c4e190453..f35fc712a 100644 --- a/Server Files/MPMissions/DayZ_Epoch_15.namalsk/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_15.namalsk/init.sqf @@ -16,6 +16,7 @@ dayz_quickSwitch = false; //Turns on forced animation for weapon switch. (hotkey dayz_POIs = true; dayz_infectiousWaterholes = true; dayz_ForcefullmoonNights = true; // Forces night time to be full moon. +dayz_randomMaxFuelAmount = 500; //Puts a random amount of fuel in all fuel stations. //DayZMod presets dayz_presets = "Custom"; //"Custom","Classic","Vanilla","Elite" diff --git a/Server Files/MPMissions/DayZ_Epoch_16.Panthera2/init.sqf b/Server Files/MPMissions/DayZ_Epoch_16.Panthera2/init.sqf index 216befddd..eed79e8ca 100644 --- a/Server Files/MPMissions/DayZ_Epoch_16.Panthera2/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_16.Panthera2/init.sqf @@ -16,6 +16,7 @@ dayz_quickSwitch = false; //Turns on forced animation for weapon switch. (hotkey dayz_POIs = true; dayz_infectiousWaterholes = true; dayz_ForcefullmoonNights = true; // Forces night time to be full moon. +dayz_randomMaxFuelAmount = 500; //Puts a random amount of fuel in all fuel stations. //DayZMod presets dayz_presets = "Custom"; //"Custom","Classic","Vanilla","Elite" diff --git a/Server Files/MPMissions/DayZ_Epoch_17.Chernarus/init.sqf b/Server Files/MPMissions/DayZ_Epoch_17.Chernarus/init.sqf index 913806391..84a31720e 100644 --- a/Server Files/MPMissions/DayZ_Epoch_17.Chernarus/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_17.Chernarus/init.sqf @@ -16,6 +16,7 @@ dayz_quickSwitch = false; //Turns on forced animation for weapon switch. (hotkey dayz_POIs = true; dayz_infectiousWaterholes = true; dayz_ForcefullmoonNights = true; // Forces night time to be full moon. +dayz_randomMaxFuelAmount = 500; //Puts a random amount of fuel in all fuel stations. //DayZMod presets dayz_presets = "Custom"; //"Custom","Classic","Vanilla","Elite" diff --git a/Server Files/MPMissions/DayZ_Epoch_19.FDF_Isle1_a/init.sqf b/Server Files/MPMissions/DayZ_Epoch_19.FDF_Isle1_a/init.sqf index 5a6735fa0..20e25397f 100644 --- a/Server Files/MPMissions/DayZ_Epoch_19.FDF_Isle1_a/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_19.FDF_Isle1_a/init.sqf @@ -16,6 +16,7 @@ dayz_quickSwitch = false; //Turns on forced animation for weapon switch. (hotkey dayz_POIs = true; dayz_infectiousWaterholes = true; dayz_ForcefullmoonNights = true; // Forces night time to be full moon. +dayz_randomMaxFuelAmount = 500; //Puts a random amount of fuel in all fuel stations. //DayZMod presets dayz_presets = "Custom"; //"Custom","Classic","Vanilla","Elite" diff --git a/Server Files/MPMissions/DayZ_Epoch_2.Utes/init.sqf b/Server Files/MPMissions/DayZ_Epoch_2.Utes/init.sqf index 1ff201336..349c15e2f 100644 --- a/Server Files/MPMissions/DayZ_Epoch_2.Utes/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_2.Utes/init.sqf @@ -16,6 +16,7 @@ dayz_quickSwitch = false; //Turns on forced animation for weapon switch. (hotkey dayz_POIs = true; dayz_infectiousWaterholes = true; dayz_ForcefullmoonNights = true; // Forces night time to be full moon. +dayz_randomMaxFuelAmount = 500; //Puts a random amount of fuel in all fuel stations. //DayZMod presets dayz_presets = "Custom"; //"Custom","Classic","Vanilla","Elite" diff --git a/Server Files/MPMissions/DayZ_Epoch_20.fapovo/init.sqf b/Server Files/MPMissions/DayZ_Epoch_20.fapovo/init.sqf index d1c1500ed..fc7c21001 100644 --- a/Server Files/MPMissions/DayZ_Epoch_20.fapovo/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_20.fapovo/init.sqf @@ -16,6 +16,7 @@ dayz_quickSwitch = false; //Turns on forced animation for weapon switch. (hotkey dayz_POIs = true; dayz_infectiousWaterholes = true; dayz_ForcefullmoonNights = true; // Forces night time to be full moon. +dayz_randomMaxFuelAmount = 500; //Puts a random amount of fuel in all fuel stations. //DayZMod presets dayz_presets = "Custom"; //"Custom","Classic","Vanilla","Elite" diff --git a/Server Files/MPMissions/DayZ_Epoch_21.Caribou/init.sqf b/Server Files/MPMissions/DayZ_Epoch_21.Caribou/init.sqf index 7f24d4061..ad5712edf 100644 --- a/Server Files/MPMissions/DayZ_Epoch_21.Caribou/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_21.Caribou/init.sqf @@ -16,6 +16,7 @@ dayz_quickSwitch = false; //Turns on forced animation for weapon switch. (hotkey dayz_POIs = true; dayz_infectiousWaterholes = true; dayz_ForcefullmoonNights = true; // Forces night time to be full moon. +dayz_randomMaxFuelAmount = 500; //Puts a random amount of fuel in all fuel stations. //DayZMod presets dayz_presets = "Custom"; //"Custom","Classic","Vanilla","Elite" diff --git a/Server Files/MPMissions/DayZ_Epoch_22.smd_sahrani_A2/init.sqf b/Server Files/MPMissions/DayZ_Epoch_22.smd_sahrani_A2/init.sqf index 704b0bc76..977b7dd7d 100644 --- a/Server Files/MPMissions/DayZ_Epoch_22.smd_sahrani_A2/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_22.smd_sahrani_A2/init.sqf @@ -16,6 +16,7 @@ dayz_quickSwitch = false; //Turns on forced animation for weapon switch. (hotkey dayz_POIs = true; dayz_infectiousWaterholes = true; dayz_ForcefullmoonNights = true; // Forces night time to be full moon. +dayz_randomMaxFuelAmount = 500; //Puts a random amount of fuel in all fuel stations. //DayZMod presets dayz_presets = "Custom"; //"Custom","Classic","Vanilla","Elite" diff --git a/Server Files/MPMissions/DayZ_Epoch_23.cmr_ovaron/init.sqf b/Server Files/MPMissions/DayZ_Epoch_23.cmr_ovaron/init.sqf index 64d2ccd36..9ea1ed4ea 100644 --- a/Server Files/MPMissions/DayZ_Epoch_23.cmr_ovaron/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_23.cmr_ovaron/init.sqf @@ -16,6 +16,7 @@ dayz_quickSwitch = false; //Turns on forced animation for weapon switch. (hotkey dayz_POIs = true; dayz_infectiousWaterholes = true; dayz_ForcefullmoonNights = true; // Forces night time to be full moon. +dayz_randomMaxFuelAmount = 500; //Puts a random amount of fuel in all fuel stations. //DayZMod presets dayz_presets = "Custom"; //"Custom","Classic","Vanilla","Elite" diff --git a/Server Files/MPMissions/DayZ_Epoch_24.Napf/init.sqf b/Server Files/MPMissions/DayZ_Epoch_24.Napf/init.sqf index 42dfc1827..6a0926a50 100644 --- a/Server Files/MPMissions/DayZ_Epoch_24.Napf/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_24.Napf/init.sqf @@ -16,6 +16,7 @@ dayz_quickSwitch = false; //Turns on forced animation for weapon switch. (hotkey dayz_POIs = true; dayz_infectiousWaterholes = true; dayz_ForcefullmoonNights = true; // Forces night time to be full moon. +dayz_randomMaxFuelAmount = 500; //Puts a random amount of fuel in all fuel stations. //DayZMod presets dayz_presets = "Custom"; //"Custom","Classic","Vanilla","Elite" diff --git a/Server Files/MPMissions/DayZ_Epoch_25.sauerland/init.sqf b/Server Files/MPMissions/DayZ_Epoch_25.sauerland/init.sqf index a7ffb38bf..0e104467c 100644 --- a/Server Files/MPMissions/DayZ_Epoch_25.sauerland/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_25.sauerland/init.sqf @@ -16,6 +16,7 @@ dayz_quickSwitch = false; //Turns on forced animation for weapon switch. (hotkey dayz_POIs = true; dayz_infectiousWaterholes = true; dayz_ForcefullmoonNights = true; // Forces night time to be full moon. +dayz_randomMaxFuelAmount = 500; //Puts a random amount of fuel in all fuel stations. //DayZMod presets dayz_presets = "Custom"; //"Custom","Classic","Vanilla","Elite" diff --git a/Server Files/MPMissions/DayZ_Epoch_26.sauerland_winter/init.sqf b/Server Files/MPMissions/DayZ_Epoch_26.sauerland_winter/init.sqf index 2fdd2dd8a..80dc1ef71 100644 --- a/Server Files/MPMissions/DayZ_Epoch_26.sauerland_winter/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_26.sauerland_winter/init.sqf @@ -16,6 +16,7 @@ dayz_quickSwitch = false; //Turns on forced animation for weapon switch. (hotkey dayz_POIs = true; dayz_infectiousWaterholes = true; dayz_ForcefullmoonNights = true; // Forces night time to be full moon. +dayz_randomMaxFuelAmount = 500; //Puts a random amount of fuel in all fuel stations. //DayZMod presets dayz_presets = "Custom"; //"Custom","Classic","Vanilla","Elite" diff --git a/Server Files/MPMissions/DayZ_Epoch_3.Shapur_BAF/init.sqf b/Server Files/MPMissions/DayZ_Epoch_3.Shapur_BAF/init.sqf index e4d31d825..3f4188ce2 100644 --- a/Server Files/MPMissions/DayZ_Epoch_3.Shapur_BAF/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_3.Shapur_BAF/init.sqf @@ -16,6 +16,7 @@ dayz_quickSwitch = false; //Turns on forced animation for weapon switch. (hotkey dayz_POIs = true; dayz_infectiousWaterholes = true; dayz_ForcefullmoonNights = true; // Forces night time to be full moon. +dayz_randomMaxFuelAmount = 500; //Puts a random amount of fuel in all fuel stations. //DayZMod presets dayz_presets = "Custom"; //"Custom","Classic","Vanilla","Elite" diff --git a/Server Files/MPMissions/DayZ_Epoch_4.Zargabad/init.sqf b/Server Files/MPMissions/DayZ_Epoch_4.Zargabad/init.sqf index a8a884e66..b7ff4c159 100644 --- a/Server Files/MPMissions/DayZ_Epoch_4.Zargabad/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_4.Zargabad/init.sqf @@ -16,6 +16,7 @@ dayz_quickSwitch = false; //Turns on forced animation for weapon switch. (hotkey dayz_POIs = true; dayz_infectiousWaterholes = true; dayz_ForcefullmoonNights = true; // Forces night time to be full moon. +dayz_randomMaxFuelAmount = 500; //Puts a random amount of fuel in all fuel stations. //DayZMod presets dayz_presets = "Custom"; //"Custom","Classic","Vanilla","Elite" diff --git a/Server Files/MPMissions/DayZ_Epoch_5.Bootcamp_ACR/init.sqf b/Server Files/MPMissions/DayZ_Epoch_5.Bootcamp_ACR/init.sqf index 977f514f2..8c66dabbc 100644 --- a/Server Files/MPMissions/DayZ_Epoch_5.Bootcamp_ACR/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_5.Bootcamp_ACR/init.sqf @@ -16,6 +16,7 @@ dayz_quickSwitch = false; //Turns on forced animation for weapon switch. (hotkey dayz_POIs = true; dayz_infectiousWaterholes = true; dayz_ForcefullmoonNights = true; // Forces night time to be full moon. +dayz_randomMaxFuelAmount = 500; //Puts a random amount of fuel in all fuel stations. //DayZMod presets dayz_presets = "Custom"; //"Custom","Classic","Vanilla","Elite" diff --git a/Server Files/MPMissions/DayZ_Epoch_7.Lingor/init.sqf b/Server Files/MPMissions/DayZ_Epoch_7.Lingor/init.sqf index 2a74606f2..820102f1d 100644 --- a/Server Files/MPMissions/DayZ_Epoch_7.Lingor/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_7.Lingor/init.sqf @@ -16,6 +16,7 @@ dayz_quickSwitch = false; //Turns on forced animation for weapon switch. (hotkey dayz_POIs = true; dayz_infectiousWaterholes = true; dayz_ForcefullmoonNights = true; // Forces night time to be full moon. +dayz_randomMaxFuelAmount = 500; //Puts a random amount of fuel in all fuel stations. //DayZMod presets dayz_presets = "Custom"; //"Custom","Classic","Vanilla","Elite" diff --git a/Server Files/MPMissions/DayZ_Epoch_8.ProvingGrounds_PMC/init.sqf b/Server Files/MPMissions/DayZ_Epoch_8.ProvingGrounds_PMC/init.sqf index 47ca68477..ec6769fc5 100644 --- a/Server Files/MPMissions/DayZ_Epoch_8.ProvingGrounds_PMC/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_8.ProvingGrounds_PMC/init.sqf @@ -16,6 +16,7 @@ dayz_quickSwitch = false; //Turns on forced animation for weapon switch. (hotkey dayz_POIs = true; dayz_infectiousWaterholes = true; dayz_ForcefullmoonNights = true; // Forces night time to be full moon. +dayz_randomMaxFuelAmount = 500; //Puts a random amount of fuel in all fuel stations. //DayZMod presets dayz_presets = "Custom"; //"Custom","Classic","Vanilla","Elite" diff --git a/Server Files/MPMissions/DayZ_Epoch_9.Woodland_ACR/init.sqf b/Server Files/MPMissions/DayZ_Epoch_9.Woodland_ACR/init.sqf index 0845032dd..08814d2a6 100644 --- a/Server Files/MPMissions/DayZ_Epoch_9.Woodland_ACR/init.sqf +++ b/Server Files/MPMissions/DayZ_Epoch_9.Woodland_ACR/init.sqf @@ -16,6 +16,7 @@ dayz_quickSwitch = false; //Turns on forced animation for weapon switch. (hotkey dayz_POIs = true; dayz_infectiousWaterholes = true; dayz_ForcefullmoonNights = true; // Forces night time to be full moon. +dayz_randomMaxFuelAmount = 500; //Puts a random amount of fuel in all fuel stations. //DayZMod presets dayz_presets = "Custom"; //"Custom","Classic","Vanilla","Elite"