Npc antlionguard: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
m (Robot: fixing template case.)
Line 1: Line 1:
{{wrongtitle|title=npc_antlionguard}}
{{wrongtitle|title=npc_antlionguard}}
==Entity Description==
==Entity Description==
[[Image:Antlionguard-skin1.jpg|thumb|350px|left|Antlion Guard - click to enlarge.]][[Image:Antlionguard-skin2.jpg|thumb|350px|left|{{ep1 add|Cavern Dweller}} - click to enlarge.]]{{clr}}
[[Image:Antlionguard-skin1.jpg|thumb|350px|left|Antlion Guard - click to enlarge.]][[Image:Antlionguard-skin2.jpg|thumb|350px|left|{{EP1 add|Cavern Dweller}} - click to enlarge.]]{{clr}}
The cavern guard does not charge or roar and predicts where the player will be for melee attack.
The cavern guard does not charge or roar and predicts where the player will be for melee attack.
{{npcnote}}
{{npcnote}}
Line 23: Line 23:
: {{boolean}}
: {{boolean}}


* '''{{ep1 add|cavernbreed}}'''
* '''{{EP1 add|cavernbreed}}'''
: {{boolean}} Cavern Guard
: {{boolean}} Cavern Guard


* '''{{ep1 add|incavern}}'''
* '''{{EP1 add|incavern}}'''
: {{boolean}} Use Cavern Behavior
: {{boolean}} Use Cavern Behavior



Revision as of 19:19, 19 January 2009

Template:Wrongtitle

Entity Description

Antlion Guard - click to enlarge.
Cavern Dweller (in all games since Half-Life 2: Episode One) - click to enlarge.

The cavern guard does not charge or roar and predicts where the player will be for melee attack.

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_antlionguard_health
<integer> An antlion guard's spawn health
  • sk_antlionguard_dmg_charge
<integer>
  • sk_antlionguard_dmg_shove
<integer>
  • sk_antlionguard_dmg_take_scale
<integer>

Keyvalues

  • startburrowed
<boolean>
  • allowbark
<boolean>
  • cavernbreed (in all games since Half-Life 2: Episode One)
<boolean> Cavern Guard
  • incavern (in all games since Half-Life 2: Episode One)
<boolean> Use Cavern Behavior

Flags

  • 65536 : Create server-side ragdoll on death
  • 131072 : Use inside footsteps

Inputs

  • Unburrow
Unburrow from the ground
  • SetShoveTarget <target_destination>
Sets a shove target to attack
  • SetChargeTarget <target_destination>
Sets a charge target to attack
  • ClearChargeTarget
Clear the charge target
  • Ragdoll
Causes the antlion guard to die, regardless of health
  • EnableBark
Allow the antlion guard to try and summon antlions
  • DisableBark
Stop the antlion guard from trying to summon antlions
  • StopInvestigating
Stop trying to sniff out the player

Outputs

  • OnSeeHiddenPlayer
Fires when the current enemy is seen while trying to hide
  • OnSmellHiddenPlayer
Fires when the current enemy is smelled while trying to hide
  • OnSummon
Antlion guard is attempting to summon antlions

Template:Otherlang:en Template:Otherlang:en:ru