Jump to content

LiveLights - siren setting live editor 1.1

Edit carcols settings LIVE in game, and export a meta file automatically
   (3 reviews)

6 Screenshots

This is a RagePluginHook plugin for single-player GTA V. It enables users to view and modify all siren setting parameters live in game and import/export carcols.meta files.

You must have RagePluginHook version 98 or later. You can download RPH bundled with LSPDFR or from the RPH Discord server.

 

This plugin is primarily intended as a tool for vehicle developers to create and modify siren settings. Users are welcome to use it to look around and try out making their own custom sequences, but it is not intended as a general-use siren controller. 

 

If you use this mod to make something cool, please mention this mod in your readme or credits file, and link to this page. Feel free to send me a link to your mod when it's released so I can see what you created using this plugin! If you found this plugin particularly useful, you can donate to me to support my development projects and get member-exclusive benefits. 


Quick feature overview and user guide:

  • Configure carcols.meta and carvariations.meta for your vehicle(s) and load your initial carcols settings
  • Launch the game with LiveLights installed
  • Open the RPH console and type `LoadPlugin LiveLights.dll` to load the plugin if it isn't set to load automatically
  • Spawn a vehicle you want to work on
  • Open the LiveLights menu (`-` key on the main keyboard by default)
  • The menu will show the default siren setting name for the current vehicle. You can switch to a different siren setting from the menu if you want.
  • Any siren setting defined in any carcols.ymt/carcols.meta file is not editable in game. You can only edit cloned copies which are created temporarily in memory. Clicking into the Edit Siren Settings menu will automatically create an editable clone of the currently selected siren setting. Once an editable clone has been created, any changes you make to it will only apply to that cloned setting; they will not affect the original version. You can set any individual vehicle to use the cloned copy by selecting it through the menu, but any newly spawned vehicle will use its default, unedited siren setting when spawned. 
  • Any changes you make in the Edit Siren Settings menu will immediately be applied to all spawned vehicles which have been set to use that clonsed siren setting.
    • Within the main menu you can change all settings which apply to the overall siren setting entry (e.g. BPM, falloff settings, etc.)
    • There are submenus to edit settings for each individual siren (1-20). The siren submenus siren-specific settings, and have further submenus for corona, flashiness, and rotation settings. 
    • There are separate submenus for headlight and taillight settings. 
    • There is a sequence quick-edit menu which allows you to change the flashiness sequence for all sirens, plus headlights and taillights, from a single menu without having to switch between siren submenus. 
    • You can use the Copy menu to copy settings between sirens within one settings instance, or to copy between different settings instances. Select dynamically whether to copy everything or only certain properties.
  • When you are finished configuring your siren setting and are satisfied with the results, you can click the Export item on the Edit Siren Settings menu to export that individual setting, or you can use the Export menu from the main menu to select multiple settings to export to a single file.
    • You will be prompted for a file location. If you just enter a filename, the setting entry currently being edited will be saved to GTA V\Plugins\LiveLights\carcols\<selected_filename>. If you enter a path relative to the GTA root folder, your file will be saved to that path, e.g. LML\police-pack\data\new-carcols.meta. You can also enter an absolute path and the file will be saved to that exact location even if it is not within the GTA V folder, e.g. C:\GTA V\mods\police\carcols-2.meta
    • You can set the siren ID on each edited siren setting as you make changes. This only affects the siren ID that will be exported; it does not do anything in-game, and nothing prevents you from exporting multiple settings with the same ID (which you should probably avoid).
    • If you do not specify a siren ID it will be exported as 0 by default. You will need to edit the siren ID to the value you wish to use in your carcols.meta/carvariations.meta. See info below regarding important notes on siren setting ID limitations. 
    • The exported file will be a fully valid carcols.meta file and can be used directly in a DLC, LML package, or FiveM resource. 
  • All changes will be lost when you exit the game. Make sure to export any savings you want to keep, and add those exported savings to a carcols.meta file which will get loaded by the game. 

 

Siren Setting ID limit:

GTA V has a hard-coded limit of 255 siren setting IDs in the game. Siren setting IDs over 255 can be entered in carcols.meta, but will overflow and be converted to a number between 0-255, which may conflict with other mods. 

 

SirenSetting Limit Adjuster:

It is strongly recommended to install the SirenSetting Limit Adjuster (SSLA). This raises the siren setting ID limit to 65535, and increases the per-vehicle siren 
limit from 20 sirens to 32 sirens. LiveLights automatically detects if SSLA is installed and how many sirens are supported by your game. If SSLA is installed, you can choose to export carcols.meta files with only 20 sirens, or up to 32 sirens. Select this in the export menu.

 


Acknowledgements:

Thank you to @LMS and @MulleDK19 for adding support for siren editing to the RPH SDK. 

