Save Conversation Fields?
Posted: Tue Aug 11, 2015 11:51 am
Hi Tony
I'm with de save / load of the game and i have a little question, in my test of saving the "Dialogue System Data" i have used
and call the "PlayerPrefs.SetString(key, PersistentDataManager.GetSaveData());" and if i see data in playersPrefs i dont see any information about Conversation, only this:
For example in each Conversation i have a field called "Count" to know how many times the player talks with the npc how has that conversation.
The question is:
This kind of stuff is managed by the GameSaver or by me? in the other hand, in the data i put before is necesary the information of the actors and quest? i mean, the state of the quest is important but the name, descreption, etc? this info comes in the database and for load the progression i dont see the importance of this stuff, same with the actors, but not sure if is here for something i dont see yet.
Thanks so much
I'm with de save / load of the game and i have a little question, in my test of saving the "Dialogue System Data" i have used
Code: Select all
GetComponent<PixelCrushers.DialogueSystem.GameSaver>().OnUse();
Code: Select all
Variable["Alert"]="";
Variable["Character"]="\"\"";
Variable["SavedLevelName"]="TestingAlfonso";
Item["Quest_1"]={Status="", Name="Quest 1", Description="Quest1 Description", Is_Item=false, Success_Description="Quest1 Success Description", Failure_Description="Quest1 Failure Description", State="unassigned", Trackable=false, Abandonable=false, };
Actor["Player"]={Status="", Name="Player", Pictures="[]", Description="", IsPlayer=true, };
Actor["Detective"]={Status="", Name="Detective", Pictures="[]", Description="", IsPlayer=false, };
StatusTable = "";
RelationshipTable = "";
The question is:
This kind of stuff is managed by the GameSaver or by me? in the other hand, in the data i put before is necesary the information of the actors and quest? i mean, the state of the quest is important but the name, descreption, etc? this info comes in the database and for load the progression i dont see the importance of this stuff, same with the actors, but not sure if is here for something i dont see yet.
Thanks so much