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.

[Research/WIP] Custom Light Patterns through carcols.ymt

Featured Replies

  • Author
1 hour ago, Ranger61 said:

I look forward to some kind of tutorial explaining the steps. @Captain14 first post is a nice start. Also, how did you see that number sequence. I still don't see 010101, etc That sound like some Dr. Harry Adams (Samuel L. Jackson's character in the movie Sphere) type skills. :D

0 is off, 1 is on. It's a 32 bit unsigned integer and the sequence of bits determines the flash pattern. So 0101 would be off, on, off, on. You can totally customize these settings and the game will cycle through the pattern you give it X times per minute (sequencerBpm value).

  • Replies 596
  • Views 185.6k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • We've been busy working on patterns per vehicle (no longer limited to per model) as well as giving you the ability to change them at runtime. Soon in RAGE Plugin Hook. Some background info: http://blo

  • testing messages board using 3 siren nodes:  

  • Deactivated Member
    Deactivated Member

    I've made a carcols a while back that just seems to work really well on pretty much any car you throw it on. Here's a demo of it on my Kansas cars, no edits were done to the cars.  If a

Posted Images

4 minutes ago, Captain14 said:

0 is off, 1 is on. It's a 32 bit unsigned integer and the sequence of bits determines the flash pattern. So 0101 would be off, on, off, on. You can totally customize these settings and the game will cycle through the pattern you give it X times per minute (sequencerBpm value).

Awesome... I'll have to see what I can come up with.

 

 

#FuckyouTakeTwo

oppd.png

  • Author

Okay so I've done a little bit more research and also tested out a few other flash patterns.

  • It is possible to enable environmental lighting for coronas (visible in video). You have to set the "light" value to true to enable it.
  • I do not yet know if it is possible to enable environmental lighting without using coronas. I am going to further research this.
  • All lights seem to be placed into two groups (0 and 1), I am not yet sure what these groupings determine.
  • "delta" and "start" values under the flashiness section determine the rotation of the light mesh and corona when active. 
  • You can change how much the sirens scale when enabled.

Here is another quick demo video. I played around with the explorer a little and altered the flash patterns some more: 

The valor is using siren7 and siren8. The rear window lights are using siren2 and siren5. The grille lights are using siren15 and siren16. The front strobes are using two sirens each in this video (sirens 1, 6, 19, and 20) but I will be reducing this to 2 by rotating 19 and 20. The traffic advisor is again an extra using siren9 and siren10. Finally, the rear taillight strobes are not using the default taillight flashing system but are using siren3 and siren4.

You can see in the video that the lights with visible coronas (corner strobes) are environmental. Coronas are currently hidden for my other lights but can be added easily. In the video you may notice that the left taillight strobe seems buggy; I believe this is due to my not-so-great graphics settings.

 

More research soon to come.

Spoiler
48 minutes ago, Captain14 said:

Okay so I've done a little bit more research and also tested out a few other flash patterns.

  • It is possible to enable environmental lighting for coronas (visible in video). You have to set the "light" value to true to enable it.
  • I do not yet know if it is possible to enable environmental lighting without using coronas. I am going to further research this.
  • All lights seem to be placed into two groups (0 and 1), I am not yet sure what these groupings determine.
  • "delta" and "start" values under the flashiness section determine the rotation of the light mesh and corona when active. 
  • You can change how much the sirens scale when enabled.

Here is another quick demo video. I played around with the explorer a little and altered the flash patterns some more: 

The valor is using siren7 and siren8. The rear window lights are using siren2 and siren5. The grille lights are using siren15 and siren16. The front strobes are using two sirens each in this video (sirens 1, 6, 19, and 20) but I will be reducing this to 2 by rotating 19 and 20. The traffic advisor is again an extra using siren9 and siren10. Finally, the rear taillight strobes are not using the default taillight flashing system but are using siren3 and siren4.

You can see in the video that the lights with visible coronas (corner strobes) are environmental. Coronas are currently hidden for my other lights but can be added easily. In the video you may notice that the left taillight strobe seems buggy; I believe this is due to my not-so-great graphics settings.

 

