Save games, different game versions and Reorder Ids

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
User avatar
Abelius
Posts: 318
Joined: Fri Jul 21, 2017 12:45 pm

Save games, different game versions and Reorder Ids

Post by Abelius »

Hi there!

I've got one small question after realizing something about the Reorder Ids feature...

Let's say I'm using conditions like this...:

Code: Select all

Dialog[thisID].SimStatus == "Untouched"
...to determine if a node is going to be selected next or not...

Let's also say that I have players with previous game saves, prior to the point when I decide to reorder Ids for that convo.

And then I release a new game version and the players take it from their last save game file...

You suspect where this is going, right? :roll:

So, the question is if those saves are still valid in the new version, because if the node states were saved according to their Ids, and those are not the same as before... well...

I ask this because I'm testing the latest version with a save file one player has sent me, and this is happening at one point...:

Image

The node on the top should be selected instead of the bottom one, because even if the top one has that condition from before, the player is supposed to still not have seen the top one... unless the save file is telling otherwise?

Note: I'm using Adv. Maker to save.
Unity 2019.4.9f1
Dialogue System 2.2.15
User avatar
Tony Li
Posts: 22058
Joined: Thu Jul 18, 2013 1:27 pm

Re: Save games, different game versions and Reorder Ids

Post by Tony Li »

Hi,

Good point. That will definitely be a problem. I'm afraid I can only think of two solutions:

1. Don't reorder IDs, or
2. Don't use SimStatus; use variables instead.
User avatar
Abelius
Posts: 318
Joined: Fri Jul 21, 2017 12:45 pm

Re: Save games, different game versions and Reorder Ids

Post by Abelius »

Ah, understood. Then I'll take care to not reorder IDs anymore.

However, I remember this...:
Tony Li wrote:
Abelius wrote:I've seen that you've resourced to prepending 'Group xx' tags with a slash, same as other things throughout DS. For that reason, I'm suspecting that you can't change the name of those groups, right...?
Right. I might at some point consider sorting the dropdown list by ID and group them into IDs (1-19, 20-39, etc.). But for now they're just grouped in the order they were created.
...from one private message we exchanged.

That way to sort the lists by ID you considered, would imply to automatically reordering IDs? Because that would mess up SimStatus as well, right?
Unity 2019.4.9f1
Dialogue System 2.2.15
User avatar
Tony Li
Posts: 22058
Joined: Thu Jul 18, 2013 1:27 pm

Re: Save games, different game versions and Reorder Ids

Post by Tony Li »

Hi,

I haven't implemented that yet, but it would only sort the dropdown list. It wouldn't actually change the IDs themselves.
User avatar
Abelius
Posts: 318
Joined: Fri Jul 21, 2017 12:45 pm

Re: Save games, different game versions and Reorder Ids

Post by Abelius »

Oh, awesome! Then I didn't say anything. :mrgreen:
Unity 2019.4.9f1
Dialogue System 2.2.15
Post Reply