Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.95.1a is out! (12/10/21); Blog post: Uniquifying the Factions, Part 2 (04/30/22)

Author Topic: [0.95.1a] Attuned Drive Field Hullmod [new mod]  (Read 12368 times)

Rhalen

  • Ensign
  • *
  • Posts: 7
    • View Profile
[0.95.1a] Attuned Drive Field Hullmod [new mod]
« on: February 08, 2022, 09:12:04 AM »

This simple mod adds an hull modification (Attuned Drive Field) that gives +1 Burn speed at half the cost of Augmented Drive Field.

  • This mod can be enabled on an existing save, but will cause a crash on the save if disabled.
  • The hullmod is available and unlocked from the start.
  • The hullmod cannot be installed together with Augmented Drive Field, and will occupy a Logistic slot on the ship it is installed on.
  • Mercenary fleets, bounty hunters, etc. have a chance to include this hullmod in their builds.

Thanks a lot for your feedback!

« Last Edit: February 17, 2022, 12:39:30 PM by Rhalen »
Logged

ranprieur

  • Ensign
  • *
  • Posts: 9
    • View Profile
    • Email
Re: [0.95.1a] Attuned Drive Field Hullmod [new mod]
« Reply #1 on: February 14, 2022, 10:02:35 AM »

Awesome! I've been wishing for this for a long time.

I like to keep my fleet at burn level 10, which means if I want to use a ship with 9, either it slows my whole fleet down or I have to waste OP points getting it unnecessarily to 11.
Logged

Rhalen

  • Ensign
  • *
  • Posts: 7
    • View Profile
Re: [0.95.1a] Attuned Drive Field Hullmod [new mod]
« Reply #2 on: February 15, 2022, 09:10:12 AM »

Yeah, Oxes may be an alternative but their speed buff does not get multiplied by sustained burn, giving a 9-speed fleet a maximum of 19. I don't even know if that is intended behavior ahah.

In the end I think it is worth it just for the quality of life of not needing an Ox for just one slower ship. The mod still occupies a logistic slot AND it is outrageously expensive for what it does, so it does not feel all that unbalanced.

Logged

CapitanIncognito

  • Ensign
  • *
  • Posts: 2
    • View Profile
Re: [0.95.1a] Attuned Drive Field Hullmod [new mod]
« Reply #3 on: February 17, 2022, 04:17:33 AM »

Yeah, Oxes may be an alternative but their speed buff does not get multiplied by sustained burn, giving a 9-speed fleet a maximum of 19. I don't even know if that is intended behavior ahah.

In the end I think it is worth it just for the quality of life of not needing an Ox for just one slower ship. The mod still occupies a logistic slot AND it is outrageously expensive for what it does, so it does not feel all that unbalanced.

Why not both? I like going at burn 11 with the skill an Ox, and a min base burn level of 9.

But on that same note, how hard is it to make a mod for this game? I was thinking of making a version of the militarized subsystems upgrade that is identical, but doesn't make the ship a combat ship and can only be fitted on cargo ships/tankers/transports/etc. Given that I think it's hard to modify the skills that get nerfed when you go over 240 points of combat ships, it really hurts having that Atlas eat a chunk of them especially if it's never getting deployed in combat for any reason.
Logged

Rhalen

  • Ensign
  • *
  • Posts: 7
    • View Profile
Re: [0.95.1a] Attuned Drive Field Hullmod [new mod]
« Reply #4 on: February 18, 2022, 09:02:56 AM »

Adding an hullmod ends up being pretty simple really, it sure helps if you dabbled with any type of programming in the past.
For what you want to do you will need to install Intellij Idea Community in order to look inside the .class files of the starfarer.api.jar archive.
This archive is located inside Starsector/starsector-core.

Inside starfarer.api.jar, search for MilitarizedSubsystems.class under com.fs.starfarer.api.impl.hullmods; this is the java file that controls the behaviour of that hullmod.

Other files that you may want to look at are uncompiled and are under Starsector\starsector-core\data\hullmods: CivGrade.java (which is for the Civilian Grade hullmod) and hull_mods.csv (which is a table that sets other campaign-level data, like the price of the hullmod, its OP cost and rarity, its description etc.)

Maybe start from there and see what you can glean from them!
Open a thread on the forum under Modding for your mod so more people can help. Have fun!
« Last Edit: February 18, 2022, 09:09:41 AM by Rhalen »
Logged

mlight9

  • Ensign
  • *
  • Posts: 3
    • View Profile
Re: [0.95.1a] Attuned Drive Field Hullmod [new mod]
« Reply #5 on: May 04, 2022, 08:30:04 PM »

Just what i need.
Logged

Killsode

  • Commander
  • ***
  • Posts: 137
    • View Profile
Re: [0.95.1a] Attuned Drive Field Hullmod [new mod]
« Reply #6 on: May 04, 2022, 10:22:49 PM »

i always get the tech-skill that increases burn by one, i swear i spend the majority of my story points on building in augmented drive field on cruisers and capitals XD
Logged