func_respawnroomvisualizer

From Valve Developer Community
Jump to navigation Jump to search
English (en)Translate (Translate)
A visual blockade that appears only when the opposing team gets close to the entrance of your team's spawn room.
Class hierarchy
CFuncRespawnRoomVisualizer
CFuncBrush
CBaseEntity
func_respawnroom.cpp

func_respawnroomvisualizer is a brush entity available in Team Fortress 2 Team Fortress 2.

A visual blockade or a wall that prevents players of the opposite team from entering your team's spawn room. The traditional material disappears as the player gets farther away, and fades in as the player gets closer to the entrance of the room. This entity does not block weapon fire, be it hitscan or projectiles.

Note.pngNote:Only materials using the correct material proxy will fade.
Icon-Bug.pngBug:The entity may have sorting issues when materials with transparency are assigned. To fix this, set the Render Mode to Color.  [todo tested in?]

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

Like filter_activator_tfteam, this entity will let the winning team pass during the humiliation period.

Keyvalues

Note.pngNote:For Keyvalues and Inputs affecting brush rendering, see Brush entity/Rendering related keyvalues and inputs


Name (targetname) <string>
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

Start Disabled (StartDisabled) <boolean>
Stay dormant until activated (with theEnableinput).
Inputfilter:
Input Filter (InputFilter) <choices>
Used to specify which inputs this entity will accept.
  • 0 : Allow all inputs
  • 8 : Ignore Touch/Untouch
  • 16 : Ignore Use
  • 32 : Ignore All
Associated Respawn Room (respawnroomname) <targetname>
The func_respawnroom that this entity is visualizing. This entity will have its team matched to that of the func_respawnroom and will have it updated if the func_respawnroom ever changes team.
Solid to Enemies (solid_to_enemies) <boolean>
Determines if this area is solid to enemy players.
Solidity (solidity) <choices>
Used to control the solidity/collision of these brushes.
  • 0 : Toggle
  • 1 : Never Solid
  • 2 : Always Solid

Flags

Ignore player +USE : [2]

Inputs

SetSolid <boolean>
Set whether this area is solid to enemy players or not. 0 = No, 1 = Yes

EnableDisable:

Enable / Disable
Enable/disable this entity from performing its task. It might also disappear from view.

See Also