F3-specific:
I've seen some bits and pieces pertaining to custom gear scripts for use with the AssignGear function. However, I haven't seen anything about how to straight-up set up new classes / loadouts. I understand that we can define specific classnames as more readily-remembered names and that we can then use that to build loadouts, but I'm not sure how all the individual bits and pieces fit together. The wiki page for AssignGear seems to be more about what it does and how the function call is formatted than how the backend is built up... or perhaps I should have searched something different?
For context, I'm looking to create scripted Gendarmerie loadouts. I've got some uses in mind for that faction and would like to expand the number of classes before using them in more scenarios. For the time-being, I've created loadouts in the Virtual Arsenal, loaded them on to some seed units, and then copy/pasted those units in to the group compositions that I wanted for my scenario. Not an ideal solution; I've had to go back and replace units several times to fix loadout problems already.
Follow up question -- how can I create custom platoons? Would it be easiest to just make a model platoon complete with custom gear scripts and then save it as a composition through the built-in editor functionality? I'm sure there's a way to script it and it might be useful to know about that for some other use down the line.
General scripting / execution:
I'm trying to set up a bunch of locations (say, 30+) on the map that a script can randomly select three of at mission start. These three locations would be marked on map and reported to a specific set of players (but not everyone else). I saw darkChozo post about a weighted randomization script for a different application... is there some way I could create something similar to accomplish what I am trying to do?
Of course, there would be some beefy quality of life considerations... I don't want the same location multiple times, it would be nice if it didn't pick three locations that happen to be nearby each other, and I'd like this information reported only to a select list of players. This is fairly complex (at least to me)... beyond my ability to script.
![Psyboom :psyboom:](./images/smilies/emot-psyboom.gif)
I apologize in advance if some of this is already out there and I neglected to find it.
Totally willing to gobble up any material that I may have missed on the wiki/forums.
Onward!
![S P Q R :hist101:](./images/smilies/emot-hist101.gif)