Profile image

anyone have any ideas how i could put some FT on a engine that limits its top speed intul something is then activated. I'm making a manual transmission car to go with my g29 wheel.

16 ActullyObama  23 days ago

Any help is appriated.im going for a 5 speed and with 1 reverse and if none are activated its in neutral. Thank you!

  • Log in to leave a comment
  • Profile image

    @hpgbproductions Ok thank you!

    15 days ago
  • Profile image

    @ActullyObama you have to use the variables menu. All [ ] and ... should be replaced with your own stuff, since they are specific to your build
    If you are new to funky trees, use this as reference for what is available.
    Also start simpler projects like data readouts to get used to FT
    Edit to previous: IsInNeutral can be removed

    22 days ago
  • Profile image

    @hpgbproductions I'm sorry but i am very new to FT, could you please help me figure out how to implement this into where it needs to be?

    22 days ago
  • Profile image

    The easiest way is to cut the input when the GS or wheel rpm exceeds a certain number. If you use this, you cannot use engine rpm as it is unsigned (always positive). Basic setup with no funky stuff, torque only affected by throttle:
    GearRatio1: ...
    ...
    GearRatio5: ...
    GearRatioReverse: [negative number]
    GearRatio: Gear1 ? GearRatio1 : (Gear2 ? GearRatio2 : ( ... ))
    MaxRpm: [constant value] / GearRatio
    Output: (Rpm<=MaxRpm?1:0) * Throttle * GearRatio * [constant if required]
    .
    Notes:
    - Set up the GearRatio selector so that it outputs 0 when no gear is selected

    23 days ago
  • Profile image
    7,766 overlord5453

    (Boolean1 ? Throttle * 0.2 : (Boolean2 ? Throttle * 0.6) : (Boolean3 ? Throttle * 0.8 : 0)))
    Boolean1, 2, 3 - the activation input
    You can add more by customizing this code. Put it in the input section of the engine.

    23 days ago