Difference between revisions of "Npc antlion"

From Valve Developer Community
Jump to: navigation, search
m (Provided default values.)
m (Added link to Russian version)
Line 90: Line 90:
 
* [[Mapping with Antlions]]
 
* [[Mapping with Antlions]]
 
* [[npc_antlionguard]]
 
* [[npc_antlionguard]]
 +
 +
{{otherlang:en}}
 +
{{otherlang:en:ru|Npc_antlion_(ru)}}
  
 
[[Category:Entities]][[Category:NPCs]]
 
[[Category:Entities]][[Category:NPCs]]

Revision as of 14:27, 18 March 2007

Template:Wrongtitle

Entity Description

Antlion - click to enlarge.

Antlions can burrow, jump, and fly. The player can command up to 4 antlions at a time, provided that the correct env_global variable is set and weapon_bugbait is equipped. Their most common role in level design is that of cannon fodder.

Template:Npcnote

Dedicated Console Variables

  • sk_antlion_health (Default: 30)
<integer> An antlion's spawn health.
  • sk_antlion_jump_damage (Default: 5)
<integer>
  • sk_antlion_swipe_damage (Default: 5)
<integer>

Keyvalues

  • startburrowed
<boolean> If you want your antlion to start under the ground and dig up when you want.
  • radius
<float> Alert Radius - keep in mind that Antlions rely on sound, not sight.
  • eludedist
<integer> Distance until eluded - Only available when Burrow When Eluded is flagged"
  • ignorebugbait
<boolean> Useful for scripted sequences, in which player interference is undesirable.
<choices> Antlion's coloration
Literal Value
Description
0
Antlion-skin1.jpg
1
Antlion-skin2.jpg
2
Antlion-skin3.jpg
3
Antlion-skin4.jpg

Flags

  • 65536 : Burrow when eluded
  • 131072 : Use Ground Checks

Inputs

  • Unburrow
Unburrow from the ground
  • Burrow
Burrow into the ground
  • BurrowAway
Burrow and remove
  • FightToPosition <target_destination>
Fight to position
  • StopFightToPosition
Stop fighting to position
  • EnableJump
Allow non-navigational jumping
  • DisableJump
Disallow non-navigational jumping
  • IgnoreBugbait
Ignore bugbait
  • HearBugbait
Hear bugbait

Outputs

  • OnReachedFightGoal
Fires when the antlion reaches his specified fight-to location

See Also

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