Skip to reading
The Text Parser

3. Give an object a useful vocabulary

Edition 0.86.3.4

Teach your adventure verbs and synonyms, add command input and connect typed instructions to real game actions.

Download PDFView illustrations

Begin with an object that is already visible in a working scene. The screenshots use the grandfather clock model from the bundled Clockmaker assets. Its scene record is named Workshop Clock, with the ID clock.

1. Open Scene Designer and select the object in the room or Scene Objects list.

2. Open the Inspector's General tab.

3. Keep a clear Name. This is the name people will recognise in the editor and game.

4. Find Synonyms. Enter clock, timepiece, grandfather clock.

5. Click Apply Changes, then Save Project.

Figure 3. The scene object's identity and Synonyms field. These belong to the placed clock, rather than its imported model asset.

The record ID and name are also candidates for matching. Synonyms let you accept sensible alternatives without renaming the object. A player can use timepiece even though the editor still calls it Workshop Clock.

Add target words to the scene object, rather than expecting the imported model's asset name to supply them. An asset is the source artwork; the placed object owns this room's identity and interactions.

Page 8 of 41Permalink
Go to page