Template:KV BaseCombatCharacter: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(moved asw KVs here)
(.)
Line 11: Line 11:
:*<code>D_LI</code>: Like
:*<code>D_LI</code>: Like
:*<code>D_NU</code>: Neutral|nofgd=1}}
:*<code>D_NU</code>: Neutral|nofgd=1}}
{{KV|Physics Impact Damage Scale (physdamagescale)|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.}}<!--
{{KV|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.}}<!--
-->{{#if:{{{as|}}}|
-->{{#if:{{{as|}}}|
{{KV|Hull Type (HullType)|integer|Physical size of the NPC. Affects navigation capabilities and the [[bounding box]].|nofgd=1|since=AS}}
{{KV|Hull Type (HullType)|integer|Physical size of the entity. Affects navigation capabilities and the [[bounding box]].|nofgd=1|since=AS}}
:*<code>HUMAN_HULL</code>: Human
:*<code>HUMAN_HULL</code>: Human
:*<code>WIDE_HUMAN_HULL</code>: Wide
:*<code>WIDE_HUMAN_HULL</code>: Wide
Line 20: Line 20:
:*<code>LARGE_HULL</code>: Large
:*<code>LARGE_HULL</code>: Large
{{confirm|Works? This keyvalue is defined as using integers}}
{{confirm|Works? This keyvalue is defined as using integers}}
{{KV|Blood Color (BloodColor)|integer|Blood color of the NPC when shot.|nofgd=1|since=AS}}
{{KV|Blood Color (BloodColor)|integer|Blood color of the entity when shot.|nofgd=1|since=AS}}
{{confirm|Works? This keyvalue is defined as using integers}}| }}
{{confirm|Works? This keyvalue is defined as using integers}}| }}

Revision as of 06:22, 13 September 2018

Use this only for CBaseCombatCharacters that AREN'T CAI_BaseNPCs.

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.