NPC: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
SirYodaJedi (talk | contribs) No edit summary  | 
				SirYodaJedi (talk | contribs)   (→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   | * <code>[[CAI_BaseNPC]]</code>, the C++ BaseClass in Source from which NPCs traditionally inherit  | ||
* <code>[[CBaseMonster (GoldSrc)|CBaseMonster]]</code>, the C++ BaseClass   | * <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 13:35, 8 May 2025
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 and hostages in 
 Counter-Strike: Source.
NPCs are sometimes referred to as monsters (especially in 
 GoldSrc), a terminology inherited from 
 Quake.
Multiplayer bots are not considered NPCs, as they are players.
See also
- Creating an NPC
 - List of NPCs
 - Bot
 CAI_BaseNPC, the C++ BaseClass in Source from which NPCs traditionally inheritCBaseMonster, the C++ BaseClass in GoldSrc from which NPCs traditionally inherit