Skip to content

Releases: TrevorBarns/luxart-vehicle-control

[Release] Luxart Vehicle Control v3.2.9

01 Oct 21:41
Compare
Choose a tag to compare

Changelog

Base Resource

Features

  • Support for translation and multiple languages using QBCore Frameworks translation class. 🔤
  • HUD scale now saved on change, you no longer need to save profile for HUD scale changes. 💾
  • Improved resource start up time and overall efficiency. 🏃💨
  • Improved error handling and logging when no profile found 💻
  • New menu header image in preparation for LVC:Fleet release
  • Added beta version release notification option convar beta_checking in fxmanifest. 👨‍🔬

Changes

  • Support for prerelease / beta versioning using lua package semver for version comparison.
  • Corrected some out of date or unclear menu descriptions.

Bug Fixes

  • Finally fixed tone options failing to save / load properly. 🐛 🥳
  • Fix incorrect tone name being displayed when renaming aux and manual tones.
  • Silence NUI warnings for 'no property left' when moving / scaling HUD.
  • Empty copy profile menu when the only saved profile was the current. (0/1 menu items)
  • Trim tone strings larger than 33 characters when displayed during renaming to avoid running off dialog box.

Plugins

⚠️ All plugins from 3.2.8 on will require 3.2.9 for locale support, they are not backwards compatible.

Features

  • New header images for all plugins menus. 🖼️
  • Extra Controls: disable controls when shortcut menu is open.
  • Extra Controls: add controller support menu item to toggle controller keys. 🎮
  • Extra Integration: ability to enable out-of-vehicle EI state checking (useful for door + seat checking on entry)
  • Extra Integration: brake light support for non-emergency vehicles thanks to WolfKnight permission. Make sure to disable other brake light resources. 🚗

Changes

  • Plugins menu now displays all installed plugins, button is disabled based on respective plugin's masterswitch.
  • Plugins menu: improve background efficiency when main menu is closed.
  • Extra Integration: disable auto-park list when blackout mode enabled.

Bug Fixes

  • Extra Integration: incorrect blackout logic PR: #54 thanks to @nick-perry14 for your contribution.
  • Extra Integration: auto park mode menu description missing timer.
  • Extra Integration: fix broken brake trigger, typo in trigger key.
  • Extra Integration: auto park mode disable option not selectable.
  • Extra Controls: ec_masterswitch disabled causes storage to crash.

Attention SETTINGS.lua Changes:

Please add the following to /PLUGINS/Extra Integrations/SETTINGS.lua:

ei_run_out_of_vehicle = false
--  Continue running state checks when player is out of vehicle, only after EI vehicle was last driven. (this is necessary for proper seat / door check)
--		Disable this to improve runtime efficiency. (Default: Disabled / False)

⚠️ ALWAYS BACKUP LVC BEFORE UPDATING, SETTINGS FILES ARE NOT PRESERVED. ⚠️

Revisions

  • Rev1: Fix tone options not respected on siren activation, fixed false plugin update notification..
    • Effected Files: \UTIL\cl_lvc.lua, \UTIL\sv_lvc.lua

[Release] Luxart Vehicle Control v3.2.9 Beta

05 Sep 19:40
Compare
Choose a tag to compare

Changelog

Base Resource

Features

  • Support for translation and multiple languages using QBCore Frameworks translation class. 🔤
  • HUD scale now saved on change, you no longer need to save profile for HUD scale changes. 💾
  • Improved resource start up time and overall efficiency. 🏃💨
  • Improved error handling and logging when no profile found 💻

Changes

  • Support for prerelease / beta versioning using lua package semver for version comparison.

Bug Fixes

  • Finally fixed tone options failing to save / load properly. 🐛 🥳
  • Fix incorrect tone name being displayed when renaming aux and manual tones.
  • Silence NUI warnings for 'no property left' when moving / scaling HUD.
  • Empty copy profile menu when the only saved profile was the current. (0/1 menu items)
  • Trim tone strings larger than 33 characters when displayed during renaming to avoid running off dialog box.

Plugins

⚠️ All plugins from 3.2.8 on will require 3.2.9 for locale support, they are not backwards compatible.

