Search the Community
Showing results for tags 'supplies'.
Found 3 results
-
Will there be a chance that Bohemia could for the first time introduce trailers to haul extra supplies of any kind? Maybe even fuel trailers ?
-
Hi there. If you want to create missions without ACE dependencies but still want to use ACE Medical and Food stuff when ACE is available on the server, you might use this code in your initServer.sqf, for example. initServer.sqf // If ACE Medical is activated on the server, do it: if ( isClass(configfile >> "CfgPatches" >> "ace_medical") ) then { supply_crate1 = createVehicle ["CargoNet_01_box_F", [1876.54,9278.19,200], [], 0, "NONE"]; chute1 = createVehicle ["B_Parachute_02_F", [0,0,0], [], 0, "FLY"]; chute1 setPos (getPos supply_crate1); // getPos was designed to take the altitude pos obj from the surface below it. supply_crate1 attachTo [chute1, [0,0,-0.6]]; // attach the chute to the crate // Supply items > Medical: supply_crate1 addItemCargo ["ACE_fieldDressing", 36]; supply_crate1 addItemCargo ["ACE_elasticBandage", 18]; supply_crate1 addItemCargo ["ACE_splint", 9]; supply_crate1 addItemCargo ["ACE_quikclot", 18]; supply_crate1 addItemCargo ["ACE_tourniquet", 18]; supply_crate1 addItemCargo ["ACE_packingBandage", 9]; supply_crate1 addItemCargo ["ACE_bloodIV", 9]; supply_crate1 addItemCargo ["ACE_plasmaIV_500", 5]; supply_crate1 addItemCargo ["ACE_salineIV", 5]; supply_crate1 addItemCargo ["ACE_bodyBag", 5]; supply_crate1 addItemCargo ["ACE_morphine", 18]; supply_crate1 addItemCargo ["ACE_epinephrine", 18]; supply_crate1 addItemCargo ["ACE_adenosine", 18]; supply_crate1 addItemCargo ["ACE_painkillers", 18]; supply_crate1 addItemCargo ["ACE_surgicalKit", 3]; supply_crate1 addItemCargo ["ACE_suture", 3]; supply_crate1 addItemCargo ["ACE_personalAidKit", 3]; supply_crate1 addItemCargo ["Medikit", 1]; // Supply items > Food: supply_crate1 addItemCargo ["ACE_Banana", 18]; supply_crate1 addItemCargo ["ACE_MRE_SteakVegetables", 9]; // Supply items > Water: supply_crate1 addItemCargo ["ACE_WaterBottle", 18]; supply_crate1 addItemCargo ["ACE_Canteen", 9]; // Supply items > Extra: supply_crate1 addItemCargo ["ACE_EarPlugs", 9]; // Waiting the crate get closer to the ground: waitUntil { sleep 0.1; ((getPosATL supply_crate1) # 2) < 2 || !alive supply_crate1 }; // Adjust to crate velocity after the parachute detachment: _velocity = velocity supply_crate1; // [x,y,z] detach supply_crate1; supply_crate1 setVelocity _velocity; // Detachment of parachute from the crate: playSound3D ["a3\sounds_f\weapons\Flare_Gun\flaregun_1_shoot.wss", supply_crate1]; detach chute1; chute1 disableCollisionWith supply_crate1; // Animation breather: sleep 5; // Delete the parachute: if ( !isNull chute1 ) then { deleteVehicle chute1 } }; Pay attention to this line down below. You should set the classname of the asset of your taste. You MUST replace "[XXX, YYY, 200]" for other X and Y positions on the map. supply_crate1 = createVehicle ["CargoNet_01_box_F", [1876.54,9278.19,200], [], 0, "NONE"]; Enjoy.
-
// VEHICLES // _markerstr = createMarker ["VEHICLE_1",[14757.6,16787.5]]; _markerstr setMarkerShape "ICON"; _markerstr setMarkerType "hd_dot"; _height = 0; _vehicle = createVehicle ["B_MRAP_01_hmg_F", (getMarkerPos "VEHICLE_1"),[],0,"NONE"]; _dir = 85; _vehicle setDir _dir; clearMagazineCargoGlobal _vehicle; clearWeaponCargoGlobal _vehicle; clearItemCargoGlobal _vehicle; clearBackpackCargoGlobal _vehicle; /// WEAPONS /// _vehicle addweaponcargoGlobal ["srifle_DMR_02_sniper_F",1]; _vehicle addweaponcargoGlobal ["CUP_srifle_m110",1]; _vehicle addweaponcargoGlobal ["CUP_arifle_M16A4_Grip",4]; _vehicle addweaponcargoGlobal ["CUP_arifle_M16A4_GL",2]; _vehicle addweaponcargoGlobal ["CUP_lmg_m249_SQuantoon",1]; _vehicle addweaponcargoGlobal ["launch_MRAWS_green_F",2]; /// AMMUNITION /// _vehicle addmagazinecargoGlobal ["SatchelCharge_Remote_Mag",6]; _vehicle addmagazinecargoGlobal ["DemoCharge_Remote_Mag",16]; _vehicle addmagazinecargoGlobal ["10Rnd_338_Mag",20]; _vehicle addmagazinecargoGlobal ["10Rnd_338_Mag",20]; _vehicle addmagazinecargoGlobal ["CUP_200Rnd_TE4_Red_Tracer_556x45_M249",6]; _vehicle addmagazinecargoGlobal ["CUP_20Rnd_762x51_B_M110",25]; _vehicle addmagazinecargoGlobal ["1Rnd_HE_Grenade_shell",16]; _vehicle addmagazinecargoGlobal ["HandGrenade",16]; _vehicle addmagazinecargoGlobal ["MiniGrenade",24]; _vehicle additemcargoGlobal ["CUP_MAAWS_HEAT_M",6]; _vehicle additemcargoGlobal ["CUP_MAAWS_HEDP_M",6]; /// EQUIPMENT /// _vehicle additemcargoGlobal ["cup_bipod_harris_1a2_l",7]; _vehicle additemcargoGlobal ["muzzle_snds_338_sand",1]; _vehicle additemcargoGlobal ["cup_muzzle_snds_m110",1]; _vehicle additemcargoGlobal ["muzzle_snds_m",7]; _vehicle additemcargoGlobal ["ace_optic_lrps_pip",1]; _vehicle additemcargoGlobal ["rhsusf_acc_premier_anpvs27",1]; _vehicle additemcargoGlobal ["rhsusf_acc_su230",8]; _vehicle additemcargoGlobal ["optic_aco",8]; _vehicle additemcargoGlobal ["cup_optic_susat",8]; _vehicle additemcargoGlobal ["ACE_acc_pointer_green",8]; _vehicle additemcargoGlobal ["Rangefinder",2]; _vehicle additemcargoGlobal ["ACE_Vector",1]; _vehicle additemcargoGlobal ["ACE_microDAGR",8]; _vehicle additemcargoGlobal ["ALIVE_Tablet",2]; _vehicle additemcargoGlobal ["ACE_Clacker",2]; _vehicle additemcargoGlobal ["ACE_IR_Strobe_Item",8]; _vehicle additemcargoGlobal ["ACE_Flashlight_MX991",8]; _vehicle additemcargoGlobal ["ACE_EarPlugs",8]; _vehicle additemcargoGlobal ["ACE_ATragMX",1]; _vehicle additemcargoGlobal ["ACE_MapTools",8]; _vehicle additemcargoGlobal ["ACE_Kestrel4500",2]; _vehicle additemcargoGlobal ["B_UavTerminal",2]; _vehicle additemcargoGlobal ["tf_anprc152_1",8]; _vehicle additemcargoGlobal ["SAS_Predator_W",8]; _vehicle additemcargoGlobal ["ToolKit",2]; _vehicle addbackpackcargoGlobal ["B_Carryall_khk",2]; _vehicle addbackpackcargoGlobal ["B_FieldPack_khk",6]; /// MEDICINES /// _vehicle addItemCargoGlobal ["ACE_personalAidKit",8]; _vehicle addItemCargoGlobal ["ACE_bloodIV_500",16]; _vehicle addItemCargoGlobal ["ACE_epinephrine",16]; _vehicle addItemCargoGlobal ["ACE_tourniquet",32]; _vehicle addItemCargoGlobal ["ACE_morphine",40]; _vehicle addItemCargoGlobal ["ACE_quikclot",120]; _vehicle addItemCargoGlobal ["ACE_packingBandage",120]; _vehicle addItemCargoGlobal ["ACE_elasticBandage",120]; _vehicle addItemCargoGlobal ["ACE_surgicalKit",8]; With this little code I generate a vehicle with some supplies on board. The problem is that I need to expand the cargo space to be able to store backpacks, launchers, etc. in the vehicle. Can somebody help me. Thank you.