*bump*
Updated version 1.04 available in first post.
ATTENTION MODDERS:
You'll love this once you tried it, trust me.
This version brings the good old method "weaponsRegister" back to life.
You know what I'm talking about? The one which can be found in many aircraft classes, e.g. like this:
weaponsRegister(class1, "default", new String[] { "MGunBrowning50si 250", "MGunBrowning50si 250", "MGunBrowning50k 250", "MGunBrowning50k 250" });
Unfortunately with IL-2 1946 this method was removed and replaced by an empty method, that's why many modders would have to rewrite their weapon slots manually, which means that the above mentioned single line of code would be bloated to 20-30 lines of java code, which repeats for each and every weapon slot on each and every modded aircraft unless you know how to do the proprietary "cod" type encrypted weapon compilation.
This is history now. Since version 1.04 the SAS Common Utils introduce the class "AircraftTools". This class contains the method "weaponsRegister" which acts exactly like the old stock method, plus it adds the possibility to precede each weapon definition by it's desired trigger index.
Questions? Just ask.
Best regards - Mike