Date: 2018-03-13 14:11
Template preset config for spawning weapons with attachments.
Allows placing specified weapons with specified attachments in inventories or groundWeaponHolders, etc, through init commands.
Template has three "new" guns:
MX w/ ACO
MX w/ Flashlight
MX SOPMOD (Holo, Suppressor, Laser, Bipod)
To install Premodded Weapons - Template you should use modfolders to keep it seperate from the official game content to prevent issues.
With Arma 3 you can use different ways to set up your modfolders to use custom content you have downloaded.
Please visit the Arma 3 Mod install instructions page for more information about using custom mods and addons in Arma 3.
Extract the PBO and edit the config.cpp file(s) to add or remove guns from this list.
Using class names, you can add any gun and any attachment.
In the config, you set the new class' name, in this case "template_MX_ACO_F," and then call it in Eden with:
this addWeapon "className";
this addWeaponCargo ["className", 1];
Use the above to place it in a soldier's inventory, or the below to place it in a container's inventory.