Npc portal turret floor: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (typo fix)
No edit summary
Line 2: Line 2:


{{portal series point|npc_portal_turret_floor}}  
{{portal series point|npc_portal_turret_floor}}  
"There you are" ~ Turret


==Entity description==
==Entity description==

Revision as of 22:11, 8 May 2011

Aperture Science floor turret

Template:Portal series point

"There you are" ~ Turret

Entity description

This Entity creates a freestanding Aperture Science turret.

Keyvalues

Damage pushes player ([todo internal name (i)]) <boolean>
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 Source 2007)
This turret will be allied with the player and use a special skin


Inputs

FireBullet <targetnameRedirectInput/string>
Causes the turret to instantly fire at the specified entity.
Enable
Disable
Toggle
Active/deactivate the turret's mechanisms.
Icon-Bug.pngBug:The Enable/Disable inputs have no effect while the turret is knocked over.  [todo tested in ?]
DepleteAmmo
RestoreAmmo
Depletes ammo from a turret, causing it to dry-fire, or restores ammo. Turrets never run out on their own.
Icon-Bug.pngBug:The DepleteAmmo/RestoreAmmo inputs have no effect on Portal turrets.  [todo tested in ?]
SelfDestruct  (in all games since Half-Life 2: Episode Two)
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