QT AGIStudio allows AGI games to be created or edited.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
1.8 KiB

<TITLE>Object editor</TITLE></HEAD>
<h1>Object editor</h1>
The Object editor allows you to create and edit the <b>object</b> file, which is used to store the names of inventory items available to the player during the game. For more information on the <b>object</b> file,
<a href="object_descr.html">click here</a>.
To load the Object editor, select the option from the "Tools" menu or the toolbar. When you do this, it will load the <b>object</b> file of the current game (if a game is open). You can then open a different
file if you wish.
<img src="object-editor.png" alt = "" ><p>
Most of the editing is pretty self-explanatory. There are a few things, however than need explanation:<p>
All objects MUST have a name. The default name for an object that does not have a proper name is '?'. When you delete an object and it is not the last one in the list, it will be replaced with '?'. This
is because moving the other objects up in the list would require re-compilation of all logics that refer to those objects, so it is better to leave the other object numbers as they are.
The <b>object</b> file must contain at least one object. A new <b>object</b> file will just contain the object '?'.<p>
In early versions of the interpreter (those before 2.411), the <b>object</b> file was not encrypted. The editor allows you to specify whether or not you want to encrypt the file. Just select 'Encrypted file'
from the 'Options' menu. When opening a file, the editor automatically detects whether or not the file is encrypted.
Note: When saving a file, it does not necessarily have to be called <b>object</b>. It must have this name, however, for the interpreter to use it.<p>
<a href="index.html">Back to contents</a><p>