Local Yellows Script?

Posts: 100
Hi guys,

I am in a little bit of a pickle. My broadcasting group has been picked by the real-world Spec MX-5 Challenge series to broadcast an eSports championship based on their real series on the Winding Road Magazine YouTube channel. The winner of the series gets to test a Spec MX-5 at COTA or choose to do racing school through Winding Road. The Winding Road YouTube channel has nearly a half a million subscribers and these races are likely to be some of the most-watched iRacing live streams ever.

I really want to step up our graphics package for this series. Like, really step it up. And since it's going to be a road series with no full course cautions, I'd like to find a way to implement local yellows via a script. My understanding is that local yellows are client side and not transmitted via the server. But I think it would be possible to detect a certain number of incidents in a given sector, and then return the sector number, cars involved, and trigger a yellow flag on my ticker. I imagine that if it is even remotely possible, it would be quite a complex script, and I have next to no knowledge of how to actually accomplish it.

Pipe dream I should move on from, or legitimate possibility with some creativity? Thanks,

Kyle
Posts: 785
You only get incidents if you are an admin in the server.

There is an event we trigger when an incident occurs. Not sure if you can use it via Event Triggers but it should be possible with a script in theory. You could get the list of incidents of all drivers and each incident will have details such as the position on track. It does not record 0x incidents.

This will be a seriously complicated script with a ton of edge cases and I doubt you will ever get it to a working state. But it may be possible, in theory...
Posts: 100
Nick Thissen wrote:
You only get incidents if you are an admin in the server.

There is an event we trigger when an incident occurs. Not sure if you can use it via Event Triggers but it should be possible with a script in theory. You could get the list of incidents of all drivers and each incident will have details such as the position on track. It does not record 0x incidents.

This will be a seriously complicated script with a ton of edge cases and I doubt you will ever get it to a working state. But it may be possible, in theory...


What about data triggers? Let's say we have conditions that say if a car is not in pit road, it is not lap 0 (pace lap) and the car's speed is less than a certain threshold (25 mph or so) then trigger the yellow?