Disable DRS on AI cars

Discussion in 'Technical & Support' started by FlyinFinn2, Aug 25, 2015.

  1. FlyinFinn2

    FlyinFinn2 Registered

    Joined:
    Jun 24, 2011
    Messages:
    78
    Likes Received:
    12
    Good evening,

    I simply cannot find a line or a parameter that i can disable the rear flap for the AI. When driving fISI or any other mod that uses the rear flap, they use the drs everywhere in practice, and if track is not set up correctly, they also do it on races, and its not enjoyable. Any way to prevent AI from use it? Thanks in advance.
     
  2. GCCRacer

    GCCRacer Banned

    Joined:
    Dec 12, 2012
    Messages:
    1,317
    Likes Received:
    2
    Hi, related to the topic in General where you replied...

    There's a "Rear Flap Zones" parameter in rfm (if you look into allcarsandtracks.rfm by unpacking allcarstracks.mas). By default it's set to race only (value 16), in the past I set this to 31 (meaning: all sessions) and the AI followed the DRS zones also in practice. To completely disable you might try 0 as value.

    However, while this worked for me in B770, it didn't work in B982 on a first test. So maybe there's a new way to do it.
     
  3. FlyinFinn2

    FlyinFinn2 Registered

    Joined:
    Jun 24, 2011
    Messages:
    78
    Likes Received:
    12
    Hey mate,

    Thanks for the help!

    Unpacked the .mas file, but there are no parameter for rear flap zones..

    //[[gMa1.002f (c)2010 ]] [[ ]]
    Mod Name = All Tracks & Cars
    Mod Version = 1.0
    TrackList
    VehicleList
    SafetyCar = clio_PC.veh
    Size = 0-MB
    Tracks = 0
    Layouts = 0
    Cars = 0
    Skins = 0
    Rating = 5.0
    Loading Bar Color = 16750848
    Max Opponents = 45
    Min Championship Opponents = 2
    DefaultScoring
    {
    RacePitKPH = 100
    NormalPitKPH = 100
    Practice1Day = Friday
    Practice1Start = 11:00
    Practice1Duration = 60
    Practice2Day = Friday
    Practice2Start = 13:00
    Practice2Duration = 60
    Practice3Day = Saturday
    Practice3Start = 9:00
    Practice3Duration = 45
    Practice4Day = Saturday
    Practice4Start = 10:15
    Practice4Duration = 45
    QualifyDay = Saturday
    QualifyStart = 13:00
    QualifyDuration = 60
    QualifyLaps = 12
    WarmupDay = Sunday
    WarmupStart = 9:30
    WarmupDuration = 30
    RaceDay = Sunday
    RaceStart = 14:00
    RaceLaps = 50
    RaceTime = 120
    }
    StartingMoney = 5000000
    StartingVehicle = tundra22
    DriveAnyUnlocked = 1
    BaseCreditMult = 1.0
    LapMoneyMult = 1.0
    LapExpMult = 1.0
    FineMoneyMult = 1.0
    FineExpMult = 0.0
    PoleSingleMoneyMult = 1.0
    PoleSingleExpMult = 1.0
    PoleCareerMoneyMult = 1.0
    PoleCareerExpMult = 1.0
    PoleMultiMoneyMult = 1.0
    PoleMultiExpMult = 1.0
    WinSingleMoneyMult = 1.0
    WinSingleExpMult = 1.0
    WinCareerMoneyMult = 1.0
    WinCareerExpMult = 1.0
    WinMultiMoneyMult = 1.0
    WinMultiExpMult = 1.0
    PointsSingleMoneyMult = 1.0
    PointsSingleExpMult = 1.0
    PointsCareerMoneyMult = 1.0
    PointsCareerExpMult = 1.0
    PointsMultiMoneyMult = 1.0
    PointsMultiExpMult = 1.0
    SeasonScoringInfo
    {
    FirstPlace = 8
    SecondPlace = 5
    ThirdPlace = 3
    FourthPlace = 2
    FifthPlace = 1
    SixthPlace = 0
    SeventhPlace = 0
    EighthPlace = 0
    }
    PitOrderByQualifying = false
    PitGroupOrder
    {
    PitGroup = 1, Group1
    PitGroup = 1, Group2
    PitGroup = 1, Group3
    PitGroup = 1, Group4
    PitGroup = 1, Group5
    PitGroup = 1, Group6
    PitGroup = 1, Group7
    PitGroup = 1, Group8
    PitGroup = 1, Group9
    PitGroup = 1, Group10
    PitGroup = 1, Group11
    PitGroup = 1, Group12
    PitGroup = 1, Group13
    PitGroup = 1, Group14
    PitGroup = 1, Group15
    PitGroup = 1, Group16
    PitGroup = 1, Group17
    }
     
  4. redapg

    redapg Registered

    Joined:
    Jan 16, 2012
    Messages:
    4,008
    Likes Received:
    2,875
    The next question would be, if the rfm entries will be overwritten by the gdb entries.

    The easiest way would be, to have a checkbox in the Tracks-settings screen in game, named e.g. "disable DRS" and default setting: checked. ;)
     
  5. GCCRacer

    GCCRacer Banned

    Joined:
    Dec 12, 2012
    Messages:
    1,317
    Likes Received:
    2
    Okay, it appears it is a parameter I added myself. I'll pick out the exact syntax later.
     
  6. GCCRacer

    GCCRacer Banned

    Joined:
    Dec 12, 2012
    Messages:
    1,317
    Likes Received:
    2
    For some reason today it works. On a clean install, with my custom RFM I created in Build 770 and just copied into 982.

    The two lines I added previously, right under "RaceTime" are:

    RearFlapWetThreshold=0.5 // maximum track wetness allowed for rear flaps to be used (any session)
    RearFlapZoneSessions=31 // allowed sessions, added together (1=test, 2=practice, 4=qualifying, 8=warmup, 16=race)

    So basically the second one tells the game to use the "Zone Rules" in all sessions, not just in Race (default would be 16). That is basically the 2013 ruleset and works fine for me with my 2013 mod. From my understanding if a track has no zones defined they will not use it at all if this setting is active, but you could also try to set a 0 there and see if it takes out the DRS completely even on tracks with permitted zones.
     
  7. FlyinFinn2

    FlyinFinn2 Registered

    Joined:
    Jun 24, 2011
    Messages:
    78
    Likes Received:
    12
    Wow thanks for this, will try it tonight!

    Enviado desde mi Nexus 6 mediante Tapatalk
     
  8. GCCRacer

    GCCRacer Banned

    Joined:
    Dec 12, 2012
    Messages:
    1,317
    Likes Received:
    2
    Let me know if it works with 0 or 31.

    I'm still weirded out because I know for sure with the same file, at a different computer, yesterday I had cars coming off the start line in a race with flap open. Totally weird behaviour. Today everything does work...
     
  9. FlyinFinn2

    FlyinFinn2 Registered

    Joined:
    Jun 24, 2011
    Messages:
    78
    Likes Received:
    12
    Ok, so with 31 or 0, they will use DRS only in the DRS zones, but on a track with no DRS zones, they will use everywhere, only tested on practice.

    RFM, from the new build.

    //[[gMa1.002f (c)2015 ]] [[ ]]
    Mod Name = All Tracks & Cars
    Mod Version = 1.0
    TrackList
    VehicleList
    SafetyCar = CorvettePC.veh
    Size = 0-MB
    Tracks = 0
    Layouts = 0
    Cars = 0
    Skins = 0
    Rating = 5.0
    Loading Bar Color = 16750848
    RaceCast Location = racecast.rfactor.net
    Max Opponents = 103
    Min Championship Opponents = 5
    DefaultScoring
    {
    FormationSpeedKPH = 150
    RacePitKPH = 100
    NormalPitKPH = 100
    Practice1Day = Friday
    Practice1Start = 11:00
    Practice1Duration = 60
    Practice2Day = Friday
    Practice2Start = 13:00
    Practice2Duration = 60
    Practice3Day = Saturday
    Practice3Start = 9:00
    Practice3Duration = 45
    Practice4Day = Saturday
    Practice4Start = 10:15
    Practice4Duration = 45
    QualifyDay = Saturday
    QualifyStart = 13:00
    QualifyDuration = 60
    QualifyLaps = 12
    WarmupDay = Sunday
    WarmupStart = 9:30
    WarmupDuration = 30
    RaceDay = Sunday
    RaceStart = 14:00
    RaceLaps = 50
    RaceTime = 120
    FreezeOrder = 1
    RearFlapWetThreshold = 0.5 // maximum track wetness allowed for rear flaps to be used (any session)
    RearFlapZoneSessions = 0 // allowed sessions, added together (1=test, 2=practice, 4=qualifying, 8=warmup, 16=race)
    }
    StartingMoney = 100000
    StartingVehicle = clio_14, m2009_04, 370z_10
    DriveAnyUnlocked = 1
    BaseCreditMult = 1.0
    LapMoneyMult = 1.0
    LapExpMult = 1.0
    FineMoneyMult = 1.0
    FineExpMult = 0.0
    PoleSingleMoneyMult = 1.0
    PoleSingleExpMult = 1.0
    PoleCareerMoneyMult = 1.0
    PoleCareerExpMult = 1.0
    PoleMultiMoneyMult = 1.0
    PoleMultiExpMult = 1.0
    WinSingleMoneyMult = 1.0
    WinSingleExpMult = 1.0
    WinCareerMoneyMult = 1.0
    WinCareerExpMult = 1.0
    WinMultiMoneyMult = 1.0
    WinMultiExpMult = 1.0
    PointsSingleMoneyMult = 1.0
    PointsSingleExpMult = 1.0
    PointsCareerMoneyMult = 1.0
    PointsCareerExpMult = 1.0
    PointsMultiMoneyMult = 1.0
    PointsMultiExpMult = 1.0
    SeasonScoringInfo
    {
    FirstPlace = 20
    SecondPlace = 14
    ThirdPlace = 10
    FourthPlace = 8
    FifthPlace = 6
    SixthPlace = 4
    SeventhPlace = 3
    EighthPlace = 2
    NinthPlace = 1
    }
    PitOrderByQualifying = false
    PitGroupOrder
    {
    PitGroup = 2, Group1
    PitGroup = 2, Group2
    PitGroup = 2, Group3
    PitGroup = 2, Group4
    PitGroup = 2, Group5
    PitGroup = 2, Group6
    PitGroup = 2, Group7
    PitGroup = 2, Group8
    PitGroup = 2, Group9
    PitGroup = 2, Group10
    PitGroup = 2, Group11
    PitGroup = 2, Group12
    PitGroup = 2, Group13
    PitGroup = 2, Group14
    PitGroup = 2, Group15
    PitGroup = 2, Group16
    PitGroup = 2, Group17
    PitGroup = 2, Group18
    PitGroup = 2, Group19
    PitGroup = 2, Group20
    PitGroup = 2, Group21
    PitGroup = 2, Group22
    PitGroup = 2, Group23
    PitGroup = 2, Group24
    }
     
  10. redapg

    redapg Registered

    Joined:
    Jan 16, 2012
    Messages:
    4,008
    Likes Received:
    2,875
    What you can try to disable DRS, that maybe works for tracks without defined DRS zone(s) is, to put the following lines into the rfm:

    RearFlapZone
    {
    MinimumCrossings=9999
    TimeThreshold=1.0
    DetectionLapDist=1
    ActivationLapDist=2
    DeactivationLapDist=3
    }
     

Share This Page