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

"Train" demo

Recommended Posts

Hi,

 

this is a demo (UDMF) of how a moving vehicle could transport the player in a level.

 

It consists of:

  • 6 polyobjects which make the vehicle
  • 4 light things (two front & back each)
  • 3 custom ambient sound things (one for each door plus the vehicle itself)


The player is moved along with Scroll_Floor (using SCROLL_AND_CARRY).

 

All TIDs (13) can be configured in the script editor, along with the distance and the vehicle speed.

 

Downside:

  • The floor and ceiling textures of the middle of the track are scrolling with the vehicle since the height of polyobjects cannot be limited (at least textures do not scroll with the player in the vehicle)
  • Player movement is frozen when inside the vehicle after doors close (this is to keep the player from moving around and blocking the polyobject parts of the vehicle, I also added linedefs to push player back)
  • Only straight tracks supported
  • High vehicle velocity adds flickering to lights

 

ToDo's:

  • Replace inner track texture with bland color for better illusion effect (maybe it helps a little)
  • Check door polyobjects if player blocks movement when opening/closing
  • Change sound of moving vehicle
  • Maybe implement turning mechanism (& station logic?)

 

SCREENSHOT

 

Download Train.zip

Edited by vedan

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
×