Func respawnroom: Difference between revisions
Jump to navigation
Jump to search
(Updated with data from tf-abs.fgd) |
(listing the effects of the spawnrooms) |
||
Line 2: | Line 2: | ||
==Entity description== | ==Entity description== | ||
Designates a respawn room for a team. | Designates a respawn room for a team. | ||
Respawn rooms have the following properties: | |||
* Gives players instant respawns when they change class and/or loadout | |||
* Blocks engineers from building, like a [[func_nobuild]] | |||
* Forces players to drop [[item_teamflag|the intelligence]] if they are holding it | |||
* Grants MvM bots their spawn protection | |||
==Keyvalues== | ==Keyvalues== |
Revision as of 19:02, 25 February 2013
Entity description
Designates a respawn room for a team.
Respawn rooms have the following properties:
- Gives players instant respawns when they change class and/or loadout
- Blocks engineers from building, like a func_nobuild
- Forces players to drop the intelligence if they are holding it
- Grants MvM bots their spawn protection
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
Parentname:
- Parent (parentname) <targetname>
- Specifies a movement parent. An entity will maintain its initial offset from its parent. An attachment point can be added to the end of the name, separated by a comma.
- Start Disabled (StartDisabled) <boolean>
- Stay dormant until activated (with the
Enable
input).
TeamNum:
- Initial Team (TeamNum) <choices>
- Which Team the entity belongs / is assigned to on spawn
- 0: None
- 1: Spectator/Halloween Souls
- 2: RED
- 3: BLU/Robots
- 5: Halloween Bosses (only in
) !FGD
Flags
Inputs
Parentname:
- SetParent <string >
- Move with this entity. See Entity Hierarchy (parenting).
- SetParentAttachment <string >
- Change this entity to attach to a specific attachment point on its parent. The entity will teleport so that the position of its root bone matches that of the attachment. Entities must be parented before being sent this input.
- SetParentAttachmentMaintainOffset <string >
- As above, but without teleporting. The entity retains its position relative to the attachment at the time of the input being received.
- ClearParent
- Removes this entity from the the movement hierarchy, leaving it free to move independently.
EnableDisable:
- Enable / Disable
- Enable/disable this entity from performing its task. It might also disappear from view.
Toggle:
- Toggle
- Toggle the enabled/disabled status of this entity.