vedan Posted January 16, 2022 (edited) 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 January 16, 2022 by vedan 3 Quote Share this post Link to post
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.