As promised, here is an easy way of doing custom loadouts via the FHQ debug console.
To use the debug console, unpack the appropriate version into your mods directory, and load it along with cba.
You will need to define a custom key for the console to pop up. Open the control config, and set "User Key 20" and "User Key 19" to some key (I use numpad 1 and 2).
Enter the editor, and place a single unit, then press "preview".
To open the debug console, press the "User Key 20". The console will open (it will look similar to the one in the editor. Click on "More" to open the tools selection.
Here, you have different options: You can spawn ammo boxes and backpacks, and in the Arma 3 version, you can also spawn weapons and other items (including weapon optics and similar). Load up your soldier with all the gear you want him to have. Then, in the "More" tools, select "Save current loadout". This will create a script in clipboard that will restore the exact loadout that you currently have on your soldier.
To get the script, open a text editor, press ctrl+v, and save the script file as, say, loadout1.sqf.
In the init field of the unit you want that gear to have, call the script, like
That's it. The loadout is MP compatible (the effect will be visible on all machines).
Edit: New version with forceAddUniform support
To use the debug console, unpack the appropriate version into your mods directory, and load it along with cba.
You will need to define a custom key for the console to pop up. Open the control config, and set "User Key 20" and "User Key 19" to some key (I use numpad 1 and 2).
Enter the editor, and place a single unit, then press "preview".
To open the debug console, press the "User Key 20". The console will open (it will look similar to the one in the editor. Click on "More" to open the tools selection.
Here, you have different options: You can spawn ammo boxes and backpacks, and in the Arma 3 version, you can also spawn weapons and other items (including weapon optics and similar). Load up your soldier with all the gear you want him to have. Then, in the "More" tools, select "Save current loadout". This will create a script in clipboard that will restore the exact loadout that you currently have on your soldier.
To get the script, open a text editor, press ctrl+v, and save the script file as, say, loadout1.sqf.
In the init field of the unit you want that gear to have, call the script, like
Code:
this call compile preprocessFileLineNumbers "loadout1.sqf";
That's it. The loadout is MP compatible (the effect will be visible on all machines).
Edit: New version with forceAddUniform support