DayZ 1.8 Auto Refuel Not Working?

Ahh..I got a little confused...I got ya now. I will try it in a bit and see what happens. I only have a few scripts running because I have had to edit them to make them work, but there are some that didnt require any editing. They just worked. Thanks for the quick response.
 
Iam gona make a short example here
in your new 1.8 mission init.sqf you will find this
Code:
startLoadingScreen ["","RscDisplayLoadCustom"];
cutText ["","BLACK OUT"];
enableSaving [false, false];

//Server Settings
dayZ_instance = 1337; // The instance
dayZ_serverName = "UK1337"; // Servername (country code + server number)
dayz_antihack = 0; // DayZ Antihack / 1 = enabled // 0 = disabled
dayz_REsec = 1; // DayZ RE Security / 1 = enabled // 0 = disabled

//Game Settings
dayz_spawnselection = 1; // DayZ Spawnselection / 1 = enabled // 0 = disabled, No current spawn limits.
dayz_spawnCrashSite_clutterCutter = 2;    // Helicrash Settings / 0 =  loot hidden in grass // 1 = loot lifted // 2 = no grass around the Helicrash
dayz_spawnCrashSite_clutterCutter = 2; // Infected Base Settings / 0 =  loot hidden in grass // 1 = loot lifted // 2 = no grass around the infected base

#include "\z\addons\dayz_code\system\mission\init.sqf"

Comment that last line out like so //#include "\z\addons\dayz_code\system\mission\init.sqf"

Now go to your dayz mod folder @Dayz\Addons\dayz_code.pbo and inside dayz_code\system\mission\ there you will find a init.sqf
now open the dayz_code version of init.sqf and copy all content to your mission init.sqf just under the line we just commented out and now it should look like the old files and you can edit like toturials describe
 
Iam gona make a short example here
in your new 1.8 mission init.sqf you will find this
Code:
startLoadingScreen ["","RscDisplayLoadCustom"];
cutText ["","BLACK OUT"];
enableSaving [false, false];
 
//Server Settings
dayZ_instance = 1337; // The instance
dayZ_serverName = "UK1337"; // Servername (country code + server number)
dayz_antihack = 0; // DayZ Antihack / 1 = enabled // 0 = disabled
dayz_REsec = 1; // DayZ RE Security / 1 = enabled // 0 = disabled
 
//Game Settings
dayz_spawnselection = 1; // DayZ Spawnselection / 1 = enabled // 0 = disabled, No current spawn limits.
dayz_spawnCrashSite_clutterCutter = 2;    // Helicrash Settings / 0 =  loot hidden in grass // 1 = loot lifted // 2 = no grass around the Helicrash
dayz_spawnCrashSite_clutterCutter = 2; // Infected Base Settings / 0 =  loot hidden in grass // 1 = loot lifted // 2 = no grass around the infected base
 
#include "\z\addons\dayz_code\system\mission\init.sqf"

Comment that last line out like so //#include "\z\addons\dayz_code\system\mission\init.sqf"

Now go to your dayz mod folder @Dayz\Addons\dayz_code.pbo and inside dayz_code\system\mission\ there you will find a init.sqf
now open the dayz_code version of init.sqf and copy all content to your mission init.sqf just under the line we just commented out and now it should look like the old files and you can edit like toturials describe


TY TY TY

Worked perfectly well ;)
 
Im getting kicked for script restriction #101 but i have added the line to scripts.txt

Error in log is:
27.09.2013 19:34:23: bolly (81.101.244.5:2304) 1c72a79911e734de9ed2535f09530691 - #101 "ndler {(_this select 1) spawn local_gutObject};
"PVCDZ_veh_SetFuel"addPublicVariableEventHandler {(_this select 1) spawn loca"

Kicked for battleye script restriction #101 - reference scripts.txt is here: http://pastebin.com/bK0zF41M
 
Back
Top