Npc antlion: Difference between revisions
Jump to navigation
Jump to search
Note:Some keyvalues, spawnflags, effect flags, inputs, or outputs might not affect an NPC, based on the functionality and coding of the NPC.
m (→Inputs: Fixed inputs) |
m (→Keyvalues: skin) |
||
Line 27: | Line 27: | ||
* '''ignorebugbait''' | * '''ignorebugbait''' | ||
: {{boolean}} Useful for scripted sequences, in which player interference is undesirable. | : {{boolean}} Useful for scripted sequences, in which player interference is undesirable. | ||
* {{not in fgd}} '''skin''' | |||
: <choices> Antlion's coloration | |||
:{| style="text-align:center;" | |||
! Literal Value || <div style="text-align:left;">Description</div> | |||
|- | |||
| 0 || [[Image:Antlion-skin1.jpg|thumb|100px]] | |||
|- | |||
| 1 || [[Image:Antlion-skin2.jpg|thumb|100px]] | |||
|- | |||
| 2 || [[Image:Antlion-skin3.jpg|thumb|100px]] | |||
|- | |||
| 3 || [[Image:Antlion-skin4.jpg|thumb|100px]] | |||
|} | |||
==Flags== | ==Flags== |
Revision as of 19:44, 6 June 2006
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
- <integer> An antlion's spawn health
- sk_antlion_swipe_damage
- <integer>
- sk_antlion_jump_damage
- <integer>
Keyvalues
- startburrowed
- <boolean> If you want your antlion to start under the ground and dig up when you want.
- radius
- <integer> 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
- 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