Old Tent Placement Script

Old Tent Placement Script
Version 1.0
by ghostphantom172

What it does....

Restores the old tent placement function.

Requirements
  • Working DayZ server
  • Basic IT skills on editing text files.
Installation Steps -

First you need to grab this fn_niceSpot.sqf LINK

And paste it in your compiles folder!

if you don't have one make one!

Next find this:

Code:
    case "TentStorage" : { // tent pitching must follow all restrictions
        _testPond = true;
        _testSlope = true;
        _testSea = true;
        _noCollision = true;

and replace it with this:

Code:
    case "TentStorage" : { // tent pitching must follow all restrictions LOL LIES!
        _testPond = true;
        _testBuilding = false;
        _testSlope = false;
        _testSea = true;
        _noCollision = false;

now grab compiles out of your Dayz code pbo! or LINK

Paste it in a folder called exe and find this in it:


Code:
    fn_niceSpot = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\fn_niceSpot.sqf";

Replace it with this:

Code:
    fn_niceSpot = compile preprocessFileLineNumbers "compiles\fn_niceSpot.sqf";

Last but most important open your init.sqf and replace your call compile line with this:

Code:
call compile preprocessFileLineNumbers "exe\compiles.sqf";                                        //Compile scripted functions
//call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf";                //Compile regular functions

FAQ -
  • HERE
  • HERE
  • AND HERE
Credits -
 
Back
Top