drunken officer 18 Posted November 9, 2011 Hi guys. I want to add some different sounds to my model, when you walk inside. I know, i have to do it in the roadwaylod -> "e" -> "materials". But how to do, to "load" a sound file in a *.rvmat file? Share this post Link to post Share on other sites
mondkalb 1087 Posted November 9, 2011 'rong! To have walking sounds inside a building you have to assign a texture to the roadway LOD. Best would be to use the surface-textures in ca\data\surfaces. Share this post Link to post Share on other sites
Synide 0 Posted November 9, 2011 You just map a face (or faces) in the roadway LoD straight to a 'texture' file in the Texture field under 'Face Properties'. In your config for your building you can add a 'new' CfgSurfaces sub-class that links your 'texture' to a 'soundEnviron'. And, under class SoundEnvironExt for a character is where you link a sound file to the 'soundEnviron'. Or, you can use the existing ones like... For instance if you mapped a roadway poly face to any texture that started with 'dum_mesto_koberec*' then the engine would go looking for soundEnviron="carpet"; and then go looking for the class SoundEnvironExt class called 'carpet' for the character you are in and play one of the sounds from there. Share this post Link to post Share on other sites
drunken officer 18 Posted November 10, 2011 THX, it works! Share this post Link to post Share on other sites