Npc portal turret floor: Difference between revisions
Jump to navigation
Jump to search
Bug:The Enable/Disable inputs have no effect while the turret is knocked over. [todo tested in ?]
Bug:The DepleteAmmo/RestoreAmmo inputs have no effect on Portal turrets. [todo tested in ?]
TomEdwards (talk | contribs) mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
[[ | [[File:AP Turret.jpg|right|thumb|150px|Aperture Science floor turret]] | ||
{{portal point|npc_portal_turret_floor}} It is a freestanding Aperture Science turret. | {{portal series point|npc_portal_turret_floor}} It is a freestanding Aperture Science turret. | ||
==Keyvalues== | ==Keyvalues== | ||
; Damage pushes player <code><[[bool]]></code> | ; Damage pushes player <code><[[bool]]></code> | ||
: Being hit by this turret will push the player back. | : Being hit by this turret will push the player back. | ||
Line 10: | Line 9: | ||
==Flags== | ==Flags== | ||
{{Fl npc turret floor}} | {{Fl npc turret floor}} | ||
==Inputs== | ==Inputs== | ||
; <code>FireBullet <[[targetname]]></code> | ; <code>FireBullet <[[targetname]]></code> | ||
: Causes the turret to instantly fire at the specified entity. | : Causes the turret to instantly fire at the specified entity. | ||
Line 20: | Line 17: | ||
==Outputs== | ==Outputs== | ||
{{O npc_turret_floor}} | {{O npc_turret_floor}} | ||
==See Also== | ==See Also== | ||
* [[npc_rocket_turret]] | * [[npc_rocket_turret]] | ||
* [[npc_turret_floor]] (HL2 equivalent) | * [[npc_turret_floor]] (HL2 equivalent) |
Revision as of 06:10, 23 April 2011
Template:Portal series point It is a freestanding Aperture Science turret.
Keyvalues
- Damage pushes player
<bool>
- Being hit by this turret will push the player back.
- Skin Number (SkinNumber) <integer>
- Which skin to use for this turret. Set to 0 to select randomly.
- Pitch Yaw Roll (Y Z X) (angles) <QAngle>
- This entity's orientation in the world. Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.
Flags
- Autostart : [32]
- Unknown. Possibly deprecated.
- Start Inactive : [64]
- Causes this turret to start deactivated
- Fast Retire : [128]
- Makes this turret return to its dormant state faster after losing a target
- Out of Ammo : [256]
- Makes this turret unable to shoot at acquired targets
- Citizen modified (Friendly) : [512] (in all games since
)
- This turret will be allied with the player and use a special skin
Inputs
FireBullet <targetname>
- Causes the turret to instantly fire at the specified entity.
- Enable
- Disable
- Toggle
- Active/deactivate the turret's mechanisms.

- DepleteAmmo
- RestoreAmmo
- Depletes ammo from a turret, causing it to dry-fire, or restores ammo. Turrets never run out on their own.

- SelfDestruct (in all games since
)
- Emit a warning then self-destruct in a small explosion.
Outputs
- OnDeploy
- OnRetire
- Turret has become active and dangerous or inactive and harmless.
- OnTipped
- Turret has been tipped over and is inactive.
- OnPhysGunPickup
- OnPhysGunDrop
- Picked up/released by Gravity Gun or +use.
See Also
- npc_rocket_turret
- npc_turret_floor (HL2 equivalent)