Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
64b5bc609b |
@@ -1,17 +1,65 @@
|
|||||||
# ESBtnBoxBindings
|
# ESBtnBoxBindings
|
||||||
This mod creates new binds to handle:
|
This mod creates new binds to handle:
|
||||||
- Lights
|
- Headlights
|
||||||
- Diff locks
|
- Lightbar
|
||||||
|
- Differentials
|
||||||
- Range box
|
- Range box
|
||||||
- Ignition
|
- Ignition
|
||||||
- Starter
|
- Starter
|
||||||
|
|
||||||
|
|
||||||
Becasue in BeamNG.drive currently the user can only assign a single key to toggle across the
|
# Why this exists
|
||||||
multiple positions for each one of those settings, which doesn't really work well with toggle
|
In BeamNG.drive most binds are expecting a single key press to either toggle
|
||||||
switches.
|
across multiple states of a given device or just toggle from `on` and `off`.
|
||||||
|
|
||||||
|
For example, on the rangebox it goes:
|
||||||
|
`H2 -> Press -> H4 -> Press -> L4 -> Press -> H2`
|
||||||
|
|
||||||
|
We cannot manually set the range box to `L4` or `H2`. We have to toggle across
|
||||||
|
its available modes.
|
||||||
|
|
||||||
|
This mod extends the default BeamNG.drive keybinds to allow selecting what mode
|
||||||
|
we want to be in.
|
||||||
|
|
||||||
|
|
||||||
With this mod you can have a `On - Off - On` toggle switch with 2 distinct states that can stay in
|
### New Controls
|
||||||
each of its positions to turn something on and when returning to the Off position it will turn it
|
- `ESBtnBox Bindings: Toggle Ignition to ON Position`
|
||||||
off.
|
Turns the key to the ON position
|
||||||
|
|
||||||
|
- `ESBtnBox Bindings: Toggle Ignition to Acc Position`
|
||||||
|
Turns the key to the Acc position
|
||||||
|
|
||||||
|
- `ESBtnBox Bindings: Turn starter`
|
||||||
|
Turns the starter
|
||||||
|
|
||||||
|
- `ESBtnBox Bindings: Toggle High Beams On`
|
||||||
|
Turns high beams on and off with the flick of the toggle switch
|
||||||
|
|
||||||
|
- `ESBtnBox Bindings: Toggle Low Beams On`
|
||||||
|
Turns the low beams on and off with the flick of the toggle switch
|
||||||
|
|
||||||
|
- `ESBtnBox Bindings: Toggle Lightbar Light On`
|
||||||
|
Turns the lights on the lightbar
|
||||||
|
|
||||||
|
- `ESBtnBox Bindings: Toggle Lightbar Sound On`
|
||||||
|
Turns the sound and lights on the lightbar
|
||||||
|
|
||||||
|
- `ESBtnBox Bindings: Toggle High 4`
|
||||||
|
Set the range box to high four
|
||||||
|
|
||||||
|
- `ESBtnBox Bindings: Toggle Low 4`
|
||||||
|
Set the range box to low four
|
||||||
|
|
||||||
|
- `ESBtnBox Bindings: Toggle Front Diff Lock`
|
||||||
|
Lock the front diff
|
||||||
|
|
||||||
|
- `ESBtnBox Bindings: Toggle Rear Diff Lock`
|
||||||
|
Lock the rear diff
|
||||||
|
|
||||||
|
- `ESBtnBox Bindings: Toggle Both Diff Locks`
|
||||||
|
Lock front and rear diffs
|
||||||
|
|
||||||
|
|
||||||
|
### Versioning
|
||||||
|
Will follow BeamNG.drive version and set the patch version number for my
|
||||||
|
updates.
|
||||||
|
|||||||
@@ -54,7 +54,7 @@
|
|||||||
"ctx": "vlua",
|
"ctx": "vlua",
|
||||||
"onDown": "extensions.use('ESBtnBoxHeadlights').toggleLigthbarSound()",
|
"onDown": "extensions.use('ESBtnBoxHeadlights').toggleLigthbarSound()",
|
||||||
"title": "ESBtnBox Bindings: Toggle Lightbar Sound On",
|
"title": "ESBtnBox Bindings: Toggle Lightbar Sound On",
|
||||||
"desc": "Turns the sound on the lightbar"
|
"desc": "Turns the sound and lights on the lightbar"
|
||||||
},
|
},
|
||||||
"bb_turn_high_four": {
|
"bb_turn_high_four": {
|
||||||
"cat": "vehicle",
|
"cat": "vehicle",
|
||||||
@@ -104,4 +104,4 @@
|
|||||||
"title": "ESBtnBox Bindings: Toggle Brake Lights",
|
"title": "ESBtnBox Bindings: Toggle Brake Lights",
|
||||||
"desc": "Toggles the brake lights for those proper police runs"
|
"desc": "Toggles the brake lights for those proper police runs"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user