Tuna

Member
  • Content count

    131
  • Donations

    0.00 EUR 
  • Joined

  • Last visited

Everything posted by Tuna

  1. Tuna

    Underwater Crate Script

    Here is a script i am using to have crates spawn under water. These crates only spawn once per restart. I take no credit for this script, i only modified it. You will need R3F Tow script enabled to be able to pick up the crate underwater. The crate class name i am using is Box_NATO_Wps_F. Add this to your init.sqf [] execVM "watercrate.sqf"; Then create an sqf called watercrate.sqf and add that file to your mpmission folder. //All CREDIT GOES TO ORGINAL OWNERS AND MODIFIERS// //Random Loot Crates by Darth_Rogue & Chisel (tdwhite) //HUGE thanks to deadeye & Robio for helping work out the last bugs! ////////////////////////////////////////////////////////////////////// // Modified by Tuna to only spawn in water on out skirts of map //watercrate.sqf if (isServer) then { _numberofcrates = 5; // Number of crates around the map _spawnCenter = [15199.1,14300.6,0]; //_spawnCenter = getmarkerpos "center"; // Use this if you want the global center of the map, it's declared in mission.sqm, island specific _min = 7000; // minimum distance from the center position (Number) in meters _max = 12000; // maximum distance from the center position (Number) in meters // _max = 4; // Example : maximum range of spawned crates, to keep them INSIDE the sector B compound _mindist = 1; // minimum distance from the nearest object (Number) in meters, ie. spawn at least this distance away from anything within x meters.. _water = 2; // water mode (Number) 0: cannot be in water , 1: can either be in water or not , 2: must be in water _shoremode = 0; // 0: does not have to be at a shore , 1: must be at a shore _marker = True; // Draw a green circle in which the crate will be spawned randomly _markersize = 100; // Radius of the marker in meters diag_log format['Starting spawncrates.sqf']; for "_i" from 1 to _numberofcrates do { _pos = [_spawnCenter,_min,_max,_mindist,_water,800,_shoremode] call BIS_fnc_findSafePos; // find a random location within range if (_marker) then { _event_marker = createMarker [ format ["loot_marker_%1", _i], _pos]; _event_marker setMarkerShape "ELLIPSE"; _event_marker setMarkerBrush "Solid"; _event_marker setMarkerColor "ColorRed"; _event_marker setMarkerAlpha 0.45; _event_marker setMarkerSize [(_markersize+15), (_markersize+15)]; //green circle slightly bigger , box can spawn just outside if not increased _pos = [_pos select 0, _pos select 1, 0]; }; diag_log format['Spawncrate %1 : Location %2',_i,_pos]; _box = "Box_NATO_Wps_F" createvehicle _pos; //create the crate .. These ARE liftable with chopper like the CH-67 , but will not stay after restarts ! clearMagazineCargoGlobal _box; clearWeaponCargoGlobal _box; clearItemCargoGlobal _box; _box setVariable ["permaLoot",true]; //stay until reset _box allowDamage false; // Prevent boxes to explode when spawning // Add items to the crate Ex. 2 + random 2 = possible 4 /// random 8 possible 1-8 items _box addItemCargoGlobal ["Exile_Item_DuctTape", 2 + (random 2)]; _box addItemCargoGlobal ["Exile_Item_JunkMetal", (random 8)]; _box addItemCargoGlobal ["Exile_Item_MetalPole", (random 7)]; _box addMagazineCargoGlobal ["ClaymoreDirectionalMine_Remote_Mag", (random 2)]; _box addItemCargoGlobal ["Exile_Item_WoodFloorKit", 2 + (random 10)]; _box addItemCargoGlobal ["Exile_Item_WoodPlank", 20 + (random 10)]; _box addItemCargoGlobal ["Exile_Item_WoodWallKit", (random 7)]; _box addItemCargoGlobal ["Exile_Item_InstaDoc", 1 + (random 2)]; _box addItemCargoGlobal ["Exile_Item_FortificationUpgrade", (random 4)]; _box addItemCargoGlobal ["Exile_Item_BBQSandwich_Cooked", 1 + (random 4)]; _box addItemCargoGlobal ["Exile_Item_Energydrink", 1 + (random 3)]; _box addWeaponCargoGlobal ["srifle_LRR_camo_F", (random 1)]; _box addWeaponCargoGlobal ["srifle_mas_ksvk_c", (random 1)]; _box addWeaponCargoGlobal ["srifle_mas_m107", (random 1)]; _box addWeaponCargoGlobal ["arifle_SDAR_F", 1 + (random 1)]; _box addMagazineCargoGlobal ["20Rnd_556x45_UW_mag",3 + (random 5)]; _box addMagazineCargoGlobal ["SatchelCharge_Remote_Mag", (random 1)]; _box addItemCargoGlobal ["Exile_Item_Bandage", 1 + (random 5)]; _box addMagazineCargoGlobal ["150Rnd_93x64_Mag", (random 2)]; _box addMagazineCargoGlobal ["130Rnd_338_Mag", (random 2)]; } }; Have fun watching players dive 500m under water to get loot! I would like to add AI with SDAR at the crates, if anyone can help with that let me know.
  2. Tuna

    Disable UAV Thermal?

    How can one disable the uav thermal. I have tried a couple ways with no success curious if anyone has figured it out?
  3. Tuna

    Underwater Crate Script

    Read that section
  4. Tuna

    Underwater Crate Script

    Did you add the boats or crate type to your R3F script ?
  5. I have this same problem. The attachment filter does not seem to work with cup wep. Anyone know of a fix for this ?
  6. Tuna

    ETG Fast Travel System

    This is the script i am getting from your armaholic link : fn_crashdrop.Altis
  7. Tuna

    A3_DMS new Mission

    Would i be correct in saying that the Objects need to be in arma 3 editor format? and the rest can be done with M3editor? i am trying to get this format ["Land_Mil_WallBig_4m_F",[6465.52,12381.6,-1.15483],272.727,[[-0.998867,0.0475818,0],[0,0,1]],false], But this is what i get from M3 Editor ["Land_HBarrier_Big_F",[3587.02,7634.33,0],356.143,0,0,false],
  8. Tuna

    Underwater Crate Script

    Sounds strange only way i have had that issue is a little bit of fog. Not sure what other settings you can play with to fix it. Thanks @hogansheroes
  9. Tuna

    Underwater Crate Script

    It will because of ingame fog. When it gets foggy in the server it goes under water..... i know weird. When its really deep you will need NV.
  10. Tuna

    Trade zone buildings duplicating.

    I am running very similar mods and i also have shit floating up in the air, only trader objects like crates ect.
  11. Tuna

    config.cpp error

    Lol fucking commas man
  12. Tuna

    config.cpp error

    send the section u were editing
  13. Tuna

    config.cpp error

    Look at the end of each section there cannot be a , at the end example "blahblah", "blahblah", "blahblah" <------------ no comma look through what u were editing and find the extra comma or missing one
  14. Tuna

    HPV Vehicle Error

    Genital HPV Infection or do you mean Hollows Vehicle Pack?
  15. Tuna

    Sheeps Blackjack V2

    All good buddy, this forum is a great place to get support. Not everyone will be friendly but some are!
  16. Tuna

    Sheeps Blackjack V2

    5980 it will usually say in ur infistar logs what idd its blocking
  17. Tuna

    Sheeps Blackjack V2

    Read ur files and find the display ID _display = findDisplay 5980; try that
  18. Use the trader function within the infistar menu. That will work for u.
  19. Tuna

    Sheeps Blackjack V2

    this //App 1 _app1Text = "Blackjack"; _app1Logo = ""; app1_action = { [] execVM "Scripts\SlotMachine\fn_blackjack.sqf"; }; should be //App 4 _app4Text = "Blackjack"; _app4Logo = ""; app4_action = { [] execVM "Scripts\blackjack\fn_blackjack.sqf"; };
  20. Tuna

    Sheep's Slotmachine v4

    Add 9000 to your whitelist IDD in infistar
  21. Tuna

    Underwater Crate Script

    No you cannot hence the R3F tow script needed to be enabled. Then load it into a boat and away you go.
  22. Tuna

    Disable UAV Thermal?

    Thank you good sir
  23. Tuna

    Sheep's Slotmachine v4

    Try this