Entity
From Blood Wiki
(Difference between revisions)
Line 3: | Line 3: | ||
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 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 | + | 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: | There is 3 types of entities in the game code, depends on what programs they exists: | ||
* Game entity (exists on server) | * Game entity (exists on server) | ||
− | * Client | + | * Client entity (exist on a client) |
− | * Menu entity (exists in menu which is a | + | * 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. | ||
[[Category: General Editing Terminology]] | [[Category: General Editing Terminology]] |
Revision as of 21:45, 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 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.