Monster
Jump to navigation
Jump to search
All NPCs are referred to as "monsters" in Quake, Quake II, and GoldSrc. This includes both enemy and allied NPCs. Multiplayer bots are not considered monsters, as they are players.
Important:As a general rule of thumb, monsters are usually only available in single-player mode (
deathmatch 0
). Some notable exceptions:
- (most games) monster_hevsuit_dead
- monster_snark, monster_tripmine, hornet
- monster_scientist[confirm], hostage_entity
Source changes most "monster" terminology to "NPC", but some remnants exist, such as the contents flag for NPCs (CONTENTS_MONSTER
), and the leftover monster_generic entity. Half-Life: Source also retains the monster_
entity classname prefix for backwards compatibility (but uses HL2's "NPC" terminology internally).
Code:Monsters in GoldSrc use the
CBaseMonster
C++ class, found in basemonster.h
.