Difference between revisions of "Entity types"
From Divinity Engine Wiki
Line 13: | Line 13: | ||
*: Triggers are entities that effect an area. Triggers are commonly used for scripted events such as traps, but can be used for much more. See the full list of triggers below. | *: Triggers are entities that effect an area. Triggers are commonly used for scripted events such as traps, but can be used for much more. See the full list of triggers below. | ||
** Point | ** Point | ||
− | |||
** Teleport | ** Teleport | ||
− | |||
** Area | ** Area | ||
− | |||
** Start | ** Start | ||
− | **: | + | **: Creates a starting point for player characters. |
** Atmosphere | ** Atmosphere | ||
− | **: | + | **: Atmosphere triggers can be used to set the atmosphere for an area. |
** Cull | ** Cull | ||
− | **: | + | **: A cull trigger hides objects outside its bounds when it contains the player's camera. |
** AiSeeder | ** AiSeeder | ||
− | **: | + | **: An AiSeeder is a point from which the walkable areas on the [[#AI_grid_panel|AI grid]] will be calculated. |
** PointSound | ** PointSound | ||
− | **: | + | **: A point from which a sound is played. |
− | + | ** MusicVolume <sup>[1]</sup> | |
− | + | **: Sets the music volume in an area. | |
− | ** MusicVolume | + | ** SoundVolume <sup>[1]</sup> |
− | **: | + | **: Sets the sound volume in an area. |
− | ** SoundVolume | ||
− | **: | ||
** Region | ** Region | ||
− | |||
** SecretRegion | ** SecretRegion | ||
− | |||
** CameraLocking | ** CameraLocking | ||
− | |||
** Event | ** Event | ||
− | **: | + | **: A trigger that broadcasts an event entered or exited |
** Spectator | ** Spectator | ||
− | |||
** CrimeArea | ** CrimeArea | ||
− | |||
** CrimeRegion | ** CrimeRegion | ||
− | |||
** AIHintArea | ** AIHintArea | ||
− | + | ** StatsArea <sup>[1]</sup> | |
− | ** StatsArea | + | **: Sets the default level override of characters and items in an area, when the level override of those characters and items is set to -1. |
− | **: | ||
* Lights | * Lights | ||
*: Lights are entities that emit light. | *: Lights are entities that emit light. | ||
Line 63: | Line 51: | ||
*: A prefab is a collection of entities, and is used to speed up decoration. | *: A prefab is a collection of entities, and is used to speed up decoration. | ||
* Wall Construction | * Wall Construction | ||
− | *: A wall | + | *: A wall construction can be used to create houses and other structures. |
* Decals | * Decals | ||
*: Decals are 2D textures that are projected onto 3D objects. | *: Decals are 2D textures that are projected onto 3D objects. | ||
Line 79: | Line 67: | ||
* Level Templates | * Level Templates | ||
*: Level templates are entities that stream other levels into your level. This is useful when working on larger levels and eliminates the need for zoning (load screens) in between areas. | *: Level templates are entities that stream other levels into your level. This is useful when working on larger levels and eliminates the need for zoning (load screens) in between areas. | ||
+ | |||
+ | |||
+ | <sup>[1]</sup> This is a polygon trigger, see the creation mode menu to edit the trigger's bounds. |
Revision as of 15:06, 5 September 2017
The editor allows you to create global, root or local templates of the following entity types:
- Items
- Interactible
- Interactible items are items that can be manipulated in game.
- Examples of interactible are armors, weapons, destructibles (such as barrels), loot containers (such as chests) and traps.
- Scenery
- Scenery items are items that are part of the static scenery in the game world, and are mainly used for decoration. The distinction between sceneries and interactibles exists for performance reasons, so it is recommended that you make sure item templates are the correct type.
- Examples of scenery items are tents, trees, pillars and rocks.
- Interactible
- Characters
- Characters are AI or player controlled entities such as animals, guards and vendors.
- Triggers
- Triggers are entities that effect an area. Triggers are commonly used for scripted events such as traps, but can be used for much more. See the full list of triggers below.
- Point
- Teleport
- Area
- Start
- Creates a starting point for player characters.
- Atmosphere
- Atmosphere triggers can be used to set the atmosphere for an area.
- Cull
- A cull trigger hides objects outside its bounds when it contains the player's camera.
- AiSeeder
- An AiSeeder is a point from which the walkable areas on the AI grid will be calculated.
- PointSound
- A point from which a sound is played.
- MusicVolume [1]
- Sets the music volume in an area.
- SoundVolume [1]
- Sets the sound volume in an area.
- Region
- SecretRegion
- CameraLocking
- Event
- A trigger that broadcasts an event entered or exited
- Spectator
- CrimeArea
- CrimeRegion
- AIHintArea
- StatsArea [1]
- Sets the default level override of characters and items in an area, when the level override of those characters and items is set to -1.
- Lights
- Lights are entities that emit light.
- Point Light
- An entity that casts light in all directions
- Spot Light
- An entity that casts light in one direction
- Light Probes
- Light probes are used for global illumination.
- Prefabs
- A prefab is a collection of entities, and is used to speed up decoration.
- Wall Construction
- A wall construction can be used to create houses and other structures.
- Decals
- Decals are 2D textures that are projected onto 3D objects.
- Splines
- Splines are sets of control points that can be followed by entities.
- Example uses for splines are cinematic camera movement and guard patrol paths.
- Dummies
- Projectiles
- Surfaces
- References
- Level Templates
- Level templates are entities that stream other levels into your level. This is useful when working on larger levels and eliminates the need for zoning (load screens) in between areas.
[1] This is a polygon trigger, see the creation mode menu to edit the trigger's bounds.