Entity: Difference between revisions
Jump to navigation
Jump to search
Note:These types are only from perspective of map editors and are based on FGD definitions or how map compilers deal with them [confirm]
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
{{LanguageBar}} | {{LanguageBar}} | ||
An object defined within {{src|4}} or {{source2|4}} as having characteristics which differentiate it from "the [[worldspawn|world]]" (world brushes). | An object defined within {{gldsrc|4}}, {{src|4}} or {{source2|4}} as having characteristics which differentiate it from "the [[worldspawn|world]]" (world brushes). | ||
== Types of entities == | == Types of entities == | ||
Line 17: | Line 17: | ||
|align="center"|[[Brush entity]] | |align="center"|[[Brush entity]] | ||
|align="center"|{{src|4}} and earlier | |align="center"|{{src|4}} and earlier | ||
|A '''Brush Entity''' is an '''entity''' type in the {{gldsrc| | |A '''Brush Entity''' is an '''entity''' type in the {{gldsrc|2}} and {{source|2}} 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.<br>(The default shortcut is {{Key|Ctrl}} + {{Key|T}} after selecting a brush) | ||
|- | |- | ||
|align="center"|[[Point entity]] | |align="center"|[[Point entity]] | ||
Line 25: | Line 25: | ||
|align="center"|[[Mesh entity]] | |align="center"|[[Mesh entity]] | ||
|rowspan="2" align="center"|Only in {{source2|4}} | |rowspan="2" align="center"|Only in {{source2|4}} | ||
|'''Mesh entities''' available only in {{source2| | |'''Mesh entities''' available only in {{source2|2}}.<br>'''Mesh entities''' replace the {{source|2}} [[brush entity|brush entities]]. Since {{Source2|2}} no longer uses [[BSP]] [[brushes]], '''entities''' that need to be associated with geometry are now tied to Hammer meshes instead. | ||
|- | |- | ||
|align="center"|[[Path entity]] | |align="center"|[[Path entity]] | ||
Line 34: | Line 34: | ||
|align="center"|[[Internal entity]] | |align="center"|[[Internal entity]] | ||
|rowspan="2" align="center"| In all Engines | |rowspan="2" align="center"| In all Engines | ||
|'''Internal entities''' are those which are processed by | |'''Internal entities''' are those which are processed by [[VBSP]] ({{gldsrc}} [[HLBSP]], or {{src2}} [[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]].<br>Internal entities get special treatment by the map compile tools and are removed from the final product, usually stored in a special chunk. | ||
|- | |- | ||
|align="center"|[[:Category:Non-internal entity|Non-Internal entity]] | |align="center"|[[:Category:Non-internal entity|Non-Internal entity]] | ||
|'''non-internal entities''' are not processed by | |'''non-internal entities''' are not processed by [[VBSP]] ({{gldsrc}} [[HLBSP]], or {{src2}} [[resourcecompiler]]) and remains as a separate entity.<br>These are typically interactive objects or characters that the player can interact with or that affect gameplay. | ||
|} | |} | ||
Revision as of 07:12, 16 February 2025
An object defined within GoldSrc,
Source or
Source 2 as having characteristics which differentiate it from "the world" (world brushes).
Types of entities

Types | available in | Info |
---|---|---|
By Form | ||
Brush entity | ![]() |
A Brush Entity is an entity type in the ![]() ![]() (The default shortcut is Ctrl + T after selecting a brush) |
Point entity | ![]() ![]() |
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 ![]() |
Mesh entities available only in ![]() Mesh entities replace the ![]() ![]() |
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 (![]() ![]() 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 (![]() ![]() These are typically interactive objects or characters that the player can interact with or that affect gameplay. |
Limitations
For reasons of memory allocation, there is a limit to the number of entities GoldSrc/
Source/
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.
For more info, see Entity limit.
See also
- Category:Entities
- Adding Point Entities (part of a series of tutorials)
- Creating Brush Entities (ditto)
- Entity creation (a quick reference)
- Entities in Depth
- List of Entities
- Coding Your First Entity
- Console command dump_entity_sizes
- Constraint
- preserved entity
- Void