Another Elevator Problem

  • Thread starter Thread starter Creep
  • Start date Start date
C

Creep

Guest
Hey everyone, I'm hoping someone here will be able to help me with this.

I'm trying to make an elevator supported by a pair of cables. All I need it to do is lower it at a decent speed, but I want the cables to blow off after a certain amount of damage.

In this scenario, after the first support breaks off, the elevator will obviously start dangling at an awkward angle, and the player will have about ten seconds to blow open the ceiling escape hatch and crawl out; and time his jump onto a ledge before the last cable breaks off and the elevator crashes down.

I have no problem whatsoever with breaking off cables, but I can't find a way to get the rest of this concept working.


91904062_Problem.JPG



This is what I've come up with so far, inspired by someone elses (working) cable elevator.

From bottom to top, there's a ballsocket connecting the elevator and a physbox and a lenghtconstraint connecting the physbox to a func_movelinear.


Help?


:)
 
You need the cables to be breakable? Well you can't shoot at the cables themselves so you'll have to cheat there. Either by an invisible, nodraw, breakable something at the same place you got your cables or a visable func_breakable.

When that gets shot, and breaks, have an output to your lenght constraints to stop supporting your elevator. If you want a delay, set it at this output.

edit; If you want the elevator to tip a bit, just set the first cable to break maybe 0.3-0.4 seconds before the other, though that can make it get stuck in the shaft (Saying there is one).
 
Back
Top