Well, that is, something must have become a problem since it did not occur in several test maps I built way back before this occured.
Now, when I load them, they are buggy. Very similar to the attached test map, check the screenshots: A thin 3d sector is supposed to go up, wait, go down, wait, repeat.
When it goes up, it's fine. But when it goes back down, it stretches itself almost down to the ground. Then, the whole bloated ring goes up and down, right through the ceiling.
Hi,
I got a problem with raising & lowering a sector.
Well, that is, something must have become a problem since it did not occur in several test maps I built way back before this occured.
Now, when I load them, they are buggy. Very similar to the attached test map, check the screenshots: A thin 3d sector is supposed to go up, wait, go down, wait, repeat.
When it goes up, it's fine. But when it goes back down, it stretches itself almost down to the ground. Then, the whole bloated ring goes up and down, right through the ceiling.
BuggyScript.zip
Here's the script, it's quite simple:
#include "zcommon.acs" script 1 OPEN { int speed = 64; int sector = 2; int height = 1024; bool countup = FALSE; while (TRUE) { if (countup == TRUE) { Ceiling_LowerByValue(sector, speed, height); Floor_LowerByValue(sector, speed, height); countup = FALSE; Delay(256); } if (countup == FALSE) { Ceiling_RaiseByValue(sector, speed, height); Floor_RaiseByValue(sector, speed, height); countup = TRUE; Delay(256); } } }
I have absolutely NO idea why it worked and broke.
I suspect some mod, some setting, some cached stuff, yet when I re-install GZDoom and load no additional WADs or pk3, it happens.
Can anybody tell me why this happened?
In my latest map, not all players expirience this bug. It's just strange.
Share this post
Link to post