Coupler arguments for sync up gearboxes

Discussion in 'Content Creation' started by acynder, Oct 1, 2018.

  1. acynder

    acynder
    Expand Collapse

    Joined:
    Mar 22, 2015
    Messages:
    231
    I was wondering how exactly "importElectrics" and "importInputs" works.
    What are the default list of arguments or things that I can import?
    Can I add a new thing to be imported?
    What can and can not be imported?

    And most importantly and the reason for this post:
    Can I import a gearbox current gear form a active vehicle and force that gear on a compatible gearbox in a pasive vehicle?
    I want to apply this to trains and might be userful in other towing applications.

    Thanks for your time!
     
  2. fufsgfen

    fufsgfen
    Expand Collapse

    Joined:
    Jan 10, 2017
    Messages:
    6,782
    I know of "throttle" being one that works, but haven't been able to figure out gears. It could be fun if gearchange would be possible.

    "steering" kinda works, it is super sensitive and steers wrong direction.

    "gear" gives fatal vehicle exception when connection happens, I guess that would be current gear.

    "clutch" I did not test, but it might work or give fatal vehicle exception.
     
    • Informative Informative x 1
  3. acynder

    acynder
    Expand Collapse

    Joined:
    Mar 22, 2015
    Messages:
    231
    I already tried:
    drivetrain.gear()
    drivetrain.gearbox()
    drivetrain.currentGear()
    currentGear()
    none of them work, in using zagdima's updated subway which have the old version of the drivetrain.
     
  4. fufsgfen

    fufsgfen
    Expand Collapse

    Joined:
    Jan 10, 2017
    Messages:
    6,782
    I was thinking it being something like shiftUp, but that did not work either

    This gives me fatal exception when I hook up other bus:
    "importInputs": ["brake", "parkingbrake","throttle","gear"]

    I did try also gearindex, but it did not work either.

    I'm not sure why "gear" gives fatal exception, I did not examine that enough to figure out what goes berserk, but maybe you can find something out with that.

    Still I think it should be something like shift up and shift down as those are inputs which should be transferred, but what is their exact name, like "parkingbrake" is exact name of input.
     
  5. acynder

    acynder
    Expand Collapse

    Joined:
    Mar 22, 2015
    Messages:
    231
    I don't really know, the thing is that funny enogh I know how may be done in real life but no in jbeam. maybe is not even implemented...
     
  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