Visual Novel Log System/History System

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
Kairos
Posts: 5
Joined: Fri Nov 24, 2023 9:22 am

Visual Novel Log System/History System

Post 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:
Attachments
From the game, Tomorrow will be dying
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
From the game, Cafe in the Clouds
Cafe in the Clouds log system.png (135.84 KiB) Viewed 3742 times
User avatar
Tony Li
Posts: 22108
Joined: Thu Jul 18, 2013 1:27 pm

Re: Visual Novel Log System/History System

Post 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.
User avatar
Tony Li
Posts: 22108
Joined: Thu Jul 18, 2013 1:27 pm

Re: Visual Novel Log System/History System

Post by Tony Li »

Post Reply