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

Wheel of doom: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(getting it up to speed with the fgd)
(-added class hierarchy)
 
(9 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{{tf2 point|wheel_of_doom}}
{{TF2 topicon}}
 
{{LanguageBar}}
{{CD|CWheelOfDoom|file1=1}}
{{this is a|model entity|name=wheel_of_doom|game=Team Fortress 2}}
[[File:TF2_Wheel_of_Fate.png|thumb|right|380px|Super Speed]]
The wheel of doom entity for Halloween mode.
The wheel of doom entity for Halloween mode.
You should put [[info_target]] entities named along the pattern dance_teleport_[team][number up to 15 starting with 0] for the thriller effect.


== Random effects ==
== Random effects ==
Line 12: Line 13:
* Everyone moonjumps (low gravity)
* Everyone moonjumps (low gravity)
* Everyone highjumps (normal gravity but higher jump velocity and no fall damage)
* Everyone highjumps (normal gravity but higher jump velocity and no fall damage)
* Everyone is teleported to the info_targets and is forced to do the thriller taunt.
* Everyone gets super small heads
* Everyone gets super small heads
* Everyone gets super big heads
* Everyone gets super big heads
* Everyone is lit on fire
* Everyone is lit on fire
* Jarate is dropped from the sky
The following effects requires special setup outside of the wheel_of_doom entity.
* Thriller taunt; Requires 32 [[info_target]] entities named along the pattern dance_teleport_[team][number up to 15 starting with 0].
* Jarate is dropped from the sky; requires a [[func_brush]] above the map named '''spawn_cloud'''.
* Ghosts appear; requires ''allowHaunting'' to be enabled in a [[tf_logic_holiday]] entity.


== Keyvalues ==
== Keyvalues ==
{{KV|has_spiral|bool|Show the spiral effect?}}
{{KV|Has Spiral|intn=has_spiral|bool|Show the spiral effect?}}
{{KV|effect_duration|float|How long effects should last before they are automatically removed.}}
{{KV|Effect Duration|intn=effect_duration|float|How long effects should last before they are automatically removed.}}


== Inputs ==
== Inputs ==
{{IO|Spin|Spin the wheel.}}
{{I|Spin|param=void|Spin the wheel.}}
{{IO|ClearAllEffects|Remove all active effects.}}
{{I|ClearAllEffects|param=void|Remove all active effects.}}


== Outputs ==
== Outputs ==
{{IO|OnEffectApplied|Effect just applied.}}
{{O|OnEffectApplied|ac-is-this=1|param=void|Effect just applied.}}
{{IO|OnEffectExpired|Effect just expired.}}
{{O|OnEffectExpired|ac-is-this=1|param=void|Effect just expired.}}

Latest revision as of 16:30, 5 June 2025

English (en)Translate (Translate)
C++ Class hierarchy
CWheelOfDoom
CBaseAnimating
CBaseEntity
C++ tf_wheel_of_doom.cpp

wheel_of_doom is a model entity available in Team Fortress 2 Team Fortress 2.

Super Speed

The wheel of doom entity for Halloween mode.

Random effects

The WOD will pick a random card when the koth point changes owner. Each card has an effect. Known effects include:

  • Everyone gets übercharged
  • Everyone gets critical hits
  • Everyone gets super speed
  • Everyone moonjumps (low gravity)
  • Everyone highjumps (normal gravity but higher jump velocity and no fall damage)
  • Everyone gets super small heads
  • Everyone gets super big heads
  • Everyone is lit on fire

The following effects requires special setup outside of the wheel_of_doom entity.

  • Thriller taunt; Requires 32 info_target entities named along the pattern dance_teleport_[team][number up to 15 starting with 0].
  • Jarate is dropped from the sky; requires a func_brush above the map named spawn_cloud.
  • Ghosts appear; requires allowHaunting to be enabled in a tf_logic_holiday entity.

Keyvalues

Has Spiral (has_spiral) <boolean>
Show the spiral effect?
Effect Duration (effect_duration) <float>
How long effects should last before they are automatically removed.

Inputs

Spin <void>
Spin the wheel.
ClearAllEffects <void>
Remove all active effects.

Outputs

OnEffectApplied <void>
!activator = !caller = this entity
Effect just applied.
OnEffectExpired <void>
!activator = !caller = this entity
Effect just expired.