Luxart Vehicle Control V3

Awesome stuff broski, thanks for your contribution to the community. :grinning_face_with_smiling_eyes:

Nice release , I see you invested a lot of work and time into it , but I don’t want even to see the consumption on the script…Most of the siren control script are using like hell…

Been using versions of this for months, love it.

Does anyone know where to get cars that are made combatable with the traffic advisers? I would love to know.

Someone just asked me about these today, while I haven’t tried them they look promising:

You’re likely using Factions version of LVC what I call v2 (what LVC V3 is based on), one of the most widely used scripts in FiveM. That consumes about 5-10ms client side. Its network calls are managed quite well with Lt. Caines logic.

The additional features added to LVC bring the client-side 10-15ms. Approximately 5ms average higher. You may have noticed LVC uses Plugins to expand its functionality (Traffic Advisor, Extra Toggling, etc.) this adds more overhead approximately 10ms however these plugins are still on their first release and can be optimized AND are optional developers can pick and choose what features are right for them.

RageUI the menu adds a larger overhead (~45ms total) when open but, that is something not often used day-to-day.

I have tried my hardest to use programming best practices and thread best practices outlined here: [Best practice] Improve your resource performance

THIS IS NOT ELS though which has a very very very high overhead and is what most people complain about when it comes to siren controllers.

TLDR:
LVC V2 (Faction/LtCaines): 5-10ms
LVC V3 (Base): 10-15ms
LVC V3 (w/all plugins): 20-25ms

Love this.

Is there any way to make it so turning on the turn signals has the same noise as the hazards going on/off? That’s really my only pet peeve with this is that they don’t make a noise when being switched on/off. I’d fix it myself but I have no idea where to even begin with it.

1 Like

Beta Revision Made

  • 3.2.5-beta-rev1: fixes attempt to index nil table when Traffic Advisor plugin not installed.
    • Files Changed: UI/cl_hud.lua
1 Like

Ahh yes, GTA V only has turn signal SFX for some vehicle hashes, not all. Too prevent duplicating the sound I chose to only play the custom SFX on hazards toggle. Look near here: LVC V3.2.4 - /UTIL/cl_lvc.lua#L783-L828

Add the lines below to the associated left and right turn signal toggles.
PlayAudio("Hazards_On", hazards_volume, true)
PlayAudio("Hazards_Off", hazards_volume, true)

1 Like

99% of the server used Luxart until they switched to infinity. It was almost not usable on Infinity as it had too many events thrown from client > server. It resulted into Network Overflow.

Is it fixed and Infinity Ready?

The network framework is Lt. Caines’.

1 additional server call is made on client startup only to pull the version information. No other modifications have been made to Events. If Luxart Vehicle Control by Lt. Caine (V1), or Faction (V2) work on your server, this should also work. :slight_smile:

If you’re still having network overflows with the previous versions, consider disabling/removing turn signal syncing.

I would like to know how to make them work. I use SoCalThero’s vehicles, and am testing them. They don’t seem to work. I don’t know how to integrate them into your system.

1 Like

You’ll need to install the optional Traffic Advisor plugin: TA - wiki

Have you tried this? If so, what does your SETTINGS.lua file look like?

I have your TA plugin installed, and have configured the hot keys accordingly. You can see it proc the extra and repair the vehicle, but there’s no change to the status of the TA or extra.

1 Like

This is my fault, I have to configure using your TA assignments. It isn’t plug and play like previous versions.

An update:

Here are the settings for people who have ONLY SoCalThero’s vehicles. There is no ‘On-Scene’ lighting setting in your config, so I left that out.

SOCALTHERO SETTINGS.lua (851 Bytes)

1 Like

How does change siren tones in the menu work I’m trying to understand how to get that part to work and how does the extra integrations work?

So the menu can change your primary manual tone, secondary manual tone, and auxiliary tone. In addition, it can change if a tone is played by cycling using the default: R key, key only so only when the associated num row key is pressed or disabled all together.

All the additional tone configurations happens outside of that in SIRENS.lua where you can assign tones to vehicles.

In regards to extra integration that is an optional plugin that enables whelen command or fedsig blueprint like functionality. Basically you can have the vehicle toggle extras based on certain states (brakes applied, door open, horn, etc). More information can be found in the wiki to determine what plugins are right for you, your vehicles, and your community.

That makes so much more sense thank you!

How do I move where the hud is?