Skip to content

noxsicarius/R3F-Tow-Lift

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

R3F-Tow-Lift

This is a modified and preconfigured version of R3F's tow and lift script

  1. Click Download Zip on the right sidebar of this Github page.

    Recommended PBO tool for all "pack", "repack", or "unpack" steps: PBO Manager

  2. Log into your server via FTP or your host's File Manager. Locate, download, and unpack (using PBO Manager or a similar PBO editor) your MPMissions/Your_Mission.pbo, and open the resulting folder.

    Note: "Your_Mission.pbo" is a placeholder name. Your mission might be called "DayZ_Epoch_11.Chernarus", "DayZ_Epoch_13.Tavi", or "dayz_mission" depending on hosting and chosen map.

  3. Extract the downloaded folder and copy the R3F_ARTY_AND_LOG folder into the root of your mission folder.

  4. Navigate to your mission folder and open the init.sqf.

  5. Open the init.sqf in the root of your mission folder and paste the following at the bottom:

    //Tow and lift
    [] execVM "R3F_ARTY_AND_LOG\init.sqf";
  6. If you do not have a custom compiles.sqf do step (A). If you have a custom compiles.sqf do step (B).

    (A)

    1. Find the following line:
    call compile preprocessFileLineNumbers "\z\addons\dayz_code\init\compiles.sqf";

    and replace it with:

    call compile preprocessFileLineNumbers "custom\compiles.sqf";
    1. Copy the custom folder (in the download) into your mission folder.

    (B)

    1. Open your custom compiles.sqf and replace this line:
     local_lockUnlock =			compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\local_lockUnlock.sqf";

    With this line:

     local_lockUnlock =			compile preprocessFileLineNumbers "custom\local_lockUnlock.sqf";

    Note: If you do not already have this line in your compiles then simply add the new line to your custom compiles.

    1. Copy the contents of the custom folder (in the download) into your custom folder except for the compiles.sqf.
  7. You are now finished with the mission file portion. If necessary package and send it to your server.

  8. Now unpack your dayz_server.pbo and open it.

  9. Navigate to compile\server_publishVehilce2.sqf, find this code:

if(!_donotusekey) then {
  // Lock vehicle
  _object setvehiclelock "locked";
};

and change it to this:

if(!_donotusekey) then {
  // Lock vehicle
  _object setvehiclelock "locked";
  _object setVariable ["R3F_LOG_disabled",true,true];
};

Save and close the file.

  1. Navigate to system\server_monitor.sqf, find this code:
  if(_ownerID != "0" and !(_object isKindOf "Bicycle")) then {
  	_object setvehiclelock "locked";
  };

and change it to this:

  if(_ownerID != "0" and !(_object isKindOf "Bicycle")) then {
  	_object setvehiclelock "locked";
  	_object setVariable ["R3F_LOG_disabled",true,true];
  };
  1. Package the PBO and send it to the server. Everything is finished.

About

This is a tow/lift script by R3F. I have edited and preconfigured it for ease of use with my tutorials.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published