Fractal Softworks Forum

Starsector => Mods => Modding => Topic started by: Jadena on August 16, 2019, 11:28:32 AM

Title: Remove custom factions and missions?
Post by: Jadena 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.
Title: Re: Remove custom factions and missions?
Post by: Harmful Mechanic 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.
Title: Re: Remove custom factions and missions?
Post by: Histidine 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.