Keyboard Shortcuts for Text Markups?

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
annathehank
Posts: 95
Joined: Sun May 03, 2020 2:17 pm

Keyboard Shortcuts for Text Markups?

Post by annathehank »

Hi there! Hope all is going well.

I was just wondering if there are any built-in or ways to create keyboard short cuts for commonly used text markups? I'm making a text-based adventure game and am frequently using the color tag to differentiate between narration and speakers and was curious if there's a way to set it up so I could just quickly pop in the <color=red> etc. type of markups.

Alternately, I know there's a way to change the text color by actor, so is there an easy way to have multiple dialogue nodes showing up at once? (such that there's longer blocks of text on the screen for the player to see)

Thank you in advance!
User avatar
Tony Li
Posts: 21959
Joined: Thu Jul 18, 2013 1:27 pm

Re: Keyboard Shortcuts for Text Markups?

Post by Tony Li »

Hi,

There aren't any keyboard shortcuts for that, but you could use an external macro utility to shorten typing.

Also, consider using [em#] tags instead of <color=color> codes. If you ever decide to change a character's color (e.g, from red to purple), it'll be easier to just change the [em#] emphasis setting rather than search & replace all instances of <color=red> in text.

Regarding multiple nodes, yes, it's possible, but the details depend on your dialogue UI. For example, are you using a dialogue UI that accumulates text, such as the Runic/WRPG UI or Scrolling Dialogue UI? If so, and if you require the player to click a continue button after each node, to bypass the continue button for several nodes and have them automatically continue after their typewriter effect finishes (assuming they use a typewriter effect) set the Sequence fields to something like:

Code: Select all

Continue()@Message(Typed)
annathehank
Posts: 95
Joined: Sun May 03, 2020 2:17 pm

Re: Keyboard Shortcuts for Text Markups?

Post by annathehank »

Ohhhhhh, I see! I completely glossed over the emphasis settings, I didn't realize I could set them to color and stuff! Thank you!
User avatar
Tony Li
Posts: 21959
Joined: Thu Jul 18, 2013 1:27 pm

Re: Keyboard Shortcuts for Text Markups?

Post by Tony Li »

Happy to help!
Post Reply