Jump to content

Help with scrolling walls fast westward


EPICALLL

Recommended Posts

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

Share this post


Link to post

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 by Kan3

Share this post


Link to post
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!

Share this post


Link to post
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.

Screenshot 2022-11-21 014642.png

Edited by EPICALLL

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...