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
(Created page with "{{tf2 point|halloween_fortune_teller}} It is giant Merasmus! head what giving effects. {{bug|When Fortune Teller cast's Melee Only spell and if at end you gonna be too close...")
 
m (Classifying as model entity)
 
(8 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{tf2 point|halloween_fortune_teller}} It is giant Merasmus! head what giving effects.
{{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.}}


{{bug|When Fortune Teller cast's Melee Only spell and if at end you gonna be too close with any wall, you gonna die}}
== Keyvalues ==
{{KV Targetname}}
{{KV|Red Teleport Entity|string|Where to teleport the red team.}}
{{KV|Blue Teleport Entity|string|Where to teleport the blue team.}}
{{todo|Do these designate actual entities? Should they be <tt>target_destination</tt>s?}}


==Effect list==
== Inputs ==
{{IO|Big Head}}
{{I|EnableFortuneTelling|Enable Fortune Telling.}}
{{IO|Melee Only}}
{{I|DisableFortuneTelling|Disable Fortune Telling.}}
{{IO|Submerging the area in Jarate}}
{{I|StartFortuneTelling|Starts Fortune Telling.}}
{{I|EndFortuneTelling|Stops current Fortune Telling.}}


 
== Outputs ==
 
{{O|OnFortuneWarning|Sent before a fortune will be told.}}
==Keyvalues==
{{O|OnFortuneTold|Sent when a fortune is told.}}
{{KV BaseEntity}}
{{O|OnFortuneCurse|Sent when a fortune curses all players.}}
{{KV|Red Teleport Entity|point_teleport|Teleport point to teleport players.}}
{{O|OnFortuneEnd|Sent when a fortune has ended.}}
{{KV|Blue Teleport Entity|point_teleport|Teleport point to teleport players.}}
 
==Inputs==
{{I Targetname}}
{{IO|EnableFortuneTelling|Turning On Fortune Telling |param=integer}}
{{IO|DisableFortuneTelling|Turning Off Fortune Telling |param=integer}}
{{IO|StartFortuneTelling|Starts Fortune Telling |param=integer}}
{{IO|EndFortuneTelling|Stops Fortune Telling |param=integer}}
{{IO|Skin|Changes skin of Fortune Teller |param=integer}}
{{I BaseEntity|prel4d=1}}
 
==Outputs==
{{IO|OnFortuneWarning|Firing output when Merasmus! Start's his lyric's |param=integer}}
{{IO|OnFortuneTold|Firing output when Merasmus! Stop's his lyric's |param=integer}}
{{IO|OnFortuneCurse|Firing output when Fortune Teller cast's effect |param=integer}}
{{IO|OnFortuneEnd|Firing output when Fortune Teller stop's effect |param=integer}}
{{O BaseEntity|l4d=1}}
{{note|There unused animation of Fortune Teller where Fortune Teller talks.}}

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.