EPICALLL Posted November 20, 2022 Can i get help with scrolling walls very fast westwards? I got the floor and ceiling working with linedefs, but I can't get the walls to work for the life of me. i'm streaming, so if you want to see the problem, uh... Please help. Kind regards, EPICALLL 0 Quote Share this post Link to post
Kan3 Posted November 21, 2022 (edited) If you want to use the Scroll_Wall special or the Scroll_Texture_Both, well, I've never been able to properly use them (or they're broken) cause for some reason only the latter works, but only if you set it up on the same line you want to make it scroll. Anyhow, watching at the stream you seem to be working in UDMF and you're trying to make the background to scroll, your best option is then to use a script to activate it like so: script "scroll" (void) { Scroll_Wall(line, 32.0, 0.0, 0, whichside); } This way you can also dynamically change the scrolling speed with ease if for example you want your train to accelerate or stop. Notes: Scroll_Wall uses fixed point values, while Scroll_Texture_Both doesn't, this results in higher scrolling speed for lower values for the first one. Edited November 21, 2022 by Kan3 1 Quote Share this post Link to post
EPICALLL Posted November 21, 2022 4 hours ago, Kan3 said: If you want to use the Scroll_Wall special or the Scroll_Texture_Both, well, I've never been able to properly use them (or they're broken) cause for some reason only the latter works, but only if you set it up on the same line you want to make it scroll. Anyhow, watching at the stream you seem to be working in UDMF and you're trying to make the background to scroll, your best option is then to use a script to activate it like so: script "scroll" (void) { Scroll_Wall(line, 32.0, 0.0, 0, whichside); } This way you can also dynamically change the scrolling speed with ease if for example you want your train to accelerate or stop. Notes: Scroll_Wall uses fixed point values, while Scroll_Texture_Both doesn't, this results in higher scrolling speed for lower values for the first one. I'll see if this works overnight, thanks for the help! 0 Quote Share this post Link to post
EPICALLL Posted November 21, 2022 (edited) 9 hours ago, Kan3 said: If you want to use the Scroll_Wall special or the Scroll_Texture_Both, well, I've never been able to properly use them (or they're broken) cause for some reason only the latter works, but only if you set it up on the same line you want to make it scroll. Anyhow, watching at the stream you seem to be working in UDMF and you're trying to make the background to scroll, your best option is then to use a script to activate it like so: script "scroll" (void) { Scroll_Wall(line, 32.0, 0.0, 0, whichside); } This way you can also dynamically change the scrolling speed with ease if for example you want your train to accelerate or stop. Notes: Scroll_Wall uses fixed point values, while Scroll_Texture_Both doesn't, this results in higher scrolling speed for lower values for the first one. OK, still unclear as to how the whole WHICHSIDE thing works, and how the script is applied in doom, do I just use the scripts linedef? Edit: Figured out the whichside thing, but now there's a different error. uhm... either this is you not coding right, me not coding right, the fact that the ZDOOM wiki page for this action hasn't been updated in over 12 years, or a combination of those factors, likely the latter. Edited November 21, 2022 by EPICALLL 0 Quote Share this post Link to post
Kappes Buur Posted November 21, 2022 The first line in a script must be #include "zcommon.acs", thus #include "zcommon.acs" script "scrolling wall" (void) { .... do stuff } 1 Quote Share this post Link to post
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.