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: Planet Search Overhaul (07/13/24)

Pages: [1] 2 3 ... 11

Author Topic: [0.95.1a] Better Deserved S-Mods 1.64  (Read 134092 times)

Jackie

  • Ensign
  • *
  • Posts: 38
    • View Profile
[0.95.1a] Better Deserved S-Mods 1.64
« on: September 08, 2021, 07:00:51 PM »


S-mod in some hullmods, Get some bonuses/penalties. Only work with the selected vanilla hullmods below so far because I don't know what other effects to give for the rest or it's just a good smod in the first place to not need one. I'm open to any suggestions and balance feedback. I would not call myself an expert on vanilla balance, but this is just my opinion of it.

Instructions
If you don't like any of the changes, remove the script! It'll default back to vanilla behavior. For those mods in the Support Package section, you may have to look at the hullmod.csv for further instructions to remove them. Can be installed or uninstalled through saves! It does conflict with any mod that modifies the vanilla hullmods, but I have not found any so far. There is no current conflict with Gacha S-Mods, Progressive S-Mods, or Trophy S-Mods.

Built-in bonuses can receive S-Mod bonuses by accessing the setting.json and enabling them.

Incompatibility Issues
This mod is a semi-conversion of the following vanilla hullmods:
Accelerated Shields, Additional Berthing, Advanced Optics, Advanced Turret Gyro, Armored Weapon Mounts, Augmented Engines, Automated Repair Units, Auxiliary Fuel Tanks, Auxiliary Thrusters, Ballistic Rangefinder, Blast Doors, Converted Fighter Bay, Converted Hangar, Dedicated Targeting Core, ECCM Package, ECM Package, Efficiency Overhaul, Expanded Cargo Holds, Expanded Deck Crew, Expanded Magazine, Extended Shields, Faulty Automated Systems, Flux Coil Adjunct, Flux Distributor, Front Shield Conversion, High Resolution Sensors, Makeshift Shield Generator, Hardened Subsystem, Heavy Armor, Heavy Scatter Amplifier, Insulated Engine Assembly, Integrated Point Defense AI, Militarized Subsystems, Nav Relay, Omni Shield Conversion, Operation Centers, Reinforced Bulkheads, Resistant Flux Conduits, Rugged Construction, Shield Shunt, Solar Shielding, Stabilized Shields, and Unstable Injector

Any mod that interferes with these listed hullmods may mean you may not see the smod bonuses/penalties. What you may do is either delete the line of the corresponding hullmod in their hull_mod.csv or leave it as it is. No crashes should come from this mod.

Armor/Hull Mods

[close]

Engine Mods
[close]

General Mods
[close]

Logistic Mods



[close]

Carrier Mods

[close]

Flux Mods

[close]

Shield Mods

[close]

Package Mods

[close]

Depreciated Mods


[close]

Credits
Thanks to PureTilt for sharing code!

