1. Trouble with the game?
    Try the troubleshooter!

    Dismiss Notice
  2. Issues with the game?
    Check the Known Issues list before reporting!

    Dismiss Notice
  3. Before reporting issues or bugs, please check the up-to-date Bug Reporting Thread for the current version.
    0.35 Bug Reporting thread
    Solutions and more information may already be available.

New incoming drivetrain code questions (powertrain)

Discussion in 'Troubleshooting: Bugs, Questions and Support' started by Josh, Nov 20, 2016.

  1. Josh

    Josh
    Expand Collapse

    Joined:
    Jul 21, 2013
    Messages:
    1,082
    Don't know if this is in the right section or not.

    So knowing that the new drivetrain code is coming, will it have features similar to those listed below?

    Like for example O/D (overdrive off/on), and "automatic manual modes" like tiptronic or select shift? (for the newer cars like the etk's?)

    Thoughts?
     
    • Like Like x 1
  2. jtreign9097

    jtreign9097
    Expand Collapse

    Joined:
    Aug 22, 2013
    Messages:
    186
    If Overdrive O/D is implemented i am sure they will need to add new lights on dashboard to indicate if its on or off when toggled... so that's another thing...also for the four wheel drive... i am sure there may be an indicator if 4 low/high is engaged on the dash such as the D or H Series.. and maybe a 2wd indicator
     
  3. Josh

    Josh
    Expand Collapse

    Joined:
    Jul 21, 2013
    Messages:
    1,082
    Yes, that would be the proper way to do it but.. if they end up doing this we could get by with a pop-up message when toggled for a bit. Until they decide to add the indicators to the instrument clusters.
     
  4. Diamondback

    Diamondback
    Expand Collapse
    Vehicle Systems Lead
    BeamNG Team

    Joined:
    Apr 8, 2014
    Messages:
    1,966
    The biggest achievement of the new powertrain code is actually that it is fully extensible and customizable. You can essentially completely replace what we used to call "drivetrain" with your own code if you so wish.
    That being said, the physical level of the powertrain will support secondary transmissions like an overdrive thing or a range box.
    I don't think that any of our cars will use an overdrive system, so there likely won't be any controlling logic for something like that.

    However, I've spent a long time to make sure that such functionality can easily be implemented by third parties, so only the creativity and skill of the mod creator will limit the features.

    The days of whacky drivetrain hacks are over with this system. A little example: while we currently do not have any hybrids, given a bit of math/physics knowledge and some experience in Lua, you can build a fully working and supported hybrid powertrain in probably less than a day. You could even share your work and let others reuse your code for their own vehicles.
     
    • Like Like x 7
    • Informative Informative x 5
  5. Josh

    Josh
    Expand Collapse

    Joined:
    Jul 21, 2013
    Messages:
    1,082
    Wahoo, don't know why my last part was not added in asking, if it would be possible to extend features beyond the official code. Thanks that's great to hear.
     
  6. Diamondback

    Diamondback
    Expand Collapse
    Vehicle Systems Lead
    BeamNG Team

    Joined:
    Apr 8, 2014
    Messages:
    1,966
    Whoops, long post, forgot about the second question :/

    Currently supported auto/DCT modes are: PRNDSLM

    I'll leave it to you to figure them out :p
     
    • Like Like x 3
  7. Josh

    Josh
    Expand Collapse

    Joined:
    Jul 21, 2013
    Messages:
    1,082
    Awesome, thanks for taking time to answer these @Diamondback , appreciate it.
     
  8. vmlinuz

    vmlinuz
    Expand Collapse

    Joined:
    Mar 2, 2014
    Messages:
    2,409
    This sounds awesome! I'm thinking of making a crazy drivetrain with a gas turbine coupled to a CVT for the T-series.
     
    • Like Like x 1
  9. Josh

    Josh
    Expand Collapse

    Joined:
    Jul 21, 2013
    Messages:
    1,082
    i'm usually one of the few who post these "odd ball" questions lol sometimes a dev will reply and sometimes not.

    When someone does reply, it makes me 100x's more excited for the incoming changes, can't wait.
     
  10. Diamondback

    Diamondback
    Expand Collapse
    Vehicle Systems Lead
    BeamNG Team

    Joined:
    Apr 8, 2014
    Messages:
    1,966
    There won't be a technical reason holding you back. :)

    The new powertrain basically consists of two main components now: the physical side which replicates the actual hardware (engines, shafts, gearboxes, diffs, etc) and the controlling side that takes care of coordinating the hardware (clutch control, shift points, timing management etc)

    You can fully replace / extend both sides with whatever you want.
     
    • Like Like x 2
  11. ktheminecraftfan

    ktheminecraftfan
    Expand Collapse

    Joined:
    Mar 14, 2014
    Messages:
    2,104
    Would a system like Active Yaw Control be possible with this code or would it require a new system entirely?
     
  12. Josh

    Josh
    Expand Collapse

    Joined:
    Jul 21, 2013
    Messages:
    1,082
    What kind of parameters do we have available to us in official form? as far as shifting timing, rpm set points etc? was anything new added in as far as these go?

    Will we finally have a more effective engine braking simulation?
     
  13. Diamondback

    Diamondback
    Expand Collapse
    Vehicle Systems Lead
    BeamNG Team

    Joined:
    Apr 8, 2014
    Messages:
    1,966
    The control logic would be a bit of a challenge but it's entirely possible.
     
    • Like Like x 1
  14. Diamondback

    Diamondback
    Expand Collapse
    Vehicle Systems Lead
    BeamNG Team

    Joined:
    Apr 8, 2014
    Messages:
    1,966
    This is all WIP so can't really go into much detail there. Shift points are per gear now and full load points can be auto calculated.
    Better engine braking is being looked into, but absolutely no promises there. The combustion engine simulation is still largely the same basic principle, so a few of the drawbacks there carried over.

    But again, someone could easily write a "better" engine simulation and use that instead of the default one.
     
    • Like Like x 2
    • Informative Informative x 1
  15. Josh

    Josh
    Expand Collapse

    Joined:
    Jul 21, 2013
    Messages:
    1,082
    Great can't wait, thanks for the info.
     
    • Like Like x 1
  16. SixSixSevenSeven

    SixSixSevenSeven
    Expand Collapse

    Joined:
    Sep 13, 2013
    Messages:
    6,958
    Can we have dual engines to allow for the aforementioned hybrids?
     
  17. Deleted member 160369

    Deleted member 160369
    Expand Collapse
    Guest

    Is the new system backward compatible? Otherwise, how would that affect mods?
     
    • Like Like x 1
  18. synsol

    synsol
    Expand Collapse
    QA Lead
    BeamNG Team

    Joined:
    Aug 4, 2013
    Messages:
    1,473
    Compatibility with actual mods is one off the main priority :)
     
  19. Deleted member 160369

    Deleted member 160369
    Expand Collapse
    Guest

    Great news.

    I'm currently mantaining a mod that could certainly benefit from the new transmission options, but it could be a while before I can fully upgrade it to the new system. Good to know it will probably still work, thanks a lot.
     
  20. JCX034

    JCX034
    Expand Collapse

    Joined:
    Aug 21, 2016
    Messages:
    1,159
    How about different driving mode like "Normal","Sport","Sport+" and "Track" as the new features in newer car in the next update?
     
  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