Creating save data means Dialogue in database stops updating

Announcements, support questions, and discussion for the Dialogue System.
bluebuttongames
Posts: 91
Joined: Tue Jul 14, 2015 8:22 am

Creating save data means Dialogue in database stops updating

Post by bluebuttongames »

Hi there!

So if I have a quest entry called "Test 1 - Find the X", in game save the data (it's saved into a .txt) file. Then in my base data change that line to read "Test 1 - Locate the X" when I reload the save it still says "Test 1 - Find the X" but if I start a new game it will say "Test 1 - Locate the X".

Is there a way I can fix this? I've not tested it will localization but presumably the problem is the same?

Thanks,

BB
User avatar
Tony Li
Posts: 22054
Joined: Thu Jul 18, 2013 1:27 pm

Re: Creating save data means Dialogue in database stops updating

Post by Tony Li »

Hi,

Quests are saved according to their Name fields.

To protect your saved games against changes to Name fields, keep the Name fields the unchanged, and use Display Name to change the name that's shown in UIs.

Localization will be fine. When you change languages, internally the Dialogue System will still reference quests by their Name fields, but UIs will show the localized versions.
bluebuttongames
Posts: 91
Joined: Tue Jul 14, 2015 8:22 am

Re: Creating save data means Dialogue in database stops updating

Post by bluebuttongames »

Image

So this is the value I'm talking about, the actual description of the entry, not the quest name.
User avatar
Tony Li
Posts: 22054
Joined: Thu Jul 18, 2013 1:27 pm

Re: Creating save data means Dialogue in database stops updating

Post by Tony Li »

Hi,

If you untick the Dialogue Manager's Persistent Data Settings > Include All Item & Quest Data, it will save only the quest states and quest entry states, and it will use the new entry text in your updated database. If you tick the checkbox, it will save (and restore) the current values of the entry texts, too.
bluebuttongames
Posts: 91
Joined: Tue Jul 14, 2015 8:22 am

Re: Creating save data means Dialogue in database stops updating

Post by bluebuttongames »

I only have "All item Data", my version is ancient.
User avatar
Tony Li
Posts: 22054
Joined: Thu Jul 18, 2013 1:27 pm

Re: Creating save data means Dialogue in database stops updating

Post by Tony Li »

Hi,

That checkbox should still work if you untick it. If it doesn't work, can you back up your project and update to the latest version?
bluebuttongames
Posts: 91
Joined: Tue Jul 14, 2015 8:22 am

Re: Creating save data means Dialogue in database stops updating

Post by bluebuttongames »

Great, that worked. Thanks!
User avatar
Tony Li
Posts: 22054
Joined: Thu Jul 18, 2013 1:27 pm

Re: Creating save data means Dialogue in database stops updating

Post by Tony Li »

Happy to help!
bluebuttongames
Posts: 91
Joined: Tue Jul 14, 2015 8:22 am

Re: Creating save data means Dialogue in database stops updating

Post by bluebuttongames »

Actually, this didn't work it created other issues.

What I'm actually looking for, is I want certain aspects to be saved but not the strings.

So for example lets say I have an actor, named Pete. He has stats, how much he likes me which is modified in game. When I save the database with persistency checked that will all work fine. But if now I want to change his name to Bob in my project but I want to keep all the stats about how much he liked me as before from the save data I can't do that. "Pete" will never be updated because it's written into the save data.

Does that make sense?
User avatar
Tony Li
Posts: 22054
Joined: Thu Jul 18, 2013 1:27 pm

Re: Creating save data means Dialogue in database stops updating

Post by Tony Li »

You could store all changeable actor data in variables. Untick the Dialogue Manager's Persistent Data Settings > Include Actor Data and Include All Items & Quest Data. If you untick Include All Items & Quest Data, it will only save quests' states.

Variables always get saved, so this will save the changeable data but allow you to rename Pete to Bob.
Post Reply