DRS zone

Discussion in 'Track Modding' started by vicent-sollana, May 28, 2012.

  1. vicent-sollana

    vicent-sollana Registered

    Joined:
    Jan 21, 2012
    Messages:
    416
    Likes Received:
    17
    It is ok to put two drs zones?

    RearFlapWetThreshold=0.5 // maximum track wetness allowed for rear flaps to be used (any session)
    RearFlapZone // zones for using rear flaps in race sessions
    {
    MinimumCrossings=3 // how many times you must cross the detection under green before it is allowed
    TimeThreshold=1.0 // seconds behind another vehicle for it to be allowed
    DetectionLapDist=2.749 // distance around track where time threshold is detected
    ActivationLapDist=3161 // beginning of zone where it can be used (if under time threshold is detected)
    DeactivationLapDist=3803 // end of zone (yes, the zone can be wrapped around s/f, or not)
    ActivationLapDist=4.034 // beginning of zone where it can be used (if under time threshold is detected)
    DeactivationLapDist=250 // end of zone (yes, the zone can be wrapped around s/f, or not)
    }
     
  2. Luc Van Camp

    Luc Van Camp Track Team Staff Member

    Joined:
    Oct 4, 2010
    Messages:
    1,030
    Likes Received:
    15
    That's not the way to do it, I think. A Rear Flap Zone has one detection point and one activation point. Both of these properties belong to one single RearFlapZone{}.

    I haven't tried this myself yet, but the logical approach would be to have multiple RearFlapZone{} entries in the GDB. Each of those would come with its own options (MinimumCrossings, TimeThreshold, DetectionLapDist and ActivationLapDist), like this:
    Code:
      RearFlapWetThreshold=0.5
      RearFlapZone
      {
        MinimumCrossings=3
        TimeThreshold=1.0
        DetectionLapDist=1111
        ActivationLapDist=1222
        DeactivationLapDist=333
      }
    
      RearFlapZone
      {
        MinimumCrossings=5
        TimeThreshold=0.5
        DetectionLapDist=3333
        ActivationLapDist=3444
        DeactivationLapDist=555
      }
     
  3. vicent-sollana

    vicent-sollana Registered

    Joined:
    Jan 21, 2012
    Messages:
    416
    Likes Received:
    17
    Thanks for the info. I'm going to try it that way.

    I was trying to do what you see in this picture

    [​IMG]

    Thanks.
     
    Last edited by a moderator: May 28, 2012
  4. canastos

    canastos Registered

    Joined:
    Dec 23, 2011
    Messages:
    483
    Likes Received:
    2
    Maybe, in this concrete situation, a single DRS zone would be enough, like this:

    it will be deactivated when braking at the last chicane, but as long as you are still inside DRS zone, you should be able to reactivate it, IMO of course

    byyyyyyyye
     
  5. vicent-sollana

    vicent-sollana Registered

    Joined:
    Jan 21, 2012
    Messages:
    416
    Likes Received:
    17
    Thank you, I'll test that theory as soon as I can.
     
  6. ethone

    ethone Registered

    Joined:
    Nov 30, 2011
    Messages:
    1,153
    Likes Received:
    37
    Or alternatively, do two DRS sections that both have the same DetectionLapDist.
     
  7. vicent-sollana

    vicent-sollana Registered

    Joined:
    Jan 21, 2012
    Messages:
    416
    Likes Received:
    17
    Finally, it works with this config:

    RearFlapWetThreshold=0.5
    RearFlapZone
    {
    MinimumCrossings=3
    TimeThreshold=1.0
    DetectionLapDist=2.749
    ActivationLapDist=3.161
    DeactivationLapDist=250
    }

    Thanks.
     
  8. rafalgt

    rafalgt Registered

    Joined:
    Jan 4, 2012
    Messages:
    52
    Likes Received:
    8
    I'm trying to set up zones for the DTM and works only first zone. the other does not work.
    Anyone know how to set it to detection was at the start-finish line?

    RearFlapZoneSessions=31
    RearFlapWetThreshold=0.5
    RearFlapZone
    {
    MinimumCrossings=2
    TimeThreshold=2.0
    DetectionLapDist=0.5
    ActivationLapDist=1473.0
    DeactivationLapDist=2067.0
    }

    RearFlapZone
    {
    MinimumCrossings=2
    TimeThreshold=2.0
    DetectionLapDist=0.5
    ActivationLapDist=4093.3
    DeactivationLapDist=307.0
    }
     
  9. SimoG

    SimoG Registered

    Joined:
    Jan 3, 2012
    Messages:
    72
    Likes Received:
    0
    I compared them with my track, the voices are correct. So I'm thinking that ActivationLapDist=4093.3 is wrong, that the track is shorter and the cars do not reach that point. Possible? Try to set it for example in 2077 so the second zone begins immediately after the first, and you can easily ceck if it is only that, or simply does not work.

    For the other question, have you tried setting DetectionLapDist = 0.5 to 0? so detection point should match the finish line. If it does not work test values like 0.01
     
    Last edited by a moderator: May 11, 2016
  10. SimoG

    SimoG Registered

    Joined:
    Jan 3, 2012
    Messages:
    72
    Likes Received:
    0
    sorry, double
     
  11. Juergen-BY

    Juergen-BY Registered

    Joined:
    Jun 16, 2012
    Messages:
    3,089
    Likes Received:
    440
    As Simon wrote, your distances seems completly wrong.

     
  12. Lazza

    Lazza Registered

    Joined:
    Oct 5, 2010
    Messages:
    12,388
    Likes Received:
    6,602
    Can a zone contain its own detection point?
     
  13. Juergen-BY

    Juergen-BY Registered

    Joined:
    Jun 16, 2012
    Messages:
    3,089
    Likes Received:
    440
    Each zone should have a detection point.

    Two zones should looking like that:

    Just an example...
     
  14. Lazza

    Lazza Registered

    Joined:
    Oct 5, 2010
    Messages:
    12,388
    Likes Received:
    6,602
    Each zone has to have its own DetectionLapDist, yes, but they can specify the same figure. (so one detection point controls two zones)

    *What I mean above: the second zone specified has its detection point within its length. I don't know if that works or not.
     
  15. Juergen-BY

    Juergen-BY Registered

    Joined:
    Jun 16, 2012
    Messages:
    3,089
    Likes Received:
    440
    Ah, now i got you^^ Yes, you`re right ;-) And no, i guess this would not working.
     
  16. rafalgt

    rafalgt Registered

    Joined:
    Jan 4, 2012
    Messages:
    52
    Likes Received:
    8
    This is the beginning of the second zone

    [​IMG]
     
  17. rafalgt

    rafalgt Registered

    Joined:
    Jan 4, 2012
    Messages:
    52
    Likes Received:
    8
    I tested it on two tracks.

    1. Australia
    At this point detection circuit I set to 0.1 or at the start-finish line and after passing this point the LED DRS yellow (on standby). After reaching the end zone which is located at the start-finish straight, this LED goes out and the DRS no longer work in the following drive.
    RearFlapZoneSessions=31
    RearFlapWetThreshold=0.5
    RearFlapZone
    {
    MinimumCrossings=4
    TimeThreshold=1.0
    DetectionLapDist=0.1
    ActivationLapDist=4866.9
    DeactivationLapDist=340
    }

    RearFlapZone
    {
    MinimumCrossings=4
    TimeThreshold=0.1
    DetectionLapDist=4365.1
    ActivationLapDist=586.7
    DeactivationLapDist=1067
    }





    2. Red Bull Ring
    At this point detection circuit I set to 0.1 or at the start-finish line and after passing this point the LED DRS yellow (on standby). After reaching the end zone which is located at the start-finish straight, this light, this LED is lit, and when I get to the zone DRS can use the DRS system. After this zone LED goes off and you can not use it in another area.
    RearFlapZoneSessions=31
    RearFlapWetThreshold=0.5
    RearFlapZone
    {
    MinimumCrossings=2
    TimeThreshold=2.0
    DetectionLapDist=0.1
    ActivationLapDist=1470.0
    DeactivationLapDist=2067.0
    }

    RearFlapZone
    {
    MinimumCrossings=2
    TimeThreshold=2.0
    DetectionLapDist=0.1
    ActivationLapDist=3000.3
    DeactivationLapDist=307.0
    }
     
  18. Juergen-BY

    Juergen-BY Registered

    Joined:
    Jun 16, 2012
    Messages:
    3,089
    Likes Received:
    440
    This looks like you`re trying to activate the drs nowhere...

    You`re showing a distance of 4090.3 at the very end of the track. How should drs activated at 4866.9? This distance can`t exist...
     
  19. rafalgt

    rafalgt Registered

    Joined:
    Jan 4, 2012
    Messages:
    52
    Likes Received:
    8
    All distances exist.

    EDIT:
    I did it and it works but you have to press the button again at the point of the start-finish to start the system because it turns itself off.

    You can be set so that the DRS system will automatically run without the use of a button?

     
    Last edited by a moderator: May 12, 2016
  20. Lazza

    Lazza Registered

    Joined:
    Oct 5, 2010
    Messages:
    12,388
    Likes Received:
    6,602
    It won't automatically activate DRS. That would be dangerous anyway, no way that would happen in real life.


    I could be wrong, but I think what you were doing before didn't work because your detection point was immediately after the S/F line, while your second zone started before the end of the lap and continued ~300m into it. Generally the detection point is located somewhere outside both zones (not in the file; on the track!). At Melbourne for example, it's just before T14, while the second zone begins after T16 (the final turn).


    Juergen-BY, the screenshot isn't showing the S/F line/distance, it's showing the DRS activation line. The Melbourne track is just over 5km long, so 4866 should be fine.
     

Share This Page