Kaelies' Weapon List Shortener [ALPHA]
This is a very simple mod that makes the list of usable weapons returned by a config search much shorter. As an example of what this means, other mods or scripts such as AmmoBox fillers, that use that functionality to be compatible with mods, won't show up all of the duplicate guns.
By default, the config classes in Arma include a lot of duplicate weapons with the only change being optics, silencers, or lasers attached by default. This is most likely used for optics being usable with weapons held by units placed in the editor, but this in turn makes a large amount of almost duplicate entries in the config files that will be returned when using a script, with no special tags to differentiate them from other weapons.
What this modification does is it sets the "scope" of these weapons to 1 (The weapon is usable, but it's icon not visible. Typically used for vehicle weapons). This makes it so they won't show up in a config search for guns that are usable by human players, so a script that would fill up an ammocrate, would simulate one, or might do something else, will not end up listing those guns. This significantly reduces the list from being between 50-100 guns, to a bit under 20 (with no mods).
Extract into the ArmA 3 Directory, by default this is located in:
32-Bit - C:/Program Files/Steam/Steamapps/Common/ArmA 3/
64-Bit - C:/Program Files (x86)/Steam/Steamapps/Common/ArmA 3/
After extraction it should look like this:
You can also use the "Arma 3 Alpha" folder in your "My Documents" folder. Your folder setup could than look like for example this:
You'll also need to add a Launch Parameter to Steam, in order to do so right-click on ArmA 3 Alpha and click Properties and then Set Launch Options. In the window that opens enter in -mod=@your_mod_folder_name
For using multiple mods you would then do so like this:
You can also use -nosplash to get rid of the splash art and intro videos.
And of course you can also enable and disable community made addons and mods through the in-game Options Expansions menu if you do not want to mess with startup parameters!
When the above information still does not provide you with enough to learn how to install custom addons and mods you can always ask in our Guide On Installing Mods
The original intent of this mod was for use with ammobox scripts. A known bug is that the icon of most weapons that units placed in the editor hold will not show up in your inventory, and this is fully intentional. Furthermore, you will be unable to drop a weapon that is affected by this. However, if used with an ammobox script, it will not matter, as only fully working guns will show up.
Finally, I have not undergone enough testing with AI as of yet, but it appears to work perfectly fine with no bugs on AI, except for the aforementioned bug when picking up one of their weapons.
- BI forums