AI Driver Swap

Discussion in 'Car Modding' started by chogger, May 21, 2013.

  1. chogger

    chogger Registered

    Joined:
    May 27, 2012
    Messages:
    69
    Likes Received:
    9
    I have a .veh File with these 3 Values:

    Driver1=Test
    Driver2=Bla
    Driver3=Muh

    Is it possible, that the AI Driver changes when the car is pitting?
    And if it's possible, how ;) ?
     
  2. kmw

    kmw Registered

    Joined:
    Jan 3, 2012
    Messages:
    190
    Likes Received:
    2
    I haven't tried this yet, but have you looked in the plr file? There is a line for
    Starting Driver="0" // Zero-based index of starting driver (0=driver1, 1=driver2, 2=driver3, etc.)

    and

    AI Controls Driver="2" // Bitfield defining which drivers the AI controls (0=none, 1=driver1, 2=driver2, 3=driver1+driver2, etc.)

    so it looks to me like you would set it as AI Controls Driver="6" for all three drivers. ?
     
  3. chogger

    chogger Registered

    Joined:
    May 27, 2012
    Messages:
    69
    Likes Received:
    9
    At the moment i am unable to test this out. Can somebody confirm this?
     

Share This Page