Trans-Brake /. Stall Converter

Discussion in 'Ideas and Suggestions' started by Loafy, Oct 7, 2016.

  1. Loafy

    Loafy
    Expand Collapse

    Joined:
    Apr 1, 2016
    Messages:
    64
    I do a lot of drag racing setups and would love to see a way to launch better.

    I can hold my D-Series @ 3500 rpm and dump it netting a fast 1/4 mile and respectable 0-60
     
    • Agree Agree x 1
  2. hog0005

    hog0005
    Expand Collapse

    Joined:
    Sep 5, 2013
    Messages:
    149
    This is an excellent idea and would be very handy for getting the big turbocharged cars on boost, I was thinking about it before and there's probably a way to achieve it via lua.
    Something like this may work.

    if condition is 0 then transmission frictionvalue= as defined in jbeam eg. 5
    if condition is 1 then transmission frictionvalue= 1.5*output torque.

    This could then be mapped to a keystroke or button.

    If anyone has any ideas or decent knowledge of the lua coding I would love to here from them.
     
  3. Josh

    Josh
    Expand Collapse

    Joined:
    Jul 21, 2013
    Messages:
    1,082
    I always wanted a transbrake in beam.. since the power train code is completely modular now it's possible to write secondary code without messing with the stock power train code.

    @mcheijink want to give it a try?
     
  4. Diamondback

    Diamondback
    Expand Collapse
    Vehicle Systems Lead
    BeamNG Team

    Joined:
    Apr 8, 2014
    Messages:
    1,957
    Transbrakes are available for all transmission types. This is part of what holds you in place at the beginning of a scenario ;)
    They are not exposed via some key or something like that yet though.
     
    • Informative Informative x 2
    • Like Like x 1
  5. superpat89

    superpat89
    Expand Collapse

    Joined:
    Feb 16, 2014
    Messages:
    47
    Sneaky!
     
  6. Josh

    Josh
    Expand Collapse

    Joined:
    Jul 21, 2013
    Messages:
    1,082


    @Diamondback

    Sneaky,
    So how do we apply to regular vehicles or is it "internal" right now? if not.. please enable in the next update we need it lol.

    Thanks
     
  7. Diamondback

    Diamondback
    Expand Collapse
    Vehicle Systems Lead
    BeamNG Team

    Joined:
    Apr 8, 2014
    Messages:
    1,957
    Well atm you could do something like
    Code:
    powertrain.getDevice("gearbox"):setLock(true)
    to enable it and
    Code:
    powertrain.getDevice("gearbox"):setLock(false)
    to disable it.

    I guess we just didn't have time yet to properly make this a feature ;) Should be an easy mod to add this as a key to specific car.
     
    • Informative Informative x 1
  8. Josh

    Josh
    Expand Collapse

    Joined:
    Jul 21, 2013
    Messages:
    1,082
    @Diamondback

    Just tried it out.. awesome

    Thanks
     
    • Agree Agree x 1
  9. Deleted member 160369

    Deleted member 160369
    Expand Collapse
    Guest

    Me too, fantastic. Thank you.
     
  10. mcheijink

    mcheijink
    Expand Collapse

    Joined:
    Aug 4, 2013
    Messages:
    23
    If you put these two lines in your "BeamNG.Drive\lua\ge\input_actions.json" after line 87, you can bind this function to a key.

    Code:
    "lockGearbox"                :{"cat":"vehicle",       "order": 31, "ctx": "vlua", "onDown"  :"powertrain.getDevice('gearbox'):setLock(true)", "title": "Lock Gearbox", "desc": "Will lock the gearbox" },
    "unlockGearbox"           :{"cat":"vehicle",       "order": 32, "ctx": "vlua", "onDown"  :"powertrain.getDevice('gearbox'):setLock(false)", "title": "Unlock Gearbox", "desc": "Will unlock the gearbox" },
    Or you could just replace that file by the one i just uploaded.
    @Diamondback, is there an option to have the Powertrain Visualisation app show transferred torque instead of transferred power?
     

    Attached Files:

    #10 mcheijink, Jan 25, 2017
    Last edited: Jan 25, 2017
    • Like Like x 1
  11. SixSixSevenSeven

    SixSixSevenSeven
    Expand Collapse

    Joined:
    Sep 13, 2013
    Messages:
    6,960
    Power is a function of torque and rpm. Power is correct thing to show
     
  12. Diamondback

    Diamondback
    Expand Collapse
    Vehicle Systems Lead
    BeamNG Team

    Joined:
    Apr 8, 2014
    Messages:
    1,957
    Not atm, we are thinking about adding it, but it's a bit more complicated since torque cannot be easily normalized.
    (Power can since different gear ratios between engine and wheels do not alter the power, torque on the other hand obviously varies)
     
  13. Diamondback

    Diamondback
    Expand Collapse
    Vehicle Systems Lead
    BeamNG Team

    Joined:
    Apr 8, 2014
    Messages:
    1,957
    Just a heads-up, torque display mode has been added to the powertrain visualization app with 0.9 :)
     
    • Like Like x 1
    • Informative Informative x 1
  14. mcheijink

    mcheijink
    Expand Collapse

    Joined:
    Aug 4, 2013
    Messages:
    23
    Thanks, it looks great! And it is really useful while rock-crawling!
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice