List of default AI relationships/table

From Valve Developer Community
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
BAR CLASS_BARNACLE
BUL CLASS_BULLSEYE
PAS CLASS_CITIZEN_PASSIVE
REB CLASS_CITIZEN_REBEL
COM CLASS_COMBINE
GUN CLASS_COMBINE_GUNSHIP
CON CLASS_CONSCRIPT No entities are of this class.
FLA CLASS_FLARE CFlare
HEA CLASS_HEADCRAB
MAN CLASS_MANHACK
MET CLASS_METROPOLICE
MIL CLASS_MILITARY npc_spotlight; npc_combine_camera when enabled.
MIS CLASS_MISSILE
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
SCA CLASS_SCANNER
STA CLASS_STALKER
VOR CLASS_VORTIGAUNT
ZOM CLASS_ZOMBIE
PRO CLASS_PROTOSNIPER npc_sniper
FAU CLASS_EARTH_FAUNA npc_crow, npc_pigeon, and npc_seagull