Must have flags!

  • Thread starter GTMarine
  • 31 comments
  • 2,235 views
Considering they have failed on occasions to monitor track boundaries in some online events with only one car.
Hoping for a Flag system for a full grid with race regulations is way out of there depth I fear.

Even competent programmers would struggle with this. Race Pro is about the best in this regard on consoles ATM.

Each car should be set as its own class so they could do something like this, to start a caution.


If Cars.offtrack > 5 and Cars.Damaged > 5 then
Redflag.Enabled = True

elseIf Cars.offtrack > 2 and Cars.Velocity = 0 or Cars.Damaged > 3 then
Caution.Enabled = True

elseif Cars.offtrack = 1 for 15 seconds then 'Player is AFK
Player.Reject
end if


However, regulations are more difficult...
 
Blue Flag = There is a race going on here today...and your NOT in it.
A blue flag is shown to indicate a faster car coming up from behind. That's all it means. It's usually not a regulation, drivers don't usually need to let the faster car through.
Each car should be set as its own class so they could do something like this, to start a caution.


If Cars.offtrack > 5 and Cars.Damaged > 5 then
Redflag.Enabled = True

elseIf Cars.offtrack > 2 and Cars.Velocity = 0 or Cars.Damaged > 3 then
Caution.Enabled = True

elseif Cars.offtrack = 1 for 15 seconds then 'Player is AFK
Player.Reject
end if


However, regulations are more difficult...
Red flags and full course yellows don't arise because of cars crashing or cars being damaged. They happen when there is possible immediate danger to the drivers, such as when there is significant debris on track, when there is a car stuck in a dangerous area, when there is damage to safety barriers, etc. To have such flags implemented realistically, you'd need far more than such a simplistic code.
 
Back