Help: mimic the Automatic transmission position selector
Hi, I can't figure out how to set up the controls to mimic the automatic transmission mode selector. For example, to have different buttons for each mode: P (Park), R (Reverse), N (Neutral), and D (Drive). I'm only happy with two positions: R (Reverse) and D (Drive). It sounds simple, but I've been dreaming about this for months, and I don't know how to do it. Please help.
Well, there are many options. The easiest being, simply to use the shift up and shift down buttons pretending that the shift up button is you moving the shift knob up one positon in a "R - N - D" configuration and shift down the opposite movement.
Thats what the standard LFS logic does and thats not too far off i think.
If you want to get really fancy, a very simple python script could also do the trick, if you really really want a specific button that in every case shifts into drive or reverse.
I dont really think there is an out-of-the-box solution for this, LFS's gearbox is meant to resemble race cars after all i guess
Yes, I already use the first option, but it is not what I want.
I also bound two buttons to select 1st and Reverse gears, but they do not work when the "Auto" mode is selected in the game settings. Why do they not work out of the box? I do not understand that. It would be such a simple and useful feature.
What Python script are you talking about? Does LFS support plugins or Python? Are there any examples or working solutions? I am sure I am not the first person who wanted this, so maybe someone has already made a working solution.
I tried to make several scripts via .lfs files, but the game does not allow them to work as intended.
Alright. The reason for the first part of your question:
If you set the 1st and reverse gear buttons for the H-Shifter pattern, LFS thinks you are using a steering wheel with H-Shifter which means 1st gear will only stay engaged as long as the button is pressed (or first gear is put in).
Automatic Gearbox mode, only supports "Shift up" and "Shift Down" buttons.
And then to the second part: Yes! You can do everything (almost) with Plugins for LFS. Actually, like 5 years ago, i released a plugin with driver assistance features and a proper automatic gearbox was one of the features.
LFS offers the so called "insim" interface, which lets you receive and send packets from and to lfs and there are almost no limits on what you can do.
I guess most people are just happy with the default LFS automatic gearbox and they use "shift up" once to get into gear and then "shift down" to go into reverse.