Ради вашего удобства наш сайт использует cookies! Узнать больше! Мы используем cookies

Manual Asist Module

Manual Transmission Controller for Stormworks This is a fully automated [b]manual gearbox controller[/b] for Stormworks: Build and Rescue, designed for vehicles with a clutch and 6-speed (R, N, 1–5) manual transmission. Features [list] [*] Automatic clutch management during gear changes [*] Support for reverse (R), neutral (N), and 1–5 forward gears [*] Single-button increment/decrement control (G+ / G-) [*] Impulse detection to prevent multiple gear jumps on button hold [*] Safe neutral behavior: G=0 always disengages clutch and all gears [*] Lua-based microcontroller for precise timing and stability [/list] How It Works The controller uses a [b]state machine[/b] to manage the gear change sequence: [list] [*] [b]Detect gear change request[/b] from G+ or G- input [*] [b]Disengage clutch[/b] (debrayage) [*] [b]Shift to neutral[/b] (N) [*] [b]Engage the requested gear[/b] [*] [b]Re-engage clutch[/b] (embrayage) [/list] Each phase is timed precisely to prevent gear skipping or engine stalling. The logic automatically handles the edge cases: [list] [*] Neutral (G=0) keeps the clutch disengaged [*] Reverse (G=-1) engages only when safe [*] Forward gears 1–5 engage sequentially with controlled clutch timing [/list] Inputs / Outputs [list] [*] [b]Inputs:[/b] G+ (bool), G- (bool), Current Gear G (number) [*] [b]Outputs:[/b] Clutch (number), Gear R/1/2/3/4/5 (bool) [/list] Notes This controller is designed for stability and realism. It does not require manual Lua editing beyond the provided microcontroller. Ideal for vehicles where precise gear timing and clutch control are critical. Tested with various vehicle setups and high-speed engines. Adjustable timers in the Lua script allow fine-tuning for your specific vehicle’s transmission.