Changelog
1.64
- Additional Berthing S-Mod Added: Doubled crew capacity bonus and negates maintenance cost!
- Advanced Weapon Mount S-Mod reworked: +10% RoF for non-missile weapons!
- Auxiliary Fuel Tanks S-Mod Added: Doubled fuel capacity bonus and negates maintenance cost!
- Converted Fighter Bay S-Mod should correctly adjust for logistic hullmod limit!
- ECM Package S-Mod adjusted: Removed ECM immunity and added +1% ECM Rating!
- ECCM Package S-Mod reworked: ECM and flare immunity!
- Expanded Cargo Holds S-Mod Added: Doubled cargo capacity bonus and negates maintenance cost!
1.63
- Added Rugged Construction buff from 0.96a (Reducing supply cost to recover from deployment by 50%)!
- Added Faulty Automated Systems buff from 0.96a (Increases crew requirement by 50% instead of 100%)!
- Added no_drop to Neural Integrator and Neural Interface modspecs should not longer drop from 0.96a changelog!
- Adjusted Flux Coil Adjunct S-Mod wording to avoid confusion!
- Adjusted HSA paragraphing!
- Fixed Extended Shield being capped at 20x instead of 12x originally!
- Fixed Shield Shunt bug of not providing the right s-mod effect!
- Unstable Injector S-Mod bonus scales on hull size (25/20/15/15) from 20!
1.62
- Adjusted Converted Hangar S-Mod to further revisions: increased recovered carrier replacement rate on cruiser and larger!
- Reworked Ballistic Rangefinder to 0.96a changes; removed s-mod effect!
1.61
- Fixed Advanced Turret Gyros S-Mod applying a 20x mult instead of a +20% bonus vs frigates!
- Reworked Converted Hangar completely to a possible change by Alex! Feel free to revert, built-in Converted Hangars are unaffected.
- Converted Fighter Bays S-Mod also reduces supplies to maintain.
- Operation Centers S-Mod also reduces supplies to maintain.
1.6
- Advanced Turret Gyros reworked to 0.96a current change: damage bonus vs fighter/missiles and damage bonus vs smaller ship sizes of the ship!
- Converted Fighter Bay S-Mod will also reduce deployment point of the ship!
- Efficiency Overhaul S-Mod should properly detect if Phantom is a civilian ship and other ships!
- Expanded Deck Crews S-Mod reworked: +25% faster replacement rate!
- High-Resolution Sensors: Changed cost to 4/6/9/15 (was: 9/9/9/15) and gave s-mod effect with 0.96a changelog!
- Nav Relay S-Mod reworked: Adds maneuverability based on the total nav rating of your fleet. Fighters gain +20% top speed and maneuverability!
- Shield Conversion Omni S-Mod reworked: No longer reduces shield arcs!
- Shield Shunt re-added as an S-Mod bonus with 0.96a changelog: Increasing the armor bonus to +30% armor!
- Recovery Shuttle reworked: Reduces the rate at which the fighter replacement rate decreases due to fighter losses by 40% when engaging! (You gain -50% when on recall in vanilla behavior!)
- Unstable Injector reworked: Increases the ship's zero-flux engine boost to top speed by 20!
1.54
- Accelerated Shield S-Mod no longer has beam damage reduction!
- Accelerated Shield S-Mod now increases shield deployment and turn rate by +400%!
- Front Shield Conversion S-Mod now adds +25% extra arc!
- Omni Shield Conversion S-Mod now increases damage reduction taken by shield to 8%!
- Adaptive Phase Coils S-Mod provides 25% speed and acceleration while phased instead of reducing flux usage from phase cloak activation!
- Advanced Optic S-Mod no longer provides +5% Beam damage!
- Automated Repair Units S-Mod reduces CR loss from deployment and restore 15% hull and armor damage taken during combat at the end of combat instead of a hull damage reduction!
- ECM Package S-Mod grants +50% target leading accuracy to both fighters and ships!
- Heavy Armor's armor penalty when smodded decreased: 150/300/400/500 -> 150/250/350/450!
- Hardened Shield S-Mod now increases damage reduction taken by shield to 22%!
- Hardened Subsystem S-Mod now reduces malfunction chances instead of providing increased CR reduction!
- High Scatter Amplifier S-Mod now adds +5% Beam damage!
- Nav Relay S-Mod now provides +20% top speed to fighters!
- Operation Center S-Mod reworked: Granting DP reduction, ECM, and Nav rating when installed on the Flagship!
1.53
- Fixed S-Modded Reinforced Bulkhead bug with dmods!
- Fixed S-Modded Efficiency Overhaul not applying its bonuses properly!
1.52
- Converted Fighter Bay S-Mod adds 100/200/250/300 Armor and +5% flux stats and an additional +2% per built-in cargo bay!
- Efficiency Overhaul S-Mod has two new bonuses depending if the ship is civilian or combat: Reduced logistic usage or increased recovery and repair rates!
- Extended Shield S-Mod converts excess shield arc beyond 360 arc up to 480 arc capped into flux capacity scaling on shield upkeep!
- Fixed S-Mod ECM Package not providing immunity to weapon range penalty reduction from Electronic Warfare!
- Fixed ECCM Package not providing weapon range penalty reduction from Electronic Warfare (Vanilla fix!)
1.51
- Advanced Optic S-Mod now replaces 200 bonus range with 200 base range increase!
- Converted Hangar S-Mod should properly display stat changes!
- Extended Shield S-Mod converts excess shield arc beyond 360 arc into flux capacity scaling on shield upkeep!
1.5
- Accelerated Shield S-Mod beam damage reduction increased from -15% to -20%!
- Armored Weapon Mount S-Mod no longer increases armor by an additional 5%, but a flat +5 per weapon mount!
- Blast Door S-Mod now reduces armor damage taken by -10%!
- ECM Package S-Mod now grants immunity to Electronic Warfare penalties!
- Insulated Engine Assembly S-Mod no longer grants additional hull integrity, but greatly reduces sensor profiles!
- Flux Coil Adjunct S-Mod reworked: Adds 400/800/1200/2000 flux capacity and doubles flux dissipation when overloaded!
- Flux Distributor S-Mod adds 15/30/40/50 flux dissipation and also reduces flux generated by missile weapons by -5%!
- Nav Relay S-Mod now grants +5% Top Speed to Fighters of that Ship!
- Reinforced Bulkhead S-Mod reworked: Adds 250/400/500/1000 hull integrity and reduce effects of D-mods by 50% (stacks with Rugged Construction)!
- Resistant Flux Conduit S-Mod no longer increase EMP dmg reduction, but reduces overload duration by -20%!
- Stabilized Shields S-Mod hard flux dissipation reduced from 15% to 12%!
1.4
- S-Mod Accelerated Shield no longer reduces high explosive damage and instead grants a -15% beam damage reduction taken by shields!
- S-Mod Advanced Turret Gyro no longer grants recoil reduction and instead grants +100% target leading autoaccuracy!
- S-Mod Adaptive Phase Coils reworked: Reduces flux usage from activating phase cloak by -75% and reduces phase cooldown by -25%!
- Added S-Mod bonus for Augmented Drive Field: reduces fuel consumption by 30%!
- Added S-Mod bonus for Ballistic Rangefinder: Grants any non-large ballistic weapons their bonuses regardless of what slot they're mounted on!
- S-Mod Efficiency Overhaul grants +20% max CR instead of +10% max CR!
- S-Mod Expanded Magazines reworked: Ammo capacity bonus increased to +100% and grants +50% reloading speed of ballistic and energy when there is no nearby significant enemy presence!
- S-Mod Extended Shield no longer reduces kinetic damage and instead grants 120-degree arc of shields!
- S-Mod HSA no longer increase base range threshold by 100 and instead reduces the range reduction to -25%!
- S-Mod Insulated Engine Assembly reworked: +100% more engine health and +5% hull integrity!
- S-Mod IPDAI now adds +50% damage to fighters!
- S-Mod Makeshift Shield Generator removes the top speed reduction as well as grants an omni-directional shield with -20% upkeep and +10% improved efficiency!
- S-Mod Operation Centers reworked: grants fighters +15% top speed and +33% target leading accuracy!
- S-Mod Reinforced Bulkhead now adds 50 armor for damage reduction calculation instead of 30 armor!
- S-Mod Solar Shielding's Energy Dmg reduction increased to -33%!
1.33
- Removed Shield Shunt S-Mod
- Changed Resistant Flux Conduits
- Changed High Scatter Amplifier
1.32
- Fixed Hardened Subsystem's bug
- Fixed Armored Weapon Mount's tooltip
1.31
- Fixed Militarized Subsystem
- Added Phase Adaptive Coils
1.3 - New Smods!
- There is now a setting in setting.json you must set to TRUE for built-in hullmods to function like S-Mods.
- Removed Assault and Escort Package from selection (bonuses transferred to Militarized Subsystem)
- Temporarily removed Augmented Drive Field S-Mod for the time being.
- A lot of hullmods got changed. Check the forum thread to see what changed mostly.
1.2 - New Smods!
- Augmented Drive Field now has an S-Mod Bonus: reduces the ship's sensor profile by 20%.
- Automated Repair Unit now repairs 1% of your hull integrity if it's below 40%.
- Converted Fighter Bay now has an S-Mod Bonus: Adds +80 Armor and +40 Flux Dissipation per built-in cargo bay.
- Converted Hangar now has an S-Mod Bonus: Buffed Fighter Speed and Reduced Fighter Damage Taken.
- High Scatter Amplified now has an S-Mod Bonus: -30% Range on non-PD Beams and a -20% Range on PD Beams.
- Militarized Subsystems get their bonus amplified to 1.5x.
- Assault Package gets its bonus amplified to 1.5x.
- Escort Package gets its bonus amplified to 1.5x.
1.1 - GitHub release
- Oopsy fixed a CTD bug!
- Built-in Hullmods now incur their respective S-Mod Bonus.
- Adjusted description that you don't need to memorize what S-Mod Bonus it has without S-Modding!
- Accelerated Shields S-mod Modifier increased: 1.50x -> 2.00x.
- Advanced Optics now has an S-Mod Bonus: +5% Beam Damage.
- Advanced Turret Gyro S-mod Modifier increased: 1.00x -> 2.66x.
- Automated Repair Unit S-mod Modifier increased: 1.50x -> 1.60x.
- Blast Door S-mod Modifier Reduced Crew Casualties increased: 1.00x -> 1.50x
- ECCM Package now has an S-Mod Bonus: Part of a bonus can now be applied to fighters and bombers with missiles.
- Efficiency Overhaul now has an S-Mod Bonus: +10% Max CR.
- Expanded Deck Crews now has an S-mod Bonus: 1.5x modifier
- Extended Shields S-mod Modifier increased: 1.50x -> 1.75x.
- Built-in Heavy Armor do not suffer from smod penalties.
- Heavy Armor's armor penalty when smodded increased: 150/300/400/500 -> 125/250/325/400.
- Heavy Armor's additional manueverability penalty when smodded removed. DONE
- Hardened Shields no longer has an S-Mod Bonus and Penalty.
- Flux Distributor now has an S-Mod Bonus: Reduces flux cost from weapons by -4%. DONE
- Fixed Unstable Injector Bug
1.0 - release
[close]
« Last Edit: February 17, 2023, 07:58:16 PM by Jackie »
Logged
Don't compare your life to others if you have no idea what their life is all about.

