FreakBrazil

Build base issue

1 post in this topic

I got a issue that player can build base close to trades, this is my setup


{
    // Base Cost / Radius
    // Level 1 is allways for Pop Tabs, >= 2 for Respect
    prices[] =
    {
        {5000,    15}, // Level 1
        {10000,    30}, // Level 2
        {15000,    45}, // Level 3
        {20000,    60}, // Level 4
        {25000,    75}, // Level 5
        {30000,    90}, // Level 6
        {35000,    105}, // Level 7
        {40000,    120}, // Level 8
        {45000,    135}, // Level 9
        {50000,    150}  // Level 10
    };

    // A shortcut of the above maximum radius
    maximumRadius = 150;

    // The above * 2 plus coverving the 20m you can move while placing things
    minimumDistanceToOtherTerritories = 325;

    /**
     * Defines the minimum distance to safe zones / trader cities where players
     * cannot build territories
     */
    minimumDistanceToTraderZones = 1000;

    /**
     * Defines the minimum distance to spawn zones where players
     * cannot build territories
     */
    minimumDistanceToSpawnZones = 1000;

    // Defines the period in days where protection money needs to be payed.
    // Every time you pay the protection money, the "due date" will be
    // pro-longed by that period too.
    protectionPeriod = 21;

    // Amount of pop tabs or respect per object to pay
    popTabAmountPerObject = 10;
    respectAmountPerObject = 5;

 

 

 

But minimumDistanceToTraderZones  are not working

at mission.sqm my setup fro safes are:

 

 

 

class Sensors
    {
        items=3;
        class Item0
        {
            position[]={10824.685,11.598313,4789.8843};
            a=100;
            b=100;
            activationBy="ANY";
            repeating=1;
            interruptable=1;
            age="UNKNOWN";
            name="ExileTrader";
            expCond="(vehicle player) in thisList";
            expActiv="call ExileClient_object_player_event_onEnterSafezone";
            expDesactiv="call ExileClient_object_player_event_onLeaveSafezone";
            class Effects
            {
            };
        };

 

 

 

 

 

class Markers
    {
        items=8;
        class Item0
        {
            position[]={10824.685,11.598313,4789.8843};
            name="TraderZoneExample";
            text="Example Trader City";
            markerType="ELLIPSE";
            type="ExileTraderZone";
            colorName="ColorBlue";
            fillName="SolidBorder";
            a=100;
            b=100;
            drawBorder=1;
        };

Share this post


Link to post
Share on other sites
Advertisement

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

  • Recently Browsing   0 members

    No registered users viewing this page.