AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   General (https://forums.alliedmods.net/forumdisplay.php?f=58)
-   -   [HELP] Play sound completely broken in CSGO (https://forums.alliedmods.net/showthread.php?t=320413)

HvG Community 12-21-2019 06:29

[HELP] Play sound completely broken in CSGO
 
I have 5 wav files inside of sound/greetings.

Initially none worked and i had
S_StartSound(): Failed to load sound 'greetings\hello.wav'. File is missing from disk/repository.

I fixed it by adding */ in front of the file path.



Hello 2,3,4 and 5 are no longer showing missing from disk but now they simply don't play.
https://i.gyazo.com/fc6f12f24bf582c0...483ee178f3.png
In above screenshot you can see that it doesn't return any errors for hello3 because it recognizes it exists in directory but it doesn't play the sound.

So because hello.wav works i tried making copies of it and then just renaming it but its still the same issue.

CowGod 12-21-2019 10:11

Re: [HELP] Play sound completely broken in CSGO
 
Do you have the file added to your FastDL server? Sounds like clients are not downloading it.

HvG Community 12-21-2019 10:48

Re: [HELP] Play sound completely broken in CSGO
 
I checked the console, it does get downloaded and i can also see it being downloaded to folder.

Its really weird.

CowGod 12-21-2019 15:06

Re: [HELP] Play sound completely broken in CSGO
 
Quote:

Originally Posted by HvG Community (Post 2677619)
I checked the console, it does get downloaded and i can also see it being downloaded to folder.

Its really weird.

Are the sounds not cached on map start?

HvG Community 12-22-2019 12:38

Re: [HELP] Play sound completely broken in CSGO
 
Code:

    PrecacheSound("*/greetings/hello.wav");
    PrecacheSound("*/greetings/hello.mp3");
    PrecacheSound("*/greetings/hello2.wav");
    PrecacheSound("*/greetings/hello3.wav");
    PrecacheSound("*/greetings/hello4.wav");


Yeah.


All times are GMT -4. The time now is 18:58.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.