Template:KV BaseCombatCharacter: Difference between revisions
Jump to navigation
Jump to search
(minititle) |
Gameplayer (talk | contribs) mNo edit summary |
||
(6 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | <noinclude>{{back|Template:KV_BaseAnimating}} | ||
----</noinclude>{{minititle| | |||
{{KV|Relationship | Add <code>|as=1</code> for entities that include the new Alien Swarm keyvalues (HullType and BloodColor). | ||
----</noinclude>{{minititle|CBaseCombatCharacter}} | |||
{{KV|Relationship|intn=Relationship|string|<[[string]]|[[targetname]] or [[classname]]> <[[string]]|disposition> <[[int]]|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: | ||
Line 8: | 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 | {{KV|Physics Impact Damage Scale|intn=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|}}}| | |||
{{KV|Hull Type|intn=HullType|integer|Physical size of the entity. Affects navigation capabilities and the [[bounding box]].|nofgd=1|since=AS}} | |||
:*<code>HUMAN_HULL</code>: Human | |||
:*<code>WIDE_HUMAN_HULL</code>: Wide | |||
:*<code>TINY_HULL</code>: Tiny | |||
:*<code>MEDIUM_HULL</code>: Medium | |||
:*<code>LARGE_HULL</code>: Large | |||
{{confirm|Works? This keyvalue is defined as using integers}} | |||
{{KV|Blood Color|intn=BloodColor|integer|Blood color of the entity when shot.|nofgd=1|since=AS}} | |||
{{confirm|Works? This keyvalue is defined as using integers}}| }}<noinclude>[[Category:Keyvalue Templates|BaseCombatCharacter]]</noinclude> |
Latest revision as of 10:27, 25 September 2024
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
: HateD_FR
: FearD_LI
: LikeD_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.