Relationships

From Valve Developer Community
Revision as of 12:41, 26 July 2007 by MrTwoVideoCards (talk | contribs) (wiki markup)
Jump to navigation Jump to search
Broom icon.png
This article or section needs to be cleaned up to conform to a higher standard of quality.
For help, see the VDC Editing Help and Wikipedia cleanup process. Also, remember to check for any notes left by the tagger at this article's talk page.
Broom icon.png
This article or section should be converted to third person to conform to wiki standards.

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