Features

  • Extra Controls: disable controls when shortcut menu is open.
  • Extra Integration: ability to enable out-of-vehicle EI state checking (useful for door + seat checking on entry)
  • Extra Integration: brake light support for non-emergency vehicles thanks to WolfKnight permission. No need for another brake light resource. 🚗

Changes

  • Extra Integration: disable auto-park list when blackout mode enabled.

Bug Fixes

  • Extra Integration: incorrect blackout logic PR: #54 thanks to @nick-perry14 for your contribution.
  • Extra Integration: auto park mode menu description missing timer.
  • Extra Integration: fix broken brake trigger, typo in trigger key.
  • Extra Integration: auto park mode disable option not selectable.

Attention SETTINGS.lua Changes:

/PLUGINS/Extra Integrations/SETTINGS.lua:

ei_run_out_of_vehicle = false
--  Continue running state checks when player is out of vehicle, only after EI vehicle was last driven. (this is necessary for proper seat / door check)
--		Disable this to improve runtime efficiency. (Default: Disabled / False)

⚠️ ALWAYS BACKUP LVC BEFORE UPDATING, SETTINGS FILES ARE NOT PRESERVED. ⚠️

Revisions

  • Rev1: Fix bug in which LVC lights also turned on the vehicles default siren.
    • Effected Files: cl_lvc.lua
  • Rev2: Fix Extra Integration bug that caused brakelights to crash when ei_masterswitch was false.
    • Effected Files: extra_integrations/UTIL/
  • Rev3: Fix bug in which other players default siren is not muted.
    • Effected Files: cl_lvc.lua, sv_lvc.lua

[Release] Luxart Vehicle Control v3.2.8

16 Jan 20:30
Compare
Choose a tag to compare

Changelog

Base Resource

Features

  • Added chat command /lvcdebug to toggle debug_mode on the fly. 🕵️
  • Added new wildcard options: leading & trailing numbers and trailing numbers only. See wiki. 👨‍💻
  • Horn-on-Cycle option sounds default vehicle horn when siren tones are cycled. 🔊
  • Airhorn Behavior option determines when the airhorn vs vehicle default horn should be played. 🔈

Changes

  • Improved error handling (missing tone). 🩹
  • Improved console printing (prevent nil concatenations, decorated). 🕵️
  • Added check to attempt to prevent crash on failure to reach repo version.
  • Improved RageUI registered command for ease of access. Universal command: /rageui-lvc.
  • Added resource conflict check to notify users when Lt. Caines' 'lux_vehcontrol' was running with LVC. 👊
  • New generalized update profile function to reduce work with custom functions for every plugin.
  • Added check to hide manual / aux tones options when no tones assigned.
  • Moved SFX volumes to it's own menu for organization. 📄
  • Many, many bug fixes and code improvements. ✅

Bug Fixes

  • Failure to get correct next tone on tone disable. 🐛
  • Fixed bug that caused HUD location to not be saved just after moving as expected. 🐛

Plugins

⚠️ Latest version of plugins require LVC v3.2.8

Features

  • Extra Controls custom control menu. See wiki. 💯
  • Extra Controls KVP save/load functionality.
  • Complete rework of Extra Integration plugin to allow for multiple triggers to extras. See wiki. 🥳

Changes

  • Traffic Advisor added key lock functionality.
  • Extra Controls added key lock functionality.
  • Fixed problem that caused players not to close doors after they had been opened by LVC. 🚪
  • New generalized GetProfileFromTable function for plugin and base use.

⚠️ Attention SETTINGS.lua Changes:

New settings lines needed, please add the following lines under MAIN SIREN SETTINGS:

horn_on_cycle_masterswitch = true
--	Enables ability to toggle horn-on-cycle functionality. Setting this to false will not allow users to change from default behaviour this. 
horn_on_cycle_default = false
--	Default setting for horn-on-cycle functionality, when enabled your vehicles default horn is played when cycling sirens. (default: false)
airhorn_behavior_masterswitch = true
--	Enables ability to customize horn-on-cycle functionality. Setting this to false will not allow users to change from default behaviour this. 
airhorn_behavior_default = 4
--	Default setting for airhorn behavior: [1]-Disable Airhorn, [2]-Airhorn when lights are active, [3]-Airhorn when sirens active, [4]-Always use Airhorn. (default: 4) 

Revisions

  • Rev1: Fix bug that disabled radio for police vehicles regardless of radio_masterswitch
  • Rev1: Include notice of license in each source code file, and links to license in LVC and RageUI resource folders.

[Release] Luxart Vehicle Control v3.2.7 Beta

08 Jan 00:45
Compare
Choose a tag to compare

Changelog

Base Resource

Features

  • Added chat command /lvcdebug to toggle debug_mode on the fly. 🕵️
  • Added new wildcard options: leading & trailing numbers and trailing numbers only. See wiki. 👨‍💻
  • Horn-on-Cycle option sounds default vehicle horn when siren tones are cycled. 🔊

Changes

  • Improved error handling (missing tone). 🩹
  • Improved console printing (prevent nil concatenations, decorated). 🕵️
  • Added check to attempt to prevent crash on failure to reach repo version.
  • Improved RageUI registered command for ease of access. Universal command: /rageui-lvc.
  • Added resource conflict check to notify users when Lt. Caines' 'lux_vehcontrol' was running with LVC. 👊
  • New generalized update profile function to reduce work with custom functions for every plugin.
  • Added check to hide manual / aux tones options when no tones assigned.
  • Moved SFX volumes to it's own menu for organization. 📄
  • Many, many bug fixes and code improvements. ✅

Bug Fixes

  • Failure to get correct next tone on tone disable. 🐛
  • Fixed bug that caused HUD location to not be saved just after moving as expected. 🐛

Plugins

Features

  • Extra Controls custom control menu. See wiki. 💯
  • Extra Controls KVP save/load functionality.
  • Complete rework of Extra Integration plugin to allow for multiple triggers to extras. See wiki. 🥳

Changes

  • Traffic Advisor added key lock functionality.
  • Extra Controls added key lock functionality.
  • Fixed problem that caused players not to close doors after they had been opened by LVC. 🚪

⚠️ Reminder

This is a beta release, always make a backup and test thoroughly. You will need to transfer your SETTINGS files manually although most should be the same except Extra Integration and Extra Controls.

[Release] Luxart Vehicle Control v3.2.6

22 Oct 15:35
Compare
Choose a tag to compare

⚠️ Don't forget to backup settings files (both base & plugins) and siren configurations (SIRENS.lua).

Changelog

Base Resource

Features

  • HUD graphics improvements. 🎨
  • HUD day / night mode with backlighting and setting menu. 🎨
  • Trailer Support for basic siren lighting (see Trailer Support Plugin for more functionality) 🚜

Changes

  • Reduce redundant loop calls for HUD hiding.
  • Improved radio wheel and added menu option to disable radio wheel functionality.

Bug Fixes

  • RKM siren key activation reflected in HUD. 🐛
  • Crashing when certain plugins were not installed.
  • Audio scheme setting reset after restart.
  • F5 key blocked accidently by LVC.
  • Audio volume slider preview keys fixed. 🔈

Plugins

Features

  • Trailer Support plugin released.
  • Extra Controls plugin released.
  • Traffic Advisor HUD display. 🚨
  • Wildcard profiles for plugins.

Changes

  • Disable traffic advisor keys when menu is open.
  • Move common functions (eg. FixOversizeKeys) to base UTILs for simplicity.
  • Improved error handling and warning messages.

[Release] Luxart Vehicle Control v3.2.5 Beta Revision 1

11 Aug 16:12
5bb1a5b
Compare
Choose a tag to compare

Changelog

Base Resource

Features

  • HUD graphics improvements. 🎨
  • HUD day / night mode with backlighting and setting menu. 🎨
  • Trailer Support for basic siren lighting (see Trailer Support Plugin for more functionality) 🚜

Changes

  • Reduce redundant loop calls for HUD hiding.
  • Improved radio wheel and added menu option to disable radio wheel functionality.

Bug Fixes

  • RKM siren key activation reflected in HUD. 🐛

Plugins

Features

  • Trailer Support plugin released (wiki coming soon)
  • Extra Controls plugin released (wiki coming soon)
  • Traffic Advisor HUD display 🚨
  • Wildcard profiles for plugins.

Changes

  • Disable traffic advisor keys when menu is open.
  • Move common functions (eg. FixOversizeKeys) to base UTILs for simplicity.

Revisions

  • Rev1: Bugfix access nil table when Traffic Advisor plugin not installed

