Search found 10 matches
- Fri Oct 11, 2024 9:23 am
- Forum: Dialogue System for Unity
- Topic: Override dialogue text and actor names runtime only
- Replies: 3
- Views: 81
Re: Override dialogue text and actor names runtime only
Seems to work, nice and easy, had to do some slight alternations jsut in case sommeone else stummble into this void OnConversationLine(Subtitle subtitle) { subtitle.formattedText = GetTranslation(subtitle.dialogueEntry); } void OnConversationResponseMenu(Response[] responses) { foreach (var response...
- Thu Oct 10, 2024 4:38 am
- Forum: Dialogue System for Unity
- Topic: Override dialogue text and actor names runtime only
- Replies: 3
- Views: 81
Override dialogue text and actor names runtime only
Hey, I have my own localization system that I have used in all projects that I have worked on. It basically loads in a file into a dictionary at runtime with a key and a string for that language. I do it this way because it lets translator use an external file, and easily test without needing access...
- Tue Jan 23, 2024 8:52 am
- Forum: Dialogue System for Unity
- Topic: Reset current conversation
- Replies: 5
- Views: 48678
Re: Reset current conversation
Just to be sure we are on the same page: I have a save/loading system in my game. And I am using string s = PersistentDataManager.GetSaveData(); // Dialogue system data saveData.dialogueSystemData = s; and PersistentDataManager.ApplySaveData(saveData.dialogueSystemData); for saving and loading the v...
- Mon Jan 22, 2024 3:02 am
- Forum: Dialogue System for Unity
- Topic: Reset current conversation
- Replies: 5
- Views: 48678
Re: Reset current conversation
I don't have any object named ConversationStateSaver attached anywhere as far as I can see.
- Thu Jan 11, 2024 11:51 am
- Forum: Dialogue System for Unity
- Topic: Reset current conversation
- Replies: 5
- Views: 48678
Reset current conversation
Hi, I have a problem where if a player exits the conversation early for example by going to settings and loading to the main menu. Then if the player starts the game again, the next time they encounter the dialogue system it continues from the previous spot. How can I either register as if the conve...
- Fri Jun 16, 2023 3:53 am
- Forum: Dialogue System for Unity
- Topic: Reset specific variable groups
- Replies: 3
- Views: 616
Re: Reset specific variable groups
OK, so I would have to manually put in the string or number I want to reset to. There is no GetInitialValue or something like that I can use? EDIT: I think I found it thanks for the help. foreach (var variable in DialogueManager.masterDatabase.variables) { if (variable.Name.StartsWith("rundata....
- Thu Jun 15, 2023 7:54 am
- Forum: Dialogue System for Unity
- Topic: Reset specific variable groups
- Replies: 3
- Views: 616
Reset specific variable groups
I know that we have the feature DialogueManager.ResetDatabase that resets the variables and quests to their initial values. Would it be possible to target specific groups of variables to be reset while keeping the values of other. I have some variables that change each run of my roguelike and others...
- Thu Jun 15, 2023 6:50 am
- Forum: Dialogue System for Unity
- Topic: Error when loading saveData
- Replies: 4
- Views: 644
Re: Error when loading saveData
Moving to start did the job, thank you so much for the quick response.
- Wed Jun 14, 2023 12:05 pm
- Forum: Dialogue System for Unity
- Topic: Error when loading saveData
- Replies: 4
- Views: 644
Re: Error when loading saveData
Oh that might be the issue, I am running the loading in awake, in the same scene as I have my "Dialogue system controller" object.
If my loading cannot happen in awake I have to change a few other things before I can test if it is enough to move the loading to start.
If my loading cannot happen in awake I have to change a few other things before I can test if it is enough to move the loading to start.
- Wed Jun 14, 2023 10:39 am
- Forum: Dialogue System for Unity
- Topic: Error when loading saveData
- Replies: 4
- Views: 644
Error when loading saveData
Hi I have my own data saving system, that very simply saves data into a file to read it later. I have used this save system before in released games. I implemented the save system for variables and quests for the dialogue system, but when I try to load it I get an error. Have I missudnerstood how to...