Entities ​
An entity is anything in the world that has a body and can act or be acted on: the characters of the player, the creatures and people of the world, and the objects you can use or destroy. This category holds their definitions.
Start here
Build an NPC who talks and sells: an NPC, a shop and a conversation, placed in a world, about 20 minutes.
| Tab | What it defines |
|---|---|
| Playable Character | A character the player can control or recruit: its class, level, model, inventory and equipment |
| Player Classes | What a character can do: stats, abilities, starting gear, level rewards, skill trees, companion AI |
| NPCs | Everything that is not a player: enemies, townspeople, animals, bosses, vendors |
| Interactables | Objects: doors, chests, switches, ladders, traps, signs, crafting stations, destructible barrels |
| Mounts | Horses, griffins, carts, tanks and boats the player rides: how they move, how they are steered, and the seats with the abilities of each |
| Spawn Tables | What can appear and how likely each thing is (NPCs in groups, interactables, dropped items and money, nothing): the lists the spawners roll |
| Growth Profiles | How a kind of NPC gains stats with its level (heavy, caster, minion), shared by every NPC that uses the profile |
The kinds of entity ​
| Kind | In the editor | Notes |
|---|---|---|
| Player | A character of a class | Every member of the party is a player. The one you control is the current player; the others are companions that fight and follow on their own |
| NPC | An NPC definition | Placed in the world as a unique, spawned by an event or an encounter, or summoned |
| Pet | An NPC that was summoned by an effect | It has a summoner, follows it in formation and leaves when it dies |
| Interactable object | An interactable definition | A static body with one interaction |
What every entity has ​
Whatever it is, an entity is made of the same parts, and they come from its definition:
| Part | Where it comes from |
|---|---|
| Model and animations | The skeleton and animation type of the definition, and the weapon tags of its weapon class |
| Stats and pools | The stats data of the class or NPC: which pools it has, its stats, its immunities, the growth per level |
| Abilities | The basic attack and the active and passive abilities of the definition |
| Effects | Applied by abilities, items and the world |
| Inventory and equipment | The items it starts with, and the slots it wears them in |
| Faction | The faction decides who it fights, who it helps and who ignores it |
| Behavior | The behavior script (what it does when nothing is happening) and the combat script (what it does in a fight) |
| Entity type | The entity type of the definition (Humanoid, Beast, Undead): conditions read it, and the effects of the type are put on the entity |
Entity types in the definition ​
Every entity definition has an Entity type. Choose the type the creature is: a skeleton is Undead. A stat effect, an effect or a requirement can then ask "is it Undead?", and the effects the type brings (undead take more holy damage) are on the creature from the start. An entity has one type.
Templates ​
An NPC or an interactable can follow a template: the stats, pools, immunities, growth and abilities that many of them share. Change the template and everything that follows it changes, keeping what each one did for itself. See Templates. The player class editor has a Templates menu that makes a new class from a saved one.
See also ​
- Stats data, Interactables, Uniques (a placed NPC with overrides)
- Behaviors (factions and AI)
- Entities: how they are built (Advanced)