Entity

From Blood Wiki
(Difference between revisions)
Jump to: navigation, search
(Created page with "Entity (edict, object) - any object in game world. Players, Monsters, Items etc. are entities. In Blood Omnicide, each entity have entity number (index in global entity stora...")

Revision as of 21:42, 2 July 2012

Entity (edict, object) - any object in game world. Players, Monsters, Items etc. are entities.

In Blood Omnicide, each entity have entity number (index in global entity storage), entity class (a string storing entity class name) and fields that store all other entity properties.

In QuakeC, all entities shares the same fields. But on different entity classes, same fields can have different functionality.

There is 3 types of entities in the game code, depends on what programs they exists:

  • Game entity (exists on server)
  • Client endity (exist on a client)
  • Menu entity (exists in menu which is a separate program because client program get unloaded when level changes)
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox