Npc vortigaunt

From Valve Developer Community
Jump to navigation Jump to search

Template:Wrongtitle

Entity Description

Vortigaunt

These NPCs were enemies in Half Life 1, but are now friendlies. The Nilianth was controlling them but the civilians in City 17 have freed them. They tend to speak 'strangely' and with 'wise' words.


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. Template:Plact

See Also

  • Vortigaunt - Background information about vortigaunts.