Point entity: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (link)
No edit summary
 
(34 intermediate revisions by 13 users not shown)
Line 1: Line 1:
'''Point entities''' are created at a position point in the [[coordinates|grid]], and has no area of effect of its own, unless it is given a model.
{{LanguageBar}}
===Logic entities===
{{draft}}
These entities are invisible entities that affect the game, including [[:Category:AI|AI]] managers, lights, and [[:Category:Choreography|choreography]].
{{toc-right}}
===[[Prop Types Overview|Prop entities]]===
{{seealso|[[:Category:Point entities]]}}
These entities are mostly non-living objects that uses a model for its appearance and function. They can be static, dynamic, or physics. Some props can have AI, such as [[npc_rollermine]], and some props can have functionality, such as [[prop_vehicle]].
 
===[[NPC]] entities===
'''Point Entity''' is usually defined as simply an [[entity]] that is '''not''' a [[brush entity]] i.e. entity that is created by [[Hammer Entity Tool]] on specific point on a [[coordinates|grid]] instead of tying brushes to an entity. More meaningful definition for a point entity is an entity that doesn't render a 3D model and its position in the world affects its functionality. It still may have a visual component ([[env_sprite]], [[keyframe_rope]]) or create a visual component ([[infodecal]], [[info_particle_system]]) but most of them are without one ([[ambient_generic]], [[info_target]], [[point_hurt]], [[info_teleport_destination]], [[info_elevator_floor]]).
NPC entities are "Non-Player Characters"; they refer to all of the bots (living/robotic opponents and allies beside the player(s)). They have predefined behavior AI of their own; visible NPCs have their own models too.
Other types of entities that are also created on a specific point and are usually referred to as ''point entity'' are [[model entity|model entities]] and [[logical entity|logical entities]]. Point entities by these standards are most of the time subclasses of [[:Category:CPointEntity|CPointEntity]].
 
== General types ==
=== Target of other entities ===
These serve mainly to provide their position for other entities that target them.
* [[info_target]]
* [[info_teleport_destination]]
* [[info_null]]
* [[info_survivor_position]]
* [[info_lighting]]
* [[info_mass_center]]
 
=== Spawners ===
Their position serves as a place where to spawn player/npc/weapon.
* [[info_player_start]]
* [[npc_maker]]
* [[info_zombie_spawn]]
* [[weapon_item_spawn]]
* [[env_entity_maker]]
 
=== Viewcontrol ===
* [[point_viewcontrol]]
* [[point_viewcontrol_multiplayer]]
* [[point_viewcontrol_survivor]]
 
=== Visual ===
* [[env_sprite]]
* [[infodecal]]
* [[info_overlay]]
* [[info_particle_system]]
* [[move_rope]]
 
=== Sound ===
* [[ambient_generic]]
* [[env_soundscape]]
* [[env_microphone]] - detects sound
 
=== Lights ===
* [[light]]
* [[light_spot]]
* [[light_dynamic]]
 
=== Other ===
* [[point_hurt]]
* [[env_laser]]
* [[point_playermoveconstraint]]
 
=== More{{todo}} ===


== See also ==
== See also ==
[[List of entities]]
* [[Brush entity]]
* [[Model entity]]
* [[Logical entity]]
* [[List of entities]]
* [[:Category:Point Entities]]
* coding [[Your First Entity]] <!-- important article that establishes definition logical and model entity but lacks point entity -->


[[Category:Glossary]]
[[Category:Entities by type]]
[[Category:Source]]

Latest revision as of 08:19, 22 May 2025

English (en)Deutsch (de)Español (es)Hrvatski (hr)Русский (ru)中文 (zh)Translate (Translate)
Icon-under construction-blue.png
This is a draft page. It is a work in progress open to editing by anyone.
Remember to check for any notes left by the tagger at this article's talk page.

Point Entity is usually defined as simply an entity that is not a brush entity i.e. entity that is created by Hammer Entity Tool on specific point on a grid instead of tying brushes to an entity. More meaningful definition for a point entity is an entity that doesn't render a 3D model and its position in the world affects its functionality. It still may have a visual component (env_sprite, keyframe_rope) or create a visual component (infodecal, info_particle_system) but most of them are without one (ambient_generic, info_target, point_hurt, info_teleport_destination, info_elevator_floor). Other types of entities that are also created on a specific point and are usually referred to as point entity are model entities and logical entities. Point entities by these standards are most of the time subclasses of CPointEntity.

General types

Target of other entities

These serve mainly to provide their position for other entities that target them.

Spawners

Their position serves as a place where to spawn player/npc/weapon.

Viewcontrol

Visual

Sound

Lights

Other

More[Todo]

See also