NPC: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (Most GoldSrc games call npcs monsters)
No edit summary
Line 8: Line 8:
* [[:Category:NPCs|List of NPCs]]
* [[:Category:NPCs|List of NPCs]]
* [[Bot]]
* [[Bot]]
* <code>[[CAI_BaseNPC]]</code>, the C++ BaseClass for NPCs in Source
* <code>[[CBaseMonster (GoldSrc)|CBaseMonster]]</code>, the C++ BaseClass for NPCs in GoldSrc


[[Category:Source]]
[[Category:Source]]
[[Category:NPCs]]
[[Category:NPCs]]

Revision as of 13:43, 4 September 2024

English (en)Deutsch (de)Português do Brasil (pt-br)Русский (ru)中文 (zh)Translate (Translate)

An NPC is a Non-Player Character. It is an entity with some form of AI that may be able to move around the map, attack with weapons, etc., that is not directly controlled by the player. Examples include Combine soldiers in Half-Life 2 Half-Life 2 and hostages in Counter-Strike: Source Counter-Strike: Source.

NPCs are sometimes referred to as monsters (especially in GoldSrc GoldSrc), a terminology inherited from Quake Quake.

See also