SOLVED Recording pitlane.ai issue

Discussion in 'Tracks' started by jpsdesign, May 14, 2022.

  1. jpsdesign

    jpsdesign New Member

    Joined:
    Feb 25, 2021
    Messages:
    13
    Likes Received:
    0
    My new Castle Combe track is nearing completion but I cannot for the life of me record a pitlane.ai for some reason and it's driving me nuts as I've done this countless times, even on an early version of the same track - just wondering if anyone else had ever experienced this and whether there was any workaround ie creating it manually.

    Fastlane records fine and I've tried rolling back csp versions and a completely vanilla ac but despite working on other tracks it doesn't want to on this one...

    Thanks!

    James
     
  2. fughettaboutit

    fughettaboutit aka leBluem

    Joined:
    Jul 21, 2014
    Messages:
    1,113
    Likes Received:
    378
    -road-part where the pits are, called
    1PITS_or_something ?

    -mentioned as
    IS_PITLANE=1 in surfaces.ini ?

    -that part has connection to normal
    1ROAD_smthelse ?
     
  3. jpsdesign

    jpsdesign New Member

    Joined:
    Feb 25, 2021
    Messages:
    13
    Likes Received:
    0
    Yep all good on the above points (tried both ways as technically the pit entry speed limit does not kick in until later) - I'm totally stumped, just trying to avoid (even more!) hours of trial and error trying to fix it. It's not possible to use your blender add-on to save a pitlane.ai by editing the fast lane is it?
     
  4. fughettaboutit

    fughettaboutit aka leBluem

    Joined:
    Jul 21, 2014
    Messages:
    1,113
    Likes Received:
    378
    no export as a new file possible, maybe if you use another one and shift it over (in edit mode)
     
    Christoph Leipold likes this.
  5. Christoph Leipold

    Christoph Leipold New Member

    Joined:
    Oct 17, 2020
    Messages:
    20
    Likes Received:
    1
    Sorry to jump on this thread - as it was the closest to my problem:
    AC doesn´t write the "fastlane.ai.candidate" file.
    I did 2 clean laps recording and then stopped the car , pressed "save ai" button and got confirmation on top of my screen "ai saved".
    But the ai folder is empty (I removed some "read only" flag from the steam folder within Windows - didn´t help). I´m out of clues. I never had an issue like that.
    I´m on open VR for the first time - could this be a problem?
    Do you have any further idea?
     
  6. fughettaboutit

    fughettaboutit aka leBluem

    Joined:
    Jul 21, 2014
    Messages:
    1,113
    Likes Received:
    378
    i happily refer you to this thread, disable two options in CM for New AI behaviour:
    https://assettocorsamods.net/threads/ai-splines-on-left-and-right-incorrect.2938/
     
    Christoph Leipold likes this.
  7. Christoph Leipold

    Christoph Leipold New Member

    Joined:
    Oct 17, 2020
    Messages:
    20
    Likes Received:
    1
    Hi leBluem!
    Thank you for your interest in my problem. I checked out your advise - but had no success.
    I tested the last 2 days and finally found the cause for the problem, but I have no idea how that would be possible.
    Problem was:
    Creating the Ai-candidate didn´t work although there seemed to be no problem whatsoever in the whole process.
    No trouble within AC-Editor
    No trouble within AC itself - even got the signal "Ai line saved" after pressing "save AI"

    So I tried:
    De-installed CM and started form STEAM = no success
    Re-installed AC form Steam = no success
    Renamed the track folder from "HAHN" to "hahn" = no success
    AC_START was not "scale applied" - corrected but no success
    Removed the physic.kn5 and made the visual road mesh to a physical mesh = TATA!!!

    So within my physical mesh I had the airfield made from single rectangles 4x6m like this
    hahn3.jpg
    This seemed to cause the game to not create the fastlane-candidate.

    Afterwards, when I had created an AI-spline without this physic.kn5 and later wanted to start the game with the physic loaded, the game crashed like this:

    hahn1.jpg

    hahn2.jpg

    So I would be very interested to find the reason and if you have any clues about it,, it would be great!
     
  8. fughettaboutit

    fughettaboutit aka leBluem

    Joined:
    Jul 21, 2014
    Messages:
    1,113
    Likes Received:
    378
    this happens when you have even a tiny gap or hole in your physical mesh :( happy searching :)
     
    Christoph Leipold likes this.
  9. Christoph Leipold

    Christoph Leipold New Member

    Joined:
    Oct 17, 2020
    Messages:
    20
    Likes Received:
    1
    Oh! That is important news for me!
    Thank you so much :)
     
  10. fughettaboutit

    fughettaboutit aka leBluem

    Joined:
    Jul 21, 2014
    Messages:
    1,113
    Likes Received:
    378
    Christoph Leipold likes this.
  11. fughettaboutit

    fughettaboutit aka leBluem

    Joined:
    Jul 21, 2014
    Messages:
    1,113
    Likes Received:
    378
    oh and you record pitlane, not ai line, you must have set
    something in data\surfaces.ini

    for a mesh called like this:
    1PIT_mesh1

    you add this:

    [SURFACE_0]
    NAME=PIT
    ...
    IS_PITLANE=1
     
    Christoph Leipold likes this.
  12. Christoph Leipold

    Christoph Leipold New Member

    Joined:
    Oct 17, 2020
    Messages:
    20
    Likes Received:
    1
    That is all OK so far.
    I am now looking for a different way to do a mesh that simulates these large concrete slabs, that gives you that "gadong-gadong-gadong" feeling of the old german Autobahn.
    It should be like "island hopping" from one slab to the other.
    No idea yet as my first one didn´t work with the ai-line. o_O
    I do not know a similar track yet to take as an example.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice