Skip to content
View in the app

A better way to browse. Learn more.

LCPDFR.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

GTA V Lighting Pattern Carcols Command Line Testing Tool 1.0.0

(1 review)

This is a little RPH command line tool I put together to utilize the new ELS-like features in RPH 0.47 that allow dynamic modifications of a vehicle's siren settings. Basically, you can modify the sequence, speed, direction, etc. of any siren on any vehicle, can apply any siren audio to any vehicle, etc. I've also added some commands to quickly enable you to enable only one siren at a time, or to cycle through all of the sirens with only one on at a time, to help you focus in on one part of your vehicle without distraction, or to see which sirens are where on a vehicle. 

Requires RPH 0.47+ and knowledge of carcols editing. This is a very very quick and simple plugin, designed to help out with testing new carcols settings. It's not meant for general use as an ELS type plugin. I will not be providing any support for it. It's simply here for you to use if you might find it useful or interesting. 

Due to a bug in RPH 0.47, it's not currently possible to clone and edit added sirensettings (e.g. siren settings above 13). You will need to use one of the default sirensettings slots to edit your patterns. 

The commands should be fairly self-explanatory if you're familiar with carcols editing. Just type "help" into the RPH console to see all the commands (Press F4 to open the console). 

User Feedback

Recommended Comments

Deactivated Member

Deactivated

@PNWParksFan So, this allows you to basically edit the carcols in-game and watch them? Is it simplified or is it shown exactly as the raw text from the carcols?

Techengage

Members

@PNWParksFan I have the exact same question as Lundy.

Also, is this "bug with RPH 0.47" also a problem with 0.45? I utilize sirensettings=14-20 with Custom Visuals, so this wouldn't be much help if I can't use it for custom additions.

Aquamenti

Members

2 hours ago, Techengage said:

@PNWParksFan I have the exact same question as Lundy.

Also, is this "bug with RPH 0.47" also a problem with 0.45? I utilize sirensettings=14-20 with Custom Visuals, so this wouldn't be much help if I can't use it for custom additions.

The emergency lights developer assets that this plugin is probably based on were only first included with 0.46.

PNWParksFan

Insiders Author

2 hours ago, Lundy said:

@PNWParksFan So, this allows you to basically edit the carcols in-game and watch them? Is it simplified or is it shown exactly as the raw text from the carcols?

Not sure what you mean by "is it simplified". There's about a dozen console commands, in the form of e.g. SetLightFlashSequence(light_id, sequence). So for each command you specify the siren id you want to change and the new value. It's not like you directly paste in a bunch of XML if that's what you're asking. 

2 hours ago, Techengage said:

@PNWParksFan I have the exact same question as Lundy.

Also, is this "bug with RPH 0.47" also a problem with 0.45? I utilize sirensettings=14-20 with Custom Visuals, so this wouldn't be much help if I can't use it for custom additions.

This plugin will ONLY work with RPH 0.47. the emergency lighting API was added in 0.46 but had a bug that restricted you to only being able to edit the headlights/taillights. The bug in 0.47 does mean your 14-20 carcols won't work with it. You'll need to overwrite one of the default slots for testing, then once satisfied you can move it back to the custom slot. Overwrite an infrequently used a lot like the fire truck or lifeguard truck lights. 

Deactivated Member

Deactivated

18 minutes ago, PNWParksFan said:

Not sure what you mean by "is it simplified". There's about a dozen console commands, in the form of e.g. SetLightFlashSequence(light_id, sequence). So for each command you specify the siren id you want to change and the new value. It's not like you directly paste in a bunch of XML if that's what you're asking.

That's what I meant. Sorry, I'm not familiar with the setup ragehook has given for carcols editing.

PNWParksFan

Insiders Author

20 minutes ago, Lundy said:

That's what I meant. Sorry, I'm not familiar with the setup ragehook has given for carcols editing.

No problems, that's what this plugin is for so you don't have to mess with the RPH API directly. Give it a try, I think it's pretty easy to figure out once you install it. 

Techengage

Members

49 minutes ago, PNWParksFan said:

Not sure what you mean by "is it simplified". There's about a dozen console commands, in the form of e.g. SetLightFlashSequence(light_id, sequence). So for each command you specify the siren id you want to change and the new value. It's not like you directly paste in a bunch of XML if that's what you're asking. 

This plugin will ONLY work with RPH 0.47. the emergency lighting API was added in 0.46 but had a bug that restricted you to only being able to edit the headlights/taillights. The bug in 0.47 does mean your 14-20 carcols won't work with it. You'll need to overwrite one of the default slots for testing, then once satisfied you can move it back to the custom slot. Overwrite an infrequently used a lot like the fire truck or lifeguard truck lights. 

Great point. I'll definitely be trying this one out for my next update. Thank you very much :thumbsup:

Deactivated Member

Deactivated

2 hours ago, PNWParksFan said:

No problems, that's what this plugin is for so you don't have to mess with the RPH API directly. Give it a try, I think it's pretty easy to figure out once you install it. 

Does your tool allow me to add my own lines into it? So lets say I put in sirensetting 17 and edit each siren to what I wish. Is that possible with it? Or does it only edit existing sirens?

PNWParksFan

Insiders Author

1 hour ago, Lundy said:

Does your tool allow me to add my own lines into it? So lets say I put in sirensetting 17 and edit each siren to what I wish. Is that possible with it? Or does it only edit existing sirens?

Unfortunately due to the aforementioned bug in RPH 0.47 you would not be able to edit sirensetting17. You need to start with a vehicle that has one of the default 1-13 sirensettings applied to it. From there, you can edit each of the sirens. 

At this time there's no way to export your changes, but eventually I'll add more features to allow that. 

Techengage

Members

4 hours ago, PNWParksFan said:

Unfortunately due to the aforementioned bug in RPH 0.47 you would not be able to edit sirensetting17. You need to start with a vehicle that has one of the default 1-13 sirensettings applied to it. From there, you can edit each of the sirens. 

At this time there's no way to export your changes, but eventually I'll add more features to allow that. 

Is there a possibility of changing from console commands to a GUI? I know this is asking a whole lot, but it's always worth asking!

PNWParksFan

Insiders Author

1 hour ago, Techengage said:

Is there a possibility of changing from console commands to a GUI? I know this is asking a whole lot, but it's always worth asking!

No. This is a small, simple script I threw together quickly to test out the new features. Unless someone wants to hire me to do it for them, I haven't the time nor interest in developing a GUI for it. If somebody else wants to make a GUI for it I'm happy to share my code with them, although TBH it's just itsy-bitsy command line wrappers around the new RPH methods. 

Sethy1124

Members

Where are the edited carcols saved, I am trying to export them.

PNWParksFan

Insiders Author

5 hours ago, Sethy1124 said:

Where are the edited carcols saved, I am trying to export them.

They don't get saved, it's just for testing purposes. You need to keep track of what you entered. Maybe in the future I will make a version which can export. 

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.