TyranoBuilder Visual Novel Studio Guide

Adding 3 or more message windows for TyranoBuilder Visual Novel Studio

Adding 3 or more message windows

Overview

Need dialog boxes or just move message windows on hand that you change through, here is a basic outline on how to do that.

Basics

Basics:
message0 and message1 are setup by default in TyranoScript, the reason it is limited to only 2 from the beginning is if this number is set too unnecessarily high, it will slow down the game. So as long as you keep this in mind you shouldnt have too many issues.

There is only one file that we will need to edit outside of tyranobuilder, that being the config.tjs file which is located in data/system/Config.tjs within your project folder

Editing and Use

So in order for us to add more we need to go into the data/system/Config.tjs and increase the value in the below line to more than 2:

;numMessageLayers = 2;

By increasing the above to reflect how many you want to include, you’ll be able to use the layers as usual via the [current] tag to change which message window is displayed. You also could keep two message boxes displayed and just use the current tag to switch between them as well.

Any additional message layers will follow the naming conventions set by the first two, IE setting numMessageLayers to 3 will mean you will now have message0, message1, and message2 and so on depending on how many you set.

Examples

Here are some example scripts:

;Set the message windows [position layer=”message0″ left=20 top=0 width=920 height=180 page=fore visible=true] [position layer=”message1″ left=20 top=200 width=920 height=180 page=fore visible=true] [position layer=”message2″ left=20 top=400 width=920 height=180 page=fore visible=true] ;Adjust the text display area [position layer=message0 page=fore margint=”45″ marginl=”50″ marginr=”70″ marginb=”60″] [position layer=message1 page=fore margint=”45″ marginl=”50″ marginr=”70″ marginb=”60″] [position layer=message2 page=fore margint=”45″ marginl=”50″ marginr=”70″ marginb=”60″] ;Show the message window @layopt layer=message0 visible=true @layopt layer=message1 visible=true @layopt layer=message2 visible=true Here is text message layer 0 [p] [current layer=”message1″] Here is text in message layer 1 [p] [current layer=”message2″] Here is text in message layer 2 [p] [current layer=”message0″] Here is text in message layer 0 [p]
SteamSolo.com