Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Pages: [1] 2 3

Author Topic: [0.95a] Better Deserved S-Mods 1.2  (Read 10696 times)

Jackie

  • Ensign
  • *
  • Posts: 11
    • View Profile
[0.95a] Better Deserved S-Mods 1.2
« 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.

Incompatibility Issues
This mod is a semi-conversion of the following vanilla hullmods:
Accelerated Shields, Advanced Optics, Advanced Turret Gyro, Armored Weapon Mounts, Assault Package, Augmented Engines, Automated Repair Units, Auxiliary Thrusters, Blast Doors, Converted Fighter Bay, Converted Hangar, Dedicated Targeting Core, ECCM Package, ECM Package, Efficiency Overhaul, Escort Package, Expanded Deck Crew, Expanded Magazine, Extended Shields, Flux Coil Adjunct, Flux Distributor, Front Shield Conversion, 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, Solar Shielding, Stabilized Shields, 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]

Flux Mods

[close]

Shield Mods
[close]

Package Mods

[close]

Credits
Thanks to PureTilt for sharing code!

Changelog
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: October 04, 2021, 07:24:54 PM by Jackie »
Logged
Don't compare your life to others as you have no idea what their life is all about.

EmotionalSkyscrapers

  • Ensign
  • *
  • Posts: 4
  • What if VNSector but with talking trees?
    • View Profile
    • Email
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

  • Commander
  • ***
  • Posts: 149
    • 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

  • Lieutenant
  • **
  • Posts: 62
    • 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: 29
    • 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

  • Lieutenant
  • **
  • Posts: 65
    • 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.
Logged

Timid

  • Captain
  • ****
  • Posts: 296
  • 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: 11
    • 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 as you have no idea what their life is all about.

tantananan

  • Ensign
  • *
  • Posts: 29
    • 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: 827
    • View Profile
    • Email
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: 29
    • 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

  • Lieutenant
  • **
  • Posts: 82
    • 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

  • Lieutenant
  • **
  • Posts: 65
    • 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.
Logged

6chad.noirlee9

  • Captain
  • ****
  • Posts: 331
    • 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: 352
  • Missiles and Mecha, my boys. Missiles and Mecha
    • View Profile
    • Email
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 originally done by Gwyvern, with pastel version by Kripto
Pages: [1] 2 3