An Archetype Entity is based on a regular Entity and specifies individual parameter values for that Entity. If the value of an Archetype parameter is changed, all instances of that Archetype in the scene will be updated automatically.
Archetype Entities are organized in libraries which can be created in The DataBase View.
So technical level designers can predefine variations of Entity classes as Archetype Entities that can be used throughout the whole game. For global changes affecting all instances, the Archetype Entity just needs to be changed once in the Database View.
Placing Archetype Entities
Archetype Entities can be accessed by using RollUpBar -> Objects -> Archetype Entity or alternatively, they can be dragged directly from the DataBase View.
The browser window in the RollUpBar shows all the Archetype Entity libraries that are currently loaded for the level.
Navigate these libraries by clicking once. Drag the individual Archetype Entities to the level to place them.
Filter of Archetype Entity Browser
This filter specifies a search string for the currently loaded Archetype library. All libraries containing Archetype Entities appropriate for the search string will be shown upon pressing the Reload button. Also, the Reload button can be used to update any recently altered archetype library files.
Archetype Entity Object Properties
Once you have placed an Archetype Entity in the level, select it to view its properties.
EntityArchetype Params are a basic set of parameters shared by all Archetype Entities.
When set, the object will not be rendered when inside a visarea.
When set, the object will cast a shadow.
Defines how far from the current camera position, the different Level Of Detail models for the object are used.
Defines how far from the current camera position, the the object can be seen.
When set, this object is not shown in the pure game mode.
When set, this object will be influenced by any wind setup in the level.
Created Through Pool
Below is an example of the EntityArchetype Properties2 dialog box. This dialog box contains a selection of properties from the Entity type, allowing you to edit the Archetype Entities on a case by case basis.
The example below shows the properties2 set for an AI entity:
Creating Archetype Entity Libraries
Archetype Entity Libraries can be created and configured in the The DataBase View.
Difference between Archetype settings and script defaults
Every highlighted property in the database view has actually a different value than the script default.
Revert to Script Defaults
To revert the Archetype setting back to the actual script default value you can right click on a property and choose Revert to Script Default.
Checking the Script Default value
It is possible to check the default value in the entities script by hovering over the property.
Allows the loading of an XML library file; the default path is
Save Modified Library
Saves the Archetype library; when the level is saved, the Archetype library will also be automatically saved.
Creates a new library.
Removes the currently selected library from the level; you need to manually delete it from the hard drive if you want to permanently remove it.
Library Drop-Down List
Lets you access all the loaded libraries in the level.
Discards all the changes made to the library and reloads the library from the HDD.
Add New Item
Creates a new archetype object, based on a selectable entity class script; you need to define a Group (folder) and a Name.
Clone Library Item
Duplicates the selected Archetype entity; uses the same name and adds a number to it.
Deletes the selected archetype object.
Assign Item to Selected Objects
Assigns the selected Archetype entity to the currently selected Archetype entity in the Perspective view.
Resets the scene Archetype entities of this type.
Get Material from Selection
Assigns the material from the currently selected item.
Undoes the last action - set the number in Tools > Preferences.
Redoes the last action - set the number in Tools > Preferences.
Copies the XML script of the current item to the clipboard.
Pastes the item from the clipboard.
The library lister organizes all the Archetype entities of the currently selected library, by group; browse through the groups in a similar manner to as is done in the standard Windows Explorer.
Class Properties Window
The Class Properties window displays all the values that are defined in the entity scripts.
These scripts are created by programmers.
The window holds general object parameters, which exist in all the Archetype entities. They are independent of the separate entity scripts.
This option shows the selected Archetype entity in a special, perspective, model preview window.
Rotates the view.
Zooms the view.