List of default AI relationships/table

From Valve Developer Community
< List of default AI relationships
Revision as of 14:03, 19 October 2005 by AndrewNeo (talk | contribs) (Where'd the table go?)
Jump to navigation Jump to search

This is a visual table of the list of default AI relationships. Each of the titles was shortened to the first three characters of the last word after a underscore (ex. CLASS_CITIZEN_REBEL is REB.) An explicit abbreviations key follows the table. The table is in order by the list's left column. The color represents the relation, and the inner value represents priority.

Relation color key:

  Neutral
  Like
  Hate
  Fears


ANT BAR BUL PAS REB COM GUN CON FLA HEA MAN MET MIL MIS NON PLA ALL VIT SCA STA VOR ZOM PRO FAU
ANT 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
BAR 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
BUL 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
PAS 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
REB 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
COM 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
GUN 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
CON 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
FLA 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
HEA 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
MAN 0 0 0 0 0 0 0 0 0 -1 0 0 0 0 0 0 0 0 0 0 0 0 0 0
MET 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
MIL 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
MIS 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
NON 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
PLA 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ALL 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
VIT 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
SCA 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
STA 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
VOR 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ZOM 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
PRO 0 0 0 0 0 0 0 0 0 0 0 0 0 5 0 0 0 0 0 0 0 0 0 0
FAU 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0


Abbreviations key

Symbol Class Description
ANT CLASS_ANTLION npc_antlion
BAR CLASS_BARNACLE npc_barnacle
BUL CLASS_BULLSEYE npc_bullseye
PAS CLASS_CITIZEN_PASSIVE npc_citizen
REB CLASS_CITIZEN_REBEL npc_citizen
COM CLASS_COMBINE npc_combine_s
GUN CLASS_COMBINE_GUNSHIP npc_combinegunship
CON CLASS_CONSCRIPT No entities are of this class.
FLA CLASS_FLARE CFlare
HEA CLASS_HEADCRAB npc_headcrab
MAN CLASS_MANHACK npc_manhack
MET CLASS_METROPOLICE npc_metropolice
MIL CLASS_MILITARY npc_spotlight; npc_combine_camera when enabled; entities derived from CBaseTurret unless overridden.
MIS CLASS_MISSILE Probably something from npc_launcher or possibly weapon_rpg
NON CLASS_NONE Hidden or disabled NPCs (such as closed turrets or burried headcrabs); npc_enemyfinders without squads; npc_strider being carried by an dropship; npc_furniture; npc_zombie while slumped; npc_launcher; defaults for virtual Classify method of CBaseEntity; npc_missiledefense; npc_breen; and, npc_vehicledriver when HL2_DLL is not defined.
PLA CLASS_PLAYER
ALL CLASS_PLAYER_ALLY
VIT CLASS_PLAYER_ALLY_VITAL Any named NPC except Breen, Laszlo, or Sandy
SCA CLASS_SCANNER npc_cscanner
STA CLASS_STALKER npc_stalker
VOR CLASS_VORTIGAUNT npc_vortigaunt
ZOM CLASS_ZOMBIE npc_zombie
PRO CLASS_PROTOSNIPER npc_sniper
FAU CLASS_EARTH_FAUNA npc_crow, npc_pigeon, and npc_seagull