Info coop spawn: Difference between revisions
Jump to navigation
Jump to search
(Updated with data from the official portal2.fgd) |
m (Re-arranged some fields) |
||
Line 5: | Line 5: | ||
==Keyvalues== | ==Keyvalues== | ||
{{KV|Initial State|choices}} | {{KV|Initial State|choices}} | ||
:* 0 : Disabled | :* 0 : Disabled | ||
Line 15: | Line 13: | ||
:* 2 : Red ''(P-Body)'' | :* 2 : Red ''(P-Body)'' | ||
:* 3 : Blue ''(Atlas)'' | :* 3 : Blue ''(Atlas)'' | ||
{{KV Targetname}} | |||
{{KV Angles}} | |||
==Inputs== | ==Inputs== | ||
{{IO|Enable|Enable the spawn point to be used.}} | {{IO|Enable|Enable the spawn point to be used.}} | ||
{{IO|SetAsActiveSpawn|Enable the spawn point to be used, disabling all other spawn points that do not share the same name.}} | {{IO|SetAsActiveSpawn|Enable the spawn point to be used, disabling all other spawn points that do not share the same name.}} | ||
{{IO|Disable|Disable the spawn point from being used.}} | {{IO|Disable|Disable the spawn point from being used.}} | ||
{{IO|SetTeam|Set the team this spawn point is for. 0 and 1 are any team. 2 is red, 3 is blue|param=integer}} | {{IO|SetTeam|Set the team this spawn point is for. 0 and 1 are any team. 2 is red, 3 is blue|param=integer}} | ||
{{I Targetname}} | |||
==Outputs== | ==Outputs== | ||
{{O Targetname}} | {{O Targetname}} |
Revision as of 01:06, 13 May 2011
Entity description
Player spawns for cooperative mode.
Keyvalues
- Initial State ([todo internal name (i)]) <choices>
-
- 0 : Disabled
- 1 : Enabled
- Team ([todo internal name (i)]) <choices>
-
- 0 : Any
- 1 : Chell
- 2 : Red (P-Body)
- 3 : Blue (Atlas)
- Name (targetname) <string>[ Edit ]
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- 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.
Inputs
- Enable
- Enable the spawn point to be used.
- SetAsActiveSpawn
- Enable the spawn point to be used, disabling all other spawn points that do not share the same name.
- Disable
- Disable the spawn point from being used.
- SetTeam <integer >
- Set the team this spawn point is for. 0 and 1 are any team. 2 is red, 3 is blue