How to write a dialogue

From Halfway
Revision as of 16:38, 11 September 2014 by Seminus (Talk | contribs)

Jump to: navigation, search

Dialogue Creation

Writing dialogs is rather easy in Halfway. They are all saved in txt files that then are loaded into the game via triggers attributes. All text files need to be saved into the ./text folder but you can use any subfolder you want.

Syntax

Every dialog line has to start with this set of characters:

X#L#

Where as the X can be a number from 0 to 7, an ! or a ? the # is for separation and for the engine to recognize a new dialog line is starting and the L stands for left aligned. R for right aligned is not supported anymore with the current UI.

! is to be used if the character who does the interaction is the one to be talking.

?' is used for the Character you are talking to. This is mainly used when placing characters or terminals in the level and it uses the character set in the object attribute.


Important Knowhow

  • No file can have the same name, even if they are in separate folders. This will confuse the game and you will get strange errors.