You can find out the Class-Name of a unit, magazine or Weapon by typing this in the init field of the unit:
Â
For Unit: Â Hint format["%1",typeOf(this)]
For Magazine: Hint format ["%1",magazines this]
For Weapon: Hint format ["%1",weapons this]
Bohemia lists the weapons available.....
http://community.bistudio.com/wiki/Armed_Assault:_WeaponsYou can implement them via the unit's init field:
removeallweapons this; this addmagazine "15Rnd_9x19_M9";; this addmagazine "15Rnd_9x19_M9"; this addweapon "M9";
Or via a script if you want to load units or created units with your custie weapon config.
Place this in the unit's init:
[] exec "Rearm.sqs"
And the script:
_unit = _this select 0
removeallweapons _unit ;
_unit addmagazine "30Rnd_545x39_AK";
_unit addmagazine "30Rnd_545x39_AK";
_unit addmagazine "30Rnd_545x39_AK";
_unit addweapon "ak74";
_unit addmagazine "8Rnd_9x18_Makarov";
_unit addmagazine "8Rnd_9x18_Makarov";
_unit addmagazine "8Rnd_9x18_Makarov";
_unit addweapon "Makarov";
_unit selectweapon "Makarov";
exit
Keep in mind you need to add the magazine info before the weapon info or you end up with no mag in the chamber and the unit has to reload before firing.
There's much fun to be had adding the wrong weapons to units and vehicles...WW3!!!
(I hope this was your question? lol....as always - dunno if it's the right way - but it works for meso
)