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

Model entity: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(taken from point entity)
Line 2: Line 2:
{{merge|Model Entity}}
{{merge|Model Entity}}
Entities that use [[3D model|studio model]]. Every entity using a studio model is a subclass of [[CBaseAnimating]]. In [[FGD]] they will be defined by @PointClass or @NPCClass and thus created via [[Hammer Entity Tool]].
Entities that use [[3D model|studio model]]. Every entity using a studio model is a subclass of [[CBaseAnimating]]. In [[FGD]] they will be defined by @PointClass or @NPCClass and thus created via [[Hammer Entity Tool]].
== General types of model entities ==
=== [[Prop Types Overview|Prop entities]] ===
Prop Entities, are (usually) inanimate objects that use a model for their appearance and function. They can be static, dynamic, or physics. Some more specific props can even have functionality, such as a [[prop_door_rotating]]. Examples of prop entities include [[prop_detail]], [[prop_dynamic]] and [[prop_ragdoll]].
=== [[NPC]] entities ===
NPC entities, or "Non-Player Characters" entities, are computer controlled characters and creatures that can interact with the player(s) using their ''AI'' coding. NPCs generally fall into two categories, '''Friendly''', NPCs that help, assist, or do not affect the player, and '''Hostile''', NPCs that attack or negatively affect the player. Use [[ai_relationship]] to change this.
=== Weapon entities ===
{{todo}}


== See also ==
== See also ==

Revision as of 08:42, 22 April 2025

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.
Merge-arrows.png
It has been suggested that this article or section be merged with Model Entity. (Discuss)

Entities that use studio model. Every entity using a studio model is a subclass of CBaseAnimating. In FGD they will be defined by @PointClass or @NPCClass and thus created via Hammer Entity Tool.

General types of model entities

Prop entities

Prop Entities, are (usually) inanimate objects that use a model for their appearance and function. They can be static, dynamic, or physics. Some more specific props can even have functionality, such as a prop_door_rotating. Examples of prop entities include prop_detail, prop_dynamic and prop_ragdoll.

NPC entities

NPC entities, or "Non-Player Characters" entities, are computer controlled characters and creatures that can interact with the player(s) using their AI coding. NPCs generally fall into two categories, Friendly, NPCs that help, assist, or do not affect the player, and Hostile, NPCs that attack or negatively affect the player. Use ai_relationship to change this.

Weapon entities

[Todo]

See also