Template:KV BaseCombatCharacter: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(intn)
mNo edit summary
 
Line 3: Line 3:
Add <code>|as=1</code> for entities that include the new Alien Swarm keyvalues (HullType and BloodColor).
Add <code>|as=1</code> for entities that include the new Alien Swarm keyvalues (HullType and BloodColor).


----</noinclude>{{minititle|BaseCombatCharacter}}
----</noinclude>{{minititle|CBaseCombatCharacter}}
{{KV|Relationship|intn=Relationship|string|<[[string]]&#124;[[targetname]] or [[classname]]> <[[string]]&#124;disposition> <[[int]]&#124;rank>  
{{KV|Relationship|intn=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.

Latest revision as of 10:27, 25 September 2024

Template:KV_BaseAnimating

Add |as=1 for entities that include the new Alien Swarm keyvalues (HullType and BloodColor).


CBaseCombatCharacter:

Relationship (Relationship) <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) <float>
Multiplier for damage amount when this entity is hit by a physics object. With a value of 0 the entity will take no damage from physics.