Hey Does anyone have a list of the different contactMaterialID1 values, which is used in sounds.lua wheels section, or know of a way to find them? I'd like to add rolling and skidding sounds to dirt surfaces, and I need the proper contactmaterialID to differentiate sounds between asphalt and dirt.
I've driven over them with the console spamming the contactMaterialID1 and figured out this (not entirely accurate, but close enough.. Doesn't have all the materials either) Code: M.materialMap = { [10] = "asphalt", [15] = "dirt", [16] = "sand", [18] = "mud", [20] = "grass", [21] = "ice", } I use 'M.materialMap[wd.contactMaterialID1]' to figure out the string version of it.
Thank you! That will help a lot. Now if only I could figure out what else I need to do to add more skid and rolling sounds in addition to adding more singleton SFXprofile instances to audioprofiles.cs I could make a properly working skid sound mod.