I'm trying to make a automatic transmission at the moment, i have the manual working and it works by selecting gears by the gear being a weapon input. (i stole this from a ae86 on this site)
I'm trying now to modify this to create a auto transmission. I'm thinking that if i could make a separate part that changes what weapons selected based on the gs that correlates with the gear ratios. ex. 0-33gs is gear 1, once it hits 33gs, it selects gear 2 of 33-53 kinda thing and when the speed falls again it reverts back into the gear that's assigned to that area of speed. il leave the funky trees that the manual uses in the first comment below as a example just incase that matters.
You can't really change selected weapons with ag Or anything. It's done manually
(SelectedWeapon="Gear1" ? clamp01(-pow(((2.85-GS)/7.85),2)+.65) : (SelectedWeapon="Gear2" ? clamp01(-pow(((8.95-GS)/11.7),2)+.38) : (SelectedWeapon="Gear3" ? clamp01(-pow(((16.25-GS)/16.25),2)+.25) : (SelectedWeapon="Gear4" ? clamp01(-pow(((25.6-GS)/20.6),2)+.16) : (SelectedWeapon="Gear5" ? clamp01(-pow(((43-GS)/33),2)+.13) : (SelectedWeapon="Reverse" ? clamp01(-pow(((7.7+GS)/12.7),2)+.95) * -1 : 0)))))) * Throttle