You may have thought that you could just assign the same numbers to Scroll_Texture_Left/Right/Up/Down and/or Scroll_Floor/Ceiling, but you found that when you did so, your flats and walls were scrolling at different speeds! I think these gotchas are some of those relics of ZDoom's history.
So this tutorial explains how to set up scrolling so that your walls and flats move at the same speed.
First of all, you'll need a "base speed", like 5. I think this is the amount of pixels the wall or flat will scroll each tic.
For Scroll_Texture_Left/Right/Up/Down:
Code: Select all
arg0 = base speed * 64
Code: Select all
x = base speed * 65536
y = base speed * 65536
For Scroll_Floor and Scroll_Ceiling:
Code: Select all
xMove = base speed * 32 + 128
yMove = base speed * 32 + 128