I was changing the way how ECCM and Expanded Missile Racks worked. I swapped their OP costs and gave the s-mod penalty to ECCM instead, however now that I did that, I felt like I've left Missile Autoloader in the dirt. I was hoping I would be able to change it. But I can't change it without making it feel arbitrary on what these changes are or without editing the original java script file. Normally I would just take the script from inside the starfarer.api and then put into a mod and replace some lines of code.
I was hoping I'd be able to just remove the s-mod penalty, and then just lower the cost to 5, 10, 15, 25. But then I felt like maybe I could just double the amount of missile reload points and keep the original cost and s-mod penalty. However it turns out that triggering the file from outside the starfarer.api causes some sort of compilation error.
I interpret this issue as it being the result of the game not reading the file in a proper api way, thus some java script features do not act properly.
So, what solution is there? Do I just unpack the file, find the singular missile autoloader file, change a few numbers and then repackage it and shove it in there? Or is there a simpler way?
PS.
I understand the missiles in vanilla are already quite overpowered, and buffing them doesn't really have much sense, but this is for a mod... So, in that mod the health and shield of ships kinda counters their strike nature, and allows actually them to survive more than one barrage. And also I've buffed fighters in the same mod, Talons can now kinda shoot missiles rather than ram into them... Ehhh... But that is besides the point. I'm just putting this here to prevent a misunderstanding in case one happens.