Npc vortigaunt: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
 
mNo edit summary
Line 71: Line 71:
: Fires when a player +USEs the vortigaunt.
: Fires when a player +USEs the vortigaunt.


[[Category:Entities]]
[[Category:Entities]][[Category:NPCs]]

Revision as of 06:25, 15 July 2005

Template:Wrongtitle

Entity Description

Vortigaunt

Allow multiple models (for slaves), but default to vortigaunt.mdl

Note.pngNote:Some keyvalues, spawnflags, effect flags, inputs, or outputs might not affect an NPC, based on the functionality and coding of the NPC.

Dedicated Console Variables

  • sk_vortigaunt_health
<integer> Vortigaunt spawn health
  • sk_vortigaunt_armor_charge
<integer> Amount of energy to charge the player with
  • sk_vortigaunt_dmg_claw
<integer> Damage from a claw melee attack
  • sk_vortigaunt_dmg_rake
<integer> Damage from a rake melee attack
  • sk_vortigaunt_dmg_zap
<integer> Damage from a zap range attack

Keyvalues

  • model
<studio> World model
  • ArmorRechargeEnabled
<boolean> Allow Armor Recharging

Flags

Inputs

  • EnableArmorRecharge
Allow armor recharging on players
  • DisableArmorRecharge
Do not allow armor recharging on players
  • ExtractBugbait <string>
Causes the vortigaunt to extract bugbait from the named target passed in.
  • ChargeTarget <string>
Force the vortigaunt to charge the named target.

Outputs

  • OnFinishedExtractingBugbait
Fires when the vortigaunt's finished extracting bugbait from a target.
  • OnFinishedExtractingTauCannon
Fires when the vortigaunt's finished extracting the tau cannon from the jeep.
  • OnFinishedChargingTarget
Fires when the vortigaunt has finished charging a target.
  • OnPlayerUse
Fires when a player +USEs the vortigaunt.