Thanks to @alexguirre for related research, and for developing RageNativeUI

Thanks to @cp702 for developing the SirenSetting Limit Adjuster

 

Thank you to all members of the Parks Benefactor Program, whose generous donations enable me to push modding GTA V to new heights. Special thanks to all of the current Old Faithful level donors for your especially generous contributions: jmoney545, elvismowery6, LeoTheSkunk, EmergeNYC, Snipes19802, Kmiller96, d.hausauer, mrniko8803

Edited by PNWParksFan


What's New in Version 1.1

Released

  • Updated dependencies for RPH 1.109
  • Replaced Reflection method for accessing Siren Setting ID with direct getter
  • Improved menu toggle keybind behavior
  • Improved export menu behavior
  • Minor code cleanup and readme typo fixes
Developed by PNWParksFan

Special thanks to...
- LMS and MulleDK: for implementing and maintaining support for the EmergencyLighting SDK in RagePluginHook.
- alexguirre: for siren settings research and RageNativeUI
- cpast: for creating the SirenSetting Limit Adjuster

Optimized for

  • SirenSetting Limit Adjuster

    For more and more varied sirens
    cp702

    By cp702

    Updated

    • 165.4k
  • You may also like

  • 2002 Chevy Tahoe (Fictional Livery)

    I cant say what I want here...
    Average Police Enthusiast

    By Average Police Enthusiast

    Updated

    • 107
  • Emergency uniforms pack - Serve & Rescue

    EUP - Serve & Rescue is an addition to the regular EUP apparel that contains a plethora of outfits for the various non-LEO agenc
    Alex_Ashfold

    By Alex_Ashfold

    Updated

    • 1.6m
  • Los Santos Police Department Mega Pack [ELS]

    Hi ladies. So now that ScriptHook has updated it's release time. This is a pack I have been working on for the better part of the last month in a half, and I am actually very proud of it. The pack is based on Fort Worth, but the actual cars are not accurate to those, just the liveries, window templates, and lightbar are equal to Fort Worth and some of the pushbar setups. The pack comes with 13 different vehicles ranging from SUVs like FPIUs and Tahoes, Pickup trucks like Silverados and Sedans li
    t0y

    By t0y

    Submitted

    • 647.8k
  • EUP Menu

    EUP Menu is a carefully-built menu for the popular Emergency Uniforms Pack modification.
    PieRGud

    By PieRGud

    Updated

    • 2.7m
  • Emergency Lighting System

    Emergency Lighting System V brings one of the most popular modifications ever created for a GTA title (ELS-IV) to Grand Theft Auto V. ELS-V will add a whole new dimension to  your patrols. With a fresh look and many more features than its predecessor, it's also sure to brighten up your game and satisfy the emergency lighting enthusiast in anyone.   DESCRIPTION − ELS provides an alternate and incredibly in-depth way of controlling emergency vehicle lights and sounds. − ELS requires
    Lt.Caine

    By Lt.Caine

    Updated

    • 4.4m
  • SuperCallouts

    SuperCallouts - 38 new detailed and uniform callouts.
    SuperPyroManiac

    By SuperPyroManiac

    Updated

    • 1.5m
  • User Feedback

    You may only provide a review once you have downloaded the file.


    Gelse16

    · For current version

       1 of 1 member found this review helpful 1 / 1 member

    i'm, sure i've rated this one already - where have all the reviews gone to????

    very easy and selfexplaining tool. it's very simple so you wouldn't experience any performance impact at all.

    why you should use it? because you don't have to play around with carcols forever. just open it while in car and edit the lights to your own likings, adapt it to your graphic settings, everything what's possible in gta. it saves you sooooo much time and you'll see how affect changes instantly during gameplay and take further changes if it doesn't fit to you. i'm using it from the very beginning and i have never been disappointed. you just couldn't adjust emergency lights easier. especially when you got 5m or replace cars to change in dlc cars. save it and you can literally copy and paste and have your carcols file ready to go.

    outstanding and amazing job when i think about how much time it has already saved for me. keep up the good work and thx for sharing!!👍

    i love it! 😍

    Link to review
    Reddington

    · For current version

       1 of 1 member found this review helpful 1 / 1 member

    This is a damn LIFESAVER!  I have never enjoyed non-ELS due to how tedious and confusing it was to muck about in the carcols.  After asking a buddy for some help in figuring out how to use this plugin, it works like a charm and is SUPER simple once things are explained.  This is definitely a must have plugin for people who enjoy having their own patterns.

    Link to review
    RCrw notik

    · For old version 1.0

      

    it’s a really good idea, thanks for this nice work, it makes it so much more pleasant to set its lights live, just perfect 👍

    Link to review
    ×
    ×
    • Create New...