Jump to content
Sign in to follow this  
Factor

Loadout

Recommended Posts

could someone please explain to me or point me somewhere that has in steps how to have all gear and weapons available when im making a squad in the editor for a mission. ive never edited ofp before, and this is all new to me. thanks a bunch.

Share this post


Link to post
Share on other sites

First of all welcome to the world of mission editting.

Second you can try The BIS Wiki, OFPEC but it s down at the moment and ofcourse you can search trough these forums dont forget to check the OFP editing one it has a lot of info that can be used for ArmA to.

Now if you want to change a units loadout you can use a script, trigger or just the initline on the unit it self.

The commands you want to use are the following.

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

This AddMagazine "MagazineClassname"

This AddMagazineCargo ["MagazineClassname",Amount]

This AddWeapon "WeaponClassname"

This AddWeaponCargo ["WeaponClassname",Amount]

ClearMagazineCargo This

ClearWeaponCargo This

RemoveAllWeapons This

This can be changed to the units name.

The classnames can be found on the BIS Wiki.

Also between every command you will have to put a ;

So for example:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">RemoveAllWeapons This; This AddWeapon "M16A2"; This AddMagazine "30Rnd_556x45_Stanag"

The Unknown

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×