GIJOE94 0 Posted July 15, 2007 Hi all, I've downloaded the new SLA weapons pack and I noticed that there was a Vz-61 scorpion SMG in there. Doese anyone know the name and magazine name for it e.g. if I wanted to replace a soldiers weapon with an m16 I would type in this: Removeallweapons this; This addweapon "M16A2"; This AddMagazine "30Rnd_556x45_Stanag"; This AddMagazine "30Rnd_556x45_Stanag"; This AddMagazine "30Rnd_556x45_Stanag";nit: Share this post Link to post Share on other sites
johnnyboy 3799 Posted July 15, 2007 Was there a ReadMe.Txt with that addon? Hopefully, they named all the weapons there. If not, you can make a test mission, arm the player with the scorpion, and then execute the script below to display all the weapon and ammo names the unit has. <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">;show_equip.sqs ; [man] exec "show_equip.sqs" _dude = _this select 0 _weapons = weapons _dude _mags = magazines _dude _cnt = count _weapons _x = 0 ~2 #loop1 TitleText[format["_x= %1, weapon=%2",_x, _weapons select _x], "plain",1] _x = _x +1 ~3 ?_x < _cnt: goto "loop1" _cnt = count _mags _x = 0 #loop2 TitleText[format["mag=%1",_mags select _x], "plain",1] _x = _x +1 ~1 ?_x < _cnt: goto "loop2" #end exit Share this post Link to post Share on other sites
GIJOE94 0 Posted July 15, 2007 Err... I don't realy get that. I'll try some otherways anyway. Share this post Link to post Share on other sites
Taurus 20 Posted July 15, 2007 its easy just put in your guys init-line [this] exec "show_equip.sqs" create a file in your mission folder called show_equip.sqs open it up in notepad, paste the text within the code-block(white box) posted by JohnnyBoy save the file. pre-view and you'll see the weapons and magazines currently on your guy. Share this post Link to post Share on other sites