Njayjay 10 Posted January 10, 2010 (edited) Hi there, I'm kinda new to editing, just wondering how to set my squad loadout in the editor interface? Alternately, how do I make a vehicle carry ammo and weapon supplies for example having AE Ammo crate stuff in it to choose while in flight? Thanks Edited January 10, 2010 by Njayjay Share this post Link to post Share on other sites
Andy455 11 Posted January 10, 2010 To edit the loadouts of you units individually can take a bit of time if you are just typing the commands in the init field. If you do want to do that you will need: list of Arma 2 Classnames, addWeapon, addMagazine & a brain. Explanations of how to use the commands are on the wiki but here is an example anyway (for an ACE2 sniper): removeAllWeapons this; this addMagazine "ACE_Battery_Rangefinder"; this addWeapon "ACE_Rangefinder_OD"; {_x addMagazine "ACE_5Rnd_127x99_S_TAC50"} forEach [1,2,3,4]; this addWeapon "ACE_TAC50_SD"; As you can see that takes up quite a bit of space in the init field so I prefer to just put that into a script or something then just run it with execVM. To add weapons to a vehicle you can use addWeaponCargo & addMagazineCargo, they both behave like the addWeapon & addMagazine commands so it should be easy to work out. Share this post Link to post Share on other sites
FredTche 10 Posted June 12, 2011 I tried this with the M16A4 and it worked. Later I tried "FN FAL" and it didnt. Can anyone help me? Share this post Link to post Share on other sites
buliwyf 4 Posted June 12, 2011 I guess you tried with wrong classnames... take a look HERE. ;) Share this post Link to post Share on other sites
FredTche 10 Posted July 11, 2011 @Buliwyf, thanks for the link, it will be useful in the future but it didnt include the FN FAL. I did manage to add it, though. My problem now is how to add multiple magazines to a weapon. Does anyone know? Share this post Link to post Share on other sites
roguetrooper 2 Posted July 11, 2011 It is strongly recommended to read Mr. Murray's Editor Guide to get started with those really easy (compared to other) things. in the init-line: {this addmagazine "MAGAZINE_CLASSNAME"} forEach [1,2,3,4,5]; This adds 5 magazines. Magazines have to be added to the inventory BEFORE the weapon is added; otherwise the weapon is not loaded at start, Share this post Link to post Share on other sites
FredTche 10 Posted July 11, 2011 Thanks, trooper. This will help me a lot in the future. Nothing you said was in the tutorial I am reading and that is quite frustrating. Im trying to convert the Chernarusian UN troops to UN with Brazilian gear and now it is possible. Share this post Link to post Share on other sites