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.
|Table of Contents|
Placing Archetype Entities
The browser window in the RollUpBar shows all the Archetype Entity libraries that are currently loaded for the level.
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 The DataBase View.
Difference between Archetype settings and script defaults
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.
Rotates the view.
Zooms the view.
Archetype Entities are a powerful way to speed up and control the level design process.