Hi guys, im new to running, adding scripts to our server. Probably a bit of a noob question, but how do i restrict/block a certain area to stop players building there? This is what i have in my description.ext:
Spoiler
class CfgEpochClient
{
epochVersion = "0.3.6.0";
sapperRngChance = 100; // increase number to reduce chances and reduce to increase. Default 100 = 1% - 55% if soiled (+ 2% if in city) chance to spawn sapper
droneRngChance = 100; // increase number to reduce chances and reduce to increase. Default 100 = // 2% chance (+ 4% chance if in city) (1% - 2% Half if using silencer) to spawn drone if shot fired
buildingNearbyMilitary = 0; //1 to allow building nearby
buildingNearbyMilitaryRange = 300; //Define radius of blocked area
buildingRequireJammer = 0; // 1 = to allow building without a jammer
buildingCountLimit = 500; // how many objects can be built within range of a jammer
buildingJammerRange = 100; // jammer range in meters
and the further down i have tis list of blocked areas which are already there by default i believe.
I am trying to add Otmel to the blocked list, but i can still build there so im guessing its not working. I have also jumped around the map to the other listed locations and the only one the prevents me from building is //Cherno.
Any help in the right direction is greaty appreciated. Probably simple to a scripter, but as i say, im just starting out and this is a problem i have come too.
Question
NellyST24
Hi guys, im new to running, adding scripts to our server. Probably a bit of a noob question, but how do i restrict/block a certain area to stop players building there? This is what i have in my description.ext:
class CfgEpochClient
{
epochVersion = "0.3.6.0";
sapperRngChance = 100; // increase number to reduce chances and reduce to increase. Default 100 = 1% - 55% if soiled (+ 2% if in city) chance to spawn sapper
droneRngChance = 100; // increase number to reduce chances and reduce to increase. Default 100 = // 2% chance (+ 4% chance if in city) (1% - 2% Half if using silencer) to spawn drone if shot fired
buildingNearbyMilitary = 0; //1 to allow building nearby
buildingNearbyMilitaryRange = 300; //Define radius of blocked area
buildingRequireJammer = 0; // 1 = to allow building without a jammer
buildingCountLimit = 500; // how many objects can be built within range of a jammer
buildingJammerRange = 100; // jammer range in meters
and the further down i have tis list of blocked areas which are already there by default i believe.
class Chernarus
{
blockedArea[] = {
{ { 10203, 1886, 0 }, 430 }, //South Electro
{ { 6822, 2498, 0 }, 600 }, //Cherno
{ { 4612, 9670, 0 }, 140 }, //NWAF south barack
{ { 4907, 10117, 0 }, 250 }, //NWAF NE hangas
{ { 4707, 10384, 0 }, 200 }, //NWAF north barack
{ { 4069, 10778, 0 }, 75 }, //NWAF west hangas
{ { 4553, 10722, 0 }, 150 }, //NWAF NW hangas
{ { 12279, 9505, 0 }, 350 }, //Berenzino Mid
{ { 12816, 9816, 0 }, 400 }, //Berenzino SE
{ { 12991, 10147, 0 }, 375 }, //Berenzino Docs
{ { 2693, 5138, 0 }, 200 }, //Zeleno
{ { 11467, 7508, 0 }, 150 }, //Polana Factory
{ { 13092, 7096, 0 }, 140 }, //Solnichniy Factory
{ { 11670, 3199, 0 }, 450 }, //Otmel
};
I am trying to add Otmel to the blocked list, but i can still build there so im guessing its not working. I have also jumped around the map to the other listed locations and the only one the prevents me from building is //Cherno.
Any help in the right direction is greaty appreciated. Probably simple to a scripter, but as i say, im just starting out and this is a problem i have come too.
cheers guys
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now