Floor Waggle: Difference between revisions

From Eternity Wiki
Jump to navigationJump to search
(New page: {{DISPLAYTITLE:Floor_Waggle}} 397:Floor_Waggle (tag, amp, freq, offset, time) * ''tag'': Tag of affected sector. If this is 0, the line's backsector will be affected. * ''amp'': Amplitude...)
 
mNo edit summary
Line 1: Line 1:
{{DISPLAYTITLE:Floor_Waggle}}
{{DISPLAYTITLE:Floor_Waggle}}
397:Floor_Waggle (tag, amp, freq, offset, time)
'''397:Floor_Waggle (tag, amp, freq, offset, time)'''


* ''tag'': Tag of affected sector. If this is 0, the line's backsector will be affected.
* ''tag'': Tag of affected sector. If this is 0, the line's backsector will be affected.

Revision as of 20:36, 30 June 2009

397:Floor_Waggle (tag, amp, freq, offset, time)

  • tag: Tag of affected sector. If this is 0, the line's backsector will be affected.
  • amp: Amplitude of the waggle (in 1/8 of a unit)
  • freq: Frequency of the waggle. The higher the frequency, the quicker the waggle.
  • offset: Phase offset of the waggle (0 through 63)
  • time: How many seconds the waggle lasts (0 seconds means it will waggle forever)

"Waggles" the floor of the affected sectors in a sine wave. The waggle causes the floor to move up and down, starting from the current phase offset of the max (if 0, for example, the waggle starts in the middle, and moves up). There is a "build-up" before it moves at its full speed and amplitude.

This special currently requires the usage of ExtraData in order to specify its parameters in a Doom-format map. Once UDMF is fully implemented in Eternity, it will be usable directly as line special 138.