Shifting split shift (advanced

MrWhite1991
Posts: 9
Joined: 16 Feb 2022 01:38

Shifting split shift (advanced

#1 Post by MrWhite1991 » 16 Feb 2022 03:39

Hello devs fist of all great work u guys have done an amazing job so far I would like to point out a small flaw in the Shifting spilt shift (advanced settings the setting available are (never) (clutch) (throttle release) (throttle and clutch) I'm a class 1 trucker in real like and u can release the throttle to upshift split gears but to down shift split gears in real life u have to raise the rpm with the foot paddle by around 50 rpm depending in ur truck otherwise it would give a loud cluck and probably take out ur transmission and in game I can slide my splitter switch back and forth an it will shift down automatically so basically the clutch is fine its just throttle release for upshift and throttle apply for downshift just like any other Normal downshift hope to hear from u soon thanks have a great day ;)
MrWhite1991
Posts: 9
Joined: 16 Feb 2022 01:38

Re: Shifting split shift (advanced

#2 Post by MrWhite1991 » 16 Feb 2022 23:11

And if this ain't something ud wish to add than can any1 tell me how to change the settings myself with notepad from (throttle release ) to (throttle apply)
MrWhite1991
Posts: 9
Joined: 16 Feb 2022 01:38

Re: Shifting split shift (advanced

#3 Post by MrWhite1991 » 20 Feb 2022 19:54

Hello again fellow truckers, you might remember me from my Twin Sticks and Toothpicks guide on getting a realistic Spicer 6×4 compound transmission set in game. This time, I’m back to tell y’all how to get realistic split shifts going in your game, that way your RPMs aren’t jumping all over the place every time you go from 7L to 7H or vice versa.

First off, this guide to geared towards players who have a realistic shift knob like the Megashifter or, if you’re one of the lucky unfortunate ones, CSIO’s shifter like I have. We’re gonna need 2 external programs to get this jerry-rigged setup going, and those are JoyToKey, and AutoHotkey. You’ll also want to set aside about 5 keyboard keys in game to get everything setup. If you can do all of that, you’ll be set.So, what exactly is a split shift anyways? In real life, this is actually just 2 really close gears in the AUX section of an Eaton Fuller, and by close, I mean in size. Depending on model, it’s either a slight underdrive (1.13) to direct (1.00) or direct to overdrive (.87), I want to say that the majority of OTR transmissions have the latter, but I could be wrong. So when a driver is cruising along a slight grade and a 6L to 7L shift might slow him down enough to drop outta the powerband, he flips his red (13 speed) or grey (18 speed) splitter button forward to “split” 6th gear to a gear in between 6 and 7 in terms of torque output. What’s actually happening is he’s taking his 6th gear that’s spinning through direct in the splitter section of the aux and (air) shifting the splitter section of the aux to overdrive. This way, he can stay in the powerband, gain a bit more speed, and 7L isn’t such a leap in terms of RPM.

So when he moves the splitter forward, the truck effectively goes into neutral until the RPMs match the new splitter gear, at which point the shift completes, and he goes on his way. To match the RPMs, he either has to let the engine slow down by taking his foot off the loud pedal (5L to 5H shift) , how do we fix this? Well, pretty easily actually. I know it’s a hassle to have 2 extra programs running just to correct this behavior, but the setup is quick and easy and it’s worth it for the realism.

Before anything, we need to make some changes to our controls.sii file, located in your ATS documents folder (C:UsersNAMEDocumentsAmerican Truck SimulatorprofilesNUMBERS), so go ahead and make a backup of that bad boy in case something goes wonky. I’m going to assume you already have a defined key set in the options for the neutral shift, I forget what the defaults are, but I set mine to ; and ‘. You can probably get away with just setting 1 if ya want, and can set it out of game if you find “mix gear0” in your controls.sii.

What we need to do is:

1. Set our splitter to the keyboard button a (set it to whatever you want, I unbound WASD ingame because I don’t drive with a keyboard, if a is default, it’ll set your wheel all the way to the left).

2. Make our gears a bit more logical in how they operate. Default logic is pretty simple, line 411 in my file is “mix gear2 joy2.b1”, which just means that gear 2 in game is bound to my 2nd joystick in it’s first slot. The game did that for you when you ran through the input wizard or set the gears in game. What we need to do is tell the game that gear 2 in game is bound to the 2nd joystick’s first slot AND the ; OR ‘ keys on the keyboards are NOT being pressed.

So to set the splitter to a on the keyboard, find line 408 in the controls.sii file, and make it so that it and the next line read: config_lines[408]: “mix gearsel2on `keyboard.a?0 | semantical.gearsel2on?0`” config_lines[409]: “mix gearsel2off `! (keyboard.a?0) | semantical.gearsel2off?0`”

All that does is make it so that when a is “pressed” the splitter is in it’s on state, which we used to do by just sliding it forward. The next line [409] just sets the splitter to off if a is NOT(!) pressed.

Next, we have to give logic to our gears. What we have to do is make it so the gears will go to their on state/engage when 2 conditions are met: The joystick (shifter) is in the correct slot for the gear, and the ; OR the ‘ keys aren’t being pressed. To do this, find line [411], and make it this: config_lines[411]: “mix gear1 `joy2.b8?0 & !(keyboard.semicolon?0 | keyboard.apostrophe?0) | semantical.gear1?0`” Do note that your joy numbers might be different, so don’t just blindly copy paste that, the important part is to add & !(keyboard.semicolon?0 | keyboard.apostrophe?0) |. Do this for gears 1 through 7 in the file.

Once done make sure to save, we’re done with that file.Assuming you have those programs downloaded and installed, open up JoyToKey and attempt to find your knob’s splitter button. On my system, I told JoyToKey to make my CSIO shifter Joystick 1 in the options, then, after mapping all the buttons to a letter on my keyboard and opening notepad, I found that button 1 is the range button, and button 2 is the splitter. So I cleared all the other keys for the other buttons and set button 2 to z and x. To do this, double click on button 2 from the main program window, navigate to the keyboard (multi) tab, and make sure the radio button “[Input1] when the button is released and [Input2] when it’s pressed”. Then, for Input1 i typed z, clicked over to Input2 and typed x, then clicked OK. That’s it for JoyToKey Next up is AutoHotkey. If you’re wondering why we need to script keyboard stuff, I promise, it’ll make sense in a minute. Open your Documents folder and create a text file, making sure to rename the extension to whatever.ahk. Then, right click your newly created .ahk file and select edit script.

What we need to do is make a script where when we move our splitter and JoyToKey reinterprets those button presses as keyboard presses AutoHotkey can do a couple things for us using those keyboard presses. We’re going to make it so that when x is pressed (splitter forward) AHK will virtually press the ; key for 100 milliseconds, and when x is pressed, ‘ is pressed for 100 milliseconds. Meanwhile, when x is pressed AHK will hold down a virtual a button, which is our splitter on button in game, and when z is pressed, it quits holding a. This is actually pretty simple to do with AHK, and I’ll save you the hassle of typing it out[pastebin.com]. Make sure to save the file.

The real reason why this script is vital is because of placement and control. You’ll notice I saved the splitter commands for last instead of making them front and center, and in my first version of the script I didn’t have them at all, I was still letting the game use the splitter natively. I found through testing that if the splitter commands (a down/up) were before the neutral commands (; down, keep held down for 100 milliseconds, release 😉 or just omitted entirely like in my first version, the rpms tended to jump like the old logic was being applied before going into neutral or rarely, hopping to the next gear, I’m assuming it was a race condition in the game, activating the splitter before hitting the neutral buttons. By forcing the game to go to neutral before activating/deactivating the splitter, there’s no race condition in the game, and the shifts are smooth and realistic, making the ♥♥♥♥♥♥ pass through neutral so you can match rpms.

Go ahead and save that puppy and close the script, you’re done. Make sure JoyToKey is fired up and setup correctly and then right click on the AHK script and let it run, fire up the game and enjoy that little extra bit of realism I guess to tie everything together, I’ll run through the logic (or rather, what I think is the logic) once more. The splitter is moved forward, JoyToKey turns the button press into a keyboard press, x. AutoHotkey runs a script where if x is pressed, the ‘ key is pressed for 100 milliseconds, which means one of the conditions for a successful shift isn’t fulfilled, forcing the transmission into neutral because of that and the neutral keys being pressed, the’ key is then let up, satisfying the conditions for a gear to be selected (with proper RPMs), after that, the a key is pressed down, making the game think the splitter is in the on/high position, RPMs are then matched, and the split is complete. When the splitter is moved backwards, the same happens, but this time a is released to move the splitter back into the low position. RPMs are matched, and the split shift is complete.

Again, you can probably have it so that just 1 button is needed in JTK and 1 for the neutral keys, and pressing the neutral key might not even be necessary anyways because of the shift logic, but I haven’t actually verified that, so I’m just going with my current tried and true setup.

Well I hope all that made sense and wasn’t too convoluted, if anyone needs help I’d be happy to assist. Happy truckin’
trainguy_gaming
Posts: 614
Joined: 29 Jun 2020 21:05
Location: United States
Contact:

Re: Shifting split shift (advanced

#4 Post by trainguy_gaming » 21 Feb 2022 21:31

MrWhite1991 wrote: 16 Feb 2022 03:39 Hello devs fist of all great work u guys have done an amazing job so far I would like to point out a small flaw in the Shifting spilt shift (advanced settings the setting available are (never) (clutch) (throttle release) (throttle and clutch) I'm a class 1 trucker in real like and u can release the throttle to upshift split gears but to down shift split gears in real life u have to raise the rpm with the foot paddle by around 50 rpm depending in ur truck otherwise it would give a loud cluck and probably take out ur transmission and in game I can slide my splitter switch back and forth an it will shift down automatically so basically the clutch is fine its just throttle release for upshift and throttle apply for downshift just like any other Normal downshift hope to hear from u soon thanks have a great day ;)
I agree :)
User avatar
Max
SCS Software
Posts: 6479
Joined: 26 Nov 2012 10:00
Location: SCS, Prague

Re: Shifting split shift (advanced

#6 Post by Max » 27 Mar 2022 15:09

i read previous posts many times but simply did not get the issue.
now, reading the very same article on reddit worked so i have a clue what the problem is .. :D

i can't promise in will be in some update or if it will be present in game at all, but at least we are now aware of the issue. thanks.
Nobody can tell you anything about it. Those who know about it aren't allowed to talk. And those who talk know nothing.
MrWhite1991
Posts: 9
Joined: 16 Feb 2022 01:38

Re: Shifting split shift (advanced

#7 Post by MrWhite1991 » 10 Apr 2022 19:09

Thanks max for ur time and understanding it would be a great option to have for advanced simulation
flyboy463
Posts: 38
Joined: 12 Jun 2016 07:34

Re: Shifting split shift (advanced

#8 Post by flyboy463 » 26 Apr 2022 14:54

Glad people are getting use out of my split shift setup
MrWhite1991
Posts: 9
Joined: 16 Feb 2022 01:38

Re: Shifting split shift (advanced

#9 Post by MrWhite1991 » 24 May 2022 23:40

wow flyboy463 did u create the setup is there anychance u could add it to the workshop as a mod
MrWhite1991
Posts: 9
Joined: 16 Feb 2022 01:38

Shifting split shift (advanced

#10 Post by MrWhite1991 » 29 Jun 2022 17:22

Hello devs just trying to keep my post crisp so in the game setting tab Shifting spilt shift (advanced settings the setting available are (never) (clutch) (throttle release) (throttle and clutch) I'm a class 1 trucker in real like and u can release the throttle to upshift split gears but to down shift split gears in real life u have to raise the rpm with the foot paddle by around 50 rpm depending in ur truck otherwise it would give a loud cluck and probably take out ur transmission and in game I can slide my splitter switch back and forth an it will shift down automatically so basically the clutch is fine its just throttle release for upshift and throttle apply for downshift just like any other Normal downshift also im posting a reddit link to give u guys a better idea what im talking about hope to hear from u soon id love to have a fix or even just a mod added to the game since it does train for good shifting practice in real life thanks have a great day ;)
https://www.reddit.com/r/trucksim/comme ... _the_game/
Post Reply

Return to “Feature Wishlist and Suggestions”

Who is online

Users browsing this forum: No registered users and 3 guests