• Dear visitors,

    The email issue has been finally solved.
    Thank you for your patience and happy browsing.

    Team ACM.

SOLVED How to use surfaces in surfaces.ini

jsarbour

New Member
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
 

Mitch9

Member
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.
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
 

RMi_wood

New Member
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
 

kingexe

New Member
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
 

Rob Pawn

Active Member
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.
 

Johnr777

Moderator
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.
WAV=
 

Rob Pawn

Active Member
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:

Rob Pawn

Active Member
; 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
 

Johnr777

Moderator
Maybe hardcoded then. Assetto corsa was only really programmed with the simple ROAD - GRASS - KERB - SAND physical setup
 

Rob Pawn

Active Member
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:

fughettaboutit

aka leBluem
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
 
Top