Fractal Softworks Forum

Starsector => Mods => Modding => Topic started by: connortron7 on December 13, 2019, 01:48:46 AM

Title: question about save breaking [SOLVED]
Post by: connortron7 on December 13, 2019, 01:48:46 AM
The question is that if i change a ships sprite, bounds and weapon placements will it break a save that has that ship in it?
Also does the same go for ship systems? I assume that could break a save but unsure.

I know at the very changing ship IDs will break them
Title: Re: question about save breaking
Post by: Alex on December 13, 2019, 11:06:46 AM
Changing sprites or bounds will not break saves, since that data doesn't end up in the savefile and is loaded fresh every time you run the game.

However: if you remove or change the IDs of weapon slots, that could break a save, since a custom variant in the save might be set to use a slot that would, at that point, not exist. Other changes to weapon slots should be fine, i.e. if you change it to a different type, that'll be fine, though some older variants might have an invalid weapon slotted into it.
Title: Re: question about save breaking
Post by: connortron7 on December 13, 2019, 11:18:35 AM
Changing sprites or bounds will not break saves, since that data doesn't end up in the savefile and is loaded fresh every time you run the game.

However: if you remove or change the IDs of weapon slots, that could break a save, since a custom variant in the save might be set to use a slot that would, at that point, not exist. Other changes to weapon slots should be fine, i.e. if you change it to a different type, that'll be fine, though some older variants might have an invalid weapon slotted into it.

ah ok thanks!