Preview: Official ATVO Theme 2020

Posts: 287
With no script, you have only the information of gain or loose position from start. So it is not simply to show when a car change of position.
Posts: 11
Anyone out there know the script?
Edited (1 time)
Posts: 66
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
Posts: 785
Robert A Moyer Jr wrote:
Also how do you code it to show colors of position changes in the tickers?
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.

Robert A Moyer Jr wrote:
Emmanuel Suter wrote:
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 ....
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
What is the difference? Is your video very large in size?


Niclas Domino wrote:
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 
What was the difference that made it run smooth again?
Posts: 66
Not having the 30+ on the ticker, but it also means that I chanced the animation so it is not scrolling anymore. I am also using backgrounds, but this way it doesn't have to load all the information at once. This is what I have found
Posts: 4
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?
Posts: 4
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?
Posts: 2
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.
Posts: 785
Gael Brooks wrote:
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?
Can you try it on the latest alpha build? I improved the video support maybe that solves it.

Gael Brooks wrote:
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?
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".


Juan Francisco Entrena Garrido wrote:
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.
Should be relatively easy to add I'd say!
Posts: 4
Yeah, let me give it a try. The theme is amazing, really appreciate everything you've been doing!
Posts: 1
Does anyone know what the ET_Preload, ET_FlagCheckered ,etc buttons do on the overlay?
Posts: 785
They're not buttons, just visual representations of the event triggers. They show the last time that they were triggered, and possibly also some border at the moment they get triggered. I'm not sure how useful that is, if you don't want to see them you can always uncheck their 'Visible' property to hide them.
Posts: 62
Hey Nick, I'm finally starting to dig into the custom ATVO theme you've provided so that I can understand how it works and then start fine tuning it for my own use.

A huge thanks again for putting this together. It's clean, it's comprehensive and looks really professional. I have a few specific questions and feedback but I'll save that for a separate post.

This post is to comment on how much I appreciate that this exists.

The custom buttons and animations to switch from Horizontal to Vertical ticker is really sweet, as is the Compare box.

And it was also a nice surprise to see the default behaviour of the fastest lap coming up on screen when the conditions were met.

My next step is to customize this for my own use, and so I'll create new posts to help me understand some of the specific aspects of the theme and how it works.

Thanks again!

-Jeremy
Posts: 62
Trying to understand the Compare Box


Ok, so here's my first question of something I've encountered, and not sure if I'm doing something wrong, or if it is a small bug with the theme.


I was recently testing the ATVO theme while watching a race, and I brought up the Compare box.

The first image is what I saw, and it appears that the time delta being presented is off by one position.

I fixed this by going to W_DriverInfoComp and changing the Data Offset to +1

Eventually, I'm going to want to create for myself a "CompareFront" and "CompareBack" so that I can control if i'm showing the delta for the car behind or in front of the car i'm focused on, but I first want to make sure I'm understanding this widget correct.

Is my adjustment correct? or does it behave a different way?

Thanks!




Edited (1 time)
Posts: 62
Compare box question #2


Maybe this question/issue is related to my first.


During the same race, I clicked the Compare -> Single and Single-> Compare control buttons, but nothing happened.

I expected that would create an animation going from the single driver info overlay for the followed car to the compare box by sliding the Single box to the left and bringing on the info for the second car. But this wasn't working for me.

I tried with the most recent Stable build, since I was getting lots of error messages with the latest Alpha and Beta builds.

Even if I click the buttons in the Theme Editor, the drop-down in "Control - Actions" says None .. so it appears that the buttons are not connected to any action.

Is this part of the theme that is still under development? It's definitely a feature I would use .. and one of my first modifications for my own theme would be to add "CompareAhead" or "CompareBehind" so that depending on which car i'm currently following, if there's a close battle i can easily show the delta for the most appropriate battle happening on camera ..

But I don't want to get ahead of myself :) Are the Compare->Single/Single->Compare buttons not meant to be hooked up in this first release?

Thanks!
-Jeremy
Posts: 62
Results page showing "PIT" after checkered.

I think this question was asked earlier, but I don't think I saw how to fix it.

Following a race, I'm displaying the Results page, and it's showing "PIT" once the driver has crossed the Finish line.

Is there an easy way to have their time and all the intervals persist?

I know this is an issue, even for apps like Crew Chief .. and when drivers leave the session, all of the positions that are announced get confused.

Would it be necessary then to write the results to a table somewhere so they can persist even after the driver leaves the session?

I don't know anything about scripting .. so i'm not sure if i'm ready to jump into that just yet .. unless it's the best way to do it . .then i'm willing to learn :)

Thanks!
-Jeremy
Posts: 785
Thanks for the feedback Jeremy. Once I have some more time I may work on the theme a bit further, indeed there are some small bugs and missing features I still want to add.

Compare box: I think you are right and the gap / interval should be with Data Offset of 1. Thanks!

Single / Compare animation: indeed something I planned to add but did not get around to. It is not hooked up.

PIT after the race: I think it is simply a bug / mistake in the "GapBindingConverter" script. It should first check if the race is finished, and if it is then it should not check for cars in the pits. I believe the gap / interval is correct after the race, we fix it at the final gap at the line (the one iRacing tells us after the race). The script is simply not reaching that part of the code and returning "PIT" because the cars are listed as in the pits after they escaped from the track.

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";
}
}
Posts: 62
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.
Posts: 62
Nick, as I start to dig in more to the theme you provided, I'm more and more impressed. I'm making lots of progress, and learning lots about Storyboards, Sub-widgets, animations and scripts.

My first modification has been to look at providing two options for "Compare" .. so that depending on which car you are following, and which battle is in view on camera, you can show the delta for the car in front or the car behind the followed car. This meant I needed to split the Compare Control button into two (i've added that as the first screen shot below.)

How this works is that if you are following a car and click "Compare Behind ->", the followed driver info appears on the left, and the compared driver info appears on the right, and the delta box shows the data with an interval of +1 (This was the original behaviour, but I fixed the Data Interval offset)

If you click the "<- Compare Ahead" button, the followed driver info appears on the right, and the compared driver info appears on the left.

Examples appear in the other two screen shots.

For additional fun, I found that the best way for me to learn was to reverse engineer the existing theme, which meant I documented all the elements and their values, and then created a second document to track my changes.

I'm going to share those documents here, as well as a link to my work in progress theme which represents my ongoing modification to Nick's original theme.

I wanted to maintain the same structure when adding new elements, but I think in the process, I'm making things too complicated.

I will do a new version with a different approach, but thought it might be interesting to share my work as I go.

Please provide your feedback, and any insights on how you might build it differently.


My Modifications (Google Doc) note: only includes data that I was modifying.


Original Data (Google Doc) note: only includes data that I was modifying.

My theme (rar)

Let me know what you think!

Thanks!

-Jeremy





Posts: 2
Jeremy Kerr wrote:
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.
Doesn't work for me. Still showing PIT or OUT after the race after exporting the theme again.

Or I did something wrong ?

Posts: 785
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?
Posts: 2
Nick Thissen wrote:
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?
Yes it's working today, didn't change anything. I waited a bit longer after the finish this time ;)

By the way I created a new widget for the coverage (for track temps, air team, wind speed etc...) but it's showing ton of digits. It's not a big deal but how to remove the decimal point ?




Posts: 29
link is broken?
Posts: 41
@Drew: Working fine for me