How do you set up a floor waggle? (Ultimate Doom Builder)
Moderator: GZDoom Developers
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
How do you set up a floor waggle? (Ultimate Doom Builder)
I've set a floor waggle to be triggered by walking over a sector just like a floor raise, etc, but it does nothing. There's a video guide out there, but that uses the script. Is the script necessary? Wouldn't that make the presence of the floor waggle Action in the UI pointless? I've tried many combinations of single tags over multiple sectors vs multiple tags and nothing works.
- Kappes Buur
-
- Posts: 4171
- Joined: Thu Jul 17, 2003 12:19 am
- Graphics Processor: nVidia (Legacy GZDoom)
- Location: British Columbia, Canada
- Contact:
Re: How do you set up a floor waggle? (Ultimate Doom Builder)
No, a script is not necessary if you want to waggle just a single sector, use for example
attached to a linedef with the walk over trigger to affect the sector with tag 1.

Because seconds is set to 0 the sector keeps moving up and down.
Far more dramatic would be to waggle many sectors with a script such as
to affect sectors 1 to 90

Code: Select all
Floor_Waggle ( 1, 400, 25, 0, 0);

Because seconds is set to 0 the sector keeps moving up and down.
Far more dramatic would be to waggle many sectors with a script such as
Code: Select all
#include "zcommon.acs"
SCRIPT 1 OPEN
{
for(int sid = 1; sid < 91; sid++)
{
Floor_Waggle ( sid, 400, 25, 0, 0);
delay (7);
}
}

Re: How do you set up a floor waggle? (Ultimate Doom Builder)
Okay, so make a wave with multiple sectors, I definitely need a script? I thought giving all the sectors the same tag but giving them different phase offsets is how it would work.
But even so, I cannot even get one sector to work.
https://i.imgur.com/1E6ge7W.png
But even so, I cannot even get one sector to work.
https://i.imgur.com/1E6ge7W.png
- Kappes Buur
-
- Posts: 4171
- Joined: Thu Jul 17, 2003 12:19 am
- Graphics Processor: nVidia (Legacy GZDoom)
- Location: British Columbia, Canada
- Contact:
Re: How do you set up a floor waggle? (Ultimate Doom Builder)
Phase Offsets are not applied to the sectors themselves, so you would have to give each sector a unique tid and a specific line special with the Phase Offset. Thusly, a script would make the job easier.
The values are too small to be noticable. See my example for a single sector
- Attachments
-
sine_example.wad
- (2.82 KiB) Downloaded 46 times