EmotionalSkyscrapers

  • Ensign
  • *
  • Posts: 7
  • Just one last little trick. Were you not amused?
    • View Profile
Re: [0.95a] Better Deserved S-Mods
« Reply #1 on: September 08, 2021, 07:31:27 PM »

Never mind balance, I think I really like the concept of this mod. It enables some really specific build and makes the game that much more interesting. Thanks!
Logged

theDragn

  • Captain
  • ****
  • Posts: 323
    • View Profile
Re: [0.95a] Better Deserved S-Mods
« Reply #2 on: September 08, 2021, 07:45:44 PM »

These are some really neat ideas. No clue if the balance is good or not, but it's really creative and I think you've done a great job.

Oni

  • Captain
  • ****
  • Posts: 388
    • View Profile
Re: [0.95a] Better Deserved S-Mods
« Reply #3 on: September 09, 2021, 05:26:29 AM »

Hmm... what kind of S-Mod bonus would you give Augmented Drive Field?

More structure? Maneuverability?
Logged

tantananan

  • Ensign
  • *
  • Posts: 48
    • View Profile
Re: [0.95a] Better Deserved S-Mods
« Reply #4 on: September 09, 2021, 06:03:12 AM »

Edit 3:
 - found the crashing problem. it's
Code
if (ship.getMutableStats().getVariant().getSMods().contains("magazines"))"
in the hullmods. I get that you want to remove the text so that it only shows up when you install it as a smod. however, making it show up all the time makes it easier to determine what hullmod i would like to install, since i can see the bonuses before installing them. Removing this line also solves the crashing issue.

 - With the shield bonuses like with omni shield. I suggest adding something like this:
