How to add neutral gear to a rangeBox?

Discussion in 'Programming' started by epicfacecanada, Feb 12, 2023.

  1. epicfacecanada

    epicfacecanada
    Expand Collapse

    Joined:
    Oct 8, 2016
    Messages:
    440
    So basically I've been modifying the range box code in order to have 4 gears and a neutral you can shift between. I've managed to get all four gears although neutral with a gear ratio of 0 just locks up the engine rather than disconnects from it.

    My question is how to make a range box disconnect from it's input?
     

    Attached Files:

  2. Agent_Y

    Agent_Y
    Expand Collapse
    Jbeam/QA support
    BeamNG Team

    Joined:
    Jul 10, 2020
    Messages:
    10,393
    I guess you could add a shaft between the rangebox and the transmission and use the powertrain control modes to disconnect it with the neutral gear. But why are you even doing this instead of using the neutral gear on the transmission?
     
  3. epicfacecanada

    epicfacecanada
    Expand Collapse

    Joined:
    Oct 8, 2016
    Messages:
    440
    Basically my goal with this is to replicate a Spicer 6x4 compound transmission. Which is basically a 6-speed h-pattern gearbox with a second 4-speed h-pattern box attached on the end. In order to do that I am modifying a rangebox for the Auxilary transmission. With using two H- pattern shifters hooked up I want putting either into neutral to disconnect power as that's now it works IRL
     
  4. Agent_Y

    Agent_Y
    Expand Collapse
    Jbeam/QA support
    BeamNG Team

    Joined:
    Jul 10, 2020
    Messages:
    10,393
    No idea if something like that is even supported, maybe you should ask the people who worked on the GTG T-Series mod since they messed with weird gearboxes like this
     
  5. epicfacecanada

    epicfacecanada
    Expand Collapse

    Joined:
    Oct 8, 2016
    Messages:
    440
    I did try the disconnecting front shaft idea and it seems to work. Now just have to figure out how to get rid of the "Shaft: Disconnected" Messages. Thanks
     
  6. Olivier80

    Olivier80
    Expand Collapse

    Joined:
    Aug 20, 2024
    Messages:
    45
    Wouldn't it be possible to use a second gearbox for the 4 speed rangebox ?

    As an example the Landcruiser J80 has a 2 speeds rangebox with neutral. The rangebox is never disconnected from the gearbox, because power is needed for the PTO (power take off) for the winch.

    The PTO is a shaft connected to the rangebox. It has a disconnect lever.

    The rangebox neutral come into play when you want to use the mechanical winch, you have to select a gear on the gearbox, and select neutral on the Rangebox so that no power is delivered to the wheels.

    I think that the simpler to mimic that is to use two gearboxes, a 5 speeds one and a 2 speeds one, and a second shaft at the output of the first gearbox for the PTO or for an hydraulic pump.
     
  7. epicfacecanada

    epicfacecanada
    Expand Collapse

    Joined:
    Oct 8, 2016
    Messages:
    440
    As you can see this post was over a year ago. Since then I have iterated and improved on said system to basically do what you describe with a second gearbox part that has most of the gear grinding/clutch functionality ripped out of it.

    It's currently being used for a set of transmissions for the T-series in this mod. https://www.beamng.com/resources/t-series-drivetrain-expansion.29462/
     
  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