• Need help making an elevator
    5 replies, posted
I'm working on a map and I want an elevator that starts off going slowly down until it starts to going down really fast (wire snaps and it starts to fall), and then it violently hits and ground and crashes to a stop. Can anyone help me with this?
Well first do you know how to make a basic elevator? If you don't there's tutorials for that, if you do I think I can help with the speeding up.
Decompile my map and look, just don't copy anything I will know. :siren: No one else can decompile he now has special permission :siren:
You could probably have some sort of trigger_once system where when it passes the first trigger_once it sets the speed of the func_movelinear to something really fast, then when it hits the bottom (second trigger_once), the speed is 0.
Make a path_track where you want it to speed up, in the outputs, say "onpass, setspeed of *namehere* to *speedhere*".
If the elevator is entirely enclosed with no windows, you might be able to simulate a falling elevator without changing the speed or even moving the elevator. You could make the player's view violently shake to simulate free fall after the wire snaps, and you could use a screeching noise that slowly gets louder to simulate the brakes failing on the elevator. The final crash once the elevator hits the ground could be done by shaking the player's view even more or by making the screen go black if the landing was violent enough to knock him unconscious. From there you could teleport him to a different elevator that is already destroyed. This is all assuming this will be a singleplayer map. If the player brings any objects in the elevator or if he jumps he might notice the speed at which he falls relative to the elevator is off. You might be able to counteract this by using a gravity controlling entity, but I can't remember the name of it right now. If you don't like this idea the ones suggested before should work fine.
Sorry, you need to Log In to post a reply to this thread.