Shift logic files for electric cars

Discussion in 'Content Creation' started by ZeldaCarFan15, Jun 2, 2021.

  1. ZeldaCarFan15

    ZeldaCarFan15
    Expand Collapse

    Joined:
    Mar 7, 2018
    Messages:
    100
    How do I create a shift logic file for electric cars, so I can make transmissions for them?
     
  2. S.Ali.M

    S.Ali.M
    Expand Collapse

    Joined:
    Jan 12, 2021
    Messages:
    1,079
    Transmissions for electric cars hasn't any difference (in game). Just make a tansmission then change the "slotType" to the transmission of the electric motor
     
  3. ZeldaCarFan15

    ZeldaCarFan15
    Expand Collapse

    Joined:
    Mar 7, 2018
    Messages:
    100
    But how? I don't think there even are transmission slots for the electric cars in Beam...
     
  4. Xupaun

    Xupaun
    Expand Collapse

    Joined:
    Aug 18, 2020
    Messages:
    762
    Add the transmission as the differential.
     
    • Agree Agree x 1
  5. S.Ali.M

    S.Ali.M
    Expand Collapse

    Joined:
    Jan 12, 2021
    Messages:
    1,079
    I don't remember electric motors have transmissionn slot or they have rear diff slot, I think @Xupaun is right. Btw, the slot is not a matter at all, you can even add transmission to left mirror slot!
     
  6. Agent_Y

    Agent_Y
    Expand Collapse
    Jbeam/QA support
    BeamNG Team

    Joined:
    Jul 10, 2020
    Messages:
    10,061
    As long as it's something as basic as a transmission then the slot doesn't matter, but once you start messing with anything to do with wheels, you HAVE TO put everything in the proper slots. I think a transmission in a diff slot should work but would obviously need a new diff after it. But no idea how it will shift, or if it will at all.
     
  7. S.Ali.M

    S.Ali.M
    Expand Collapse

    Joined:
    Jan 12, 2021
    Messages:
    1,079
    Yeah I know I just wanted to let him know that he can put transmission in another slot like diff
    Why? In one of my cars that i don't remember I installed a mod and it added a AWD transmission to rear diff, so the rear diff car could be convert to an AWD car. (There where front and rear diff slots in that transmission) So, I think putting the transmission into diff slot will not break anything
     
  8. Agent_Y

    Agent_Y
    Expand Collapse
    Jbeam/QA support
    BeamNG Team

    Joined:
    Jul 10, 2020
    Messages:
    10,061
    I know it won't break anything but my concern is, will it shift on an electric car?
     
  9. S.Ali.M

    S.Ali.M
    Expand Collapse

    Joined:
    Jan 12, 2021
    Messages:
    1,079
    After 1 hour trying to do it, figured out it's impossible. All of the electric motors in game have a built-in transmission. Even I tried to make a new motor but when type of a motor is "electricMotor" in jbeam file, the game automatically installs a transmission for it. And having 2 transmissions at a time is impossible and game gave me an error when I tried to install my transmission on it. Also, I changed the type to "combustionEngine" but I received an error again.
     
  10. Agent_Y

    Agent_Y
    Expand Collapse
    Jbeam/QA support
    BeamNG Team

    Joined:
    Jul 10, 2020
    Messages:
    10,061
    That's what I meant about it being impossible. It would need a custom LUA which is not easy to code.
     
  11. DaddelZeit

    DaddelZeit
    Expand Collapse

    Joined:
    Jul 17, 2019
    Messages:
    3,319
    not impossible, NOCARGO has done it before
     

    Attached Files:

    • Agree Agree x 1
  12. ZeldaCarFan15

    ZeldaCarFan15
    Expand Collapse

    Joined:
    Mar 7, 2018
    Messages:
    100
    How did he do it?
    --- Post updated ---
    I don't know how LUA code works
     
  13. ZeldaCarFan15

    ZeldaCarFan15
    Expand Collapse

    Joined:
    Mar 7, 2018
    Messages:
    100
    How did nocargo manage to get a working transmission in the eSBR?
     
  14. a plane guy

    a plane guy
    Expand Collapse

    Joined:
    Mar 14, 2021
    Messages:
    4,143
    He is a mastermind
     
    • Agree Agree x 2
  15. Agent_Y

    Agent_Y
    Expand Collapse
    Jbeam/QA support
    BeamNG Team

    Joined:
    Jul 10, 2020
    Messages:
    10,061
    Definitely not easily, not many people can do something like that
     
  16. ZeldaCarFan15

    ZeldaCarFan15
    Expand Collapse

    Joined:
    Mar 7, 2018
    Messages:
    100
    I still don't know how to make something like what he did though, since I don't know how LUA works
     
  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