Npc turret floor: 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 (ep1 add) |
m (→Flags) |
||
Line 13: | Line 13: | ||
==Flags== | ==Flags== | ||
* | * 1 : Wait Till Seen | ||
*32 : Autostart | * 2 : Gag | ||
*64 : Start Inactive | :No IDLE sounds until angry | ||
*128 : Fast Retire | * 4 : Fall to ground | ||
*{{ep1 add|256 : Out of Ammo}} | :Unchecked means *teleport* to ground | ||
* 8 : Drop Healthkit | |||
* 16 : Efficient - Don't acquire enemies or avoid obstacles | |||
* 32 : Autostart | |||
* 64 : Start Inactive | |||
* 128 : Fast Retire | |||
* {{ep1 add|256 : Out of Ammo}} | |||
* 512 : Fade Corpse | |||
* 1024 : Think outside PVS | |||
* 2048 : Template NPC | |||
: Will not spawn, used by [[npc_template_maker]] but '''not''' [[point_template]] | |||
* 4096 : Do Alternate collision for this NPC (player avoidance) | |||
* 8192 : Don't drop weapons | |||
* {{ep1 add|16384 : Ignore player push}} | |||
: Dont give way to player | |||
==Inputs== | ==Inputs== |
Revision as of 23:34, 5 August 2006
Entity Description
A three-legged turret, equipped with a weaker variant of an AR2. It is unstable and falls over easily, but cannot be destroyed. It scans a 90 degree area, and will lock on to a target and fire at said target until it is out of range or can't be seen.
If placed in a squad, it might share enemies with its squad.

Keyvalues
Flags
- 1 : Wait Till Seen
- 2 : Gag
- No IDLE sounds until angry
- 4 : Fall to ground
- Unchecked means *teleport* to ground
- 8 : Drop Healthkit
- 16 : Efficient - Don't acquire enemies or avoid obstacles
- 32 : Autostart
- 64 : Start Inactive
- 128 : Fast Retire
- Template:Ep1 add
- 512 : Fade Corpse
- 1024 : Think outside PVS
- 2048 : Template NPC
- Will not spawn, used by npc_template_maker but not point_template
- 4096 : Do Alternate collision for this NPC (player avoidance)
- 8192 : Don't drop weapons
- Template:Ep1 add
- Dont give way to player
Inputs
- Toggle this entity.
- AlyxInteractable:
- InteractivePowerDown (in all games since
)
- Shutdown this target.
Outputs
- Template:O basenpc
- OnDeploy
- Turret is becoming active and dangerous.
- OnRetire
- Turret is becoming inactive and harmless.
- OnTipped
- Turret has been tipped over and is inactive.
- OnPhysGunPickup
- Picked up with physgun
- OnPhysGunDrop
- Released by physgun
- OnAlyxStartedInteraction
- Fired when Alyx begins to interact with this entity.
- OnAlyxFinishedInteraction
- Fired when Alyx has finished interacting with this entity.