Page 1 of 1

GameSaver Extra seems to Lack Scripts

Posted: Mon Apr 15, 2019 2:35 am
by CodePrincess
Hi, Mr. Li!

Okay, so I'm trying to make my game able to save and resume games mid-conversation, and found the "Gamesaver" demo from your "Free extras" library. While I had no trouble compiling and using the "Backtracker" demo I'd found earlier, I extracted and imported the Unity package and all of Gamesaver's scripts are apparently missing.

What did I/should I do now?

Thank you so much for your insight!

Re: GameSaver Extra seems to Lack Scripts

Posted: Mon Apr 15, 2019 9:15 am
by Tony Li
Hi,

That package was made in version 1.x. To update it, make a backup of your project, then select this menu item: Tools > Pixel Crushers > Dialogue System > Tools > Run 1x to 2x Updater. (But see below first!)

However, version 2.x has a Conversation State Saver component. If you add this to the Dialogue Manager, it will save games mid-conversation. You don't need the older GameSaver demo.

Re: GameSaver Extra seems to Lack Scripts

Posted: Mon Apr 15, 2019 12:58 pm
by CodePrincess
The debug log definitely shows me that saving and loading is happening. How do I update the dialogue window to show the loaded conversation?

Re: GameSaver Extra seems to Lack Scripts

Posted: Mon Apr 15, 2019 2:18 pm
by Tony Li
When loading, it should automatically restart the conversation where it left off.

Please temporarily set the Dialogue Manager's Debug Level to Info. Then save a game mid-conversation, and load that game. Look for a message like this in the Console window:

Dialogue System: ConversationStateSaver is resuming conversation title with actor=actor and conversant=conversant at entry #.

Re: GameSaver Extra seems to Lack Scripts

Posted: Mon Apr 15, 2019 3:12 pm
by CodePrincess
Okay, I will do that as soon as I can get Unity to run the newest version of Dialogue Manager without sending up hundreds of "popping" errors and ultimately crashing. Maybe I just installed it wrong? I'll try again on a new project once the bug report finishes uploading,

Thanks again for you guidance! <3 :)

Re: GameSaver Extra seems to Lack Scripts

Posted: Tue Apr 16, 2019 7:35 pm
by CodePrincess
Aaaannnd, success! This really is a sweet system you devised. Thanks again for your help! :D

Re: GameSaver Extra seems to Lack Scripts

Posted: Tue Apr 16, 2019 8:33 pm
by Tony Li
Glad to help! :-)