Jump to content

Drunken Cheetah

Members
  • Content Count

    228
  • Joined

  • Last visited

  • Days Won

    20

Drunken Cheetah last won the day on January 6

Drunken Cheetah had the most liked content!

Community Reputation

78 Respected

5 Followers

About Drunken Cheetah

  • Rank
    Devoted Member

Personal Information

  • Country

PC Specs

  • CPU
    Kaby Lake i7
  • Memory
    32GB
  • Hard Drive
    250GB SSD, 2TB Sata,2TB Sata
  • Graphic Card
    GTX 1060 3GB OC
  • PSU
    Thermal Take Smart Series
  • Case
    Antec
  • Monitor
    Aoc 32"

Recent Profile Visitors

1,215 profile views
  1. As I said, it was made for another server who didn't trust it, and it was an unfinished project from way back. So I am giving away the source to those who were interested in it Read the post "The only thing I have left to do is create the encrypted passwords, which obviously add's security to the program for its users" I've done enough web interface's, nothing is stopping me from doing another, just thought I'd finish this project off.
  2. Hi all, I have created a VB.net & mysql program which aids a server's bug tracking reports. I originally created this program for another server, but they "dont" trust .exe's so I will post here, (with source) - If people are interested in this kind of tool. Basically, this program is just a bug tracking program which lets user's register and login like they normally would on a website. Highest administrator accounts are level 5, which cannot be deleted/changed or modified program wise, but they can be changed server side. The lowest account is level 1. Which is just a normal member, and with that being said, level 1 cannot do anything other than submit reports. The program automatically makes the "reported by" name as the logged in user's name. The information displayed within the program, is all being called from a MySql server, so providing the connection is setup correctly, you won't have any issues. Below is a quick-ish demonstration I whipped up so people can see what it actually does. The only thing I have left to do is create the encrypted passwords, which obviously add's security to the program for its users. Although there's nothing within in the program that can be exploited. If the source is released, you will receive Database Connection Source & .dll Program files & folders MySql.Data.dll Some Features to note; Banning members - This is a key feature incase you have a member abusing the report system Editing members with a rank below 5 Live view of the reports & members Auto Updates - Not implemented yet. Watch a video below of more
  3. If it doesn't work I cant be of much help. You could have any version, this version I use works fine for me.
  4. //Y Inventory _Cargo SVAR ["trunk_in_use",false,true]; _Cargo SVAR ["opened",false,true]; _Cargo SVAR ["opened",true,true]; looty_loot_array = [["VIRTUAL_ITEM_NAME",AMOUNT],[VIRTUAL_ITEM_NAME,AMOUNT],[VIRTUAL_ITEM_NAME,AMOUNT],[VIRTUAL_ITEM_NAME,AMOUNT],[VIRTUAL_ITEM_NAME,AMOUNT],[VIRTUAL_ITEM_NAME,AMOUNT]]; looty_loot_amount = 1; _lootAmount = looty_loot_amount; _lootArray = looty_loot_array; _lootTempToAdd = []; _lootArrayFinal = []; _val = round(random 100000); while {_lootAmount>0} do { _lootAmount = _lootAmount - 1; _loot_inArr = count _lootArray; _inArr = floor(random _loot_inArr); _lootTempToAdd = _lootArray select _inArr; _lootArrayFinal = _lootArrayFinal + [_lootTempToAdd]; }; _Cargo SVAR["Trunk",[_lootArrayFinal,500],true]; _Cargo SVAR["unique",_val,true]; NOTE: This is how I do it, it might not work for your version, or it might. Add the above line of code above the airdrop script (life_server) where it says something like clearItemCargoGlobal _Cargo; clearWeaponCargoGlobal _Cargo; clearMagazineCargoGlobal _Cargo;
  5. Add me on discord please, Drunken Cheetah#3416 with a list of features you need/want.
  6. Can you send me the file please fn_vDrugDealer.sqf
  7. Can you send me your Functions.hpp file please. Use http://hastebin.com
  8. That has nothing to do with the script posted! But you have you have '' instead of an = on line 55 or above.
  9. If someone else gave it to you, than its not a legitimate version of "5.5" cause that doesn't exist yet! Its just a modified version of 5.0
  10. The github version is 4.4r4, the master branch is 5.0 .. In 5.0 the body disappearing issue was fixed.
  11. To those of you who use this script. I would highly appreciate if you left all credits at the top of all the files. The scripts released here(not just ones I post), have been released out of generosity, I and anyone else who post script's post them and fix them voluntarily, and when people remove credits it's sort of disappointing to see. I was given a bunch of missions from people who use this script, who have removed ALL credits from the files posted. I don't appreciate it, and I am sure the original author(s) would not appreciate it. Please leave the credits in all the files.
  12. RIP. Didn't even see the post date, just replied cause the guy above me did haha
  13. Should probably fix your website before trying to run a game server.
  14. This script is also posted on my portfolio. I will be copy pasting everything I posted on there for the airdrop. You can view it at http://altislife-scripting.com Lets begin, DISCLAIMER: I've spent countless hours making this right, and making sure it works 100% before posting it. I have tested this, for 6 hours straight making sure each and every setting works the way it should. If it does not work for you. You've done something wrong! Go back and repeat the steps. THIS IS FOR VERSION 5.0 OF ALTIS LIFE FRAMEWORK. THIS HAS ONLY BEEN TESTED ON 5.0 VERSION Most airdrop scripts posted publicly don't work properly without modification. This script has been re-modified to the original script from RyanTT (OptiX) Script Settings Map settings - Choose between Tanoa, Altis or Stratis (Depending on your servers map.) Location Settings (Not currently in the Config_Master) Debug Settings - Absolutely useless to be honest. Player side Check Weapons Config All settings interchangeable in Config_Master Installation Guide Make sure you read this, and understand before you go editing your files. If you don't feel comfortable editing your files. Don't add this script! I am not responsible for your actions. Make backups before you continue as we utilize the life_server folder. Head over to your Config_Master file (MISSIONDIR/config/Config_Master.hpp) and add the following to that file /* ADDITIONS BY DRUNKEN CHEETAH AIR DROP STUFF Change value to true to use different locations depending on your chosen map. Change the locations below. !!! YOU MUST ONLY EVER USE 1 SETTING. DO NOT USE MULTIPLE VALUE SETTINGS AS TRUE FOR MAP LOCATIONS. !!! */ use_drop_debug = false; //Default: false - This just adds some things to the rpt file, was for debugging purposes. Check the fn_Airdrop.sqf file. tanoa_location = false; //Default: false - Using Tanoa? Change to true altis_location = true; //Default: true - Using Altis? Change to true stratis_location = false; //Default: false - Using Stratis? Change to true enable_airdrop = true; //Default: true - Enable Airdrop? airdrop_markerSize = 1500; //Default: 1500 - Change Size of radius of airdrop airdrop_time = 3; //Default: 3 - Time in hours for the airdrop to take place //ONLY SET ONE PLAYERSIDE TO TRUE. SCRIPT WILL NOT RUN IF BOTH ARE SET TO TRUE. playerside_check_civ = false; //Default: false - Choose wheather or not to do a player check for civs. If X amount of civs are on then the drop will occure, else it wont. playerside_check_cop = false; //Default: false - Choose wheather or not to do a player check for cops. If X amount of cops are on then the drop will occure, else it wont. playerside_check_num = 4; //Default: 4 - If 4 cops/civs are on, then airdrop will occure. If less then this amount are on then it wont drop. use_custom_weapons = false; //Default: false - RECOMMENDED TO USE THIS, FOR MORE RELIABLE WEAPONS. This is to tell the script, that you want to use your own weapons. If this is set to false, default weapons will be added to the drop airdrop_weapon_guns[] = { //Make sure to only use classnames here. More classnames at BI Wiki -> https://community.bistudio.com/wiki/Arma_3_CfgWeapons_Weapons "arifle_MX_GL_ACO_F", "arifle_MX_ACO_F", "arifle_MXC_SOS_point_snds_F", "arifle_MX_RCO_pointer_snds_F", "arifle_MX_SW_Black_Hamr_pointer_F", "MMG_02_black_RCO_BI_F", "arifle_MXC_khk_Holo_Pointer_F", "arifle_AK12_F" }; airdrop_weapon_magazines[] = { //Make sure to only use classnames here. More classnames at BI Wiki -> https://community.bistudio.com/wiki/Arma_3_CfgWeapons_Weapons "30Rnd_65x39_caseless_mag", "30Rnd_65x39_caseless_mag_Tracer", "130Rnd_338_Mag", "30Rnd_762x39_Mag_Tracer_Green_F" }; Once you've done that, save the file and head over to your life_server folder ATTENTION MAKE A BACKUP BEFORE YOU CONTINUE! I AM NOT RESPONSIBLE IF YOU BREAK SOMETHING Navigate to: life_server/Functions/Missions (If you don't have the missions folder, create it) Inside that folder, we are going to create 2 new files First file is called: fn_initAirdrop.sqf Inside that file, paste the following code; #include "\life_server\script_macros.hpp" /* File: fn_initDrop.sqf Author: Drunken Cheetah Description: Initializes the dynamic air drop. Set times for mission to reoccure after done. */ //Every X hours sleep (LIFE_SETTINGS(getNumber, "airdrop_time") * 3600); []spawn TON_fnc_airdrop; Save that file, and create a new file in the same folder called fn_Airdrop.sqf Inside that file paste the following; #include "\life_server\script_macros.hpp" /* author: Drunken Cheetah description: Dynamic Air Drop Original Airdrop Script by RTT. */ private [ "_enableDrop","_radius","_marker","_markerText", "_positions", "_bmb", "_box", "_flare", "_light", "_container", "_containerDummy", "_mygroup1", "_mygroup2", "_mygroup3", "_heli1", "_heli2", "_heli3", "_smoke", "_para", "_posContainer", "_var","_heli4","_mygroup4" ]; _enableDrop = LIFE_SETTINGS(getNumber, "enable_airdrop"); //Turn on the airdrop? if(_enableDrop != 1) exitWith {}; //If the option to 'Enable Drop' isn't true, then exit and don't run //Playerside Check Settings _civs = LIFE_SETTINGS(getNumber, "playerside_check_civ"); _cops = LIFE_SETTINGS(getNumber, "playerside_check_cop"); _num = LIFE_SETTINGS(getNumber, "playerside_check_num"); if(_civs isEqualTo 1 && civilian countSide playableUnits < _num) exitWith {diag_log "NOT ENOUGH CIVS ARE ON. AIRDROP SCRIPT CANT RUN!";}; //ONLY CIV CHECK if(_cops isEqualTo 1 && west countSide playableUnits < _num) exitWith{diag_log "NOT ENOUGH COPS ARE ON. AIRDROP SCRIPT CANT RUN!";}; //ONLY COP CHECK //Do some checks first(Configuation in Config_Master) _radius = LIFE_SETTINGS(getNumber, "airdrop_markerSize"); //Size of the KoS Zone, usually quiet large _terrainAltis = LIFE_SETTINGS(getNumber, "altis_location"); //Get the true, false statement from Config_Master _terrainTanoa = LIFE_SETTINGS(getNumber, "tanoa_location"); //Get the true, false statement from Config_Master _terrainStratis = LIFE_SETTINGS(getNumber, "stratis_location"); //Get the true, false statement from Config_Master //The below settings, are drop locations ONLY. The starting location is random! If you want to change the drop locations. Goto the editor for the new locations if(_terrainAltis isEqualTo 1 && _terrainTanoa isEqualTo 1 && _terrainStratis isEqualTo 1) exitWith {diag_log "AIRDROP CONFIG ERROR! ALL MAPS ARE SET TO ON. SCRIPT WILL NOT RUN! CHECK YOUR CONFIG_MASTER FILE";}; if(_terrainAltis isEqualTo 1) then {positions = selectRandom[[24146.2,21618.4,0],[17070.6,12524.3,0],[11158.6,8752.99,0],[4038.37,12867.9,0],[8888.03,19459.4,0]];}; //ALTIS if(_terrainTanoa isEqualTo 1) then {positions = selectRandom[[12087.2,3766.09,0],[4809.03,3774.09,0],[9959.91,12097.9,0],[6340.12,10566.9,0],[2418.31,12585.3,0]];}; //TANOA if(_terrainStratis isEqualTo 1) then {positions = selectRandom[[5019.67,5905.58,0],[3889.79,3959.15,0],[1788.78,5556.1,0],[2416.62,1600.21,0],[6559.68,5191.21,0]];}; //STRATIS //All locations are random drop locations i've chosen on each map. //Start Airdrop [3,"<t size='1.2'><t color='#FF0000'>Airdrop-Mission</t></t><br/><br/><t size='1'>A helicopter is going to drop a Supplycrate in 15 minutes! The drop-location will be transmitted soon!</t>"] remoteExec ["life_fnc_broadcast",0]; sleep (5*60); //This is for debug purposes. Change settings in Config_Master if (LIFE_SETTINGS(getNumber,"use_drop_debug") isEqualTo 1) then { private _sPos = switch(worldName) do { case "Altis": { diag_log format ["AIRDROP::: %1 Map Used. Location is set to %2", worldName, positions];//debug }; case "Tanoa": { diag_log format ["AIRDROP::: %1 Map Used. Location is set to %2", worldName,positions];//debug }; case "Stratis": { diag_log format ["AIRDROP::: %1 Map Used. Location is set to %2", worldName,positions]; //debug }; }; }; _marker = createMarker ["AirdropMarker",positions]; "AirdropMarker" setMarkerColor "ColorRed"; "AirdropMarker" setMarkerType "Empty"; "AirdropMarker" setMarkerShape "ELLIPSE"; "AirdropMarker" setMarkerSize [_radius,_radius]; _markerText = createMarker ["Airdropmarkertext", positions]; "Airdropmarkertext" setMarkerColor "ColorBlack"; "Airdropmarkertext" setMarkerText "Airdrop-Mission"; "Airdropmarkertext" setMarkerType "mil_warning"; //-- BROADCAST IT [3,"<t size='1.2'><t color='#FF0000'>Airdrop-Mission</t></t><br/><br/><t size='1'>10 minutes until the helicopter will drop the supplies! Check your map for the drop-location!</t>"] remoteExec ["life_fnc_broadcast",0]; sleep 300; [3,"<t size='1.2'><t color='#FF0000'>Airdrop-Mission</t></t><br/><br/><t size='1'>5 minutes until the helicopter will drop the supplies!</t>"] remoteExec ["life_fnc_broadcast",0]; sleep 60; [3,"<t size='1.2'><t color='#FF0000'>Airdrop-Mission</t></t><br/><br/><t size='1'>4 minutes until the helicopter will drop the supplies!</t>"] remoteExec ["life_fnc_broadcast",0]; sleep 60; [3,"<t size='1.2'><t color='#FF0000'>Airdrop-Mission</t></t><br/><br/><t size='1'>3 minutes until the helicopter will drop the supplies!</t>"] remoteExec ["life_fnc_broadcast",0]; sleep 60; [3,"<t size='1.2'><t color='#FF0000'>Airdrop-Mission</t></t><br/><br/><t size='1'>2 minutes until the helicopter will drop the supplies!</t>"] remoteExec ["life_fnc_broadcast",0]; sleep 60; [3,"<t size='1.2'><t color='#FF0000'>Airdrop-Mission</t></t><br/><br/><t size='1'>1 minute until the helicopter will drop the supplies!</t>"] remoteExec ["life_fnc_broadcast",0]; sleep 60; _heli1 = createVehicle ["B_Heli_Transport_03_unarmed_F", [7950, 9667, 0], [], 0, "FLY"]; _heli2 = createVehicle ["B_Heli_Attack_01_F", [7950, 9700, 0], [], 0, "FLY"]; _heli3 = createVehicle ["B_Heli_Attack_01_F", [7950, 9630, 0], [], 0, "FLY"]; _heli1 allowDamage false; _heli2 allowDamage false; _heli3 allowDamage false; //Lock the vehicles incase a player some how can access them _heli1 lock 2; _heli2 lock 2; _heli3 lock 2; _mygroup1 = [[7950, 9667, 0], civilian, ["O_G_Soldier_SL_F"],[],[],[],[],[],180] call BIS_fnc_spawnGroup; _mygroup2 = [[7950, 9667, 0], civilian, ["O_G_Soldier_SL_F"],[],[],[],[],[],180] call BIS_fnc_spawnGroup; _mygroup3 = [[7950, 9667, 0], civilian, ["O_G_Soldier_SL_F"],[],[],[],[],[],180] call BIS_fnc_spawnGroup; {_x moveInDriver _heli1}forEach units _mygroup1; {_x moveInDriver _heli2}forEach units _mygroup2; {_x moveInDriver _heli3}forEach units _mygroup3; _mygroup1 addWaypoint [positions, 0]; _mygroup1 addWaypoint [[2380.47,22267.8,0], 0]; _mygroup2 addWaypoint [positions, 0]; _mygroup2 addWaypoint [[2380.47,22267.8,0], 0]; _mygroup3 addWaypoint [positions, 0]; _mygroup3 addWaypoint [[2380.47,22267.8,0], 0]; _markerText = createMarker ["airbox_marker", [14028.5,18719.7,0.0014267]]; "airbox_marker" setMarkerColor "ColorBlue"; "airbox_marker" setMarkerText " Airdrop-Box"; "airbox_marker" setMarkerType "mil_destroy"; _containerDummy = createVehicle ["Land_Cargo20_blue_F", [3450.7363, 16708.432, 90], [], 0, "CAN_COLLIDE"]; _containerDummy attachTo [_heli1, [0,0,-3.5]]; _containerDummy setDir 90; while {positions distance _heli1 > 150} do {"airbox_marker" setMarkerPos getPos _heli1; sleep 1;}; [3,"<t size='1.2'><t color='#FF0000'>Airdrop-Mission</t></t><br/><br/><t size='1'>The supplies have been dropped! 20 minutes until self destruction!</t>"] remoteExec ["life_fnc_broadcast",0]; sleep 10; [3,"<t size='1.2'><t color='#ADD8E6'>Attention Officers</t></t><br/><br/><t size='1'>Stop the rebels from stealing the airdrop contents!</t>"] remoteExec ["life_fnc_broadcast",west]; //-- DROP CONTAINER, ADD PARACHUTE, FLARE & LIGHT deleteVehicle _containerDummy; sleep 0.1; _container = createVehicle ["Land_Cargo20_blue_F", [3450.7363, 16708.432, 90], [], 0, "CAN_COLLIDE"]; _para = createVehicle ["O_Parachute_02_F", [getPos _heli1 select 0, getPos _heli1 select 1, getPos _heli1 select 2], [], 0, ""]; _para setPosATL (_heli1 modelToWorld[0,0,100]); _para attachTo [_heli1, [0,0,-10]]; detach _para; _container attachTo [_para, [0,0,-2]]; _container setDir 90; playSound3D ["a3\sounds_f\weapons\Flare_Gun\flaregun_1_shoot.wss", _container]; _smoke = "SmokeShellRed" createVehicle [getPos _container select 0, getPos _container select 1,0]; _smoke attachTo [_container, [0,0,0]]; _light = "Chemlight_green" createVehicle getPos _container; _light attachTo [_container,[0,0,0]]; _flare = "SmokeShellYellow" createVehicle getPos _container; _flare attachTo [_container,[0,0,0]]; sleep 0.1; //-- while { (getPos _container select 2) > 2 } do { "airbox_marker" setMarkerPos getPos _container;sleep 1; }; detach _container; _container setPos [getPos _container select 0, getPos _container select 1, (getPos _container select 2)+0.5]; playSound3D ["A3\Sounds_F\sfx\alarm_independent.wss", _container]; sleep 6; "M_NLAW_AT_F" createVehicle [getPos _container select 0, getPos _container select 1, 0]; _posContainer = getPos _container; deleteVehicle _container; sleep 0.5; _box = createVehicle ["CargoNet_01_box_F", _posContainer, [], 0, "CAN_COLLIDE"]; _box allowDamage false; _smoke = "SmokeShellGreen" createVehicle [getPos _box select 0,getPos _box select 1,0]; _flare = "SmokeShellYellow" createVehicle getPos _container; _light attachTo [_box,[0,0,0]]; _flare attachTo [_box,[0,0,0]]; // Fill box clearWeaponCargoGlobal _box; clearMagazineCargoGlobal _box; clearItemCargoGlobal _box; sleep 3; if(LIFE_SETTINGS(getNumber, "use_custom_weapons") isEqualTo 1) then { _randomAmount = floor(random 40); _airdrop_contents = LIFE_SETTINGS(getArray,"airdrop_weapon_guns"); _airdrop_magazines = LIFE_SETTINGS(getArray, "airdrop_weapon_magazines"); //Weapons _box addWeaponCargoGlobal [selectRandom _airdrop_contents,_randomAmount]; _box addWeaponCargoGlobal [selectRandom _airdrop_contents,_randomAmount]; _box addWeaponCargoGlobal [selectRandom _airdrop_contents,_randomAmount]; _box addWeaponCargoGlobal [selectRandom _airdrop_contents,_randomAmount]; _box addWeaponCargoGlobal [selectRandom _airdrop_contents,_randomAmount]; _box addWeaponCargoGlobal [selectRandom _airdrop_contents,_randomAmount]; //magazines _box addMagazineCargoGlobal [selectRandom _airdrop_magazines,_randomAmount]; _box addMagazineCargoGlobal [selectRandom _airdrop_magazines,_randomAmount]; _box addMagazineCargoGlobal [selectRandom _airdrop_magazines,_randomAmount]; _box addMagazineCargoGlobal [selectRandom _airdrop_magazines,_randomAmount]; _box addMagazineCargoGlobal [selectRandom _airdrop_magazines,_randomAmount]; _box addMagazineCargoGlobal [selectRandom _airdrop_magazines,_randomAmount]; }else { _var=floor(random 6); if (_var==0) then { _box addWeaponCargoGlobal ["LMG_Zafir_F", 5]; }; if (_var==1) then { _box addWeaponCargoGlobal ["arifle_TRG20_F", 5]; }; if (_var==2) then { _box addWeaponCargoGlobal ["LMG_Mk200_F", 5]; }; if (_var==3) then { _box addWeaponCargoGlobal ["SMG_01_F", 25]; }; if (_var==4) then { _box addWeaponCargoGlobal ["srifle_GM6_F", 5]; }; if (_var==5) then { _box addWeaponCargoGlobal ["SatchelCharge_Remote_Mag", 10]; }; }; sleep 0.1; // Fill box end sleep 300; deleteVehicle _heli1; deleteVehicle _heli2; deleteVehicle _heli3; sleep 600; [3,"<t size='1.2'><t color='#FF0000'>Airdrop-Mission</t></t><br/><br/><t size='1'>5 minutes until self destruction</t>"] remoteExec ["life_fnc_broadcast",0]; sleep 240; [3,"<t size='1.2'><t color='#FF0000'>Airdrop-Mission</t></t><br/><br/><t size='1'>1 minute until self destruction</t>"] remoteExec ["life_fnc_broadcast",0]; sleep 50; [3,"<t size='1.2'><t color='#FF0000'>Airdrop-Mission</t></t><br/><br/><t size='1'>10 seconds until self destruction</t>"] remoteExec ["life_fnc_broadcast",0]; sleep 10; [3,"<t size='1.2'><t color='#FF0000'>Airdrop-Mission</t></t><br/><br/><t size='1'>The AirDrop-Mission has ended! The zone will remain for a further 10 minutes.</t>"] remoteExec ["life_fnc_broadcast",0]; deleteVehicle _box; _bmb = "BO_GBU12_LGB" createVehicle [(getPos _box select 0)-21,(getPos _box select 1)+21,0]; sleep 1; _bmb = "BO_GBU12_LGB" createVehicle [(getPos _box select 0)-1,(getPos _box select 1)+56,0]; sleep 1; _bmb = "BO_GBU12_LGB" createVehicle [(getPos _box select 0)+23,(getPos _box select 1)-75,0]; sleep 1; _bmb = "BO_GBU12_LGB" createVehicle [(getPos _box select 0)-50,(getPos _box select 1)+1,0]; sleep 1; _bmb = "BO_GBU12_LGB" createVehicle [(getPos _box select 0)+87,(getPos _box select 1)-22,0]; sleep 1; _bmb = "BO_GBU12_LGB" createVehicle [(getPos _box select 0)+0,(getPos _box select 1)-0,0]; sleep 1; _bmb = "BO_GBU12_LGB" createVehicle [(getPos _box select 0)+20,(getPos _box select 1)-20,0]; sleep 1; _bmb = "BO_GBU12_LGB" createVehicle [(getPos _box select 0)-100,(getPos _box select 1)+56,0]; sleep 1; _bmb = "BO_GBU12_LGB" createVehicle [(getPos _box select 0)+100,(getPos _box select 1)-100,0]; sleep 1; _bmb = "BO_GBU12_LGB" createVehicle [(getPos _box select 0)-55,(getPos _box select 1)+123,0]; sleep 1; _bmb = "BO_GBU12_LGB" createVehicle [(getPos _box select 0)+577,(getPos _box select 1)-83,0]; sleep 1; _bmb = "BO_GBU12_LGB" createVehicle [(getPos _box select 0)+35,(getPos _box select 1)-99,0]; sleep 1; _bmb = "BO_GBU12_LGB" createVehicle [(getPos _box select 0)+100,(getPos _box select 1)-100,0]; sleep 1; _bmb = "BO_GBU12_LGB" createVehicle [(getPos _box select 0)-431,(getPos _box select 1)-431,0]; deleteMarker "airbox_marker"; sleep (10 * 60); [3,"<t size='1.2'><t color='#FF0000'>Airdrop-Mission</t></t><br/><br/><t size='1'>The airdrop zone has now self destructed. You must manually declare on other players.</t>"] remoteExec ["life_fnc_broadcast",0]; "Airdropmarker" setMarkerAlpha 0; "Airdropmarkertext" setMarkerAlpha 0; deleteMarker "Airdropmarker"; deleteMarker "Airdropmarkertext"; [] spawn TON_fnc_initAirdrop; Now save that file, and head back to your life_server folder Open the file life_server/config.cpp and add the following under class housing class Missions { file = "\life_server\Functions\Missions"; class Airdrop {}; class initAirdrop {}; }; Save that file, and head to life_server/init.sqf somewhere at the bottom, add the following; [] execVM "\life_server\Functions\Missions\fn_initAirdrop.sqf"; Now save that file, and save the rest of the files. Make sure to re-pbo your life_server folder Once that is all complete, head back to your MISSIONDIR/config/Config_Master.hpp to edit the airdrop settings accordingly. If its all done correctly, good job! You now have a working airdrop script, with extra settings. THINGS TO NOTE: If the drop zone is smaller than 550 the airdrop box will be dropped outside the KOS (Most cases) If you want to change your drop locations, do so in the fn_Airdrop.sqf at line 35 for altis. You don't need to use the debug settings at all. These were added for testing! Keep them if you want. I recommend as stated in Config_Master to use the use_custom_weapons to get more of a reliable box filling. NEVER set your player side check to TRUE for both CIV and COP NEVER set your map settings to true for all 3. The script wont run! Only use the map which is on your server. I don't think I missed anything, I apologize in advanced if I did! To stay up-to date on my scripts, and scripts I've edited for the 5.0 version. Visit my portfolio. Most things will be posted there, before here. http://altislife-scripting.com If you need help, don't hesitate to ask for it! If it does not work for you, post the RPT logs, if you don't get a reply within a couple hours. Go back to the beginning, and re-read everything step by step.
×
×
  • Create New...