Code
tooltip.addPara("S-mod Bonus: Reduction of soft flux generated by shields increased to %s.", 10f, Misc.getPositiveHighlightColor(), Misc.getHighlightColor(), "66" + "%");
if (ship == null) return;
else if (ship.getMutableStats().getVariant().getSMods().contains("frontemitter")) {
tooltip.addPara("S-mod Bonus: Reduces the amount of damage taken by shields by %s.", 10f, Misc.getPositiveHighlightColor(), Misc.getHighlightColor(), (int) SHIELD_BONUS + "%");
}else if (ship.getMutableStats().getVariant().getSMods().contains("hardenedshieldemitter")) {
tooltip.addPara("Hardened Shield Bonus: Reduces the amount of damage taken by shields by %s.", 10f, Misc.getPositiveHighlightColor(), Misc.getHighlightColor(), (int) SHIELD_BONUS + "%");
}

This way, you'll still be able to hide the hardened shield bonus when it's not present without crashing.

- Bug: Unstable Injector loses its bonus speed when installed as smod.

---------------------------------------------------------------------------------------------------------

Edit 2: Started a campaign with only this mod enabled, everything else disabled. I crash everytime i try to purchase an Expanded Magazine hullmod. Hovering over an Expanded Magazine hullmod item in your inventory also crashes the game.

