Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.97a is out! (02/02/24); New blog post: Simulator Enhancements (03/13/24)

Author Topic: Want to extend arc of all weapons with a hull mod, where do I start?  (Read 1218 times)

XpanD

  • Captain
  • ****
  • Posts: 380
    • View Profile

Hey all,

I've been trying to make a few hull mods for a hopefully upcoming mod of mine, though I'm admittedly a bit stuck on this one. I'm not too used to Java just yet, though I'm willing to learn... :P

Anyways, is it possible to extend the arc of all weapons (preferably turret mounts only) from within a hull mod? I had a look through the MutableShipStatsAPI, but couldn't really find anything I could go on there for this specific use. I was hoping for there to be a way to grab the arc of individual weapons somehow - if that's the case I can probably sort something out with a loop that runs through all of the available mounts and maybe appends the values there. Dunno how Starsector handles that stuff though, so any help is very much appreciated!
Logged