Gearbox for electric cars

Discussion in 'Content Creation' started by ZeldaCarFan15, Sep 22, 2020.

  1. ZeldaCarFan15

    ZeldaCarFan15
    Expand Collapse

    Joined:
    Mar 7, 2018
    Messages:
    100
    I want to make gearboxes for the electric cars in Beam because no shifting is no fun in my opinion. How can I do that?
     
    • Agree Agree x 2
  2. geilomaticDE

    geilomaticDE
    Expand Collapse

    Joined:
    Apr 13, 2019
    Messages:
    63
    Just do an gas engine with propertys of an e engine and slap a gearbox onto it
     
  3. ZeldaCarFan15

    ZeldaCarFan15
    Expand Collapse

    Joined:
    Mar 7, 2018
    Messages:
    100
    That's not what I was going for. I want a full electric car with a gearbox, so no fake electric motors from gasoline engines
    --- Post updated ---
    eSBR or Cherrier FCV electric
     
    #3 ZeldaCarFan15, Sep 22, 2020
    Last edited: Sep 22, 2020
    • Agree Agree x 1
  4. geilomaticDE

    geilomaticDE
    Expand Collapse

    Joined:
    Apr 13, 2019
    Messages:
    63
    ah okay
     
  5. atv_123

    atv_123
    Expand Collapse

    Joined:
    Aug 5, 2012
    Messages:
    1,710
    It is totally doable... thats basically how I have the Electric Conversion set up for the B1 at the moment. I just snitched a good chunk of the code from the rear motor of the eSRB and then attached that to the input of the transmission instead of using an engine. Pretty easy really.

    Now taking a fully electric car and adding a transmission to it... well that might be a bit more difficult... but should still be totally doable. I think most of the electric cars in the game use multiple motors... so you would have to use a gearbox in between each motor and each wheel(s) it powers... then there is the fact that I have no idea how that will control either.
     
    • Like Like x 1
  6. ZeldaCarFan15

    ZeldaCarFan15
    Expand Collapse

    Joined:
    Mar 7, 2018
    Messages:
    100
    I just want to know how to make a gearbox for electric cars because I don't like single speed transmissions or CVTs
     
  7. jakelooker

    jakelooker
    Expand Collapse

    Joined:
    Aug 31, 2013
    Messages:
    146
    I would say the simplest way to achieve this is to take an existing ICE car and replace the engine with an electric motor, keeping the transmission intact.

    You can borrow electric motor code from an EV and use that in place of an ICE engine.
     
  8. coolgamer55

    coolgamer55
    Expand Collapse
    Banned

    Joined:
    Jan 12, 2020
    Messages:
    216
    so like a 6-speed transmisson in a electric sounds kinda cool
     
  9. jakelooker

    jakelooker
    Expand Collapse

    Joined:
    Aug 31, 2013
    Messages:
    146
    I know some retro/resto mods have kept the original gearbox while switching to an electric engine.

    It's mostly pointless as electric motors make so much torque from 0rpm and have a high maximum RPM, but that doesn't mean it can't be done...
     
    • Agree Agree x 1
  10. ManfredE3

    ManfredE3
    Expand Collapse

    Joined:
    Jan 9, 2016
    Messages:
    2,269
    The C130 EV Laurel had a 2 speed auto from the factory.
     
  11. iplaybeam

    iplaybeam
    Expand Collapse

    Joined:
    Dec 16, 2017
    Messages:
    405
    porsche taycan already has a 2 speed transmission, should be possible to add it here
     
  12. ZeldaCarFan15

    ZeldaCarFan15
    Expand Collapse

    Joined:
    Mar 7, 2018
    Messages:
    100
    I want to know how to do it but I don't know what code to take from what car and add on to another car (For example, the SBR4 transmissions in the eSBR)
    --- Post updated ---
    And how would I make those an addon/mod instead of changing the files directly
     
  13. ZeldaCarFan15

    ZeldaCarFan15
    Expand Collapse

    Joined:
    Mar 7, 2018
    Messages:
    100
    I don't want to overwrite the original files, just add on to them
     
  14. Diamondback

    Diamondback
    Expand Collapse
    Vehicle Systems Lead
    BeamNG Team

    Joined:
    Apr 8, 2014
    Messages:
    1,957
    To make this work properly, you'll need to create at least a new shiftLogic lua file, existing logics with transmission support assume combustion engines and won't work correctly with electric motors.
     
  15. ZeldaCarFan15

    ZeldaCarFan15
    Expand Collapse

    Joined:
    Mar 7, 2018
    Messages:
    100
    Hmm... How can I make one of those, and make sure that the gearboxes don't overwrite original files?
    --- Post updated ---
    I already have an empty zip made for the base of my mod called eSBR Conventional Transmissions. I'll make one for the Cherrier FCV too
    --- Post updated ---
    I just don't know how BeamNG's mod system works so it's kind of hard (for me at least) to make an addon parts mod for a car
     
  16. ZeldaCarFan15

    ZeldaCarFan15
    Expand Collapse

    Joined:
    Mar 7, 2018
    Messages:
    100
    Can someone please help me with this?
     
  17. coolgamer55

    coolgamer55
    Expand Collapse
    Banned

    Joined:
    Jan 12, 2020
    Messages:
    216
  18. Zero

    Zero
    Expand Collapse

    Joined:
    Sep 2, 2012
    Messages:
    1,386
    don't expect a step by step tutorial, try to research the wiki or file directories for a a better understanding.
    Perhaps there's something here: https://documentation.beamng.com/vehicle_system/index.html
    For a mod like that, I imagine you at least need some sort of basic programming knowledge.
     
  19. NOCARGO

    NOCARGO
    Expand Collapse

    Joined:
    Apr 1, 2019
    Messages:
    1,514
    Mission accomplished !



    I saw a similar question/request a while ago. This time I thought I should give it a try. :)
    I left the ratios of the SBR's 6 manual untouched so this is how it pulls with the performance electric motor. First gear is quite a drag :p

    The same run from cockpît view below



    I don't know about the ethical nature of sharing a device like this, I will leave that in the middle for now. It might be an interesting discussion, if civilized off course o_O
     
  20. DaddelZeit

    DaddelZeit
    Expand Collapse

    Joined:
    Jul 17, 2019
    Messages:
    3,319
    Wen relez
     
  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