Stormworks: Build and Rescue

Stormworks: Build and Rescue

49 ratings
Remote Controller Settings
   
Award
Favorite
Favorited
Unfavorite
Vehicles: Air, Sea, Creative, Land
Tags: v1.7.5
File Size
Posted
Updated
25.504 KB
28 Sep, 2020 @ 8:23am
14 May, 2023 @ 12:19pm
7 Change Notes ( view )

Subscribe to download
Remote Controller Settings

Description
Use this if you want to change the settings of your remote controller like a seat can. This microcontroller makes remote control easier.

You can:
- Change the sensitivity of each axis
- Change the mode of each axis to reset or sticky
- Change the hotkey mode to toggle or pulse

Hotkey states are also remembered when the controller is not connected.

Note: Some people rebound the trigger hotkey to lmb(left mouse button), this can cause a conflict between activating the controller, which also uses lmb, making the trigger hotkey unusable because it turns on and off the controller. Keep this in mind if you want to use the trigger hotkey.

To set it up just connect the radio output to the input, and the output to a microcontroller that decodes the composite. The composite channels are exactly the same as the seat.

If you are going to use this in a workshop creation, please credit me and link to this page.
40 Comments
Struner  [author] 1 May @ 1:20pm 
Good to know it still works after 4 years :winter2019happyyul:
Karlo_098 1 May @ 7:13am 
It works very good.
Struner  [author] 15 Nov, 2023 @ 2:38pm 
Yes, its just a pulse, because there is no way to tell how long a toggle button on the remote controller is pressed. You can add your own delay if you want to.
The FemBurber 14 Nov, 2023 @ 4:24pm 
how does the push mode for the hotkeys work? is it just a pulse?
mikeyurenia 17 Jul, 2023 @ 1:08pm 
Thanks
Struner  [author] 14 May, 2023 @ 12:24pm 
Fixed hotkey toggle state changing when reconnecting, if the remote controller's hotkey was toggled while it was disconnected. This made at least one person happy after waiting for a year since asking me to fix it.
Struner  [author] 9 Apr, 2023 @ 1:31am 
I forgot to say there are no key press and release events as you call them, there is only a toggle event. The toggle state changes on key press.
Struner  [author] 9 Apr, 2023 @ 1:26am 
You have to implement momentary with your own logic, this can be done with a delay.

It is not possible to get how long the hotkey is held down, because it is toggle on the controller and I can only notice the change from off to on or on to off again. I decided not to implement the delay myself because it is not a perfect solution and can feel weird to the user.

Only the 4 axis can be push if you set them to 100% and use threshold gates, like you probably have done.

Hope that helps!
Emily 9 Apr, 2023 @ 12:06am 
How hard would it be to add a third mode to the hot keys for momentary?

I looked in the LUA code and its way beyond me, I also considered how to modify the output with my own micro-controller, but I effectively need a key press and key release event to do it.

The reason I ask is I want to use this as remote for a rather complex crane which uses fourteen buttons to work, four groups of winches, two of those groups also have a pair of buttons for synchronised operation and two liner sliders.

I can convert the WASD / Arrow keys to momentary using threshold gates, but I'm stuck with the hotkeys being either toggle on, or a single pulse.
Struner  [author] 1 Apr, 2023 @ 7:26am 
Glad you like it!