SOLVED How to use surfaces in surfaces.ini

Discussion in 'Tracks' started by jsarbour, Jul 12, 2019.

  1. jsarbour

    jsarbour New Member

    Joined:
    Jul 12, 2019
    Messages:
    7
    Likes Received:
    0
    If I create (or steal) a surface in /data/surfaces.ini, how do I actually implement it in my track? So far I've only been "using" the default surfaces.

    Do I simply name the blender objects the key of that surface? So if I have

    [SURFACE_1]
    KEY=KERB
    FRICTION=9
    DAMPING=9
    WAV=kerb.wav
    WAV_PITCH=9
    FF_EFFECT=9
    DIRT_ADDITIVE=9
    BLACK_FLAG_TIME=9
    IS_VALID_TRACK=9
    SIN_HEIGHT=9
    SIN_LENGTH=9
    IS_PITLANE=9
    VIBRATION_GAIN=9
    VIBRATION_LENGTH=9

    in my surfaces.ini and I want to use it on an object, I name the object "1KERB" and then "1KERB2" and so on?

    Thanks
     
  2. luchian

    luchian Administrator Staff Member

    Joined:
    Jun 3, 2014
    Messages:
    3,007
    Likes Received:
    1,491
    Yes.
     
    Norman Leslie likes this.
  3. teleios

    teleios New Member

    Joined:
    Sep 2, 2022
    Messages:
    2
    Likes Received:
    0
    But this doesn't work for me i am trying to do so from 3 days please help thank you. i have seen your posts well detailedly.
     
  4. Mitch9

    Mitch9 Member

    Joined:
    May 2, 2021
    Messages:
    35
    Likes Received:
    9
    Might be easier to see the problem if you actually show your meshes outline in the ks editor and your surfaces entries in the ini file
     
    teleios likes this.
  5. RMi_wood

    RMi_wood New Member

    Joined:
    Apr 21, 2022
    Messages:
    2
    Likes Received:
    0
    your example values (9!!!) may be causing issues and for testing try using a non-default surface entry.
    try:
    [SURFACE_0]
    KEY=TEST
    FRICTION=0.90
    DAMPING=0
    WAV=kerb.wav
    WAV_PITCH=1.3
    FF_EFFECT=1
    DIRT_ADDITIVE=0
    BLACK_FLAG_TIME=0
    IS_VALID_TRACK=0
    SIN_HEIGHT=0.01
    SIN_LENGTH=0.05
    IS_PITLANE=0
    VIBRATION_GAIN=0.04
    VIBRATION_LENGTH=0.05

    name your meshes/objects:
    1TEST_1
    1TEST_2
    etc.

    be sure to put the surfaces.ini into content/tracks/your_track/data
     
  6. kingexe

    kingexe New Member

    Joined:
    Dec 19, 2022
    Messages:
    3
    Likes Received:
    0
    what if I want to adjust the level of grip on my track? what key should be generated?
    because I feel that the track that I made using RTB has a different level of grip (more slippery) when compared to other tracks
     
  7. RMi_wood

    RMi_wood New Member

    Joined:
    Apr 21, 2022
    Messages:
    2
    Likes Received:
    0
    FRICTION=1.0 ; friction is 100%

    FRICTION=0.90 ; friction is 90%
     
  8. kingexe

    kingexe New Member

    Joined:
    Dec 19, 2022
    Messages:
    3
    Likes Received:
    0
    thankyou
     
  9. Rob Pawn

    Rob Pawn Member

    Joined:
    Sep 24, 2022
    Messages:
    89
    Likes Received:
    17
    Location:
    Germany
    Good Day...

    What defines the tires to squek on the surface? (sound)

    Default Sand and my own Grass surface does not squek.
    But i made as well a own Gravel and SandTrap one and those are squeking and i can not figure out how to turn this off.
     
  10. Johnr777

    Johnr777 Moderator

    Joined:
    Jul 26, 2017
    Messages:
    1,048
    Likes Received:
    613
    WAV=
     
  11. Rob Pawn

    Rob Pawn Member

    Joined:
    Sep 24, 2022
    Messages:
    89
    Likes Received:
    17
    Location:
    Germany
    hey john. this i do not understand. "wav= nothing"

    i have e.g. [GRAVEL] wav=sand.wav
    and default [SAND] uses aswell sand.wav

    but on my gravel the tires squek <-- [edit: squeak]
     
    Last edited: Mar 9, 2024
  12. Johnr777

    Johnr777 Moderator

    Joined:
    Jul 26, 2017
    Messages:
    1,048
    Likes Received:
    613
    What is squek.............
     
  13. Rob Pawn

    Rob Pawn Member

    Joined:
    Sep 24, 2022
    Messages:
    89
    Likes Received:
    17
    Location:
    Germany
    tyre rubber scratching noise
     
  14. Johnr777

    Johnr777 Moderator

    Joined:
    Jul 26, 2017
    Messages:
    1,048
    Likes Received:
    613
    What does your surface.ini file look like
     
  15. Rob Pawn

    Rob Pawn Member

    Joined:
    Sep 24, 2022
    Messages:
    89
    Likes Received:
    17
    Location:
    Germany
    ; this is with tire rubber squeakin/scratching noises like on tarmac
    [SURFACE_5]
    KEY=GRAVEL
    FRICTION=0.9
    DAMPING=0.02
    WAV=sand.wav
    WAV_PITCH=-0.5
    FF_EFFECT=0
    DIRT_ADDITIVE=1.00
    IS_VALID_TRACK=1
    BLACK_FLAG_TIME=0
    SIN_HEIGHT=0.01
    SIN_LENGTH=0.5
    IS_PITLANE=0
    VIBRATION_GAIN=0
    VIBRATION_LENGTH=0

    ; this is just fine - without noises (except grass.wav of course)
    [SURFACE_6]
    KEY=GRAS
    FRICTION=0.8
    DAMPING=0
    WAV=grass.wav
    WAV_PITCH=0
    FF_EFFECT=0
    DIRT_ADDITIVE=0.3
    IS_VALID_TRACK=1
    BLACK_FLAG_TIME=0
    SIN_HEIGHT=0
    SIN_LENGTH=0
    IS_PITLANE=0
    VIBRATION_GAIN=0
    VIBRATION_LENGTH=0

    ; this has as well squeak sounds
    [SURFACE_11]
    KEY=TRAP
    FRICTION=0.9
    DAMPING=0.1
    WAV=sand.wav
    WAV_PITCH=-0.5
    FF_EFFECT=0
    DIRT_ADDITIVE=1.00
    IS_VALID_TRACK=1
    BLACK_FLAG_TIME=0
    SIN_HEIGHT=0.05
    SIN_LENGTH=0.7
    IS_PITLANE=0
    VIBRATION_GAIN=0
    VIBRATION_LENGTH=0

    ; whereas default surfaces.ini [SAND] is without squeakin noises
     
  16. Johnr777

    Johnr777 Moderator

    Joined:
    Jul 26, 2017
    Messages:
    1,048
    Likes Received:
    613
    Maybe hardcoded then. Assetto corsa was only really programmed with the simple ROAD - GRASS - KERB - SAND physical setup
     
  17. Rob Pawn

    Rob Pawn Member

    Joined:
    Sep 24, 2022
    Messages:
    89
    Likes Received:
    17
    Location:
    Germany
    ok, i see i need to change my own [TRAP] surface into [SAND].
    then i still have the problem with [GRAVEL] and have to decide if i accept the noises or make a compromise in TRAP/GRAVEL sin_height and dampening. Or maybe its possible to make [SAND] + [SAND1,2,3]
    Cause my own [GRAS] works fine like default [GRASS] without noises... i will see.

    ___________________________________

    i don't get it... i tested everything now. Nothin is workin...
    Why GRAS (instead of GRASS) is workin but not SAND when i put it into custom surfaces.ini?!
    As soon i place [SAND] in custom ini it starts squeakin again... so there is only original default SAND surface that we can use... frustrating! i think sin-length is to long.

    Anyone has a solution for this?
     
    Last edited: Apr 25, 2023
  18. fughettaboutit

    fughettaboutit aka leBluem

    Joined:
    Jul 21, 2014
    Messages:
    1,113
    Likes Received:
    378
    check ..documents\a..c..\logs\log.txt
    for smth like this:
    ERROR: Mesh 02KERBHIGH03 CAN BE: KERB KERBHIGH
    ERROR: Mesh 01CARPETREDWHITE01 CAN BE: CARPET CARPETREDWHITE

    if you have such errors, rename meshes so they only have one surfacename in them

    other than that, try with DIRT_ADDITIVE=0
     
  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