Relationships: Difference between revisions
Jump to navigation
Jump to search

m (minor cleanup) |
m (bit more) |
||
Line 1: | Line 1: | ||
{{cleanup}}{{pov}} | {{cleanup}}{{pov}} | ||
Relationships are what [[NPC]] characters use to know whether they should attack or not. The <code>[[ai_relationship]]</code> entity will adjust an NPC character's relations with the player (referred to as ''!Player'' in Hammer)or another NPC character. | Relationships are what [[NPC]] characters use to know whether they should attack or not. The <code>[[ai_relationship]]</code> entity will adjust an NPC character's relations with the player (referred to as ''!Player'' in Hammer) or another NPC character. | ||
== Settings == | == Settings == | ||
The entity has quite a number of settings built into it, these though are probably the most important ones: | The entity has quite a number of settings built into it, these though are probably the most important ones: | ||
* '''Subject | * '''Subject''' - The NPC receiving the relationship change (''!Player'' will work as well). | ||
* '''Target | * '''Target''' - The target the picked NPC will change relationships with (''!Player'' also works). | ||
* '''Disposition''' - Type of relationship, Hate / Neutral / Like / Fear. | * '''Disposition''' - Type of relationship, ''Hate / Neutral / Like / Fear''. | ||
* '''Reciprocal''' - If true it will mirror the relationship to the Target, basically turning the Target's relationship with the Subject to whatever has been set. | * '''Reciprocal''' - If true it will mirror the relationship to the Target, basically turning the Target's relationship with the Subject to whatever has been set. | ||
=== Other === | === Other === | ||
* '''Name''' - Essential if you plan to | * '''Name''' - Essential if you plan to toggle this entity in-game. | ||
* '''Radius for Subject''' - ???? | * '''Radius for Subject''' - ???? | ||
* '''Start Active''' - Whether the relationship should start active or not | * '''Start Active''' - Whether the relationship should start active or not (defaults to ''False''). |
Revision as of 11:41, 6 October 2007

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.
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.

This article or section should be converted to third person to conform to wiki standards.
Relationships are what NPC characters use to know whether they should attack or not. The ai_relationship
entity will adjust an NPC character's relations with the player (referred to as !Player in Hammer) or another NPC character.
Settings
The entity has quite a number of settings built into it, these though are probably the most important ones:
- Subject - The NPC receiving the relationship change (!Player will work as well).
- Target - The target the picked NPC will change relationships with (!Player also works).
- Disposition - Type of relationship, Hate / Neutral / Like / Fear.
- Reciprocal - If true it will mirror the relationship to the Target, basically turning the Target's relationship with the Subject to whatever has been set.
Other
- Name - Essential if you plan to toggle this entity in-game.
- Radius for Subject - ????
- Start Active - Whether the relationship should start active or not (defaults to False).