matsn0w / MISS-ELS

Server-sided ELS for FiveM with custom patterns per vehicle, custom sirens, indicator control and more!
https://matsn0w.github.io/MISS-ELS
17 stars 13 forks source link

Add extra toggles for static extra's #5

Closed matsn0w closed 2 years ago

matsn0w commented 2 years ago

Would be nice if there was an option to define 'static' extra's, like for takedown lights, that you can map to a specific key.

Maybe something like:

<Extra12 IsElsControlled="true" AllowEnvLight="true" Color="white" Static="true" Key="159" />

The Key option is a nice to have anyway. That'd allow mapping keys per vehicle instead of globally.

matsn0w commented 2 years ago

Adding the extra without env lights enabled is also very nice to have, for toggling static objects other than lights.

matsn0w commented 2 years ago

The Key option is a nice to have anyway. That'd allow mapping keys per vehicle instead of globally.

Actually no, that would make the toggling of light stages very difficult.

DavleyNL commented 2 years ago

Make a NativeUI menu where the lights will be toggled, with the ability to enter specific text for a specific extra to make it customizable. e.g.:

Firetruck24 "White bright lights" -> Extra 11 "roller shutters" -> Extra 12

matsn0w commented 2 years ago

Great idea! I think that's indeed the best way to do it, as it would require a lot of keybinds otherwise.... Will post an update soon!

matsn0w commented 2 years ago

Now look at that! Coming soon in #33!

image