Jump to content
  • 0

Restricted Building Areas


hambeast

Question

Hey all,

 

I did a search and only found marginally helpful information.  Does anyone know off the top of their head how to add an area to the map that is a no-build zone?

 

Figured I'd ask before digging deep into the client/server code if somebody had figured this out already.

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

description

 

class Altis
{
blockedArea[] = { //[POS],radius
{ { 16085, 16997, 0 }, 250 }, //South Telos
{ { 12844, 16714, 0 }, 120 }, //Soldner Base 
{ { 3085, 13184, 0 }, 300 }, //Kavalar Carstel
{ { 13493, 12013, 0 }, 250 }, //Makrynisi (Island)
{ { 17439, 13165, 0 }, 165 }, //Pyrgorsk Military
{ { 20084, 6728, 0 }, 55 }, //West of Selakano
{ { 25303, 21807, 0 }, 100 } //Sofia
};
};
Link to comment
Share on other sites

  • 0

You should have :

 

class CfgEpochClient
{
    buildingNearbyMilitary = 0; //1 to allow building nearby
    buildingNearbyMilitaryRange = 300; //Define radius of blocked area

    buildingRequireJammer = 0; // 1 = to allow building without a jammer
    buildingCountLimit = 200; // how many objects can be built within range of a jammer
    buildingJammerRange = 75; // jammer range in meters

    class Altis
    {
        blockedArea[] = { //[POS],radius
                { { 16085, 16997, 0 }, 250 }, //South Telos
                { { 12844, 16714, 0 }, 120 }, //Soldner Base
                { { 3085, 13184, 0 }, 300 }, //Kavalar Carstel
                { { 13493, 12013, 0 }, 450 }, //Makrynisi (Island)
                { { 17439, 13165, 0 }, 165 }, //Pyrgorsk Military
                { { 20084, 6728, 0 }, 55 }, //West of Selakano
                { { 25303, 21807, 0 }, 100 } //Sofia    
        };
    };
    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
        };
    };
};
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...