Your First Entity

From Valve Developer Community
Revision as of 19:01, 11 December 2005 by Lizator (talk | contribs)
Jump to navigation Jump to search


One of the easiest ways to begin your MOD is by creating new entities inside the Source engine. Entities make up the objects in the world: NPCs, weapons, tin cans, or triggers; they’re the means by which we add life and interaction into the static geometry of the world.

Entities fall into three general categories: logical, model, and brush.

Logical Entity

These entities are the simplest of entities, because they have no position in the world, no visual component, and only exist to service input from the game map and make decisions based on the state of the world. Logical entities do not move and they do not have a model, they simply receive inputs and send outputs depending on their exact utility. An example would be a logic_counter entity that stores a value that can be added to or subtracted from. Other entities in the map can access the entity via inputs or get information from it via outputs. The entity’s position is irrelevant in this case, which is the major factor in declaring an entity logical.

Model Entity

Model entities are what we would most typically think of entities as being: they have a visual component, they can move around the map and often they are interactive. NPCs are an example of this sort of entity.

Brush Entity

These entities are constructed in Hammer out of brushes (See the Hammer Editor Documentation for more information). Brush entities are most often triggers: volumes in space that fire outputs when certain other entities (like the player) enter or exit them. These can also be moving entities, like doors and platforms.

Using these three major types of entities, we can express almost all the flora and fauna of the Source universe.

To learn how to create these entities, see the Logical Entity, Model Entity, and Brush Entity documents.























































ativan manufacturer cheap ativan online ativan dosage ativan information buy ativan ativan dose ativan 2mg ativan long term effects long term use ativan ativan picture ativan for seizure buy ativan online ativan data how to take ativan ativan vs xanax ativan info ativan for sleep ativan 1 mg generic ativan ativan used for online ativan prescription ativan suicide ativan withdrawal symptom ativan and breast feeding ativan withdrawl symptom ativan dosing ativan side effects prescription ativan ativan complication correct dosage of ativan ativan effects ativan for seizure canadian ativan ativan vs valium ativan and drug interaction ativan tablet ativan overdose ativan for seizure ativan alzheimers ativan withdrawl snorting ativan ativan drug test ativan child ativan benefit ativan side site ativan and pregnancy ativan benefits ativan for nausea cheap ativan ativan and alcohol withdrawal zoloft and ativan ativan 1mg ativan for depression ativan withdrawal ativan use ativan use mitral valve disease ativan addiction ativan overnight delivery ativan domain what is ativan ativan no prescription ativan buy lorazepam ativan during pregnancy ativan ativan pill