Ai relationship

From Valve Developer Community
Revision as of 09:06, 11 November 2007 by VitreLtore (talk | contribs)
Jump to navigation Jump to search

rock shape event free planner software synergy network management underground in atlanta ga scavo speed pro performance parts nicaragua missions navy new ship san diego cab companies attorney in denver co everyday essentials ltd salary of teachers in california robert logan artist permanent way hare michael moyer what to do in a blizzard western canada lotteries corp minimize noise internet explorer 7.0 team america songs downloads jealousy green eyed monster self reliance lesson what is qcd process piping and design prayers of healing lake hamilton middle school policy on linkage anastasia kelly jobs security iraq occupational and industrial health safety state of tennessee job opportunities online program rn southern york county pa real estate music sheet stripes white order of operations for integer microsoft media player 10 downloads europe find in university torrent player free download e postcards of london kid snow math music tapes addition search engine optimization how to the world of pimping after effects 7 rumor email resume etiquette quicktime pro free downloads little prince boston opera medicare part b news powells books new look jeans on demand web analytic animation funny antelope valley project lincoln nascar pic toyota ice cream scoopers auto gps review system ac adapter blackberry parental control ratings usb pc lock t65 paintball party download large women 4 waste management recycling industry information center learn html for free online 40 fabulous tux logo wedding ring symbolizes make up for black woman nj college closings violent crime rate by state policy on linkage entertainment newcastle upon tyne rant work thomas hicks pc comparison guide north west community credit union retail jewelry displays starting tomato plant usher little brother profession engineer exam scuba diving pics real estate exclusive agency ramstein soundtrack lexington lawyer porsche 911 turbo sta es last stand at mac command key tickets west end shows kims video underground agency jose redevelopment san w3schools online web tutorials egypt land area promise wedding studio inc little brown co publisher automapa night skinny dipping 2002 microsoft office medical treatment for eczema wootton Template:Wrongtitle

Entity Description

Ai relationship.png

Sets a relationship type between two parties. These parties can be an NPC, an NPC class, or the player(s). There are four types of relation: Neutral, hate, like and fear. Certain NPC classes will react differently when in these states.

Todo: Do some more behavioral research on NPC(s) and post your observations below. Possibly these results could later on be placed in the corresponding article of each NPC instead.

Neutral

Will not attack. Rebels avoid excusingly, and can not be commanded. Npc_zombies will remain still and only turn to face the target.

Hate

Considers the target an enemy/enemies and will attack.

Like

Will not attack the target. Rebels follow automatically, and can be commanded. The player will lower his gun until the target shows signs of hostility (but can still shoot the target before this). Npc_zombies will remain still and only turn to face the target.

Fear

Avoids the target. Headcrabs runs away without attacking. Metropolice attacks. Rebels avoids without attacking, and can not be commanded. Npc_zombies will occasionally also swipe at the target if it is in its flight path, but these swipes will afflict no damage to it unless the zombie has been attacked.

Note.pngNote:The relationship can refer to the player as !player (singleplayer) or any client as player (singleplayer or multiplayer).

Keyvalues

<target_name_or_class> This is the NPC(s) whose disposition will change.
  • target
<target_name_or_class> This is the NPC(s) ( or !player or player ) about whom the Subject(s) will change their disposition.
  • disposition
<choices> Choose the way the Subject(s) should feel about the target(s)
Literal Value Description
1 Hate
2 Fear
3 Like
4 Neutral
  • radius
<float> Radius for subject
  • rank
<integer> How much the Subject(s) should Like/Hate/Fear the target(s). Higher priority = stronger feeling.
  • StartActive
<boolean>
  • Reciprocal
<boolean> Set this to have the new relationship mirrored by target

Flags

Inputs

  • ApplyRelationship
Apply relationship changes
  • RevertRelationship
Revert relationship changes
Revert relationship changes to the default relationship, which may have changed since this ai_relationship was applied. This returns control of the entity relationship to the code.

Outputs

See also