Replication of yell...
 
Notifications
Clear all

Replication of yellow flag in rFactor 2

1 Posts
1 Users
0 Likes
35 Views
Thiersman
(@thiersman)
Active Member
Joined: 1 week ago
Posts: 3
Topic starter  

Hello,

Ingame Rf2 flags are ridiculously small. I try to create widget to show big flags and that's works...

guz7.jpg

 

But, it's not very accurate 🙁

Ingame, yellow flag only shown when an accident happens in front of my car (and that's what i want)

 

For the display of my flag, I usethe following parameter for visibility:

[Flag_Yellow]

 

Unfortunatly, it displays the simhub flag as soon as there is a yellow flag on the track, whatever the place.

 

So, I try to refine my code

if([GameRawData.Data.mSectorFlag01]==1and[CurrentSectorIndex]==1, true ,
if([GameRawData.Data.mSectorFlag02]==1and[CurrentSectorIndex]==2, true ,
if([GameRawData.Data.mSectorFlag03]==1and[CurrentSectorIndex]==3, true ,
false)))

In this version, the flag is displayed according to the sector, if we are in the same sector. It's better but not perfect because if the incident is behind me while being in the right sector, simhub flag is still displayed.

Ideally, I would like the flag appear only when crash appears in front of me and to disappear once the incident behind (like in-game reporting)

 

I don't find property replicating correctly the behaviour of ingame yellowfllag in SimHub.

 

Is someone have any idea?

This topic was modified 1 week ago by Thiersman

   
Quote
Share: