Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Starsector 0.9.1a is out! (05/10/19); Blog post: Skills and Story Points (07/08/19)

Author Topic: Remove custom factions and missions?  (Read 201 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

Soren

  • Admiral
  • *****
  • Posts: 821
  • Pushin' the speed of light.
    • 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
The law, in its majestic equality, forbids the rich as well as the poor to sleep under bridges, to beg in the streets, and to steal bread.

Histidine

  • Admiral
  • *****
  • Posts: 2379
    • View Profile
    • Bitbucket profile
    • Email
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