ULC is an all-in-one lighting controller for Non-ELS vehicles in FiveM! It uses the extra-based lighting stages on your vehicles and adds extra automation and improvements to create amazing, realistic, and fully-configurable lighting controls.
This resource is intended for use by vehicle developers or vehicles that already have lighting stages via extras, it cannot add park patterns to any random vehicle. The patterns you see in the video above is just an example.
Compatibilty
Works with all version of Luxart Vehicle Control, you just need to mute light beeps
I just used an old car I had laying around from a while ago to test.
Only vehicles that have extras with lights can be used with this.
Hopefully developers will start creating vehicles that are shipped with a ULC config file soon!
You can ask developers to setup their vehicles with ULC if they already have lighting extras as well.
Thatâs awesome! For the ulc.lua, if the vehicle resource has multiple different vehicles/setups, can the single resource ulc.lua contain multiple different vehicle entries? The documentation seems to suggest that it can, but didnât outright show that I can add a comma and then add another vehicle entry. Thanks!
i have this script in stalled but i do have a small error im not sure what i missed could anyone help me? the error on my console says this:
[ script:ulc] Error loading âulc.luaâ file. Make sure it is at the root of your resource or in the âdataâ folder.
[ script:ulc] SCRIPT ERROR: @ulc/server/s_main.lua:196: attempt to call a nil value (global âfâ)
but i do have the ulc.lua file inside the vehicles data .
Stage buttons can now have âLinked Extrasâ that will toggle to match the state of the primary extra
Config Changes
Buttons can now accept a linkedExtras={} field. Extras specified in this field will toggle to match the state of the primary extra when the button is pressed.
New button structure:
Configurations can now accept multiple names for vehicles that share the same settings
Brake extras now function as real brakes, staying on when the vehicle is stopped (optional)
Improved loading state awareness, onesync is no longer required and itâs more stable
Added reverse extras
Steady burns and now de-activate when lights are turned on
Un-globbed the fxmanifest
Added unused code for reminder beeps (coming soon)
Config Changes
Brake Extra Changes
The brakeExtras section in the config.lua is now empty. The speedThreshold value has been moved to the vehicle configuration. This is backwards compatible, old ulc.lua configurations do not need to be updated.
There is a fix for the repair limitation pushed to the repository. Download the code directly via zip instead of a release to test it out. Let me know how it goes : D
Note: the fix only applies to some features to save on stability and network performance