Tf logic holiday: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
m (→Keyvalues)  | 
				m (→Keyvalues)  | 
				||
| Line 13: | Line 13: | ||
{{KV|start}}  | {{KV|start}}  | ||
{{KV Targetname|new=1|l4d2=1}}  | {{KV Targetname|new=1|l4d2=1}}  | ||
{{KV|new=1|max-height=  | {{KV|new=1|max-height=1000px|holiday_type|choices|Holiday|value=None|rawValue=1|Controls the special events.  | ||
{{Table  | {{Table  | ||
Revision as of 05:53, 15 June 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. 
parentnameortarget).
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.