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

Model entity

From Valve Developer Community
Jump to navigation Jump to search
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.

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