DayZ
Heroes And Bandits
 This topic has been pinned, so it's probably important
DaemonForge  [developer] 12 Jun, 2020 @ 3:30pm
Zone Setup
for the most up to date info PLEASE go to the Zones GitHub Wiki [github.com]


Zones allows you to determine zones for players to be allowed to enter, useful for creating exclusive traders and safe areas for based on their humanity, by default there is a zone created by rog castle for bambi players only

If you are having issues with Zones Loading Check your config.json with https://jsonlint.com/

{ "Name": "Default Zone", // Zone Name Name shown when notifications are sent to the player "X": 11250, // This is the X coordinate for the zone "Z": 4300, // This is the Z coordinate for the zone "KillRadius": 50, // This is the radius at which the zone will kill players who enter it "MinHumanity": -1000, // This is the Minimum humanity the player is allowed to have to enter the zone, -1 for no minimum "MaxHumanity": 1000, // This is the Maximum humanity the player is allowed to have to enter the zone, -1 for no maximum "WarningRadius": 75, // This is the radius at which players will be warned they are approaching the zone "ShowWarningMsg": 1, // 1 Enabled /0 Disabled / When enabled it will provide a warning to any player without valid humanity "WarningMessage": "!!Warning!! you are about to enter Default Zone if you continue you will be shot!", // The warning message show to players "ShowWelcomeMsg": 0, // 1 Enabled /0 Disabled / When enabled it will provide a welcome to any player with valid humanity "WelcomeMessage": "Welcome to the Default Zone", // This is the welcome message to show to players "WelcomeIcon": "HeroesAndBandits/gui/images/BambiNotification.paa", // This is the icon that will be in the notification for players when they enter the warning radius "WelcomeMessageColor": [ 200, 0, 200, 200 ], // This is the color for the welcome message "OverrideSafeZone": 0, // 1 Enabled / 2 Disabled This will allow the zone to kill players despite the area being a safe zone this also overrides god mode for admins so beware. Useful for server with Helicopters where the player may be able to get into the zone before they are killed by the check timer "GodModPlayers": 0, // This will god mod valid players when they enter the warning radius "Guards": [ // These are guards that you can have placed around the zone that eventually will shoot the players when they enter. { "X": 11250, // This is the X coordinate for the guard "Y": 290.2, // This is the Y coordinate for the guard "Z": 4300, // This is the Z coordinate for the guard "Orientation": 0, // This is the Orientation for the guard "Skin": "SurvivorM_Francis", // The skin the guard will be "WeaponInHands": "M4A1", // The gun that will be placed in the guards hands "WeaponInHandsMag": "Mag_STANAGCoupled_30Rnd", //NOT CURRENTLY USED "WeaponInHandsAttachments": [ // Attachments for the gun in the guards hands "M4_RISHndgrd", "M4_OEBttstck", "M68Optic" ], "GuardGear": [ // Gear the guard will be wearing "PlateCarrierVest", "JungleBoots_Black", "CargoPants_Black", "M65Jacket_Black" ] } ] SubZones: [] }
Last edited by DaemonForge; 7 Jul, 2020 @ 7:37am
< >
Showing 1-15 of 20 comments
Zed 17 Jun, 2020 @ 10:39am 
Regarding this:

"MinHumanity": -1000, // This is the Minimum humanity the player is allowed to have to enter the zone
"MaxHumanity": 1000, // This is the Maximum humanity the player is allowed to have to enter the zone

If I want to set a zone for bandits only; everyone with a humanity of -100 or lower, how do I set these settings?
DaemonForge  [developer] 17 Jun, 2020 @ 11:14am 
Sorry my bad missed part in the comments you can use -1 to have either no Minimum or no Maximum
So you can do this
"MinHumanity": -1, "MaxHumanity": -100,
this would be say the max humanity allowed is -100 and there is no minimum
Last edited by DaemonForge; 17 Jun, 2020 @ 11:26am
Turkey 19 Jun, 2020 @ 11:25am 
{
"Name": "Hero Zone",
"X": 8353.77,
"Z": 5990.13,
"KillRadius": 300,
"MinHumanity": 1000,
"MaxHumanity": 50000,
"WarningRadius": 75,
"ShowWarningMsg": 1,
"WarningMessage": "!!Warning!! you are about to enter the Hero Zone if you continue you will be shot!",
"ShowWelcomeMsg": 1,
"WelcomeMessage": "Welcome to the Hero Zone",
"WelcomeIcon": "HeroesAndBandits/gui/images/BambiNotification.paa",
"WelcomeMessageColor": [
200,
0,
200,
200
],
"OverrideSafeZone": 0,
"GodModPlayers": 1,
"Guards": [
{
"X": 8351.77,
"Y": 292.002,
"Z": 5990.13,
"Orientation": 0,
"Skin": "SurvivorM_Francis",
"WeaponInHands": "M4A1",
"WeaponInHandsMag": "Mag_STANAGCoupled_30Rnd",
"WeaponInHandsAttachments": [
"M4_RISHndgrd",
"M4_OEBttstck",
"M68Optic"
],
"GuardGear": [
"PlateCarrierVest",
"JungleBoots_Black",
"CargoPants_Black",
"M65Jacket_Black"
]
}
]
}

Could anyone please give suggestions as to why my zones are not working , everything else appears to be .
DaemonForge  [developer] 19 Jun, 2020 @ 11:34am 
@Turkey

Your warning radius needs to be bigger than the kill radius if you want people warned 75 meters before they enter the zone, it would need to be 375 if your kill radius is 300
Last edited by DaemonForge; 19 Jun, 2020 @ 6:02pm
Turkey 19 Jun, 2020 @ 12:55pm 
@DaemonForge Oh cheers man im blind:steamfacepalm:
Baci821 11 Jul, 2020 @ 9:39am 
Are there commands other than KillRadius? for example I would like to DisableHerosAndBandits stat changes within an area (Event Arena)

EX:
{
"Name": "Arena Zone",
"X": 0,
"Z": 0,
"WarningRadius": 200,
"DisableHerosAndBanditsRadius": 150,
"MinHumanity": -0,
"MaxHumanity": 0,
"ShowWarningMsg": 1,
"WarningMessage": "!!Warning!! you are about to enter Arena Zone if you continue all Heroes and Bandits Stats will be rendered inop!",
"ShowWelcomeMsg": 1,
"WelcomeMessage": "Welcome to the Arena Zone",
"WelcomeIcon": "HeroesAndBandits/gui/images/BambiNotification.paa",
"WelcomeMessageColor": [
200,
0,
200,
200
],
Last edited by Baci821; 11 Jul, 2020 @ 9:52am
DaemonForge  [developer] 11 Jul, 2020 @ 12:02pm 
Originally posted by Baci821:
Are there commands other than KillRadius? for example I would like to DisableHerosAndBandits stat changes within an area (Event Arena)

EX:
{
"Name": "Arena Zone",
"X": 0,
"Z": 0,
"WarningRadius": 200,
"DisableHerosAndBanditsRadius": 150,
"MinHumanity": -0,
"MaxHumanity": 0,
"ShowWarningMsg": 1,
"WarningMessage": "!!Warning!! you are about to enter Arena Zone if you continue all Heroes and Bandits Stats will be rendered inop!",
"ShowWelcomeMsg": 1,
"WelcomeMessage": "Welcome to the Arena Zone",
"WelcomeIcon": "HeroesAndBandits/gui/images/BambiNotification.paa",
"WelcomeMessageColor": [
200,
0,
200,
200
],
Currently no sorry, just either god mod or kill, you can use god mod player to give the valid players god mode instead so that they are protected.

but that is a good suggestions Ill see what I can do add that feature in the future.
PapaKhan 25 Mar, 2021 @ 3:34am 
I get them set up I have my bambi trader at 1.0 - 1000.0 with a guard that shoots me everytime even if I am a bambi with the correct humanity...help plz
DaemonForge  [developer] 25 Mar, 2021 @ 7:22am 
@PapaKhan , are you using the advanced configs? or Simple?
PapaKhan 25 Mar, 2021 @ 3:09pm 
Advanced I got bambi hero and bandit but hunter the guard always shoots me no matter what lol
DaemonForge  [developer] 25 Mar, 2021 @ 6:49pm 
Originally posted by PapaKhan:
Advanced I got bambi hero and bandit but hunter the guard always shoots me no matter what lol
Make sure you are adding the Bambi Affinities to the allowed affinties
PapaKhan 26 Mar, 2021 @ 6:02am 
Awww Ok Ok ic says the blind man. Ty sir. Now on to my new problem lol. Guns won't go on player's back at all must be mods conflicting ffs lol But Ty for your help.
Pleins War 26 May, 2021 @ 3:27pm 
How do you add additional zone and add guards? I tried some means like duplicating the script but it didn't work.
thank you for your attention !
DaemonForge  [developer] 26 May, 2021 @ 4:04pm 
Originally posted by Pleins War:
How do you add additional zone and add guards? I tried some means like duplicating the script but it didn't work.
thank you for your attention !
I recommend using my JSON Editor/Validator to edit with, you are able to duplicate the existing zone that way
https://daemonforge.dev/Json
King Skyline 12 Jun, 2021 @ 1:27pm 
how would i go about adding multiple zones please ? ive tried using comma at certain places but no luck
< >
Showing 1-15 of 20 comments
Per page: 1530 50