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
No edit summary
(-added class hierarchy)
 
(8 intermediate revisions by 8 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
The following two effects only work on koth_lakeside_event. They require specific locations on the map to work and it is unknown what controls them. They will be randomly picked anyways.
The following effects requires special setup outside of the wheel_of_doom entity.
* Jarate is dropped from the sky
* Thriller taunt; Requires 32 [[info_target]] entities named along the pattern dance_teleport_[team][number up to 15 starting with 0].
* Ghosts appear
* 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.