Info coop spawn
Jump to navigation
Jump to search
Template:Portal2 point It defines the player spawn points for coop mode.
Keyvalues
- Initial State ([todo internal name (i)]) <choices>
- Make a spawn start enabled or disabled. Valve uses this for all maps with multiple spawning areas so players don't have to go through puzzles they've already solved after they die.
Todo: What happens when a player can spawn at multiple of this entity? Will they always go to the first, or does it choose randomly?
- 0 : Disabled
- 1 : Enabled
- Team ([todo internal name (i)]) <choices>
- Which bot should be allowed to spawn here.
- 0 : Any
- 1 : Red (P-Body)
- 2 : Blue (Atlas)
- Force gun on spawn ([todo internal name (i)]) <boolean>
- Force the player to start with the portal gun.
- 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