Func respawnroomvisualizer

From Valve Developer Community
Revision as of 21:37, 9 May 2011 by Barracuda (talk | contribs) (Updated with data from tf-abs.fgd)
Jump to navigation Jump to search
A visual blockade that appears only when the opposing team gets close to the entrance of your team's spawn room.

Template:Tf2 brush

Entity description

A visual blockade or a wall that prevents players of the opposite team from entering or firing into your team's spawn room. It disappears as the player gets farther away, and fades in as the player gets closer to the entrance of the room.

In the special case when a team control point does not have an owner (is gray), the respawnroomvisualizer will be visible, but not solid, to either team. Map developers need to use alternatives to keep players out of these spawnrooms (ie one-way doors, or func brushes that can be killed when the team control point is captured.

Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
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 theEnableinput).

RenderFields:


Render Mode (rendermode) <byte choices>
Set a non-standard rendering mode on this entity.
Render Modes
  • 0: Normal
  • 1: Color
  • 2: Texture
  • 3: Glow
  • 4: Solid/Alphatest Obsolete
  • 5: Additive
  • 6: Removed, does nothing Obsolete
  • 7: Additive Fractional Frame
  • 8: Alpha Add
  • 9: World Space Glow
  • 10: Don't Render
Render FX (renderfx) <byte choices>
Various somewhat legacy alpha effects. See render effects.
Render Amount / Transparency (renderamt) <byte>
Transparency amount, requires a Render Mode other than Normal. 0 is invisible, 255 is fully visible.
Render Color (R G B) (rendercolor) <color255>
Color tint.
Solid to Enemies ([todo internal name (i)]) <boolean>
Determines if this area is solid to enemy players.
Solidity ([todo internal name (i)]) <choices>
Used to control the solidity/collision of these brushes.
  • 0 : Toggle
  • 1 : Never Solid
  • 2 : Always Solid
Shadows ([todo internal name (i)]) <boolean>
Set this if this brush casts lightmap shadows.

Flags

  • 2 : Ignore player +USE

Inputs

Parentname:
SetParent <stringRedirectInput/string>
Move with this entity. See Entity Hierarchy (parenting).
SetParentAttachment <stringRedirectInput/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 <stringRedirectInput/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.

RenderFields:

Alpha <integer 0–255>
Sets the entity's transparency to a number from 0 (invisible) to 255 (fully visible). Requires the entity to have its rendermode set to a number other than 0.
Color <color255RedirectInput/color32>
Sets an RGB color for the entity.
SetSolid <booleanRedirectInput/boolean>
Set whether this area is solid to enemy players or not. 0 = No, 1 = Yes

Outputs

Template:O RenderFields