FL350 0 Posted March 19, 2008 hey, im making a mission in which my player starts with a Javelin launcher, in the mission editor i added this command into my units init. line. ( this addweapon "JAVELIN" ; this addmagazine "JAVELIN" ) when i play in the editor its all fine etc, but when i then "export" the mission to multiplayer, go online and play with a friend, i start with the Javelin but with no ammo for it? and this is very frustrating given theres no god damn crate in arma that holds ammo for a Javelin, can someone understand this problem? also does anyone know the command to place certain types of grenades or ammo in crates? .... yes i have checked the website Share this post Link to post Share on other sites
=Odin= 0 Posted March 19, 2008 Heya mate, I think the add magazine line should go befor addweapon ( this addmagazine "JAVELIN" ; this addweapon "JAVELIN" ) also you may need to remove the original player type magazines to fit the javelin ammo using the removeMagazine command, which should be done prior to the add commands. Edit; read the ammobox part Create an ammobox and name it, box Add this to its init <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">[] exec "boxx.sqs"; This script has the Javelin and its ammo aswell as other explosive type ordinance I put together. you can modify it to your liking using whatever weapon classnames you like available Here boxx.sqs <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">#Big Guns clearmagazinecargo box; clearweaponcargo box; box AddWeaponCargo ["M4A1GL",20]; box AddWeaponCargo ["M136",40]; box AddWeaponCargo ["Stinger",40]; box AddMagazineCargo ["30Rnd_556x45_Stanag",80]; box AddMagazineCargo ["HandGrenadeTimed",80]; box AddMagazineCargo ["M136", 150]; box AddMagazineCargo ["1Rnd_HE_M203", 150]; box AddMagazineCargo ["FlareWhite_M203",80]; box AddMagazineCargo ["FlareRed_M203",80]; box AddMagazineCargo ["FlareGreen_M203",80]; box AddMagazineCargo ["FlareYellow_M203",80]; box AddMagazineCargo ["SmokeShell",80]; box AddMagazineCargo ["SmokeShellRed",80]; box AddMagazineCargo ["SmokeShellGreen",80]; box AddMagazineCargo ["Stinger",80]; box AddWeaponCargo ["Binocular", 40]; box AddWeaponCargo ["NVGoggles",150]; box AddWeaponCargo ["Laserdesignator",80]; box AddWeaponCargo ["JAVELIN",80]; box AddMagazineCargo ["JAVELIN",150]; box AddMagazineCargo ["Laserbatteries",80]; box AddMagazineCargo ["pipebomb",40]; box AddMagazineCargo ["Mine",40]; This is for the allies so just change it around to suit your needs or side GL Odin Share this post Link to post Share on other sites