PDA

View Full Version : Bisurf and roadway sounds



Rocket
Oct 1 2007, 09:01
I've searched everything trying to get my roadways making sounds other than the default.

I have created a rvmat file:
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">
surfaceInfo = &#34;plate01.bisurf&#34;;
[/QUOTE]
and a bisurf file:
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">
rough = 0.15;
dust = 0.1;
soundEnviron = &#34;metal&#34;;
impact = &#34;Impact_Metal&#34;;
isWater = &#34;false&#34;;
[/QUOTE]
I tried adding this to both the LOD geometry and the Roadways, but alas - the sound is exactly the same when I walk on it to as it was before.

Any ideas?

Armored_Sheep
Oct 1 2007, 14:57
Sound is linked to roadways same way as in OFP - config defines which keywords in the texture link do specific sound.

Rocket
Oct 6 2007, 10:54
Its working&#33; Ah thank you so much http://forums.bistudio.com/oldsmileys/smile_o.gif Solution was actually very easy.

No need for RVMAT editing, I simply put the following in the config file:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">
class CfgSurfaces {
class Default;

class Water;

class Roadway;

class Plate &#58; Default {
files = &#34;&#91;b&#93;plate01&#91;/b&#93;*&#34;;
rough = 0.15;
dust = 0.1;
soundEnviron = &#34;metal&#34;;
character = &#34;Empty&#34;;
impact = &#34;Impact_Metal&#34;;
};
};
[/QUOTE]

The bolded bit was the name of the texture, now it sounds like you are walking on metal http://forums.bistudio.com/oldsmileys/smile_o.gif

Thanks so much Armored_Sheep - you made my day&#33;