Edit: It's apparently working already. Do the hullmods already installed as S Mods before installing this mod aren't affected?

Hello! This isn't working for me for some reason. what are the possible mods that would conflict with this? Thank you.
« Last Edit: September 09, 2021, 11:40:19 AM by tantananan »
Logged

Great Wound

  • Captain
  • ****
  • Posts: 291
    • View Profile
Re: [0.95a] Better Deserved S-Mods
« Reply #5 on: September 09, 2021, 03:37:28 PM »

Looks awesome, was previous working on something similar myself. Never thought of applying it to vanilla mods. Good call.

As a suggestion, I would suggest expanding your mod so that it also applies the full bonus when the hullmods are built-in. Currently, the Omen is a fringe case as it doesn't receive the s-mod bonuses for its ECM package but in the interest of future proofing it would be worth adding this feature. It would also provide consistency across with other peoples mods which use built in hullmods for flavour.

Timid

  • Admiral
  • *****
  • Posts: 640
  • Personal Text
    • View Profile
Re: [0.95a] Better Deserved S-Mods
« Reply #6 on: September 09, 2021, 07:42:58 PM »

I really think the Hardened Shield shouldn't have an S-Mod penalty at all and just keep as it is like you did with ITU(?I think) and Expanded Missile Racks.

Neat execution tho.

Jackie

  • Ensign
  • *
  • Posts: 38
    • View Profile
Re: [0.95a] Better Deserved S-Mods 1.1
« Reply #7 on: September 10, 2021, 05:34:57 PM »

- Oopsy fixed a CTD bug!
- Built-in Hullmods now incur their respective S-Mod Bonus.
- Adjusted description that you don't need to memorize what S-Mod Bonus it has without S-Modding!
- Accelerated Shields S-mod Modifier increased: 1.50x -> 2.00x.
- Advanced Optics now has an S-Mod Bonus: +5% Beam Damage.
- Advanced Turret Gyro S-mod Modifier increased: 1.00x -> 2.66x.
- Automated Repair Unit S-mod Modifier increased: 1.50x -> 1.60x.
- Blast Door S-mod Modifier Reduced Crew Casualties increased: 1.00x -> 1.50x
- ECCM Package now has an S-Mod Bonus: Part of a bonus can now be applied to fighters and bombers with missiles.
- Efficiency Overhaul now has an S-Mod Bonus: +10% Max CR.
- Expanded Deck Crews now has an S-mod Bonus: 1.5x modifier
- Extended Shields S-mod Modifier increased: 1.50x -> 1.75x.
- Built-in Heavy Armor do not suffer from smod penalties.
- Heavy Armor's armor penalty when smodded increased: 150/300/400/500 -> 125/250/325/400.
- Heavy Armor's additional manueverability penalty when smodded removed.
- Hardened Shields no longer has an S-Mod Bonus and Penalty.
- Flux Distributor now has an S-Mod Bonus: Reduces flux cost from weapons by -4%.
- Fixed Unstable Injector Bug
« Last Edit: September 21, 2021, 11:54:38 PM by Jackie »
Logged
Don't compare your life to others if you have no idea what their life is all about.

