• 0
Timber

supplybox on Tanoa

Question

I'm running Tanoa on my server and the supply boxes have never dropped at the airports. Does anyone else have this issue?

Share this post


Link to post
Share on other sites

8 answers to this question

  • 0

Come to think of it, I've never seen a Supply Crate drop on Tanoa..

Share this post


Link to post
Share on other sites
  • 0

I wonder if this is a Tanoa thing. Are they still working on other maps? I know they used to work on Namalsk.

Share this post


Link to post
Share on other sites
Advertisement
  • 0

Haven't played Tanoa, but I'd imagine it's because the 'airports' are a little different

Share this post


Link to post
Share on other sites
  • 0

Posted (edited)

Here you go - this is defined in the @ExileServer\addons\exile_server_config\config.cpp file 

It will spawn by default when 10 players are on

Spoiler

class Events 
    {
        /*
            A list of events that are active
        */
        enabledEvents[] = {"SupplyBox", "AbandonedSafe"}; 

        class SupplyBox 
        {
            /*
                Drops a supply box on a parachute next to a random airport on the map.
                The box may contain items. The box can be transported to a territory
                and installed to become a normal storage container.
            */
            type = "spawn";
            function = "ExileServer_system_event_supplyBox_start";
            minTime = 60; // minutes
            maxTime = 180; // minutes
            minimumPlayersOnline = 10;
            dropRadius = 500; // 500m around an airport (including the main airport on Altis!)
            dropAltitude = 100; // altitude of the drop
            markerTime = 10; // minutes

            /*
                These are different types of boxes can be dropped.
                You can specify the cargo a box should contain.
                The type of box is chosen randomly from the following list.
                Add a type multiple times to increase the chance of being used.
            */
            types[] = {"Beer", "Beer", "Tools", "Food", "Food", "RepairParts"};

            class BoxTypes
            {
                class Beer 
                {
                    items[] = 
                    {
                        {"Exile_Item_Beer", 24}
                    };
                };

                class Food 
                {
                    items[] = 
                    {
                        {"Exile_Item_BBQSandwich", 5},
                        {"Exile_Item_Catfood", 5},
                        {"Exile_Item_ChristmasTinner", 5},
                        {"Exile_Item_GloriousKnakworst", 5},
                        {"Exile_Item_SausageGravy", 5},
                        {"Exile_Item_Surstromming", 5},
                        {"Exile_Item_CanOpener", 1},
                        {"Exile_Item_CookingPot", 1},
                        {"Exile_Item_Matches", 1}
                    };
                };

                class Tools 
                {
                    items[] = 
                    {
                        {"Exile_Item_Wrench", 1},
                        {"Exile_Item_Shovel", 1},
                        {"Exile_Item_Screwdriver", 1},
                        {"Exile_Item_Pliers", 1},
                        {"Exile_Item_Handsaw", 1},
                        {"Exile_Item_FireExtinguisher", 1},
                        {"Exile_Item_DuctTape", 1}
                    };
                };

                class RepairParts 
                {
                    items[] = 
                    {
                        {"Exile_Item_CarWheel", 8},
                        {"Exile_Item_FuelCanisterFull", 4},
                        {"Exile_Item_OilCanister", 1},
                        {"Exile_Item_Grinder", 1},
                        {"Exile_Item_CordlessScrewdriver", 1}
                    };
                };
            };
        };

 

Edited by Honest Jon
additional info

Share this post


Link to post
Share on other sites
  • 0

On Tanoa I think the airports are defined by name rather than by location type which means the event doesn't detect them. 

Share this post


Link to post
Share on other sites
  • 0

Posted (edited)

I had problems on my Esseker map of it always dropping them  in the same location. So I edited the following and added my own coordinates for it to drop the crates at random. We are also using the same on our Tanoa map. You can add as many as you want that is just the number of them that I added.

Exile_server\code\ExileServer_system_event_supplyBox_start.sqf

Line 13 change to like mine but your coords

_airportPositions = [[4988.04,5278.23,0],[10292.5,5756.59,0],[10206.6,9872.85,0],[4180.14,3736.57,0],[10217.1,5462.58,0],[852.598,10163.5,0],[7753.58,10138.9,0],[8611.04,5695.93,0]];

 

Edited by Spackler

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.