This article relates to the game "Team Fortress 2". Click here for more information.

Tf logic holiday: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(-cleanup)
Line 1: Line 1:
{{LanguageBar}}
{{TF2 topicon}}
{{TF2 topicon}}
{{Lang}}
{{Stub}}
{{Stub}}
 
{{CD}}
{{this is a|point entity|name=tf_logic_holiday|game=Team Fortress 2}}
{{this is a|point entity|name=tf_logic_holiday|game=Team Fortress 2}}


Line 11: Line 11:


== Keyvalues ==
== Keyvalues ==
{{KV|start}}
{{KV Targetname}}
{{KV Targetname|new=1|l4d2=1}}
{{KV|intn=holiday_type|Holiday|choices|Controls the special events.
{{KV|new=1|max-height=unset|holiday_type|choices|Holiday|value=None|rawValue=1|Controls the special events.


{{Table
{{Table
Line 32: Line 31:
{{Todo|See if there are other effects associated with the events.}}
{{Todo|See if there are other effects associated with the events.}}
}}
}}
{{KV|new=1|tauntInHell|choices|Taunt in Hell|value=No|rawValue=0|Should players taunt when teleported to Hell.}}
{{KV|intn=tauntInHell|Taunt in Hell|choices|value=No|rawValue=0|Should players taunt when teleported to Hell.}}
{{KV|new=1|allowHaunting|choices|Haunting|value=No|rawValue=0|Allow Wheel of Doom haunting.}}
{{KV|intn=allowHaunting|Haunting|choices|value=No|rawValue=0|Allow Wheel of Doom haunting.}}
{{KV|end}}
 


== Inputs ==
== Inputs ==
{{I Targetname}}
{{IO|HalloweenSetUsingSpells|Disable/Enable spells for this map. Only works on Halloween maps. (0 disable, 1 enable){{note|This affects whether or not players drop spells on death and whether or not spells appear on the HUD. [[tf_spell_pickup|Spells placed in the map via. Hammer]] will work regardless.}}|param=integer}}
{{IO|HalloweenSetUsingSpells|Disable/Enable spells for this map. Only works on Halloween maps. (0 disable, 1 enable){{note|This affects whether or not players drop spells on death and whether or not spells appear on the HUD. [[tf_spell_pickup|Spells placed in the map via. Hammer]] will work regardless.}}|param=integer}}
{{IO|Halloween2013TeleportToHell|Teleport all players to hell.|param=string}}
{{IO|Halloween2013TeleportToHell|Teleport all players to hell.|param=string}}
== Outputs ==
{{O Targetname}}

Revision as of 13:14, 13 July 2024

English (en)Translate (Translate)

Stub

This article or section is a stub. You can help by expanding it.

C++ Class hierarchy
???
CBaseEntity

tf_logic_holiday is a point entity available in Team Fortress 2 Team Fortress 2.

Entity description

Holiday Entity. This is used to force a specific holiday on a map, usually Halloween.

This entity is also used to enable the Spell UI via its HalloweenSetUsingSpells input.

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

Holiday (holiday_type) <choices>
Controls the special events.
Todo: See if there are other effects associated with the events.
Taunt in Hell (tauntInHell) <choices>
Should players taunt when teleported to Hell.
Haunting (allowHaunting) <choices>
Allow Wheel of Doom haunting.


Inputs

HalloweenSetUsingSpells <integerRedirectInput/integer>
Disable/Enable spells for this map. Only works on Halloween maps. (0 disable, 1 enable)
Note.pngNote:This affects whether or not players drop spells on death and whether or not spells appear on the HUD. Spells placed in the map via. Hammer will work regardless.
Halloween2013TeleportToHell <stringRedirectInput/string>
Teleport all players to hell.