Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Overview

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
maxLevel3
minLevel2
minlevel2

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.

Image Modified

Difference between Archetype settings and script defaults

...

It is possible to check the default value in the entities script by hovering over the property.

Toolbar

Image Modified

Action

Description

Load Library

Allows the loading of an XML library file; the default path is Game\Libs\EntityArchetypes -
Please note that some prefabs can contain links to archetype objects; therefore, it is useful to load all the available Archetype libraries into the level.

Save Modified Library

Saves the Archetype library; when the level is saved, the Archetype library will also be automatically saved.

Add Library

Creates a new library.

Remove 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.

Reload Library

Discards all the changes made to the library and reloads the library from the HDD.

...

Mouse Control

Function

Click

Rotates the view.

Right-click

Zooms the view.

Excerpt
hiddentrue
Archetype Entities are a powerful way to speed up and control the level design process.