Npc antlionguard: 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 (Robot: fixing template case.) |
m (Robot: fixing template case.) |
||
Line 30: | Line 30: | ||
==Flags== | ==Flags== | ||
* {{ | * {{Fl BaseNPC}} | ||
* 65536 : Create server-side ragdoll on death | * 65536 : Create server-side ragdoll on death |
Revision as of 19:21, 19 January 2009
Entity Description

Cavern Dweller (in all games since
) - click to enlarge.

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

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
)
- <boolean> Cavern Guard
- incavern (in all games since
)
- <boolean> Use Cavern Behavior
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 : 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