Difference between revisions of "Texts"

From VisionaireWiki
Jump to navigation Jump to search
Line 23: Line 23:
 
  The following text would display the price in the game:
 
  The following text would display the price in the game:
 
  'The price of this product is <v=Price> Dollars'
 
  'The price of this product is <v=Price> Dollars'
 +
 +
== Export of Texts ==

Revision as of 23:45, 21 August 2006

General

In this area each text is listed which is to be displayed in the game. A text contains entries for each language your game supports (see Languages for further information). To edit the various texts in the different languages you have to choose the language the texts belong to. Do so by opening the menu Options and selecting Set original language. Each text you create and edit belongs to the chosen language automatically. Furthermore you can choose a sound file for each dialog text also. This file will be played each time the text is being displayed.

To insert breaks in the output later in the game there exist 4 tags which can be inserted into the text at any position. These tags are:

  • <px>, <pxs> forces a break and the remaning text continues after x seconds.
  • <pxms> forces a break and the remaining text continues after x milliseconds.
  • <pt> forces a break but its duration depends on the length of the text.
  • <pa> forces a break until the voice output is finished.

Examples:

'First part<p5>Second part'
'First part' will be displayed and after 5 seconds 'Second part' is shown.
'First part<p2500ms>Second part'
'First part' will be displayed and after 2,5 seconds 'Second part' is shown.

It is very important to set a break at the end of a text displayed in a cut-scene or if the cursor is hidden, because the player cannot interrupt which means the text would be displayed for good.

With the tag <v=name> a Value can be displayed in the text. 'Name' is the name of the value in the editor (the name is case-sensitive).

Example:

A Value with the name 'Price' has the inital value 100
The following text would display the price in the game:
'The price of this product is <v=Price> Dollars'

Export of Texts