Npc portal turret floor: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(→‎Entity Description: Added image, and modified the description a bit (even though it says combine in the fgd it's an aperture science turret..)
m (Robot: fixing template case.)
Line 20: Line 20:
* 64 : Start Inactive
* 64 : Start Inactive
* 128 : Fast Retire
* 128 : Fast Retire
* {{ep1 add|256 : Out of Ammo}}
* {{EP1 add|256 : Out of Ammo}}
* 512 : Fade Corpse
* 512 : Fade Corpse
* 1024 : Think outside PVS
* 1024 : Think outside PVS
Line 27: Line 27:
* 4096 : Do Alternate collision for this NPC (player avoidance)
* 4096 : Do Alternate collision for this NPC (player avoidance)
* 8192 : Don't drop weapons
* 8192 : Don't drop weapons
* {{ep1 add|16384 : Ignore player push}}
* {{EP1 add|16384 : Ignore player push}}
: Don't give way to player
: Don't give way to player



Revision as of 19:20, 19 January 2009

Entity Description

Aperture Science Floor Turret

Aperture Science Floor Turret

Availability

This point entity is exclusive to Portal.

Keyvalues

<boolean> Being hit by this turret will push the player back.

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
  • 256 : Out of Ammo (in all games since Half-Life 2: Episode One)
  • 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
  • 16384 : Ignore player push (in all games since Half-Life 2: Episode One)
Don't give way to player

Inputs

Toggle this entity.
  • FireBullet
<string> Causes the turret to instantly fire at the specified entity.


Outputs

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

See Also