Hey, guys. I've been trying to make a particular ship using wire thrusters.
I've got the expression for turning and forward back, and I've even got an expression that mimics an advanced input for controlling hoverballs. I'm looking for a way to control forward / back, turn left / turn right, move up / move down, and strafe left / strafe right all with an advanced pod controller's keys. So far, I've got all of that controlled just fine, except for strafe left / strafe right.
WASD are for turning and forward / back, and Space, R and Alt are devoted to controlling hoverballs. So there's no keys left for strafe left & right!
What I'd like to do is make an expression where, when I hold down shift (or some other key), A and D control strafe left and right for as long as the key is held, and then go back to being turning keys when the key is released. But I haven't the faintest idea how to code that. Here's the expression so far;
There's not much to it, of course. And it works fine. But I miss having strafe, I have it on my vanilla-thruster controlled ships. I'm just getting into learning how to make ships that use wire thrusters and stuff. I even made a vector-thruster ship the other day. But I'd like to upgrade a simple ship I've been using that can hover without miles of expressions and wiring. Can anyone help me out?Code:N@BasicThrust I@W A S D O@Thrust Turn Thrust=W-S Turn=-D+A


LinkBack URL
About LinkBacks




Reply With Quote






Bookmarks