Easiest way to make different RCD files for different tracks

Discussion in 'Car Modding' started by Postipate, Nov 30, 2017.

  1. Postipate

    Postipate Registered

    Joined:
    May 15, 2012
    Messages:
    888
    Likes Received:
    1,357
    Hello!

    I would like to make different AI RCD for 3 different tracks. Is the easiest way to just make 3 RCD files and then from opponent filter to select "SPA 1967" for spa race and for Monaco "Monaco 1967". Is there better way to do this?

    And does this is even work like this? Or will the RCD be always some of these 3 randomly?

    Also.. If I have same rcd file, can I make different drivinglines to each one with same rcd file? Like 10 teams and about 20 driver. Can I select every 20 driver different driving line with one RCD file, or can it just be one for all of them?
     
    Last edited: Nov 30, 2017
  2. Emery

    Emery Registered

    Joined:
    Oct 24, 2010
    Messages:
    2,115
    Likes Received:
    704
    I believe the AIW (driving lines) has to be packaged with the track. I don't think you can append a new AIW to a track from your mod, but would be happy if someone can prove me wrong!
     
  3. Postipate

    Postipate Registered

    Joined:
    May 15, 2012
    Messages:
    888
    Likes Received:
    1,357
    I was thinking to make new mod out of it if its ok to 397 studios. Just wont upload it to steam and give it for people who want to race with it offline

    Edit: mostly i want this to myself :D
     
  4. Emery

    Emery Registered

    Joined:
    Oct 24, 2010
    Messages:
    2,115
    Likes Received:
    704
    So, yes, the AIW can have driving lines for each driver if you wish. At least it used to work... would have to research whether they should all be listed on the single "DrivingLine =" or if you add "DrivingLine =" to each driver's RCD entry.
     
  5. toebee

    toebee Member

    Joined:
    Oct 5, 2010
    Messages:
    380
    Likes Received:
    346
    One rcd file can control three tracks.

    Mod_class_name
    {
    default
    {
    StepDistance = 8.0
    StepSpeed1 = 20.0
    StepSpeed2 = 30.5
    StepSpeed3 = 39.0
    StepSpeed4 = 45.5
    StepSpeed5 = 51.0
    StepSpeed6 = 56.0
    StepSpeed7 = 60.0
    StepSpeed8 = 63.5
    track1
    {
    StepDistance = 6.0
    StepSpeed1 = 15.0
    StepSpeed2 = 25.0
    StepSpeed3 = 35.0
    StepSpeed4 = 44.0
    StepSpeed5 = 53.0
    StepSpeed6 = 63.0
    StepSpeed7 = 73.0
    StepSpeed8 = 83.3
    }
    track2
    {
    StepDistance = 6.0
    StepSpeed1 = 15.0
    StepSpeed2 = 25.0
    StepSpeed3 = 35.0
    StepSpeed4 = 44.0
    StepSpeed5 = 53.0
    StepSpeed6 = 63.0
    StepSpeed7 = 73.0
    StepSpeed8 = 83.3
    }
    track3
    {
    StepDistance = 6.0
    StepSpeed1 = 15.0
    StepSpeed2 = 25.0
    StepSpeed3 = 35.0
    StepSpeed4 = 44.0
    StepSpeed5 = 53.0
    StepSpeed6 = 63.0
    StepSpeed7 = 73.0
    StepSpeed8 = 83.3
    }
    }
    Driver Name 1
    {
    Nationality = American
    DateofBirth = 26-2-1984
    Starts = 0
    Poles = 0
    Wins = 0
    DriversChampionships = 0
    Aggression = 80.0
    Composure = 80.0
    Speed = 80.0
    QualifySpeed = 66.0
    WetSpeed = 100.0
    StartSkill = 80.0
    Crash = 0.0
    Recovery = 100.0
    CompletedLaps = 100.0
    MinRacingSkill = 80.0
    }
    Driver Name 2
    {
    Nationality = American
    DateofBirth = 26-2-1984
    Starts = 0
    Poles = 0
    Wins = 0
    DriversChampionships = 0
    Aggression = 80.0
    Composure = 80.0
    Speed = 80.0
    QualifySpeed = 66.0
    WetSpeed = 100.0
    StartSkill = 80.0
    Crash = 0.0
    Recovery = 100.0
    CompletedLaps = 100.0
    MinRacingSkill = 80.0
    }
    }

    I think you can get even more spefic by adjusting each driver like this.

    Mod_class_name
    {
    default
    {
    StepDistance = 8.0
    StepSpeed1 = 20.0
    StepSpeed2 = 30.5
    StepSpeed3 = 39.0
    StepSpeed4 = 45.5
    StepSpeed5 = 51.0
    StepSpeed6 = 56.0
    StepSpeed7 = 60.0
    StepSpeed8 = 63.5

    }
    Driver Name 1
    {
    track1
    {
    StepDistance = 6.0
    StepSpeed1 = 15.0
    StepSpeed2 = 25.0
    StepSpeed3 = 35.0
    StepSpeed4 = 44.0
    StepSpeed5 = 53.0
    StepSpeed6 = 63.0
    StepSpeed7 = 73.0
    StepSpeed8 = 83.3
    }
    track2
    {
    StepDistance = 6.0
    StepSpeed1 = 15.0
    StepSpeed2 = 25.0
    StepSpeed3 = 35.0
    StepSpeed4 = 44.0
    StepSpeed5 = 53.0
    StepSpeed6 = 63.0
    StepSpeed7 = 73.0
    StepSpeed8 = 83.3
    }
    track3
    {
    StepDistance = 6.0
    StepSpeed1 = 15.0
    StepSpeed2 = 25.0
    StepSpeed3 = 35.0
    StepSpeed4 = 44.0
    StepSpeed5 = 53.0
    StepSpeed6 = 63.0
    StepSpeed7 = 73.0
    StepSpeed8 = 83.3
    }
    Nationality = American
    DateofBirth = 26-2-1984
    Starts = 0
    Poles = 0
    Wins = 0
    DriversChampionships = 0
    Aggression = 80.0
    Composure = 80.0
    Speed = 80.0
    QualifySpeed = 66.0
    WetSpeed = 100.0
    StartSkill = 80.0
    Crash = 0.0
    Recovery = 100.0
    CompletedLaps = 100.0
    MinRacingSkill = 80.0
    }
    Driver Name 2
    {
    track1
    {
    StepDistance = 6.0
    StepSpeed1 = 15.0
    StepSpeed2 = 25.0
    StepSpeed3 = 35.0
    StepSpeed4 = 44.0
    StepSpeed5 = 53.0
    StepSpeed6 = 63.0
    StepSpeed7 = 73.0
    StepSpeed8 = 83.3
    }
    track2
    {
    StepDistance = 6.0
    StepSpeed1 = 15.0
    StepSpeed2 = 25.0
    StepSpeed3 = 35.0
    StepSpeed4 = 44.0
    StepSpeed5 = 53.0
    StepSpeed6 = 63.0
    StepSpeed7 = 73.0
    StepSpeed8 = 83.3
    }
    track3
    {
    StepDistance = 6.0
    StepSpeed1 = 15.0
    StepSpeed2 = 25.0
    StepSpeed3 = 35.0
    StepSpeed4 = 44.0
    StepSpeed5 = 53.0
    StepSpeed6 = 63.0
    StepSpeed7 = 73.0
    StepSpeed8 = 83.3
    }
    Nationality = American
    DateofBirth = 26-2-1984
    Starts = 0
    Poles = 0
    Wins = 0
    DriversChampionships = 0
    Aggression = 80.0
    Composure = 80.0
    Speed = 80.0
    QualifySpeed = 66.0
    WetSpeed = 100.0
    StartSkill = 80.0
    Crash = 0.0
    Recovery = 100.0
    CompletedLaps = 100.0
    MinRacingSkill = 80.0
    }
    }

    I am pretty sure thats how it works. You can also do all of that editing through DEVMODE with the built in editor.
     
    Postipate likes this.
  6. Postipate

    Postipate Registered

    Joined:
    May 15, 2012
    Messages:
    888
    Likes Received:
    1,357
    Thanks toebee!
    You think I could also add "driving line=DRIVER1" and "driving line=DRIVER2" etc. for each driver entry?
     
  7. toebee

    toebee Member

    Joined:
    Oct 5, 2010
    Messages:
    380
    Likes Received:
    346
    Yes, as far as I know that works fine. Although I never setup a track with a line for each driver. Most I have done was like 4 lines and divided them up among all the drivers. I would be interested to see what would happen. You "may" have ai crashing into each other. Let us know what happens! :)
     
    Emery likes this.
  8. Postipate

    Postipate Registered

    Joined:
    May 15, 2012
    Messages:
    888
    Likes Received:
    1,357
    Yeah most likely but we will see!
     
    Emery likes this.

Share This Page