Bridge Commander Central
BC Forums => BC Scripting => Topic started by: AdmiralKathryn on November 29, 2006, 05:48:20 PM
-
Hi Im not new here just never posted before, I am needing a little help with a small request (dont we all)
I am wanting to add a sound when using the distress call mod, I want the sound to play a couple pf seconds after the button is pressed and i have been trying to write the code for this. Its for my own personal use but my scripting skills are rusty and where never great to start with, any help is appreciated thanks for your time
-
which mod? and, if it is in wav format, you can easily edit it...
-
Its the Distress Call mod by Defiant, It comes with either Km or BCS:TNG, the one that actually brings ships in to help you. My version doesnt play any sounds at the mo, was wanting to add a sound which is in wav format
thanks
-
So let me see you want 5-10 sec delay?!
If so post the script and the sound and I'll do it in 2 mins lol
-
I appreciate your quick responce and your offer :D
say a two sec delay that would be great thanks for your help!!!
i am not able to post the sound file but it is just called distress to replace one in the sfx main directory, if you need it i can email it to you later
thanks again
-
I do need the sound file, or at least it's full filename, extension and path info. I have to 'tell' the script which sound to play, where to find it!
-
if i'm not mistaken, it is included with KM, under sfx/Distress...
-
Thanks again for your help guys!
This is the path of the file C:\Program Files\Activision\BridgeCommander\sfx
and i have included the file sound file as a .pyc, i changed the extension with irfanview. It plays fine if you just change it to wav again by renaming the file lol
Thanks again everyone for you help :D