A Little Something For Server Owners #1 [1.7.4.4 Only]

Stapo

Modding Veteran
Hey fellow server owners, im going to show you add a line in your dayz_server.pbo that will tell you WHERE your helicrashsite's are spawning.

Step 1.
Unpack your dayz_server.pbo (@hive/addons) with any pbo unpacker (i recommend CPBO).

Step 2.
go to dayz_server/init/server_functions.sqf (open with Notepad ++) and go to around line 85 and you will see something like this:

Code:
    waitUntil{!isNil "BIS_fnc_selectRandom"};
    if (isDedicated) then {
    _position = [getMarkerPos "center",0,4000,10,0,2000,0] call BIS_fnc_findSafePos;
    _veh = createVehicle ["UH1Wreck_DZ",_position, [], 0, "CAN_COLLIDE"];
    dayz_serverObjectMonitor set [count dayz_serverObjectMonitor,_veh];

Step 3.
add this line under _position:

Code:
    diag_log("DEBUG: Spawning a HeliCrash At " + str(_position));

so it looks like this:

Code:
    waitUntil{!isNil "BIS_fnc_selectRandom"};
    if (isDedicated) then {
    _position = [getMarkerPos "center",0,4000,10,0,2000,0] call BIS_fnc_findSafePos;
    diag_log("DEBUG: Spawning a  HeliCrash At  " + str(_position));
    _veh = createVehicle ["UH1Wreck_DZ",_position, [], 0, "CAN_COLLIDE"];
    dayz_serverObjectMonitor set [count dayz_serverObjectMonitor,_veh];

Step4.
save it and repack dayz_server and next time you look at your RPT you should see something like this:

Code:
23:16:01 "DEBUG: Spawning a  HeliCrash At  [7896.61,11970.7]"

Enjoy! ;)
 
Back
Top