Tf logic holiday: Difference between revisions
Jump to navigation
Jump to search

(Updated wrong input names.) |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{ | {{TF2 topicon}} | ||
{{ | {{Lang}} | ||
{{Stub}} | |||
==Entity description== | {{tf2 entity|tf_logic_holiday}} | ||
== Entity description == | |||
Holiday Entity. This is used to force a specific holiday on a map, usually Halloween. | 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. | This entity is also used to enable the Spell UI via its HalloweenSetUsingSpells input. | ||
==Keyvalues== | == Keyvalues == | ||
{{KV Targetname}} | {{KV Targetname}} | ||
{{KV|Holiday|choices|Controls the special events.}} | {{KV|Holiday|choices|Controls the special events.}} | ||
Line 21: | Line 24: | ||
{{todo|See if there are other effects associated with the events.}} | {{todo|See if there are other effects associated with the events.}} | ||
==Inputs== | == Inputs == | ||
{{I Targetname}} | {{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== | == Outputs == | ||
{{O Targetname}} | {{O Targetname}} |
Revision as of 12:45, 16 March 2023


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
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- Holiday ([todo internal name (i)]) <choices>
- Controls the special events.
Value Description None No special event. Birthday Setting to this enables the use of Birthday-restricted gear on the map. In addition, all actions which would normally draw blood will produce random party effects and there is a chance of a birthday beach ball spawning on the map. Halloween Setting to this enables the use of Halloween-restricted gear on the map as well as causes halloween candy (which provides a brief mini-crit effect when collected) to randomly drop from killed players.
Todo: See if there are other effects associated with the events.
Inputs
- HalloweenSetUsingSpells <integer >
- 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. Spells placed in the map via. Hammer will work regardless.
- Halloween2013TeleportToHell <string >
- Teleport all players to hell.