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!
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.
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.
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.
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...