Profile image

How to get something to activate after a certain speed is reached

20.5k LieutenantSOT  2.7 years ago

So, let's say I wanted an engine to activate after reaching 20 miles per hour (in ground speed). What would the input code look like?

Thanks in advance, y'all!

Edit:

After some testing with FT, I found exactly what I'm trying to achieve.

Basically, I'm making something really cool that I want to share with the community, however, the inputs are weird. So, I need an engine that can activate between a set parameter

For instance, once the starting engine accelerates the craft to 10 mph, that engine turns off, and after 1 second, another more powerful engine turns on. After it accelerates to 30 mph, it does this again, and then again until it reaches the most powerful. Then once you decelerate, it works backwards
The input would still be pitch for throttle, but it is dependent on the speed of which the certain engine activates

  • Log in to leave a comment
  • Profile image
    9,436 Mixx

    @LieutenantSOT yes plz

    Pinned 2.7 years ago
  • Profile image

    https://www.simpleplanes.com/Forums/View/1042680/Funky-Trees

    Pinned 2.7 years ago
  • Profile image

    @Mixx I'll tag ya on it if yo want lol

    2.7 years ago
  • Profile image
    9,436 Mixx

    I wanna see what this becomes

    2.7 years ago
  • Profile image

    @LieutenantSOT Ok. GS>9

    2.7 years ago
  • Profile image

    @An2k huh. That's interesting, but I don't think I'm going to do that XD
    .
    I might do something where the wheels each supply like 1 hp of power at neutral (like a real car). That way it will always move, unless you brake

    2.7 years ago
  • Profile image
    1,182 An2k

    @LieutenantSOT as i remember the first one ive seen did was multiple engines and pistons on each wheels to retract them when not activated ..Impractical and a mess to look at but sorta works.

    +1 2.7 years ago
  • Profile image

    @An2k huh. Okay! Well, thank you!
    .
    I'm trying to do my own version lol. I just have a pretty bad knowledge of the workings of FT. But that's dope! I'm working on multiple engines that are each more powerful than the last

    +1 2.7 years ago
  • Profile image
    1,182 An2k

    @LieutenantSOT if your going for multiple engines ive remembered(i might be wrong) it was done twice..different approaches..cant remember the names ..one using Activation groups on each engine other one was FT. Ive also tried FT on 1 engine powering 4 wheels 3 speed manual...code i used i came up wth..it too amatuerish using IF-else conditions..kinda works but has issues. Will love to see the answer for a proper auto shifter

    +1 2.7 years ago
  • Profile image

    I'm making a muscle car with realistic controls, and then eventually a big truck with the automatic shifting

    2.7 years ago
  • Profile image

    @An2k hehehe. You're catching on, eh?
    .
    It was supposed to be a surprise. I'm experimenting rn, I have a basic code, but I can't assign the range it acts on (using help from another user on another page). I can put the code I'm using rn if you want. I need to be able to disable one engine.
    .
    Another issue I'm having is the wheels start acting up when their engine turns off and the other turns on. Makes the car skid out

    2.7 years ago
  • Profile image
    1,182 An2k

    So u will have multiple wheels as well?..u mentioned multiple engines. Sound like you want an automatic shifter via triggered by speed for a FT variable powered engine. Will like to see a FT code for that as well

    +1 2.7 years ago
  • Profile image

    @FlyingPatriot okay, I tested a few things out and this input appears to cause the engine to accelerate the vehicle to 32 m/s

    2.7 years ago
  • Profile image

    @FlyingPatriot oh, really? It's that simple?
    .
    Thank you so much, m8!

    2.7 years ago
  • Profile image

    Activate
    GS>32

    +3 2.7 years ago