This article's documentation is for anything that uses the Source engine. Click here for more information.

Entity (Source 2)

From Valve Developer Community
Jump to navigation Jump to search
English (en)Translate (Translate)
Broom icon.png
This article or section needs to be cleaned up to conform to a higher standard of quality because:
Keep only source 2 info
For help, see the VDC Editing Help and Wikipedia cleanup process. Also, remember to check for any notes left by the tagger at this article's talk page.

An object defined within GoldSrc GoldSrc, Source Source or Source 2 Source 2 as having characteristics which differentiate it from "the world" (world brushes).

Types of entities

Note.pngNote:These types are only from perspective of map editors and are based on FGD definitions or how map compilers deal with them [confirm]
Types available in Info
By Form
Brush entity Source Source and earlier A Brush Entity is an entity type in the GoldSrc GoldSrc and Source Source engines, created by tying an entity to a BSP geometry brush in the map, giving the brush a specific effect or ability defined by the entity tied to it.
(The default shortcut is Ctrl + T after selecting a brush)
Point entity All engines Point Entities are entities created at a specific position point on the grid. Some require a model to be selected for them in order to function fully.
Mesh entity Only in Source 2 Source 2 Mesh entities available only in Source 2 Source 2.
Mesh entities replace the Source Source brush entities. Since Source 2 Source 2 no longer uses BSP brushes, entities that need to be associated with geometry are now tied to Hammer meshes instead.
Path entity Path entities are a type of entity recently added to the tools. They can be created with the currently hidden Path Tool (Shift + P).
By Internality
Internal entity In all Engines Internal entities are those which are processed by VBSP (GoldSrc HLBSP, or Source 2 resourcecompiler) then either deleted or merged into another entity. They do not exist when the map is running, so they won't count to the entity limit.
Internal entities get special treatment by the map compile tools and are removed from the final product, usually stored in a special chunk.
Non-Internal entity non-internal entities are not processed by VBSP (GoldSrc HLBSP, or Source 2 resourcecompiler) and remains as a separate entity.
These are typically interactive objects or characters that the player can interact with or that affect gameplay.
Examples of non-internal entities: prop_dynamic, logic_relay, light, npc_citizen.

Limitations

Main article:  Entity limit

For reasons of memory allocation, there is a limit to the number of entities GoldSrc GoldSrc/Source Source/Source 2 Source 2 can manage at once.

The combined size (in bytes) of a map's entity data should also be considered, even if the number of entities is within safe limits. Large amounts of entdata can take a noticeably long time to transmit from server to client, and may lead to crashes.

See also