-
Content count
131 -
Donations
0.00 EUR -
Joined
-
Last visited
Content Type
Profiles
Forums
Wiki
Servers
Devblog
Everything posted by Tuna
-
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.
-
How can one disable the uav thermal. I have tried a couple ways with no success curious if anyone has figured it out?
-
Read that section
-
Did you add the boats or crate type to your R3F script ?
-
Cup Units, Weapons & Vehicles Pricelists/Class Names
Tuna replied to Pistashio's topic in Items & Weapons
I have this same problem. The attachment filter does not seem to work with cup wep. Anyone know of a fix for this ? -
-
Cup Units, Weapons & Vehicles Pricelists/Class Names
Tuna replied to Pistashio's topic in Items & Weapons
Thanks -
This is the script i am getting from your armaholic link : fn_crashdrop.Altis
- 80 replies
-
- 1
-
- kellojo
- fast travel system
-
(and 5 more)
Tagged with:
-
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],
-
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
-
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.
-
I am running very similar mods and i also have shit floating up in the air, only trader objects like crates ect.
-
Lol fucking commas man
-
send the section u were editing
-
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
-
Genital HPV Infection or do you mean Hollows Vehicle Pack?
-
All good buddy, this forum is a great place to get support. Not everyone will be friendly but some are!
-
5980 it will usually say in ur infistar logs what idd its blocking
-
Read ur files and find the display ID _display = findDisplay 5980; try that
-
[SOLVED] vehicles don't save to db in v0028 - fixed in next patch
Tuna replied to Syender's topic in Anti Hack
Use the trader function within the infistar menu. That will work for u. -
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"; };
-
Add 9000 to your whitelist IDD in infistar
- 34 replies
-
- gambling
- slotmachine
-
(and 1 more)
Tagged with:
-
No you cannot hence the R3F tow script needed to be enabled. Then load it into a boat and away you go.
-
Thank you good sir
-
Try this
- 34 replies
-
- gambling
- slotmachine
-
(and 1 more)
Tagged with: