Enabling Clear Ground around Crash Site Loot

AVendettaForYou

Well-Known Member
This is a simple guide that shows two ways on how to enable clear ground around your loot at crash sites. Since I've still been having people ask how to enable it here is the way.

_________________________________________________________________

The first is an extremely easy one to do, and requires very little work:

Items needed for this edit:
  • PboView
  • Notepad ++/Notepad
  • Mission.PBO
In your mission.pbo open init.sqf and add this line to the very bottom:
Code:
dayz_spawnCrashSite_clutterCutter=2; // helicrash spawn... 0: loot hidden in grass, 1: loot lifted, 2: no grass
Once you have done so save and pack up your mission.pbo and you are finished!

_________________________________________________________________

The second option requires a little bit more work:

Items needed for this edit:
  • PboView
  • Notepad ++ / Notepad
  • Mission.PBO
  • Dayz_Code.PBO
Dayz_Code is found in:
Code:
For Steam users, this is normally:  C:/Program Files (x86)/Steam/SteamApps/common/ArmA 2 Operation Arrowhead/@DayZ/Addons
and
Code:
For non-Steam  users: C:/Program FIles (x86)/Bohemia Interactive/ArmA 2 Operation Arrowhead/@DayZ/Addons

Create a folder named Fixes inside your mission.pbo once you have that done open up init.sqf with either notepad ++ or notepad on line 21 you will see:
Code:
 call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\variables.sqf";        //Initilize the Variables (IMPORTANT: Must happen very early)
You will need to change it to:
Code:
 call compile preprocessFileLineNumbers "Fixes\variables.sqf";                //Initilize the Variables (IMPORTANT: Must happen very early)

Save your changes and go into the dayz_code folder then go into init and copy the variables.sqf and paste it into your fixes folder in the dayz_mission file.

Open up variables.sqf in dayz_mission/Fixes

Find line 427 which will say:
Code:
 dayz_spawnCrashSite_clutterCutter=0; // helicrash spawn... 0: loot hidden in grass, 1: loot lifted, 2: no grass
Change it to
Code:
 dayz_spawnCrashSite_clutterCutter=2; // helicrash spawn... 0: loot hidden in grass, 1: loot lifted, 2: no grass

Save your changes and repack it to a PBO format once you have done that upload to the control panel and save and restart.
 
Back
Top