Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
HenKonen

Floor scrolling for dummies

Recommended Posts

Okay. I have a problem that I couldn't have solved since the Zdoom wiki's instructions seem to differ from the latest ACS. That or I just am a confused newbie.

I'm having trouble making a scrolling floor. I can't get a floor to scroll straight east.

Zdoom wiki instructed me as follows:
script version:
223:Scroll_Floor (tag, x-move, y-move, type)


However, Doom Builder (using the latest ACS) asks for four parameters: (tag, scrollbits, method xmove, ymove).

Where can I put the parameter for the script to scroll both things and the texture and how can I accurately aim the scroll? Whatever I input in the parameters the script seems to have a will of its own and never goes straight in one direction.

Share this post


Link to post

Seems easy enough

#include "zcommon.acs"

script 1 open

// 223:Scroll_Floor (tag, x-move, y-move, type)

{
    Scroll_Floor ( 1,  255,  0,  2 ) ;
    Scroll_Floor ( 2,  128,  0,  2 ) ;
    Scroll_Floor ( 3,   64,  0,  2 ) ;
    Scroll_Floor ( 4,   32,  0,  2 ) ;
}
Example

Share this post


Link to post

Thanks. I got confused cause my Doom Builder uses different names for the parameters. At least now there's a clear thread on the subject tha is easily found via search :)

Share this post


Link to post
TropicalDeathPunch said:

Quick question, if you can make a sloped floor and added this scrolling effect to it, would it work? Kind of like an escalator? Just a thought.


Yup. Had to test it, got so interested about the idea. It makes a pretty cool effect :)

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×