Npc antlion
Jump to navigation
Jump to search
Entity Description
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.

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>
- sk_antlion_air_attack (Default: Todo: ?)
- <integer>
- g_debug_antlion
- Debug visualization
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.
- Template:Not in fgd skin
- <choices> Antlion's coloration
Literal Value Description0 1 2 3
Flags
BaseNPC flags
- Wait Till Seen : [1]
- Prevents this NPC from seeing (or being seen) until it enters a player's viewcone.
- Gag : [2]
- Won't make IDLE sounds until it's angry.
- Fall to ground (unchecked means teleport to ground) : [4]
- Drop Healthkit : [8]
- Causes this NPC to drop an item_healthvial upon dying.
- Efficient : [16]
- Don't acquire enemies or avoid obstacles
- Wait For Script : [128]
- Forces this NPC to "wait" in an idle state until it finishes playing a scripted_sequence.
- Long Visibility/Shoot : [256]
- By default, increases a NPC's sight range to
6,000
units and allows it to attack from anywhere within that distance.
- Fade Corpse : [512]
- Think outside PVS : [1024]
- Allows this NPC to run its regular AI outside of any player's PVS.
- Template NPC : [2048]
- Marks this NPC as a template for entities like npc_template_maker. The NPC will not spawn on its own. This is not needed for point_template.
- Do Alternate collision for this NPC (player avoidance) : [4096]
- Don't drop weapons : [8192]
- Ignore player push : [16384] (in all games since
)
- Entity won't give way to player.
- 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