-
Content Count
2 -
Joined
-
Last visited
-
Medals
Community Reputation
10 GoodAbout Stealthy-Dusty
-
Rank
Newbie
-
In need of a decent ammobox refill-script
Stealthy-Dusty posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
In need of an decent ammo box refill script, including all weapons, Im a noob to no scripter at all, have been using Riouken`s Script, but its outdated, and it needs more weapons, maybe if even somebody could edit it for me adding the weapons, like the titan at and the m320 Current lines: ///////// MP Ammo Box script ///////// By: Riouken ///////// For Arma 3 if (! isServer) exitWith {}; _crate = _this select 0; while {alive _crate} do { clearMagazineCargo _crate; clearWeaponCargo _crate; clearItemCargoGlobal _crate; ///NATO Weapons/// _crate addWeaponCargoGlobal ["arifle_MX_F", 50]; _crate addWeaponCargoGlobal ["arifle_MX_GL_F", 50]; _crate addWeaponCargoGlobal ["arifle_MXC_F", 50]; _crate addWeaponCargoGlobal ["arifle_TRG20_F", 50]; _crate addWeaponCargoGlobal ["arifle_TRG21_F", 50]; _crate addWeaponCargoGlobal ["arifle_TRG21_GL_F", 50]; //_crate addWeaponCargoGlobal ["arifle_MSM_F", 50]; _crate addWeaponCargoGlobal ["srifle_EBR_F", 50]; _crate addWeaponCargoGlobal ["LMG_Mk200_F", 50]; ///OPFOR Weapons//// _crate addWeaponCargoGlobal ["arifle_Khaybar_F", 50]; _crate addWeaponCargoGlobal ["arifle_Khaybar_C_F", 50]; _crate addWeaponCargoGlobal ["arifle_Khaybar_GL_F", 50]; _crate addWeaponCargoGlobal ["hgun_rook40_F", 50]; ///AMMO/// _crate addMagazineCargoGlobal ["30Rnd_65x39_Caseless_mag", 200]; _crate addMagazineCargoGlobal ["100Rnd_65x39_Caseless_mag", 200]; _crate addMagazineCargoGlobal ["30Rnd_65x39_caseless_mag_Tracer", 200]; _crate addMagazineCargoGlobal ["100Rnd_65x39_caseless_mag_Tracer", 200]; //_crate addMagazineCargoGlobal ["30Rnd_65x39_caseless_mag_green", 200]; _crate addMagazineCargoGlobal ["30Rnd_65x39_case_mag", 200]; _crate addMagazineCargoGlobal ["20Rnd_762x45_Mag", 200]; _crate addMagazineCargoGlobal ["16Rnd_9x21_Mag", 200]; _crate addMagazineCargoGlobal ["30Rnd_9x21_Mag", 200]; _crate addMagazineCargoGlobal ["20Rnd_556x45_UW_Mag", 200]; _crate addMagazineCargoGlobal ["30RND_556x45_Stanag", 200]; _crate addMagazineCargoGlobal ["200RND_65x39_Cased_box_Tracer", 200]; ////Launchers//// _crate addWeaponCargoGlobal ["launch_NLAW_F", 50]; _crate addWeaponCargoGlobal ["launch_RPG32_F", 50]; ////Launcher Ammo//// _crate addMagazineCargoGlobal ["RPG32_F", 50]; _crate addMagazineCargoGlobal ["NLAW_F", 50]; /////Explosives//// _crate addMagazineCargoGlobal ["ATMine_Range_Mag", 50]; _crate addMagazineCargoGlobal ["APERSMine_Range_Mag", 50]; _crate addMagazineCargoGlobal ["ClaymoreDirectionalMine_Remote_Mag", 50]; _crate addMagazineCargoGlobal ["DemoCharge_Remote_Mag", 50]; _crate addMagazineCargoGlobal ["APERSBoundingMine_Range_Mag", 50]; _crate addMagazineCargoGlobal ["SLAMDirectionalMine_Wire_Mag", 50]; _crate addMagazineCargoGlobal ["APERSTripMine_Wire_Mag", 50]; _crate addWeaponCargoGlobal ["ToolKit", 50]; _crate addWeaponCargoGlobal ["MineDetector", 50]; _crate addWeaponCargoGlobal ["Medikit", 50]; /////Grenades//// _crate addMagazineCargoGlobal ["1Rnd_HE_Grenade_shell", 50]; _crate addMagazineCargoGlobal ["1Rnd_Smoke_Grenade_shell", 50]; _crate addMagazineCargoGlobal ["1Rnd_SmokeGreen_Grenade_shell", 50]; _crate addMagazineCargoGlobal ["1Rnd_SmokeYellow_Grenade_shell", 50]; _crate addMagazineCargoGlobal ["1Rnd_SmokePurple_Grenade_shell", 50]; _crate addMagazineCargoGlobal ["1Rnd_SmokeBlue_Grenade_shell", 50]; _crate addMagazineCargoGlobal ["1Rnd_SmokeOrange_Grenade_shell", 50]; _crate addMagazineCargoGlobal ["SmokeShellRed", 50]; _crate addMagazineCargoGlobal ["SmokeShell", 50]; _crate addMagazineCargoGlobal ["SmokeShellGreen", 50]; _crate addMagazineCargoGlobal ["SmokeShellYellow", 50]; _crate addMagazineCargoGlobal ["SmokeShellPurple", 50]; _crate addMagazineCargoGlobal ["SmokeShellBlue", 50]; _crate addMagazineCargoGlobal ["SmokeShellOrange", 50]; ///Attachments/// _crate addItemCargoGlobal ["Zasleh2",50]; _crate addItemCargoGlobal ["muzzle_snds_H", 50]; _crate addItemCargoGlobal ["muzzle_snds_L", 50]; _crate addItemCargoGlobal ["muzzle_snds_B", 50]; _crate addItemCargoGlobal ["muzzle_snds_H_MG", 50]; _crate addItemCargoGlobal ["optic_Arco", 50]; _crate addItemCargoGlobal ["optic_Hamr", 50]; _crate addItemCargoGlobal ["optic_Aco", 50]; _crate addItemCargoGlobal ["optic_ACO_grn",50]; _crate addItemCargoGlobal ["optic_Holosight", 50]; _crate addItemCargoGlobal ["acc_flashlight", 50]; _crate addItemCargoGlobal ["acc_pointer_IR", 50]; sleep 500; }; Riouken`s: http://forums.bistudio.com/showthread.php?147962-Working-MP-ammo-box-script -
[Working] MP ammo box script
Stealthy-Dusty replied to riouken's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Im trying to figure out how to add the Titan At Launcher to the script, i added the line ''_crate addWeaponCargoGlobal ["launch_Titan_AT_F", 50];'' but it doesnt add it to the crate, i am pretty clueless with scripting, but just trying, hope to get response soon ---------- Post added at 08:43 ---------- Previous post was at 08:31 ---------- And i need way more weapons, its for an all out weapon`s range, so i need weapons like the m320, the titan, all that sort of stuff ---------- Post added at 08:46 ---------- Previous post was at 08:43 ---------- plus some mags for the ABR would be nice