Jump to content

"Train" demo


vedan

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

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...