The most important part I changed is the library, which includes the vanilla and XTM weapons. Except the ones I mentioned before.
In my game I also removed the message it sends when you load your game (about it being installed properly). And I changed the cmd slot as well. So I also modified the setup file, I believe it was?
I might want to leave the message in for the release version, that way you at least know it's properly installed.
Yup, I'm aware of that1) weapon list in the original library was placed in a special order. Changing the order - I'm sure you're aware now - affects the system.

I'm going to assume you did some good testing with it2) I toyed with a few systems for the weapons library and found that the "gosub" branches was the most efficient for what I had in mind. I took into account the probability of mass amounts of LWS systems being run simulataneously, simplicity of use, effectiveness of the system, and streamlining the code as much as possible. If you check how the script actually runs you'll find it runs much shorter than it looks (about 1/10th of the actual script length). This system is actually the 3rd system I developed for weapons switching and it allowed every ship in the game to run the LWS (non-player AI included - over 1000 ships total in my test runs) without a performance problem. Of course if you find an even more efficent system that's great.


Let me explain it a bit clearerErm... that seems like a problem to me. It may just be a text problem though - did you change the text for ship_46 to "LWS"? Before doing that though I suggest to check if the Otas is part of XTM or just some left over relic from something else.

Well I'm sure Otas ECM is part of XTM, there is a company called Otas in XTM and it has a special hull regenerating system in some of it's ships. I believe that ECM is that system, (or one of the other systems they have).
Well I do remember the ABC, but now I can't find anything about it in the readme. I would like to refresh my knowledge about it, because I forgot it mostly.If you've read the readme for the LWS I believe I mentioned something about the Apollyon Ballistic Computer (ABC). Here's what I propose -
The LWS was intended as a basic system for automatic weapons management, which is what it came as default on the FCS. The ABC was intended as a higher level system upgrade that included shield/hull calculations, higher level power control and ballistics (i.e. which weapon to use vs. target's shield strength vs. power drain vs. target speed to weapon speed ratio). Since I don't have the time right now... and since you're already working on something including shield calculations why not expand the LWS into the ABC?
You mean like combining LWS and the ABC in one package? That's fine with me.
I originally liked this script because it is very useful and it's packed with the FCS (a default on all my ships), so maybe we can also have a "light" version with less features?
PS: changes in list form:
- library update
- include vanilla and XTM weapons, except area effect and CIG)
- Alpha and Beta and Gamma preferences (sometimes Alpha is better then Beta)
- changed cmd slot (compatibility not confirmed)
- removed the installation message