SOLVED Latest release causing AI issue

Discussion in 'Car Modding' started by Simonk, Apr 15, 2023.

  1. Simonk

    Simonk Registered

    Joined:
    Sep 29, 2020
    Messages:
    150
    Likes Received:
    112
    I’ve just noticed that the AI no longer use top gear on some of my cars. Checked a couple other mods and noticed Enduracers LMP2 also has the issue. They top out at the top of 3rd gear. Mine are getting into 4th and won’t change to fifth and just stay on the redline in 4th until they need to brake. Anyone know what’s happened and how to rectify it?
     
  2. Simonk

    Simonk Registered

    Joined:
    Sep 29, 2020
    Messages:
    150
    Likes Received:
    112
    RF1 engine.ini incompatible with latest release. Upgrading the engine.ini to RF2 format solves the AI getting stuck in gear issue
     
    Lazza likes this.
  3. EMY

    EMY Registered

    Joined:
    Oct 13, 2010
    Messages:
    92
    Likes Received:
    80
    In the old RFEngine files all this part is missing... (placed only two lines for example)

    RPMBase=(0,-24,-24,0,0.96)
    VolumeFract=(0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1)
    MixtureFract=(0,0,0,0)
    etc...


    Unfortunately it is very complicated to create the new engine without a simple program like PhysicsEditor was...
     
  4. Simonk

    Simonk Registered

    Joined:
    Sep 29, 2020
    Messages:
    150
    Likes Received:
    112
    I ran the RF1 file through @redapg ‘s Online tools and it worked a treat. Very simple process of just clicking a couple buttons thankfully.
     
    redapg likes this.
  5. Alex Sawczuk

    Alex Sawczuk Administrator Staff Member

    Joined:
    Oct 4, 2010
    Messages:
    851
    Likes Received:
    971
    Thanks for reporting this, we'll look into it.
     
    Strava and Simonk like this.
  6. DJCruicky

    DJCruicky Registered

    Joined:
    Jan 25, 2012
    Messages:
    1,592
    Likes Received:
    1,121
    Simonk likes this.
  7. philrob

    philrob Registered

    Joined:
    Jan 12, 2012
    Messages:
    572
    Likes Received:
    1,204
    I also found that if the RF1 engine file has an added header i.e:

    //TCL 1987 BMW 635 CSi - (physics for rF, V1.0)
    //ask permission before you edit or copy
    //335 bhp @ 7000rpm, 395 Nm @ 5500rpm

    this can throw off the new engine.ini being written correctly, i remove these additions from
    the top of the file.
     
    Simonk and davehenrie like this.
  8. Lazza

    Lazza Registered

    Joined:
    Oct 5, 2010
    Messages:
    12,345
    Likes Received:
    6,572
    Do you mean when using the tool on redapg's site?
     
  9. philrob

    philrob Registered

    Joined:
    Jan 12, 2012
    Messages:
    572
    Likes Received:
    1,204
    Yes when using Redapg's online tool to convert the Rf1 engine file.
     
    Lazza likes this.
  10. redapg

    redapg Registered

    Joined:
    Jan 16, 2012
    Messages:
    3,958
    Likes Received:
    2,808
    Hello Phil,
    what exactly gets wrong written in the converted Engine.ini, when the rF1 ini did have commented first Lines?
    Normally that should be no Problem, because i let the Tool remove all commented Lines before any Data gets extracted.
    But the switch to the newer php Version some time ago, did cause some strange Things in other Scripts.
    So i maybe have to fix something in the Engine Converter Tool too.
    Could you please post it in the Online Tools Thread?
    Thank you :)
     
    Lazza likes this.
  11. Simonk

    Simonk Registered

    Joined:
    Sep 29, 2020
    Messages:
    150
    Likes Received:
    112
    I didn’t have the issue when converting mine. Mine only had one line comment at the top, don’t know if that matters.
     

Share This Page