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

Halloween fortune teller: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
m (Classifying as model entity)
 
(7 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{tf2 point|halloween_fortune_teller}} It is a giant [[Merasmus]] head which casts spells on players.
{{LanguageBar}} {{TF2 topicon}}
{{CD|CTFHalloweenFortuneTeller|nolink=1|file1=tf_logic_halloween_2014.cpp}}
{{this is a|model entity|name=halloween_fortune_teller|game=Team Fortress 2}} It is a giant {{tfwiki|Merasmus}} head that casts spells on players.
{{bug*|When the Fortune Teller casts the Melee Only spell, any player near a wall will be killed.}}


{{note|When the Fortune Teller casts the Melee Only spell, any player near a wall will be killed.}}
== Keyvalues ==
==Keyvalues==
{{KV Targetname}}
{{KV|Red Teleport Entity|string|Where to teleport the red team.}}
{{KV|Red Teleport Entity|string|Where to teleport the red team.}}
{{KV|Blue Teleport Entity|string|Where to teleport the blue team.}}
{{KV|Blue Teleport Entity|string|Where to teleport the blue team.}}
{{KV BaseEntity}}
{{todo|Do these designate actual entities? Should they be <tt>target_destination</tt>s?}}
==Inputs==v
 
{{IO|EnableFortuneTelling|Enable Fortune Telling.}}
== Inputs ==
{{IO|DisableFortuneTelling|Disable Fortune Telling.}}
{{I|EnableFortuneTelling|Enable Fortune Telling.}}
{{IO|StartFortuneTelling|Starts Fortune Telling.}}
{{I|DisableFortuneTelling|Disable Fortune Telling.}}
{{IO|EndFortuneTelling|Stops current Fortune Telling.}}
{{I|StartFortuneTelling|Starts Fortune Telling.}}
{{I BaseEntity|prel4d=1}}
{{I|EndFortuneTelling|Stops current Fortune Telling.}}
==Outputs==
 
{{IO|OnFortuneWarning|Sent before a fortune will be told.}}
== Outputs ==
{{IO|OnFortuneTold|Sent when a fortune is told.}}
{{O|OnFortuneWarning|Sent before a fortune will be told.}}
{{IO|OnFortuneCurse|Sent when a fortune curses all players.}}
{{O|OnFortuneTold|Sent when a fortune is told.}}
{{IO|OnFortuneEnd|Sent when a fortune has ended.}}
{{O|OnFortuneCurse|Sent when a fortune curses all players.}}
{{O BaseEntity}}
{{O|OnFortuneEnd|Sent when a fortune has ended.}}

Latest revision as of 04:31, 19 May 2025

English (en)Translate (Translate)
C++ Class hierarchy
CTFHalloweenFortuneTeller
CBaseAnimating
CBaseEntity
C++ tf_logic_halloween_2014.cpp

halloween_fortune_teller is a model entity available in Team Fortress 2 Team Fortress 2. It is a giant Tfwiki favicon.png Merasmus head that casts spells on players.

Icon-Bug.pngBug*:When the Fortune Teller casts the Melee Only spell, any player near a wall will be killed.

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

Red Teleport Entity ([todo internal name (i)]) <string>
Where to teleport the red team.
Blue Teleport Entity ([todo internal name (i)]) <string>
Where to teleport the blue team.
Todo: Do these designate actual entities? Should they be target_destinations?

Inputs

EnableFortuneTelling
Enable Fortune Telling.
DisableFortuneTelling
Disable Fortune Telling.
StartFortuneTelling
Starts Fortune Telling.
EndFortuneTelling
Stops current Fortune Telling.

Outputs

OnFortuneWarning
Sent before a fortune will be told.
OnFortuneTold
Sent when a fortune is told.
OnFortuneCurse
Sent when a fortune curses all players.
OnFortuneEnd
Sent when a fortune has ended.