Replication of yell...
 
Notifications
Clear all

Replication of yellow flag in rFactor 2

2 Posts
2 Users
0 Likes
607 Views
(@thiersman)
Active Member
Joined: 1 year 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 year ago by Thiersman

   
Quote
(@vincent-capillaire)
New Member
Joined: 1 year ago
Posts: 1
 

Hello,

I'm preparing Le Mans Virtual 24h. I've the same issue with yellow flags.

I'm on Precision Sim Engineering LM-PS + Simhub. And every yellow is displayed top of steering. Problem is hidding info I need at critical point (pitstop,...).

Did you find a solution?

What file do you manageΒ  this? And is it working per sector?

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)))

Thanks.

This post was modified 1 year ago by Vincent CAPILLAIRE

   
ReplyQuote
Share: