NPC: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(→‎See also: not all npcs inherit the NPC base classes)
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:


NPCs are sometimes referred to as [[monster]]s (especially in {{goldsrc|4.1}}), a terminology inherited from {{quake|4.1}}.
NPCs are sometimes referred to as [[monster]]s (especially in {{goldsrc|4.1}}), a terminology inherited from {{quake|4.1}}.
Multiplayer [[bot]]s are not considered NPCs, as they are [[player]]s.


== See also ==
== See also ==
Line 8: Line 10:
* [[:Category:NPCs|List of NPCs]]
* [[:Category:NPCs|List of NPCs]]
* [[Bot]]
* [[Bot]]
* <code>[[CAI_BaseNPC]]</code>, the C++ BaseClass for NPCs in Source
* <code>[[CAI_BaseNPC]]</code>, the C++ BaseClass in Source from which NPCs traditionally inherit
* <code>[[CBaseMonster (GoldSrc)|CBaseMonster]]</code>, the C++ BaseClass for NPCs in GoldSrc
* <code>[[CBaseMonster (GoldSrc)|CBaseMonster]]</code>, the C++ BaseClass in GoldSrc from which NPCs traditionally inherit


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

Latest revision as of 14:35, 8 May 2025

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.

Multiplayer bots are not considered NPCs, as they are players.

See also