More research soon to come.

 

Wow, this almost replicates an ELS pattern. That's awesome!

"Please, put it in park, will ya?" "LSPD, see the lights, pullover." "Stop the vehicle, we need to have a little chat!" "Get in the car and keep your mouth shut." "You have the right to absolutely nothing." "The damn gun is jammed!"

Falloff values allow you to set the lights to reflect off objects much further. Short video I made here, you can see the light reflect off the buildings and tree. I set "lightfalloffMax" and "lightfalloffExponent" to a value of 80.

Why would Rockstar have such low falloff values is beyond me, default is very unrealistic and there appears to be no performance issues.

 

Edited by grimdar

1 hour ago, grimdar said:

Falloff values allow you to set the lights to reflect off objects much further. Short video I made here, you can see the light reflect off the buildings and tree. I set "lightfalloffMax" and "lightfalloffExponent" to a value of 80.

Why would Rockstar have such low falloff values is beyond me, default is very unrealistic and there appears to be no performance issues.

 

Woah! That's awesome! 

Do you know whether Non-Corona Vehicles would be helped? 

 

 

#FuckyouTakeTwo

oppd.png

1 hour ago, thegreathah said:

Woah! That's awesome! 

Do you know whether Non-Corona Vehicles would be helped? 

I think they have to use coronas. However, now that this file has been blown apart, I can't imagine why car modders wouldn't use it to their advantage and create corona enabled light with custom patterns. We'll be dealing with this particular file a lot now with most vehicle downloads now I imagine. 

I'm personally looking forward to more strobe-like patterns and not the LED christmas type lights. 

1 minute ago, grimdar said:

I think they have to use coronas. However, now that this file has been blown apart, I can't imagine why car modders wouldn't use it to their advantage and create corona enabled light with custom patterns. We'll be dealing with this particular file a lot now with most vehicle downloads now I imagine. 

I'm personally looking forward to more strobe-like patterns and not the LED christmas type lights. 

Yeah, me too, will be really nice to get realistic lighting patterns...

 

 

#FuckyouTakeTwo

oppd.png

2 hours ago, thegreathah said:

Woah! That's awesome! 

Do you know whether Non-Corona Vehicles would be helped? 

Unfortunately without coronas there can be no environmental lighting. 

 

1 hour ago, grimdar said:

I think they have to use coronas. However, now that this file has been blown apart, I can't imagine why car modders wouldn't use it to their advantage and create corona enabled light with custom patterns. We'll be dealing with this particular file a lot now with most vehicle downloads now I imagine. 

I'm personally looking forward to more strobe-like patterns and not the LED christmas type lights. 

Have you tried playing around with these values yet?

<lightInnerConeAngle value="0.00000000"/>

<lightOuterConeAngle value="25.60130000"/>

2 minutes ago, densup said:

Unfortunately without coronas there can be no environmental lighting. 

 

Have you tried playing around with these values yet?

<lightInnerConeAngle value="0.00000000"/>

<lightOuterConeAngle value="25.60130000"/>

I haven't touched them, but maybe they will do something, we'll see. Still lots to discover.

 

 

#FuckyouTakeTwo

oppd.png

2 minutes ago, thegreathah said:

I haven't touched them, but maybe they will do something, we'll see. Still lots to discover.

Try adding the ones i posted and get back to me, if you could. 

1 minute ago, densup said:

Try adding the ones i posted and get back to me, if you could. 

Alright! Let's see what happens lol

 

 

#FuckyouTakeTwo

oppd.png

57 minutes ago, densup said:

Try adding the ones i posted and get back to me, if you could. 

It didn't seem to change anything

 

 

#FuckyouTakeTwo

oppd.png

@anyone

Are we able to add Siren patterns too?  Like copy the one for Sirensetting 1 then pasting it and renaming it to "30" let's say?

I'm going to try that out, let me know if anyone has been able to get it to work!

 

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Similar Content

Recently Browsing 0

  • No registered users viewing this page.

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.