[Release] Luxart Vehicle Control v3.2.4 Revision 1

11 Aug 15:12
Compare
Choose a tag to compare

Bulletin

⚠️ For 3.2.2 and older users: This update requires manual transfer of SETTINGS.lua or addition of lines below at top. Sorry for any inconvenience.

--------------------COMMUNITY ID-------------------
community_id = ''
--	Sets a prefix for saved values at the user end, without this people who play on multiple LVC server could face conflicts. **Once set DO NOT CHANGE. It will result in loss of data for end users.**
--		I recommend something short (4-6 characters) for example a community abbreviation. SPACES ARE NOT ALLOWED.

⚠️ LVC Resource Name Requirement
v3.2.4 on REQUIRES LVCs resource folder to be named 'lvc' instead of the default 'lux_vehcontrol_full'. This preserves end user experience for profile (KVP) save / loading.

Changelog

See ⬇️ 3.2.3 Beta release notes ⬇️ for all changes related to this stable release.

Bug Fixes since Beta

  • Fix bug that caused script crashing in rare occurrences. (nil newstate calls)

Revision 1

Incorrect event names for cl_lvc.lua events. Corrected.

[Release] Luxart Vehicle Control v3.2.3-beta-rev1

31 Mar 06:41
Compare
Choose a tag to compare

Bulletin

⚠️ This update requires manual transfer of SETTINGS.lua or addition of lines below at top. Sorry for any inconvenience.
--------------------COMMUNITY ID-------------------
community_id = ''
-- Sets a prefix for saved values at the user end, without this people who play on multiple LVC server could face conflicts. Once set DO NOT CHANGE. It will result in loss of data for end users.
-- I recommend something short (4-6 characters) for example a community abbreviation. SPACES ARE NOT ALLOWED.

⚠️ LVC Resource Name Requirement
v3.2.3 on REQUIRES LVCs resource folder to be named 'lvc' instead of the default 'lux_vehcontrol_full'. This preserves end user experience for profile (KVP) save / loading.

Changelog

Base Resource

Features

  • Resource name update & requirement 💾 📛
  • Community ID to differentiate servers save files, which may have overlapping profiles for multi-server players. (Required) 💾
  • Improved HUD position saving PR #21 by @DawsonGodin 💾
  • Wildcard profiles. See wiki for more info. 🔥

Changes

  • Fire siren name to match vanilla RPF PR #20 by @arkhunter623
  • Improved debugging, error, warning message readability and behavior.
  • Combo key disable behavior, false now means disable instead of '-1'
  • Event names to follow new convention outlined in CONTRIBUTING

Bug Fixes

  • Radio not being turned off on fast vehicle spawn.
  • HUD syncing for Park-kill.
  • Reset function not clearing "load from" profiles table.
  • Other bug fixes & improvements

Plugins

Features

  • Traffic Advisor Plugin PR #21 by @DawsonGodin 🔥
  • REV1: Fix EI -> TA function call in Traffic Advisor Plugin

[Release] Luxart Vehicle Control v3.2.2

13 Mar 21:05
Compare
Choose a tag to compare

⚠️ This update requires manual transfer of SETTINGS.lua. Sorry for any inconvenience.

Base Resource

  • New HUD design 💯
  • New plugins support, by default take-downs are no longer included, please refer to wiki for more information. 🔥
  • New 'copy profile' feature that can load settings from other vehicles profiles. 💾
  • Debug mode now prints vehicles game name when using default profile. 💻
  • Hold-to-activate ' ` / ~ ' radio wheel. Combo key removed. ⌨️
  • Removed hotkeys ( Y / , / . ) ⌨️
  • Bug fixes 🐛
  • Miscellaneous improvements ⬆️

Plugins

  • Take-down and Extra Integration (beta) included
  • Removed ability for end users to toggle takedown plugin integration to reduce player discrepancies.

[Release] Luxart Vehicle Control v3.2.1

03 Mar 17:47
Compare
Choose a tag to compare
  • Bug fixes 🐛
  • Miscellaneous improvements
  • Additional configuration options added 📄
    • Park kill master switch & default
    • Air horn interrupt master switch & default
    • Reset to standby master switch & default

⚠️ Updating from 3.2.1 from 3.2.0 requires manual transfer of SETTINGS.lua. SIRENS.lua can be transferred without conflict.