SOLVED another weird AI bug to solve

Discussion in 'Tracks' started by chrisallen76, Apr 24, 2021.

  1. chrisallen76

    chrisallen76 New Member

    Joined:
    Feb 21, 2021
    Messages:
    15
    Likes Received:
    6
    So on my new Croft track I have the pit lane, road and a pit wall defined.
    I've got working AI splines (which I've recreated 3 times just to be sure)
    In practice and quali the AI behaves as it should, however in a race at the start, some AI cars want to use the pit lane and crash into. the wall

    You can see both my AI splines in the screenshots below along with the wall object marked in red.
    All asphalt the right is set to be 01ROAD, and everthing to the left is either 01PITS (which I have defined and is working ok) or 01NOTVALID (which is defined in my surfaces.ini as not valid road)

    [​IMG]
    fast-lane.ai

    [​IMG]

    pit lane.ai

    Also screenshot to show lines in game using the AI app

    [​IMG]


    also I have a video that shows the behaviour in full



    Any ideas on what could be wrong?

    thanks
     
    Last edited: Apr 24, 2021
  2. JrC

    JrC Active Member

    Joined:
    Feb 2, 2021
    Messages:
    216
    Likes Received:
    130
    Location:
    Canada
    i had a weird issue when i was working with the AI where they would pull out of the pit stall straight left into the pitwall on that side.

    I deleted ( maybe just move yours if you have them) the payload ai files and it worked normally again.
     
  3. Gunnar333

    Gunnar333 Well-Known Member

    Joined:
    Aug 5, 2017
    Messages:
    321
    Likes Received:
    618
    Location:
    Germany
  4. fughettaboutit

    fughettaboutit aka leBluem

    Joined:
    Jul 21, 2014
    Messages:
    1,113
    Likes Received:
    378
    Beware, CustomShadersPatch kind of ignores your borders, that you may have made, if this is enabled: upload_2021-4-25_17-5-28.png
    CSP will make up new borders based on IS_VALIDTRACK=1 from "surfaces.ini" with that thing enabled!
     
  5. JrC

    JrC Active Member

    Joined:
    Feb 2, 2021
    Messages:
    216
    Likes Received:
    130
    Location:
    Canada
    What is the purpose of the payload files?
     
  6. fughettaboutit

    fughettaboutit aka leBluem

    Joined:
    Jul 21, 2014
    Messages:
    1,113
    Likes Received:
    378
    only thing i can find on that is the hover-help:
    upload_2021-4-25_17-10-29.png
     
    JrC likes this.
  7. chrisallen76

    chrisallen76 New Member

    Joined:
    Feb 21, 2021
    Messages:
    15
    Likes Received:
    6
    Thanks Gunnar, that's perfect, and now working as it should be
     
    Norms and Gunnar333 like this.
  8. Norms

    Norms New Member

    Joined:
    Apr 27, 2021
    Messages:
    3
    Likes Received:
    0
    chrisallen76 do you have a development thread I can follow on here or somewhere? Croft is local to me and I have many race pictures. If you needed, the next time I am there I could get some more detailed pictures?
     
  9. chrisallen76

    chrisallen76 New Member

    Joined:
    Feb 21, 2021
    Messages:
    15
    Likes Received:
    6
    Hey Norms, thanks for the offer. I'm just building it as a personal project right now, learning as I go, but I'll bear it in mind should it develop into something I might release
     
    Norms likes this.
  10. Hya6GT

    Hya6GT New Member

    Joined:
    Jul 8, 2023
    Messages:
    11
    Likes Received:
    1
    I don't have the option to track left or right
     
  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