Save Dialogue System Only

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
StateOfArtGameStudio
Posts: 6
Joined: Sun Jul 21, 2024 8:54 pm

Save Dialogue System Only

Post by StateOfArtGameStudio »

Hello,

I have my own save system implemented. I want to use Dialogue System only for dialogues and quest tracking.
Is there built-in option to save dialogue database with modified variables? The save system described in manual seems to be coupled hard with player object (and it doesn't load as expected in my project).
Please help!
User avatar
Tony Li
Posts: 22107
Joined: Thu Jul 18, 2013 1:27 pm

Re: Save Dialogue System Only

Post by Tony Li »

Hi,

The save system isn't coupled with anything. You can add components to a player GameObject if you want to save certain data on the player, but that's entirely optional.

Anyway, to save only the Dialogue System's data, please see Database-Only Save.

If there are other things you want to save, such as GameObject positions, component enabled/disabled states, animator states, etc., set up the save system and manually call the method to get its save data as a string that you can record in your own save system. (more info)
StateOfArtGameStudio
Posts: 6
Joined: Sun Jul 21, 2024 8:54 pm

Re: Save Dialogue System Only

Post by StateOfArtGameStudio »

Sorry, You are right. I was following online tutorial, where it was solved with SaveSystem component.
When I was using LoadFromSlot, my other scripts were failing. For example they did not spawn player.
Anyway I found DialogueSystemSaver and customized it.
Thanks for quick reply!
User avatar
Tony Li
Posts: 22107
Joined: Thu Jul 18, 2013 1:27 pm

Re: Save Dialogue System Only

Post by Tony Li »

Glad to help!
Post Reply