Ophelian 10 Posted March 29, 2017 (edited) Hi We are having trouble finding the right thing to edit the arsenal so that it saves to another path. The problem is we have a certain custom list of equipment people can use for their loadout but they sometimes bybass it by loading other saved loadouts, they load weapons and uniforms not listed in our custom arsenal. We want the arsenal to save/load on a different location so that we can solve this issue. Default is profilenamespace but we want to switch it to missionnamespace. Thank you Edited March 29, 2017 by Ophelian missing question mark Share this post Link to post Share on other sites
driftingnitro 38 Posted April 3, 2017 I'm pretty sure it's binarized and configured for the profile namespace unless someone else found a way to do it. Share this post Link to post Share on other sites
Bnae 1431 Posted April 4, 2017 You can check if players gear is in the custom list. So no need to disable arsenal saving and loading. This only one of the many ways to do this Share this post Link to post Share on other sites
Midnighters 152 Posted April 4, 2017 why not just remove every weapon globally? then add it all back to the arsenal after a sort of "blacklist" has been established? BIS_fnc_removeVirtualWeaponCargo I would imagine this works correctly. I'm not too sure? Share this post Link to post Share on other sites
BlacKnightBK 47 Posted April 5, 2017 On 3/29/2017 at 7:37 PM, Ophelian said: Hi We are having trouble finding the right thing to edit the arsenal so that it saves to another path. The problem is we have a certain custom list of equipment people can use for their loadout but they sometimes bybass it by loading other saved loadouts, they load weapons and uniforms not listed in our custom arsenal. We want the arsenal to save/load on a different location so that we can solve this issue. Default is profilenamespace but we want to switch it to missionnamespace. Thank you You can actually disable saving, this way when they want to load equipment, they can only load load outs that are part of the arsenal Share this post Link to post Share on other sites
Midnighters 152 Posted April 5, 2017 26 minutes ago, BlacKnightBK said: You can actually disable saving, this way when they want to load equipment, they can only load load outs that are part of the arsenal Larrow posted this for that exact use: [ missionNamespace, "arsenalOpened", { disableSerialization; _display = _this select 0; { ( _display displayCtrl _x ) ctrlSetText "Disabled"; ( _display displayCtrl _x ) ctrlSetTextColor [ 1, 0, 0, 0.5 ]; ( _display displayCtrl _x ) ctrlRemoveAllEventHandlers "buttonclick"; }forEach [ 44146, 44147 ]; } ] call BIS_fnc_addScriptedEventHandler; 1 Share this post Link to post Share on other sites
BlacKnightBK 47 Posted April 5, 2017 1 hour ago, Midnighters said: Larrow posted this for that exact use: [ missionNamespace, "arsenalOpened", { disableSerialization; _display = _this select 0; { ( _display displayCtrl _x ) ctrlSetText "Disabled"; ( _display displayCtrl _x ) ctrlSetTextColor [ 1, 0, 0, 0.5 ]; ( _display displayCtrl _x ) ctrlRemoveAllEventHandlers "buttonclick"; }forEach [ 44146, 44147 ]; } ] call BIS_fnc_addScriptedEventHandler; Thank you, I will need that Share this post Link to post Share on other sites
Midnighters 152 Posted April 5, 2017 11 hours ago, BlacKnightBK said: Thank you, I will need that Eh, *shrug* thank Larrow. 1 Share this post Link to post Share on other sites