Jump to content
  • 0

Trader SafeZones


willybob

Question

Alright so I know many of you are going to say go look on the internet but I have and I cant find how to do this. What I was wanting to do was set up my own Safe Zones. I have used someone elses file previously but my problem with it was that it didn't protect all of the traders such a the trader that sells air vehicles. What i'm asking does anyone have a preset or can anyone maybe set me this up or tell me how to? I did look at a tutorial but the problem I had is that I didn't know how to get the co-ordinates to make the area. If anyone could help me it would be awesome! -Willybob

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

I'll help you, but my settings only include godmode in Bash, Klen and Stary.
I'll also include a new mission file with working godmode and antitheft(backpacks in the trading cities).

What you want to do is to download the file found below including the antitheft and safezone sqf's.
Once you have done that, extract them to your mission folder.

Then in the init.sqf, place this at the bottom.

[] execVM "antitheft.sqf";
[] execVM "safezone.sqf";

Once you have done, open the mission.sqm and find "class Sensors"
Replace that class Sensors, with this.

 





 
class Sensors

{

items=6;

class Item0

{

position[]={4053.8501,364.76645,11668.645};

activationBy="WEST";

repeating=1;

interruptable=1;

age="UNKNOWN";

name="zonebash";

expCond="(player distance zonebash) < 100;";

expActiv="TitleText[""Now entering trading city Bash - Godmode ON"",""PLAIN DOWN""]; canbuild = false; execVM ""custom\antitheft.sqf"";";

expDesactiv="TitleText[""Now leaving trading city Bash - Godmode OFF"",""PLAIN DOWN""]; canbuild = true;";

class Effects

{

soundDet="arabian_market_1";

};

};

class Item1

{

position[]={11463.747,317.3078,11349.89};

activationBy="WEST";

repeating=1;

interruptable=1;

age="UNKNOWN";

name="zoneklen";

expCond="(player distance zoneklen) < 100;";

expActiv="TitleText[""Now entering trading city Klen - Godmode ON"",""PLAIN DOWN""]; canbuild = false; execVM ""custom\antitheft.sqf"";";

expDesactiv="TitleText[""Now leaving trading city Klen - Godmode OFF"",""PLAIN DOWN""]; canbuild = true;";

class Effects

{

soundDet="arabian_market_1";

};

};

class Item2

{

position[]={6325.6772,304.99033,7807.7412};

activationBy="WEST";

repeating=1;

interruptable=1;

age="UNKNOWN";

name="zonestary";

expCond="(player distance zonestary) < 100;";

expActiv="TitleText[""Now entering trading city Stary - Godmode ON"",""PLAIN DOWN""]; canbuild = false; execVM ""custom\antitheft.sqf"";";

expDesactiv="TitleText[""Now leaving trading city Stary - Godmode OFF"",""PLAIN DOWN""]; canbuild = true;";

class Effects

{

soundDet="arabian_market_1";

};

};

class Item3

{

position[]={4053.8501,364.76645,11668.645};

activationBy="ANY";

repeating=1;

interruptable=1;

age="UNKNOWN";

name="zonebash_safezone";

expCond="(player distance zonebash_safezone) < 100;";

expActiv="inSafeZone = true;";

expDesactiv="inSafeZone = false;";

class Effects

{



};

};

class Item4

{

position[]={11463.747,317.3078,11349.89};

activationBy="ANY";

repeating=1;

interruptable=1;

age="UNKNOWN";

name="zoneklen_safezone";

expCond="(player distance zoneklen_safezone) < 100;";

expActiv="inSafeZone = true;";

expDesactiv="inSafeZone = false;";

class Effects

{



};

};

class Item5

{

position[]={6325.6772,304.99033,7807.7412};

activationBy="ANY";

repeating=1;

interruptable=1;

age="UNKNOWN";

name="zonestary_safezone";

expCond="(player distance zonestary_safezone) < 100;";

expActiv="inSafeZone = true;";

expDesactiv="inSafeZone = false;";

class Effects

{



};

};

};

 

And you should be good to go, if you want to increase/decrease the radious, change the 100 in the code above to whatever you want.

 

Antitheft and safezone sqf's: download

Clean Epoch Chernarus mission file w/ godmode and antitheft: download
 

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
  • Discord

×
×
  • Create New...