Page 1 of 1

Visual Novel Log System/History System

Posted: Sat Dec 02, 2023 10:56 am
by Kairos
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:

Re: Visual Novel Log System/History System

Posted: Sat Dec 02, 2023 11:53 am
by Tony Li
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.