This feature is added in most recent release.
Update v1.4.0
Whatâs New
- ULC config file generator
- Re-factored most features
- New method for handling auto repair (now works perfectly for all features!)
- Fixed various bugs with brake extras
- Vehicles now automatically sync park patterns with others of the same model (when sync is enabled)
- Fixed an issue preventing cruise lights from properly disabling when lights are on
- Buttons will now properly always sort themselves on the UI by key
- Added various helpful errors and warnings
Notes on auto-repair
I added a new method to disable vehicles automatically repairing when an extra changes.
- Vehicles do not repair when an extra is changed with ULC
- Syncs across network (no one else will see your vehicle repair when ULC changes an extra)
- Manually adding extras with menus still repairs vehicles (this syncs to all clients as well)
Iâm very happy with the new system, and it seems to work flawlessly so far!
ulc.lua Config Generator
The new ulc.lua generator allows you to quickly and easily generate ulc.lua files without the risk of syntax errors!
Visit https://ulc.dwnstr.com/ to check it out!
Full Changelog: Comparing v1.3.5...v1.4.0 ¡ Flohhhhh/ultimate-lighting-controller ¡ GitHub
Update v1.6.0
Whatâs New
- Fully redone UI and HUD
- Client settings, including positioning the HUD, and disabling the HUD.
- Colored buttons
- Repair workaround option on stage buttons for extras with collisions
- ULC now properly activates if you change from another seat to the driver seat.
UI OVERHAUL
ULC now features a more realistic HUD, as well as a interactive settings menu! Enjoy!
Colored Buttons
Buttons can now have a color field!
Currently available colors:
- Green
- Blue
- Amber
- Red
Config Change
Stage buttons will now accept a color field.
{label = 'STAGE 2', key = 5, extra = 8, color = 'green', linkedExtras = {}, oppositeExtras = {}, offExtras = {9}, repair = false},
This is not mandatory. You do not need to update your existing configs unless you want to use this feature.
Repair Force for Stages
Stage buttons can now be set to repair the vehicle when toggled. This is important for any extras that are high-poly or have collisions. The ideal way to deal with this is to not include collisions in your lighting extras, but in the case that you have them, setting repair to true will resolve this.
These stages cannot be changed while the vehicle is damaged or while a door is open.
Config Change
Stage buttons will now accept a repair field.
{label = 'STAGE 2', key = 5, extra = 8, color = 'green', linkedExtras = {}, oppositeExtras = {}, offExtras = {9}, repair = false},
This is not mandatory. You do not need to update your existing configs unless you want to use this feature.
Full Changelog: Comparing v1.5.0...v1.6.0 ¡ Flohhhhh/ultimate-lighting-controller ¡ GitHub
Update v1.6.1
Whatâs New
- Added door extras!
- Fixed an issue where HUD would always be disabled the first time a client loads the resource
- Added a 2 second delay to park patterns
- Fixed an issue where park pattern sync would enable sirens on cars which did not already have them on
- Added a prompt to use
/ulc
on the first load of the resource.
Door extras
ulc.lua
configs can now accept door extras!
Door extras can enable or disable an extra while doors or the trunk are open.
Config Change
doorConfig = {
useDoors = false
driverSide = {enable = {}, disable = {}},
passSide = {enable = {}, disable = {}},
trunk = {enable ={}, disable = {}}
},
This is not mandatory. You do not need to update your existing configs unless you want to use this feature.
Full Changelog: Comparing v1.6.0...v1.6.1 ¡ Flohhhhh/ultimate-lighting-controller ¡ GitHub
planing to make els version?
No, the whole point of this is to bring ELS functionality to Non-ELS
sorry for the question but since it requires extras as lights to work, will this work with els vehicles?
No, this is to make Non-ELS work like ELS.
ah alright thanks
Update v1.6.2
Bug Fixes
- Fixed door extras not working after driver exited vehicle
- Fixed an issue causing default stages to not trigger repairs for stages that need it
- Fixed an issue causing buttons to not properly apply repair to linked extras, opposite extras, etc.
- Fixed a bug causing default stages to trigger when entering vehicle (even if light state didnt change)
- Fixed a bug causing brake extra event to always fire (just a tiny performance improvement)
- Hid some errors that actually donât matter
Full Changelog: Comparing v1.6.1...v1.6.2 ¡ Flohhhhh/ultimate-lighting-controller ¡ GitHub
Update v1.6.3
This is a bug fix release. See the latest full release for more details about the latest changes.
Bug Fix
- Fixed a bug that allowed control of lights while not in the vehicle
Full Changelog: Comparing v1.6.2...v1.6.3 ¡ Flohhhhh/ultimate-lighting-controller ¡ GitHub
Sorry I am a bit confused. So if my vehicle doesnât have extraâs for lights (enabling extras enables certain lights) the ULC system would not work for me?
If so then is there any possible way to make my vehicles work with this system (such as editing something in the vehicle) or not?
Correct the script is based on toggling extras. If the extras arenât there it canât interact with them.
This is not a new thing though people have made vehicles like this for a long time.
Can you all add support for modkits?
I did consider it but I donât really know how they work. If someone would like to help with it I would be down to add it though!
are there any known car packs using this with light setups configured?
This sort of use of extras has been a thing for a while now. I remember using a pack more than 4 years ago that would have worked great with this, they might just be tough to find.
There are a few packs and vehicles posted in the Discord server as well that are newer.
so there are packs on your discord? can you dm an invite, this is dope but want to find something setup for it!
Update v1.7.0
Whatâs New
- Added ability to disable extras with brakes (rather than only enable)
- Added
/blackout
command - Moved to
onesync
for load state management (more reliable)
Disable extras on brake
ulc.lua
configs can now accept extras to disable in the brake section along with enabling extras!
Config Change
disableExtras
field has been added to brakeConfig
brakeConfig = {
useBrakes = false,
speedThreshold = 3,
brakeExtras = {},
disableExtras = {}
},
This is not mandatory. You do not need to update your existing configs unless you want to use this feature.
Bug Fixes
- Fixed a bug causing
GetVehicleCurrentGear: No such entity
to spam in the console.
Full Changelog: Comparing v1.6.2...v1.7.0 ¡ Flohhhhh/ultimate-lighting-controller ¡ GitHub
Game crashes whenever vehicle is spawned⌠Any fixes??