Robert A Moyer Jr wrote:What do you mean with "colors of position changes"? Do you mean you want to react to a position change and momentarily show a different color or something? That is not easily possible. Perhaps with a complicated script but it will not be easy.
Also how do you code it to show colors of position changes in the tickers?
Robert A Moyer Jr wrote:What is the difference? Is your video very large in size?Emmanuel Suter wrote:Thanks also I played a little bit more nick and found out on the lag it's got something too do with my replay file I tryed yours and it works just fine
It is with Overrides in widget or subwidget or label, you select binding ClassColor and the color take the color of the class, you can do it for background, font color ....
Niclas Domino wrote:What was the difference that made it run smooth again?
After doing a rework in a new theme, i found that the way the Grid is made atm has been the issue for me, after a rework of it the program has been running smoothly after that
Gael Brooks wrote:Can you try it on the latest alpha build? I improved the video support maybe that solves it.
I tested out the ATVO Theme yesterday, it looks great, I really like it. I had some intermittent issues however on the replay portion of its use. I use SimRacingApps to control cameras etc, and so when I press pause on SRA, the ATVO replay video pops up, and sometimes it works correctly, other times it freezes up completely and I had to close ATVO theme and re-open it to resolve the issue.
Not sure if anyone else is running into this?
Gael Brooks wrote:Probably it's a mistake in the converter script. It should probably check if the race or driver has finished somewhere instead of blindly spitting out "Pit".
Oh, one other thing I noticed! I was going through the results after the race, and they all say "Pit" next to driver name instead of the intervals, is that something that can be adjusted?
Juan Francisco Entrena Garrido wrote:Should be relatively easy to add I'd say!
This overlay would be perfect if two more buttons were added, one with the circuit intro and one with the track temperature, or a mix of both. If anyone can help, or knows how to add it easily, I'd appreciate it.
// show OUT/PIT in a race
if (r.Session.Type == SessionType.Race)
{
// If we are still racing, then check for OUT or PIT
if (!r.Finished)
{
if (r.Out)
return "OUT";
if (r.Entity?.Car?.Movement?.IsInPits == true)
return "PIT";
}
}
I believe this is a simple fix that will keep showing intervals after a car has finished. Just replace the first part of the "ConvertToGapOrInterval" function on line 158 with this, which checks for "Finished" in addition:
// show OUT/PIT in a race
if (r.Session.Type == SessionType.Race)
{
// If we are still racing, then check for OUT or PIT
if (!r.Finished)
{
if (r.Out)
return "OUT";
if (r.Entity?.Car?.Movement?.IsInPits == true)
return "PIT";
}
}
Jeremy Kerr wrote:Doesn't work for me. Still showing PIT or OUT after the race after exporting the theme again.I believe this is a simple fix that will keep showing intervals after a car has finished. Just replace the first part of the "ConvertToGapOrInterval" function on line 158 with this, which checks for "Finished" in addition:
// show OUT/PIT in a race
if (r.Session.Type == SessionType.Race)
{
// If we are still racing, then check for OUT or PIT
if (!r.Finished)
{
if (r.Out)
return "OUT";
if (r.Entity?.Car?.Movement?.IsInPits == true)
return "PIT";
}
}
I can confirm this script modification works! Thanks!
A future modification I will want to look at is to change the text to "Winner" after checkered flag (instead of "Leader") .. but my focus is on other things which i will add to a new post.
Nick Thissen wrote:Yes it's working today, didn't change anything. I waited a bit longer after the finish this time ;)
I don't see anything wrong. Unless there was a bug and the results were not marked as "finished" (which should happen as soon as they cross the finish line), I don't see how this script can ever return "OUT" or "PIT"... Are you sure the race was finished?