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

mNo edit summary |
m (→Keyvalues) |
||
Line 11: | Line 11: | ||
== Keyvalues == | == Keyvalues == | ||
{{KV Targetname}} | {{KV|start}} | ||
{{KV|Holiday| | {{KV Targetname|new=1|l4d2=1}} | ||
{{KV|new=1|holiday_type|choices|Holiday|value=None|rawValue=1|Controls the special events. | |||
| | {{Table | ||
| None || No special event. | | {{Table|tr | ||
| | | header = 1 | ||
| 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. | | {{Table|th|radius=3px 0 0 0| Value }} {{Table|th| Description }} | ||
| | }} | ||
| 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. | {{Table|tr | ||
| {{Table|td|bgcolor=#303030| None }} {{Table|td| No special event. }} | |||
{{ | }} | ||
{{Table|tr | |||
| {{Table|td|bgcolor=#303030| Birthday }} {{Table|td| 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. }} | |||
}} | |||
{{Table|tr | |||
| {{Table|td|bgcolor=#303030|radius=0 0 0 3px| Halloween }} {{Table|td|radius=0 0 3px 0| 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.}} | |||
}} | |||
{{KV|new=1|tauntInHell|choices|Taunt in Hell|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|end}} | |||
== Inputs == | == Inputs == |
Revision as of 13:14, 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
- start ([todo internal name (i)])
- 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_type ([todo internal name (i)]) <choices>
- Holiday
- tauntInHell ([todo internal name (i)]) <choices>
- Taunt in Hell
- allowHaunting ([todo internal name (i)]) <choices>
- Haunting
- end ([todo internal name (i)])
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.