Template:KV BaseCombatCharacter: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Created page with "<noinclude>Use this only for {{ent|CBaseCombatCharacter}}s that AREN'T {{ent|CAI_BaseNPC}}s.Category:FGD Templates ----</noinclude>{{KV|Relationship (Relationship)|string|...")
 
(minititle)
Line 1: Line 1:
<noinclude>Use this only for {{ent|CBaseCombatCharacter}}s that AREN'T {{ent|CAI_BaseNPC}}s.[[Category:FGD Templates]]
<noinclude>Use this only for {{ent|CBaseCombatCharacter}}s that AREN'T {{ent|CAI_BaseNPC}}s.[[Category:FGD Templates]]
----</noinclude>{{KV|Relationship (Relationship)|string|<[[string]]&#124;[[targetname]] or [[classname]]> <[[string]]&#124;disposition> <[[int]]&#124;rank>  
----</noinclude>{{minititle|BaseCombatCharacter}}
{{KV|Relationship (Relationship)|string|<[[string]]&#124;[[targetname]] or [[classname]]> <[[string]]&#124;disposition> <[[int]]&#124;rank>  
:Changes whether this entity likes or dislikes certain other things. Used like the {{ent|ai_relationship}} entity, with this entity as the subject.
:Changes whether this entity likes or dislikes certain other things. Used like the {{ent|ai_relationship}} entity, with this entity as the subject.
:Values for <code>disposition</code> are:
:Values for <code>disposition</code> are:

Revision as of 19:12, 4 September 2018

Use this only for CBaseCombatCharacters that AREN'T CAI_BaseNPCs.


BaseCombatCharacter:

Relationship (Relationship) ([todo internal name (i)]) <string> !FGD
<string|targetname or classname> <string|disposition> <int|rank>
Changes whether this entity likes or dislikes certain other things. Used like the ai_relationship entity, with this entity as the subject.
Values for disposition are:
  • D_HT: Hate
  • D_FR: Fear
  • D_LI: Like
  • D_NU: Neutral
Physics Impact Damage Scale (physdamagescale) ([todo internal name (i)]) <float>
Multiplier for damage amount when this NPC is hit by a physics object. With a value of 0 the entity will take no damage from physics.