QUESTION Pitlane not enabling pit limiter

Discussion in 'Tracks' started by qwerty4o4, Mar 16, 2024.

  1. qwerty4o4

    qwerty4o4 New Member

    Joined:
    Aug 7, 2023
    Messages:
    2
    Likes Received:
    0
    So it's my first track mod, I have made a piece of track named 1PITS, and I defined the surface as follows:
    [SURFACE_3]
    KEY=PITS
    FRICTION=0.99
    DAMPING=0
    WAV=
    WAV_PITCH=0
    FF_EFFECT=NULL
    DIRT_ADDITIVE=0
    IS_VALID_TRACK=1
    BLACK_FLAG_TIME=0
    SIN_HEIGHT=0
    SIN_LENGTH=0
    IS_PITLANE=1
    VIBRATION_GAIN=0
    VIBRATION_LENGTH=0

    in data/surfaces.ini
    Yet when I go to test the track, there is no pit limiter. Why is this? I thought I just needed to define the IS_PITLANE=1 for it to work. It's not an issue with the surfaces.ini, because my grass works perfectly fine.
     
  2. Fuzo

    Fuzo Member

    Joined:
    May 24, 2018
    Messages:
    101
    Likes Received:
    18
    Location:
    Bydgoszcz, Poland
    Is that mesh in pits visual or is it hidden physical mesh with another visual mesh above it?
     
  3. qwerty4o4

    qwerty4o4 New Member

    Joined:
    Aug 7, 2023
    Messages:
    2
    Likes Received:
    0
    It’s both a physical and visual mesh. I did not realize those have to be separated.
     
  4. Johnr777

    Johnr777 Moderator

    Joined:
    Jul 26, 2017
    Messages:
    1,050
    Likes Received:
    615
    That’s not an issue, but… do you have any other meshes also named PIT?
     
  5. Fuzo

    Fuzo Member

    Joined:
    May 24, 2018
    Messages:
    101
    Likes Received:
    18
    Location:
    Bydgoszcz, Poland
    they don't need to be separated, but sometimes, if visual mesh is named wrongly, it can be detected as a physical mesh and since visual is usually above physical, AC will think you are on another surface that you would like to be. But if the mesh is both visual and physical, I suggest to check AC log.txt file from Documents/Assetto Corsa/logs and there will be section where AC guesses the surfaces from the object names and you can find some hints there what went wrong.
     
  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