Arma 3
Not enough ratings
Arsenal Filter (Limited Arsenal)
   
Award
Favorite
Favorited
Unfavorite
Data Type: Composition
Composition Type: Storage
File Size
Posted
Updated
91.523 KB
Apr 29 @ 10:12pm
May 6 @ 6:58pm
4 Change Notes ( view )

Subscribe to download
Arsenal Filter (Limited Arsenal)

In 2 collections by Mr. Uplay 🗲
Arma 3 Tools
88 items
M9-SD's Workshop (ARMA 3)
82 items
Description
📜 ARSENAL FILTER 📜

Dynamic Arsenal Whitelist!

Spawn limited arsenals and restrict loadouts without disabling save/load!
+ Works on official zeus servers (read requirements)


Features:

MENU
- Toggle Filter (Enable/Disable)
- Update Filter (Reference Arsenal)
- Reset (Clear Whitelist)
- Spawn (Limited Arsenal)

DESCRIPTION
- This module provides a snappy interface to let the Zeus control arsenal usage via the Arsenal Filter. You can dynamically customize a whitelist for the Arsenal Filter to use. When enabled, it does not disable the SAVE/LOAD button/keys of the arsenal, instead the Arsenal Filter will remove any restricted items from the players' loadouts when they close the arsenal. You can use the spawn function to create a virtual arsenal with only whitelisted items.

SAVE/LOAD Whitelists
- This functionality is still in development, so for now you will have to save it by using a console to get the return value of the variable:
M9_arsenal_activeWhitelist
- Copy it and save it on your PC. When you want to load it, globally update the whitelist variable with the saved array
missionNamespace setVariable ['M9_arsenal_activeWhitelist', ..., true];
- Replace "..." with whitelist array, and run this with a console to update it.
( You can use this as a console https://steamcommunity.com/sharedfiles/filedetails/?id=3039417719 )
- After updating, make sure the filter is set to Enable.


KNOWN LIMITATIONS
- Arsenal Filter does not distinguish between arsenals (rather than only affecting one arsenal, it will attempt to remove restricted gear when closing any arsenal, unless it is disabled).
- When adding weapons that come with attachments, you must also add the base weapon and standalone attachments, otherwise, it will be a restricted weapon.
- Does not account for looted gear, it will remove your blacklisted items when you close the arsenal.

SOURCE CODE
https://github.com/M9-SD/A3_Arsenal_Filter/blob/main/Dynamic%20Arsenal%20Filter%20(Whitelist).sqf

——————————————————————————————————

My Links

Donate[www.paypal.com]
Website[www.m9-sd.com]
YouTube
GitHub[github.com]
Workshop
Discord (ZAM)[discord.gg]
Discord (SQF Archive)[discord.gg]

——————————————————————————————————

Requirements

The scripts attached to this composition will only work if the server allows it with the zeus composition script level security parameter in its description.ext file.[community.bistudio.com]

The official public Zeus servers below are already configured for this:

[OFFICIAL] Arma 3 Zeus by Bohemia Interactive (USA) #04[www.battlemetrics.com]
[OFFICIAL] Arma 3 Zeus by Bohemia Interactive (USA) #02[www.battlemetrics.com]
[OFFICIAL] Arma 3 Zeus by Bohemia Interactive (US) #02e[www.battlemetrics.com]
[OFFICIAL] Arma 3 Zeus by Bohemia Interactive (US) #02w[www.battlemetrics.com]
[OFFICIAL] Arma 3 Zeus by Bohemia Interactive (EU) #12[www.battlemetrics.com]
[OFFICIAL] Arma 3 Zeus by Bohemia Interactive (EU) #04[www.battlemetrics.com]
[OFFICIAL] Arma 3 Zeus by Bohemia Interactive (EU) #02[www.battlemetrics.com]
• [OFFICIAL] Arma 3 Zeus by Bohemia Interactive (EU) #0D
• [OFFICIAL] Arma 3 Zeus by Bohemia Interactive (EU) #0B

Here is a guide for server owners.
Set the value to 2 to allow custom attributes and all scripts.
zeusCompositionScriptLevel = 2;

Thank you for subscribing, rating,
& favoriting this composition!



https://steamcommunity.com/sharedfiles/filedetails/?id=3235771985

**Arsenal Filter** - a dynamic whitelist that lets Zeus find the perfect middle ground between control freak and autistic creature. In live Zeus scenario, edit/save/load arsenal whitelist with three different easy methods: edit reference arsenal, add arsenal loadouts, or input custom array. Works in pub zeus of course and comes with a simple menu that opens when you place the composition, that allows you to toggle the arsenal filter, edit the whitelist, and spawn a limited arsenal (only whitelisted items will be in it). This does NOT remove the save/load buttons in the arsenal, instead, it will remove blacklisted gear when the user closes the arsenal. Zeus can limit everything except faces, voices, & patches.
11 Comments
Mr. Uplay 🗲  [author] May 6 @ 7:03pm 
Main reason for adding the new manual whitelist methods is because the automatic gui reference arsenal doesn't show facewear (Bohemia pls fix).
Mr. Uplay 🗲  [author] May 6 @ 6:59pm 
Wont be limiting faces, voices, patches because... they cant even change them in the first place with limited arsenals.
Mr. Uplay 🗲  [author] May 6 @ 6:59pm 
Update: May 6 @ 9:58pm
- added manual whitelist array edit mode
- added manual whitelist adding from loadouts
- added new arsenal actions: open, save respawn loadout
- you can now filter facewear with manual - loadout
Mr. Uplay 🗲  [author] May 5 @ 4:11pm 
Yeah i will add a save respawn loadout scroll action to the custom arsenal box. Next update is almost ready.
Venom May 5 @ 2:12pm 
Another M9 W
sleeper May 5 @ 1:50am 
Might need a save respawn loadout function
Indiana Jones May 3 @ 8:57am 
Sehr gud! :steamthumbsup:
sleeper May 2 @ 6:39pm 
Yeah I think it would be way easier to be able to add default or custom loadouts and then the arsenal would have everything that came with their kits
Mr. Uplay 🗲  [author] May 2 @ 2:22pm 
Infinity means its added to to the reference arsenal. Also, there is an issue with that attributes menu: it doesn't have masks. In the 3DEN box attributes, the masks are under the helmet section, but they are not there in Zeus. Arma.

I may try a new menu where you just select from saved loadouts.
Mr. Uplay 🗲  [author] May 2 @ 2:19pm 
You hit the minus symbol on the left until it goes past zero. The quantity will show infinity.