Relationships

From Valve Developer Community
Revision as of 11:30, 26 July 2007 by Rasirez1 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Relationships,

A relation is the attitude a NPC has towards another NPC and the Player, there are four groups in Half-Life 2,

The Combine (metros, manhacks etc.) The Rebels (humans, vortiguants etc.) The Zombies (headcrabs etc.) And of course, The Antlions.

In HAMMER you can modify a NPC's Relationship with the AI_Relationship entity, you select the NPC or NPC Entity (npc_metropolice,npc_zombie etc.) to change and who its' attitude towards will change. you choose from four different attitudes: Like, Neutral, Hate, Fear.

Like: NPC will not attack and will help. Neutral: NPC will not attack unless attacked (i'm not sure entirely on this!!) Hate: Will attack until the enemy is killed or lost, Fear: NPC will back away from the Player or NPC and will not attack.


That sums up the basics, -Rasirez