tantananan

  • Ensign
  • *
  • Posts: 48
    • View Profile
Re: [0.95a] Better Deserved S-Mods 1.1
« Reply #8 on: September 11, 2021, 01:44:44 AM »

Awesome! Thanks for the update!
Logged

Nanao-kun

  • Admiral
  • *****
  • Posts: 829
    • View Profile
Re: [0.95a] Better Deserved S-Mods 1.1
« Reply #9 on: September 12, 2021, 10:32:42 AM »

Pretty interesting concept. Gives players a reason to s-mod hullmods they normally wouldn't, since most of the time we just use them on what's pricy to conserve OP. Results in much more consideration between saving OP, or getting a powerful bonus, especially if the pricier ones get a bit weaker from being s-mods.

This is especially interesting for modded hullmods that modders try to balance around the fact that most players would s-mod them.
« Last Edit: September 12, 2021, 10:34:51 AM by Nanao-kun »
Logged

tantananan

  • Ensign
  • *
  • Posts: 48
    • View Profile
Re: [0.95a] Better Deserved S-Mods 1.1
« Reply #10 on: September 13, 2021, 08:47:11 PM »

I highly suggest adding a smod bonus for High Scatter Amplifier since most people hate the high range reduction. Maybe reduce the range reduction to half and add a small reduction to flux cost? Just a quick thought. Cheers!
Logged

PreConceptor

  • Commander
  • ***
  • Posts: 145
    • View Profile
Re: [0.95a] Better Deserved S-Mods 1.1
« Reply #11 on: September 15, 2021, 09:53:56 PM »

If the hull already has the hullmod as standard, like the Odyssey's ECCM Package, will the s-mod bonus apply?

edit: derp
« Last Edit: September 16, 2021, 12:51:57 AM by PreConceptor »
Logged

Great Wound

  • Captain
  • ****
  • Posts: 291
    • View Profile
Re: [0.95a] Better Deserved S-Mods 1.1
« Reply #12 on: September 16, 2021, 12:31:43 AM »

If the hull already has the hullmod as standard, like the Odyssey's ECCM Package, will the s-mod bonus apply?

Yes.

- Built-in Hullmods now incur their respective S-Mod Bonus.

6chad.noirlee9

  • Captain
  • ****
  • Posts: 368
    • View Profile
Re: [0.95a] Better Deserved S-Mods 1.1
« Reply #13 on: September 17, 2021, 09:22:51 AM »

Is it safe to add mid run
Logged
edit: edit: maybe were just falling with style LOL.  make a bubble, make the space in front of it smaller and just fall forward

cjuicy

  • Captain
  • ****
  • Posts: 353
  • Figuring out how the hell to wear heels (She/it)
    • View Profile
Re: [0.95a] Better Deserved S-Mods 1.1
« Reply #14 on: September 17, 2021, 10:08:57 AM »

Is it safe to add mid run
As with most other mods, it's better to start a new save if a mod changes anything already in it. This is true for updates too, and it's good practice to start a new save any time you change your mod lineup past a bug patch.
Logged
It's been a long time, but I still love ya!

- Pfp done by Sleepyfish!
Pages: [1] 2 3 ... 11