Info coop spawn: Difference between revisions
Jump to navigation
Jump to search
(Added entity data) |
(Updated with data from the official portal2.fgd) |
||
Line 2: | Line 2: | ||
==Entity description== | ==Entity description== | ||
Player spawns for cooperative mode. | |||
==Keyvalues== | ==Keyvalues== | ||
{{KV Targetname}} | {{KV Targetname}} | ||
{{KV Angles}} | {{KV Angles}} | ||
{{KV|Initial State|choices}} | |||
{{KV| | :* 0 : Disabled | ||
:* 1 : Enabled | |||
{{KV| | {{KV|Team|choices}} | ||
:* 0 | :* 0 : Any | ||
:* 1 | :* ''1 : Chell'' | ||
:* 2 | :* 2 : Red ''(P-Body)'' | ||
:* 3 | :* 3 : Blue ''(Atlas)'' | ||
==Inputs== | ==Inputs== | ||
{{I Targetname}} | {{I Targetname}} | ||
{{ | {{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|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}} | |||
==Outputs== | ==Outputs== | ||
{{O Targetname}} | {{O Targetname}} |
Revision as of 01:08, 11 May 2011
Entity description
Player spawns for cooperative mode.
Keyvalues
- 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.
- 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)
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