|
Axe Software Forums
Quest Developer Forum .wav files
|
Author | Topic: .wav files |
kingcoaster |
posted 22-11-2002 23:24 GMT
Hi guys, its been ages since ive been on these forums, ive been hard at work on my game, ia am soon to release a demo, anyways.... I was editing my game and want to put sounds in, so i wanted someone to answer the phone and then listen to a .wav files, however, this was not the case. I did everything correctly but cant get it to work, could someone give me a step-by-step guide to how this works please? Thanks in advance guys, i can always count on you. |
Alex |
posted 22-11-2002 23:53 GMT
First make sure the script that is supposed to be playing the WAV file is running in the first place - try putting a command to print a message in the same place, and see if it prints. If that part of the script is indeed running, check that the WAV file is in the same directory as the game ASL file. If all is correct, please send me your ASL and WAV file and I'll take a look into it. |
kingcoaster |
posted 23-11-2002 10:53 GMT
Thanks, ALEX. But i didnt really understand it. could you please explain differently, sorry for bein such a pest. |
Alex |
posted 23-11-2002 11:46 GMT
Presumably somewhere in QDK you've added a script command which is supposed to play the WAV file at a certain point in the game. Right? Otherwise, you're not going to hear much! Then you just need to check that this script command is being called when you think it is being called. Now, on the same Script Editor window where it already says "Play the sound in (whatever)", click Add Command to add another command here. Make it print a message to say "the wav file should be playing now". Now, run your game in Quest and do whatever it is you need to do to get your wav file to play. If you see the message "the wav file should be playing now" when the wav file should be playing, that means that your script was called. If you DON'T see the message, there is a bug in your script - perhaps you have set the wrong variable somewhere. If you DO see the message, you then need to check that the wav file is in the same folder that your game is saved to. |
kingcoaster |
posted 23-11-2002 16:29 GMT
All i did was... Created an object called phone, when you take the phone a message comes over( or is supposed to). I did this without proggramming, i just edited the object, and selected takeable. Then i said start.wav file and typed in the title of the file. i have tried many variations and it wont work. It is fruastrating |