Author Topic: Sounds not working,  (Read 586 times)

Hello guys i was trying to replace sounds in blockland.
When i was going to test it it was the same as default and not the sounds i replaced.
Can someone help me?

What sounds are you trying to replace?

What sounds are you trying to replace?

Admin , banned , pain , death , jump thats all.

Admin , banned , pain , death , jump thats all.
What files are you using? Also, how are you "replacing" them?

Admin , banned , pain , death , jump thats all.
I don't think you can actually replace the game's default sounds and have other players hear your custom sounds, so only you'll be able to hear them on your server

If you're okay with that, you'll need to have a client.cs file that you can make with Notepad with this as it's content
Code: [Select]
package NewServerSounds
{
function clientCmdMissionStart(%i)
{
Parent::clientCmdMissionStart(%i);

JumpSound.fileName = "./YOUR_FILE_NAME01.wav";
DeathCrySound.fileName = "./YOUR_FILE_NAME02.wav";
PainCrySound.fileName = "./YOUR_FILE_NAME03.wav";
AdminSound.fileName = "./YOUR_FILE_NAME04.wav";
}
};
activatePackage(NewServerSounds);
I can't remember anything about the ban sound right now so try those out and make sure your file names are correct

If you don't know what the folder structure should look like, it should look like this
Blockland
-Add-Ons
--Client_NewServerSounds
---client.cs
---description.txt
---YOUR_FILE_NAME01.wav
---YOUR_FILE_NAME02.wav
---YOUR_FILE_NAME03.wav
---YOUR_FILE_NAME04.wav

Packaging the add-on as a ZIP file isn't necessary unless you want to share it with others
« Last Edit: July 09, 2016, 09:59:56 AM by Masterlegodude »

I don't think you can actually replace the game's default sounds and have other players hear your custom sounds, so only you'll be able to hear them on your server

If you're okay with that, you'll need to have a client.cs file that you can make with Notepad with this as it's content
Code: [Select]
package NewServerSounds
{
function clientCmdMissionStart(%i)
{
Parent::clientCmdMissionStart(%i);

JumpSound.fileName = "./YOUR_FILE_NAME01.wav";
DeathCrySound.fileName = "./YOUR_FILE_NAME02.wav";
PainCrySound.fileName = "./YOUR_FILE_NAME03.wav";
AdminSound.fileName = "./YOUR_FILE_NAME04.wav";
}
};
activatePackage(NewServerSounds);
I can't remember anything about the ban sound right now so try those out and make sure your file names are correct

If you don't know what the folder structure should look like, it should look like this
Blockland
-Add-Ons
--Client_NewServerSounds
---client.cs
---description.txt
---YOUR_FILE_NAME01.wav
---YOUR_FILE_NAME02.wav
---YOUR_FILE_NAME03.wav
---YOUR_FILE_NAME04.wav

Packaging the add-on as a ZIP file isn't necessary unless you want to share it with others

Im actually about to hear sounds for my self on other servers, other players dont have to hear my sounds.
Edit : Nevermind i through it can only do in my server, but i have tested other servers and it worked aswell! Thank you for the help!
Edit 2 : What happend to the death sound and pain sound? it glitches and sounds like shhhhhhhhhhhhhh *bullet falls* Edit 3 - Nevermind i solved it my self. - Pain sound and death sound aren't working D: pls help
« Last Edit: July 09, 2016, 12:02:07 PM by Marinus »