Jump to content
  • 0

Block DZMS and WAI in Stary


WagnerMello

Question

Hi guys, I have a WAI and DZMS mission.

I have a problem spaw the missions near stary and there is a lot of talking player fight that was killed by camper of safe zone

I would ban the missions near stary to avoid this kind of confrontation I know there is a black list but I do not know how to edit how do I?

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0
3 hours ago, WagnerMello said:

Hi guys, I have a WAI and DZMS mission.

I have a problem spaw the missions near stary and there is a lot of talking player fight that was killed by camper of safe zone

I would ban the missions near stary to avoid this kind of confrontation I know there is a black list but I do not know how to edit how do I?

You need to modify this setting in WAI: https://github.com/ebayShopper/WICKED-AI/blob/master/WAI/config.sqf#L108

For DZMS you actually need to blacklist radius's like what you would do with a safezone script: https://github.com/SMVampire/DZMS-DayZMissionSystem/blob/master/DZMS/DZMSConfig.sqf#L130

This array is in [[x,y,z],radius] format same as DZE_safeZonePosArray

Here's how I utilize DZE_safeZonePosArray for my safe zone relocate script: https://github.com/oiad/safeZoneRelocate/blob/master/dayz_code/init/variables.sqf#L1-L11

You could do this in your DZMS config:

DZMSBlacklistZones = DZE_safeZonePosArray;

providing obviously you set up DZE_safeZonePosArray correctly map depending.

Link to comment
Share on other sites

  • 0

@salival

Is the DZE_safeZonePosArray - variable a public variable that can be accessed by the server by default? I remember that this was set in configVariables in one of BigEggs scripts and these positions are also used by the infiSTAR safezone script that @juandayz released. But I am just wondering if you can access this array from WAI or DZMS as they are only server sided. Don't you have to make a publicVariableServer for this?

Link to comment
Share on other sites

  • 0

@DAmNRelentlessno, it's just a global array. It can be accessed by client or server, you don't use PVS to use it.

https://github.com/EpochModTeam/DayZ-Epoch/blob/master/SQF/dayz_code/configVariables.sqf#L28

A lot of scripts use their own safezone array instead of utilizing DZE_safeZonePosArray. 

See my safe zone relocate script for how I use it.

Link to comment
Share on other sites

  • 0

@salival

Wait, so you just have to declarate a variable like this:

myNewVariable12 = true;

And then it's public to everything (client and server)?I thought it's only available on the whole mission then. If you want to use it on the server side I thought you have to add a:

publicVariable "myNewVariable12";

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...