I am trying to add a log system or history system where players can see the previous dialogues that they've read. I was wondering if there's a way to do it with Dialogue's database, but I'm not sure how to do it. I am also using the built-in save system of the Visual Novel Framework from the Dialogue System Extras and was hoping the log system would be savable and loadable.
Here are examples of what I want to achieve:
Visual Novel Log System/History System
Visual Novel Log System/History System
- Attachments
-
- From the game, Tomorrow will be dying
- Tomorrow Will Be Dying log system.png (874.01 KiB) Viewed 3742 times
-
- From the game, Cafe in the Clouds
- Cafe in the Clouds log system.png (135.84 KiB) Viewed 3742 times
Re: Visual Novel Log System/History System
Hi,
You can do that with some scripting. In fact, you could probably use a single saver script (see How To: Write Custom Savers) to record and save the history, and then another script to show a menu of recorded conversations and show the conversation logs themselves.
For the saver script, see the ConversationLogger.cs for example code. It relies on special script methods OnConversationStart, OnConversationLine, and OnConversationEnd.
You can do that with some scripting. In fact, you could probably use a single saver script (see How To: Write Custom Savers) to record and save the history, and then another script to show a menu of recorded conversations and show the conversation logs themselves.
For the saver script, see the ConversationLogger.cs for example code. It relies on special script methods OnConversationStart, OnConversationLine, and OnConversationEnd.