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: Anubis-class Cruiser (12/20/24)

Author Topic: How to remove (s) mods / s-mods /smods  (Read 10608 times)

beholdadam

  • Ensign
  • *
  • Posts: 15
    • View Profile
How to remove (s) mods / s-mods /smods
« on: May 02, 2021, 06:39:37 PM »

Due to how short the term is, I couldn't find any good search results, but is there a way to remove (s) mods, say, on a ship that has a very limited production run? I know there isn't a legitimate way in-game to do this, but surely there is a way to modify the save file?  I'd like to avoid using a mod, since the game tracks that.  Thanks, and my apologies if this has (surely) been asked a million times... I've constructed this post to perhaps be picked up by the search feature a littler better.

terms: (s) mods, s-mods, smods
Logged

Flying Birdy

  • Commander
  • ***
  • Posts: 165
    • View Profile
Re: How to remove (s) mods / s-mods /smods
« Reply #1 on: May 02, 2021, 10:43:44 PM »

I don't know about removing the s-mods through save editing, but you can always use console commands to add another one of the ship you want and scuttle the s-modded one.
Logged

Drone_Fragger

  • Lieutenant
  • **
  • Posts: 73
    • View Profile
Re: How to remove (s) mods / s-mods /smods
« Reply #2 on: May 03, 2021, 01:15:49 AM »

There is no vanilla way to remove s-mods without cheating, sadly.
Logged

Vanshilar

  • Admiral
  • *****
  • Posts: 736
    • View Profile
Re: How to remove (s) mods / s-mods /smods
« Reply #3 on: May 03, 2021, 01:48:51 AM »

Yes you can modify the save file. Make sure you make a backup first, in case you do anything wrong.

Search through the save file for the ship's name. About 2 pages after that (depending on how many weapons the ship has), you'll see some text that looks like this:

Code
<hM z="43705">
<st>comp_hull</st>
<st>hardenedshieldemitter</st>
<st>hardened_subsystems</st>
<st>solar_shielding</st>
<st>safetyoverrides</st>
<st>frontemitter</st>
</hM>
<pM z="43706">
<st>comp_hull</st>
<st>hardenedshieldemitter</st>
<st>hardened_subsystems</st>
</pM>
<sMods z="43707">
<st>hardenedshieldemitter</st>
<st>hardened_subsystems</st>
</sMods>

If you want to get rid of the S-mod for hardened subsystems, for example, just remove the 3 lines where it shows up. That'll get rid of the hullmod entirely from the ship.
Logged

beholdadam

  • Ensign
  • *
  • Posts: 15
    • View Profile
Re: How to remove (s) mods / s-mods /smods
« Reply #4 on: May 03, 2021, 05:09:33 PM »

Yes you can modify the save file. Make sure you make a backup first, in case you do anything wrong.

Search through the save file for the ship's name. About 2 pages after that (depending on how many weapons the ship has), you'll see some text that looks like this:

Code
<hM z="43705">
<st>comp_hull</st>
<st>hardenedshieldemitter</st>
<st>hardened_subsystems</st>
<st>solar_shielding</st>
<st>safetyoverrides</st>
<st>frontemitter</st>
</hM>
<pM z="43706">
<st>comp_hull</st>
<st>hardenedshieldemitter</st>
<st>hardened_subsystems</st>
</pM>
<sMods z="43707">
<st>hardenedshieldemitter</st>
<st>hardened_subsystems</st>
</sMods>

If you want to get rid of the S-mod for hardened subsystems, for example, just remove the 3 lines where it shows up. That'll get rid of the hullmod entirely from the ship.

I love you.  Thank you!
Logged