Entity

From Blood Wiki
Revision as of 21:45, 2 July 2012 by VorteX (Talk | contribs)

Jump to: navigation, search

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 fieldset. 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 entity (exist on a client)
  • Menu entity (exists in menu program which is a separated from a client because client program get unloaded when level changes)

Theres is also special entity types managed by Darkplaces Engine:

  • Network Entity - legacy networking (not using client side progs)
  • Render Entity - a Network/Client entity that is sent to render.
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox