![]() |
Sound Problem :(
Okay...not scripting but there was no catagory for this...
so please could u help.... i have scripted a instrument and it works correctly except for one thing! no one can hear the sound!!! SFX's have been buggin me for a while some work some dont! when i upload! how can i upload them so they download into the players sound file because this is really annoying me lol..... please help also the script works for me since i dragged the files into the sounds folder my self :D Thanks ;) |
I agree, this seems to be the best category.
Do you have set the correct folder configuration thingie? Assuming you have the sound files as levels/sounds/foo.wav, you would need `file sounds/*.wav' or something similar. |
yeah im using "file SFX/*.wav "
but for some reason even tho the files are in that folder it still wont work :( |
You should lowercase sfx
|
damn, that didnt work neither....
i also tried making a folder just called Sounds "file Sounds/wav*" that still didnt work :( what is going on? |
*.wav, not wav*, eh?
Not sure, otherwise. Can you post the parts of the script that try to play something? Anybody else, do we need a seperate sound-like directive in the folder config, or will file do fine? :\ |
if (keydown(0)) { setani zenkouplaysteeldrums2,play zensd8.wav; }
i think its sumthing to do with the folder config still tho |
Err.
That piece of script should not work :( Can you, for testing, do something like: NPC Code://#CLIENTSIDE Does such work? |
//#CLIENTSIDE
if (weaponfired) { this.enabled=1; disabledefmovement; playerdir=2; setani zenkouplaysteeldrums1,zenkousteeldrums.png,; timeout=.1; } if (timeout&&isweapon) { if (keydown(0)) { setani zenkouplaysteeldrums2,zensd8.wav; } |
Such perhaps?
NPC Code://#CLIENTSIDE Do you not want to loop the timeout or something? |
i did the test....and i tested ocean.wav which worked
and then my file.... which didnt work |
Open your rights and show us what you have as the folder.
|
Arnt you suppose to upload the sounds from a website or somet?
|
I am not sure. I think sounds are allowed, but music is not.
|
Quote:
|
I got it working for them, just made their script play the gani with play PARAM1 in the gani so that they could do
setani gani,sound.wav; |
| All times are GMT +2. The time now is 07:51 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.