Apc missile: Difference between revisions
Jump to navigation
Jump to search

Note:Content moved to Rendering and studio model related KIO/Keyvalues for continuation of page history
Note:Content moved to Rendering and studio model related KIO/Inputs for continuation of page history
Note:Content moved to Rendering and studio model related KIO/Outputs for continuation of page history
(changed description) |
|||
Line 1: | Line 1: | ||
{{lang|Apc missile}} | {{lang|Apc missile}} | ||
{{ent not in fgd|nolink=1}} | {{ent not in fgd|nolink=1}} | ||
{{ | {{hl2 point|apc_missile}} This is a specialized version of {{ent|rpg_missile}} shot by {{ent|prop_vehicle_apc}} and {{ent|func_tankapcrocket}}. It's advised to not attempt to spawn these directly, as they will not home towards a target on their own (they may try in some cases, but the results are buggy and inconsistent). The entity can still have some things done to it such as relationships. | ||
{{ | |||
{{stray ent|{{portal}}}} | |||
{{code class|CAPCMissile|weapon_rpg.cpp}} | {{code class|CAPCMissile|weapon_rpg.cpp}} |
Revision as of 22:24, 14 September 2018


Template:Hl2 point This is a specialized version of rpg_missile shot by prop_vehicle_apc and func_tankapcrocket. It's advised to not attempt to spawn these directly, as they will not home towards a target on their own (they may try in some cases, but the results are buggy and inconsistent). The entity can still have some things done to it such as relationships.
ConVars/Commands
Cvar/Command | Parameters or default value | Descriptor | Effect |
---|---|---|---|
sk_apc_missile_damage | 15 | Health amount | Damage done by a rocket.
|
Keyvalues
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.

Inputs
CBaseCombatCharacter:
- KilledNPC !FGD
- Tells the entity it killed something. Despite the name, this can include a player. This input will be automatically sent by the victim when they die.
- physdamagescale <float >
- Scales damage energy when this character is hit by a physics object. With a value of 0 the NPC will take no damage from physics.

Outputs
