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: Remove custom factions and missions?  (Read 2053 times)

Jadena

  • Ensign
  • *
  • Posts: 1
    • View Profile
Remove custom factions and missions?
« on: August 16, 2019, 11:28:32 AM »

I really love all the wonderful ships, weapons, and hullmods that get added by modders. They're all so amazing.

However, despite how well crafted they are, I don't want all the other features and content that get added with them, such as missions, factions, planets, star systems, etc.

I'd like to make a mod that could either A: Override a function to prevent them ever being generated into a new game, or B: Remove all custom content that isn't a ship, hullmod, weapon, or the items that let you learn or build them after all mods are loaded. I'm leaning towards A, because B sounds messy.

I hope I'm not offending anyone who worked hard on all this stuff, I just really like having a clean vanilla sector.

If anyone could point me in the right direction as far as possible functions that are relevant or methods that could be viable, I can probably make the mod myself. Thank you for your time in advance.
Logged

Harmful Mechanic

  • Admiral
  • *****
  • Posts: 1340
  • On break.
    • View Profile
Re: Remove custom factions and missions?
« Reply #1 on: August 16, 2019, 03:07:46 PM »

You'd have to mess with our sector generation scripts.

Other tweaks would likely be required to make the ships, weapons, and hullmods actually spawn; at that point you're talking about a fork of the mod, more or less. Which you're welcome to create, but expect it to be just a wee bit of extra work.
Logged

Histidine

  • Admiral
  • *****
  • Posts: 4661
    • View Profile
    • GitHub profile
Re: Remove custom factions and missions?
« Reply #2 on: August 16, 2019, 07:02:04 PM »

The quick and dirty way:
Add a new game without the mods involved, close the game, enable the mods, and load the save.
Add .faction files for vanilla factions in the mod's folder, which contain the mod ships/weapons/fighters/hullmods, so that they get used without the original faction.
Logged