Jump to content

Whitey01

Member
  • Content Count

    153
  • Joined

  • Last visited

  • Medals

Posts posted by Whitey01


  1. @El' Rabito

     

    Thank you very much for the script!
    Works perfectly.

    Unfortunately, I don't know how to enter that into the wastedumper.
    I think it belongs in the ExileClient_gui_wasteDumpDialog_event_onSellButtonClick.
    But I don't know how the codes have to be brought together.


  2. @chernaruski

     

    I have a Custom ExileServer_system_event_supplyBox_start.sqf

    so that the drops are randomly distributed on the card.

     

    ExileServer_system_event_supplyBox_start.sqf

    Spoiler
    
    /**
     * ExileServer_system_event_supplyBox_start
     *
     * Exile Mod
     * www.exilemod.com
     * © 2015 Exile Mod Team
     *
     * This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License.
     * To view a copy of this license, visit http://creativecommons.org/licenses/by-nc-nd/4.0/.
     */
     
    private["_airportPositions","_config","_markerTime","_filteredAirportPositions","_dropAltitude","_dropRadius","_boxType","_airportPosition","_position","_marker","_box","_itemClassName","_itemCount","_i","_supplySmoke","_parachute"];
    //_airportPositions = call ExileClient_util_world_getAllAirportPositions;
    _config = configFile >> "CfgSettings" >> "Events" >> "SupplyBox";
    _markerTime = getNumber (_config >> "markerTime");
    _dropAltitude = getNumber (_config >> "dropAltitude");
    _dropRadius = getNumber (_config >> "dropRadius");
    _boxType = selectRandom (getArray (_config >> "types")); 
    _spawnCenter = getArray(configFile >> "CfgWorlds" >> worldName >> "centerPosition");                     
    _min = 0;                                                                                                 
    _max = worldSize/2 - _dropRadius * 2;
    _mindist = 20;                                                                                             
    _water = 0;                                                                                             
    _shoremode = 0; 
    _position = [_spawnCenter,_min,_max,_mindist,_water,5,_shoremode] call BIS_fnc_findSafePos;
    _position set [2, _dropAltitude];
    ["toastRequest", ["InfoTitleAndText", ["Supply drop incoming in 10 Minutes!", "Check your map for the location."]]] call ExileServer_system_network_send_broadcast;
    _marker = createMarker [ format["ExileSupplyBox%1", diag_tickTime], _position];
    _marker setMarkerType "ExileHeart";
    uiSleep (60 * 5);
    ["toastRequest", ["InfoTitleAndText", ["Supply drop incoming in 5 Minutes!"]]] call ExileServer_system_network_send_broadcast;
    uiSleep (60 * 4);
    ["toastRequest", ["InfoTitleAndText", ["Supply drop incoming in 1 Minutes!"]]] call ExileServer_system_network_send_broadcast;
    uiSleep (60 * 1);
    _box = createVehicle ["Exile_Container_SupplyBox", [0, 0, 0], [], 0, "CAN_COLLIDE"];
    _box setPosATL _position;
    _box setDir (random 360);
    clearBackpackCargoGlobal _box;
    clearWeaponCargoGlobal _box;
    clearMagazineCargoGlobal _box;
    clearItemCargoGlobal _box;
    {
        _itemClassName = _x select 0;
        _itemCount = _x select 1;
        for "_i" from 1 to _itemCount do
        {
            [_box, _itemClassName] call ExileClient_util_containerCargo_add;
        };
    }
    forEach (getArray (_config >> "BoxTypes" >> _boxType >> "items"));
    _supplySmoke = createVehicle ["Exile_Ammo_SmokeShellOrange", getPos _box, [], 0, "CAN_COLLIDE"];
    _supplySmoke attachTo [_box, [0, 0, 0.5]];
    _parachute = createVehicle ["O_Parachute_02_F", getPos _box, [], 0, "FLY"];
    _parachute setPosATL _position;
    _parachute setDir (getDir _box);
    _box attachTo [_parachute, [0, 0, -1.2]];
    waitUntil { ((getPos _box) select 2) < 1.5 };
    detach _supplySmoke;
    detach _box;
    _parachute disableCollisionWith _box;
    _box disableCollisionWith _parachute;
    _position = getPos _box;
    _position set [2, 0];
    _box setPos _position;
    _box setVelocity [0, 0, 0];
    uiSleep (60 * _markerTime);
    deleteMarker _marker; 

     

     

    config.cpp

    Spoiler
    
    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 = 20; // minutes
                maxTime = 60; // minutes
                minimumPlayersOnline = 1;
                dropRadius = 500; // 500m around an airport (including the main airport on Altis!)
                dropAltitude = 100; // altitude of the drop
                markerTime = 30; // 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.
                */

     

     


  3. Special Gold Transporter

     

    Es gibt ein bis zwei Special Gold Transporter die ein mal pro Restart spawnen.

    Diese haben 500 Goldbarren geladen und somit einen hohen Verkaufswert..
    Such es und hol dir das Gold.

    Achtung, die Bewacher sind schwer bewaffnet und mit Racketenwerfer ausgerüstet !!!

     

     

    Special gold transporter

     

    There are one or two special gold transporters that spawn once per restart.

    These loaded 500 gold bars and thus a high sales value ..
    Find it and get the gold.

    Attention, the guards are heavily armed and equipped with rocket launchers !!!


  4. @ServerAtze

     

    Thanks for the answer.
    I already know how to put a trader on the server.
    Also what he should "sell".
    But is it possible to tell the trader that he only takes "gold bars" instead of pop tabs.
    So Vehicle XY costs 10 gold bars.


  5. Hi folks, is there someone who has the server files or the loot table from Map Bornholm and would share them with me?

    Lg Whitey

     

     

    Hallo Leute.

    Gibt es vielleicht jemanden der die Server Files bzw den Loot table von der Map Bornholm hat und sie mit mir teilen würde?

    Lg Whitey


  6. exile_server_config/config.ccp

     

    Spoiler

    class Database 
            {
                // Remove all deleted items from the database after X days
                permanentlyDeleteTime = 3;
                
                // Remove all territories (and contructions + containers in it) that were not paid after X days
                territoryLifeTime = 30;

                // Remove all containers outside of territories that have not been used for X days
                // Example: Tents
                containerLifeTime = 10;

                // Remove all constructions outside of territories that are older than X days or not moved for X days 
                // Example: Work Benches
                constructionLifeTime = 2;

                // Remove all vehicles that were not moved/used for X days
                vehicleLifeTime = 30;
                
                // Set safe as abandoned
                abandonedTime = 7;
                
                // Deletes a base X days after the flag is stolen if the ransom money isn't paid
                stolenFlagLifeTime = 3;
                
                // Sets door & safe pins to 0000 and marks safes to abandoned X days after the flag is stolen if the ransom money isn't paid
                unlockLifeTime = 2;
            };
        };

     

    • Thanks 1
×