Blockland Forums > Modification Help

Sounds Issue with Disc

Pages: << < (2/2)

Crysist:


--- Code: ---   filename    = "./ DiscHit.wav";
--- End code ---
Why did you put a space between / and disc? I think then it tries to find a file named " dischit.wav" instead of "dischit.wav". Because the state

--- Code: --- stateSound[5] = DiscFireSound;
--- End code ---
is right, it matches. And so does

--- Code: ---datablock ExplosionData(DiscExplosion)
{
   //explosionShape = "";
   lifeTimeMS = 150;

   soundProfile = DiscExplosionSound;
   //...

--- End code ---
So try taking away those spaces with the file paths.

Pages: << < (2/2)

Go to full version