Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
printz

Moving platforms

Recommended Posts

Moving platforms seem to be easily made in scripted Doom:

+----+                                                    +----+
     |                                                    |
     |                                                    |
     ++++++++++++++++++++++++++++++++++++++++++++++++++++++
     ||||+||||+||||||||||||||||||||||||||||||||||||||||||||
     ||||+||||+||||||||||||||||||||||||||||||||||||||||||||
     ++++++++++++++++++++++++++++++++++++++++++++++++++++++
     |                                                    |
     |                                                    |
+----+                                                    +----+
The horizontal band above is the trajectory. It consists of a row of 8-deep sectors. At any moment, some of them are raised and have their texture changed to a platform, to become a platform. During each tic, the platform should be shifted, by sinking a sector and raising another, in succesion, while the floors of the raised sectors (only) should be kept in a displaced 8 per tic scrolling with things on them.

The only problem is how to bump away things on the floor just beyond the platform, so they aren't grabbed by it. One escape would be to make the platform at most 24 units tall, but that makes it halfway done.

I just thought of mentioning it, not just to attention-seek :) but to see if this has been done before. Has it? :)

Share this post


Link to post

This kind of thing has been attempted before. There's another problem, however. You also need to push the things riding on top of it along with it. Otherwise the player has to walk forward to stay on the platform, which is quite unusual.

Share this post


Link to post
Quasar said:

You also need to push the things riding on top of it along with it.

Isn't there the "scroll floor & move things" sector special? That serves both to move the things and make the flat look natural. My problem was how to make the platform push stuff on its way. Maybe through another move things effect...

Share this post


Link to post

Didn't someone (Csabo?) make a few demos - moving cogs, vehicles, elevators, using this principle? I've used the elevator example in one of my own levels (unreleased). Effective stuff.

Share this post


Link to post
Quasar said:

Otherwise the player has to walk forward to stay on the platform, which is quite unusual.


Unfortunately, not THAT unusual, if you're into crappy platform games :-)

Share this post


Link to post

Correction picture:

+----+                                                    +----+
     |                                                    |
     |                                                    |
     |    ++++++++++++++++++++++++++++++++++++++++++++    |
     |    |||||+||||+|||||||||||||||||||||||||||||||||    |
     |    |||||+||||+|||||||||||||||||||||||||||||||||    |
     |    ++++++++++++++++++++++++++++++++++++++++++++    |
     |                                                    |
     |                                                    |
+----+                                                    +----+
There's got to be some space between the pathway and the ground. Nothing comes to my mind regarding horizontal crushing in plain DoomBoomMBFSMMUEternity engine.

Share this post


Link to post

Well, I know that doom64 TC has a conveyor belt on one of the secret levels. That might give some clues how it could be done.

Share this post


Link to post

Just check the sectors for things and have them bump them in the appropriate direction using a script. It'll probably be something of a bitch to get it just right, but this is just a dirty hack anyways.

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
Sign in to follow this  
×