Jump to content

Help me understand [Persistent]


Recommended Posts

I'm working on a mod that will need to store a rather large amount of data. On my previous one, I just used a separate file to store data in the save folder. It works well, but I'd like to put better integration into this one.

Is there a good way to attach to persistent.sfs using builtin classes for saving data? I see [Persistent] in several projects on here, and I'm assuming that's part of the equation.

Link to comment
Share on other sites

you can use a scenario module..

but it has the same limitations than stock KSP save files..

it will usualy only be saved when you change scene

the external file, you can save as often as you want..

That'd be just fine, that's basically how I have Kerbanomics set up currently. It only saves it's data when the game fires OnSave, specifically so that the economic information doesn't get out of sync with the main save.

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...