Coladebote 46 Posted September 16, 2019 // 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. Share this post Link to post Share on other sites
3LGStevo 17 Posted September 16, 2019 Short of modding the vehicle to allow more cargo space, can't you add the items to backpacks, and then store them inside the vehicle? I believe the backpack uses the same amount of space, irrelevant of it's own contents. Share this post Link to post Share on other sites
Mr H. 402 Posted September 16, 2019 I think if you add stuff to vehicle cargo by script the actual cargo side doesn't matter. However you can't expand actual cargo size short of modding the vehicle (but it's easy to do then). Share this post Link to post Share on other sites
Coladebote 46 Posted September 16, 2019 I give an example. The vehicle must be repaired. I want to leave my backpack inside the vehicle and take another one with the tools. This operation is impossible, since the capacity of the vehicle is fully occupied. Share this post Link to post Share on other sites
RZNUNKWN 354 Posted September 16, 2019 @Coladebote, you can always try Bigger Trunks mod if you want more capacity for the vehicles, then try to store items you want. Share this post Link to post Share on other sites
Coladebote 46 Posted September 16, 2019 Thanks for your contribution. Does the Bigger Trunks addon act on vehicles created by secrip? Share this post Link to post Share on other sites
Coladebote 46 Posted September 16, 2019 Hi, the Bigger Trunks addon doesn't work. the capacity of the vehicle is the same with the addon loaded, which without the addon Share this post Link to post Share on other sites