Jump to content

[RELEASE] DZAI [Updated for 1.0.7]


Relentless

Recommended Posts

  • 4 months later...
3 hours ago, Restplay said:

Hi I installed the latest version 2.2.5 on epoch 1.0.7.1. After killing the auto patrol - the patrol car remains closed, how to fix it? Should it be open until the end of the restart or am I wrong?

AI vehicles are not meant for players, they are always locked, then disappear at the next restart. 

Link to comment
Share on other sites

10 hours ago, Voltan said:

Транспортные средства AI не предназначены для игроков, они всегда заблокированы, а затем исчезают при следующем перезапуске. 

Strange, but I went to another server and after killing the patrol, I took their open car. It was active until the server was restarted.

Link to comment
Share on other sites

  • 5 months later...

Like @Mattiman338 I'm trying to figure out how to make it run on a Epoch 1.0.7.1 with WAI installed (and working fine) but no logs, nothing happens at rpt file. I followed the installation instructions (https://github.com/oiad/DZAI/blob/master/Installation Guides/Server-Installation.md) and put the line

[] call compile preprocessFileLineNumbers "\z\addons\dayz_server\DZAI\init\dzai_initserver.sqf";

above that line (dayz_server\system\server_monitor.sqf)

allowConnection = true;

Any tip or help will be appreciated.

Link to comment
Share on other sites

13 hours ago, xbelanch said:

Like @Mattiman338 I'm trying to figure out how to make it run on a Epoch 1.0.7.1 with WAI installed (and working fine) but no logs, nothing happens at rpt file. I followed the installation instructions (https://github.com/oiad/DZAI/blob/master/Installation Guides/Server-Installation.md) and put the line


[] call compile preprocessFileLineNumbers "\z\addons\dayz_server\DZAI\init\dzai_initserver.sqf";

above that line (dayz_server\system\server_monitor.sqf)


allowConnection = true;

Any tip or help will be appreciated.

Finally I solve the issue and now I have both of them running okay. Let me explain (hope this helps someone in the future!):

  1. Both of the instructions (WAI and DZAI) are okay. First install DZAI and next WAI.
  2. In the case of DZAI, only add the one line ([] call compile preprocessFileLineNumbers "\z\addons\dayz_server\DZAI\init\dzai_initserver.sqf";) and put the compile WAI line at the bottom of server_functions.sqf like instructions says. DONT PUT THE WAI COMPILE LINE BELOW DZAI COMPILE LINE OR YOU'LL GET SCRIPTS ERRORS FROM WAI.
  3. Do the rest of the homework following the instructions.
  4. Finally and no less important, be careful with the pbo file genereated by PBO Manager: check if the properties are okay. If you see nothing you need to add two properties: pbprefix and prefix as it shows at the screenshot.
  5. Enjoy!

Capture.PNG

Link to comment
Share on other sites

  • 1 year later...
On 7/24/2022 at 10:50 PM, Restplay said:

Hi I installed the latest version 2.2.5 on epoch 1.0.7.1. After killing the auto patrol - the patrol car remains closed, how to fix it? Should it be open until the end of the restart or am I wrong?

Hello, to open the DZAI vehicle you should go to the file DZAI\spawn_functions\spawnVehiclePatrol.sqf  find the line 

_vehicle setVehicleLock "LOCKED";

 change to  

_vehicle setVehicleLock "UNLOCKED";

you can also add under this line

_vehicle addEventHandler ["GetIn",{_nil = [nil,(_this select 2),"loc",rTITLETEXT,"Warning: This vehicle will disappear on server restart!","PLAIN DOWN",5] call RE;}];

this will warn that the vehicle will disappear after the restart (vehicles can be sold)

you can also add loot to this transport by changing

clearWeaponCargoGlobal _vehicle;
clearMagazineCargoGlobal _vehicle;

change to

_vehicle addWeaponCargoGlobal ["",10];
_vehicle addMagazineCargoGlobal ["",10];
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...