Asw remote turret

From Valve Developer Community
Revision as of 12:53, 17 May 2011 by Mr Tk (talk | contribs) (Created page with '==asw_remote_turret== {{as}} This is a point entity available in Alien Swarm. It creates a turret that can be placed anywhere in the map and be connected to an [[trigger_asw…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

asw_remote_turret

Alien Swarm This is a point entity available in Alien Swarm. It creates a turret that can be placed anywhere in the map and be connected to an trigger_asw_computer_area, from where it can be controlled in first-person view like in the Rydberg level from Jacob's Campaign.

Tip.pngTip:To attach this entity to a computer area insert it's name as the 'Turret1 Name' keyvalue!

Keyvalues

Name
The name that other entities refer to this entity by.
Entity Scripts
Name(s) of script files that are executed after all entities have spawned.
Script think function
Name of a function in this entity's script scope which will be called automatically.
Pith Yaw Roll (X Y Z)
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.
Origin (X Y Z)
The position of this entity's center in the world. Rotating entities typically rotate around their origin.
Worldmodel
The 3D model used to display this entity in the world.
Warning.pngWarning:This keyvalue is unnecessary and shouldn't be changed since it's likely cause errors. The turret model will be displayed anyhow!
Skin
Some models have multiple versions of their textures, called skins. Set this to a number other than 0 to use that skin instead of the default.
Note.pngNote:Also unnecessary since the turret model has none.
Disable Shadows
Used to disable dynamic shadows on this entity.


Turn range (Pitch Yaw Roll)
How many degrees this turret can turn either side of its initial facing.
Note.pngNote:Pitch is rotation around the Y axis, yaw is the rotation around the Z axis, roll is the rotation around the X axis.
Ceiling Turret
If set, this turret will be oriented upside down, as if attached to the ceiling.


Inputs

AddOutput
Evaluates a keyvalue/output on this entity. It can be potentially very dangerous, use with care.
Format: <key> <value>
Format: <output name> <targetname>:<inputname>:<parameter>:<delay>:<max times to fire, -1 means infinite>
FireUser1-4
Fire the OnUser outputs; see User Inputs and Outputs.
Kill
Removes this entity from the world.
enbale/disable shadows
En/disable dynamic shadows on this object [?].
Skin
Change the skin of this objects wordl model.


Outputs

OnIgnite
Fired when the entity is set on fire.
OnUser1-4
Fired in response to the FireUser inputs; see User Inputs and Outputs.


See Also

List of Alien Swarm entities