Page 1 of 4
Creating save data means Dialogue in database stops updating
Posted: Mon Apr 27, 2020 6:11 am
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
Re: Creating save data means Dialogue in database stops updating
Posted: Mon Apr 27, 2020 8:00 am
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.
Re: Creating save data means Dialogue in database stops updating
Posted: Mon Apr 27, 2020 11:44 am
by bluebuttongames
So this is the value I'm talking about, the actual description of the entry, not the quest name.
Re: Creating save data means Dialogue in database stops updating
Posted: Mon Apr 27, 2020 12:58 pm
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.
Re: Creating save data means Dialogue in database stops updating
Posted: Mon Apr 27, 2020 1:48 pm
by bluebuttongames
I only have "All item Data", my version is ancient.
Re: Creating save data means Dialogue in database stops updating
Posted: Mon Apr 27, 2020 2:03 pm
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?
Re: Creating save data means Dialogue in database stops updating
Posted: Tue Apr 28, 2020 6:17 am
by bluebuttongames
Great, that worked. Thanks!
Re: Creating save data means Dialogue in database stops updating
Posted: Tue Apr 28, 2020 8:34 am
by Tony Li
Happy to help!
Re: Creating save data means Dialogue in database stops updating
Posted: Fri May 01, 2020 5:11 pm
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?
Re: Creating save data means Dialogue in database stops updating
Posted: Fri May 01, 2020 5:27 pm
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.