Template:KV BaseCombatCharacter: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(.)
m (.)
Line 1: Line 1:
<noinclude>Use this only for {{ent|CBaseCombatCharacter}}s that AREN'T {{ent|CAI_BaseNPC}}s.[[Category:FGD Templates]]
<noinclude>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|BaseCombatCharacter}}

Revision as of 05:57, 16 September 2018

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


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 entity is hit by a physics object. With a value of 0 the entity will take no damage from physics.