Try this test mission. I was hoping that I could inject the new loadout into BIs metaData for the roles but it seems the roles are recalculated every time from the configs. Instead I have made my own data structure from theirs and each time a player closes the VA it saves their loadout in my data structure next to the role they where currently using. On dying I inject a reference to the loadout into the BIs data so as the Details part of the respawn menu displays the correct items from the saved loadout. When the player respawns it looks at what role they chose, retrieves the saved loadout for that role and applies it to the player.   All you need to do is copy the LARs folder to your mission and use the include for CfgFunctions found in the description.ext of the test mission. The system inits itself from the function library so there is nothing else to start up.   See how you get on with it and let me know of any problems.
    • Like
    1