Author Topic: Adding Sound to Distress Call  (Read 4186 times)

Offline AdmiralKathryn

  • Posts: 78
  • Cookies: 4
  • Starfleet Captain
Adding Sound to Distress Call
« 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

Offline JimmyB76

  • Posts: 6423
  • Cookies: 421
Re: Adding Sound to Distress Call
« Reply #1 on: November 29, 2006, 06:33:49 PM »
which mod?  and, if it is in wav format, you can easily edit it... 

Offline AdmiralKathryn

  • Posts: 78
  • Cookies: 4
  • Starfleet Captain
Re: Adding Sound to Distress Call
« Reply #2 on: November 30, 2006, 02:19:12 PM »


 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

Offline Mario

  • Senior Software Developer
  • Administrator
  • Posts: 2200
  • Cookies: 1707
  • Life is life
Re: Adding Sound to Distress Call
« Reply #3 on: November 30, 2006, 02:53:50 PM »
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
Acta, non verba.
aka USS Sovereign

Offline AdmiralKathryn

  • Posts: 78
  • Cookies: 4
  • Starfleet Captain
Re: Adding Sound to Distress Call
« Reply #4 on: November 30, 2006, 05:57:31 PM »
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


Offline Mario

  • Senior Software Developer
  • Administrator
  • Posts: 2200
  • Cookies: 1707
  • Life is life
Re: Adding Sound to Distress Call
« Reply #5 on: November 30, 2006, 06:45:26 PM »
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!
Acta, non verba.
aka USS Sovereign

Offline JimmyB76

  • Posts: 6423
  • Cookies: 421
Re: Adding Sound to Distress Call
« Reply #6 on: November 30, 2006, 09:06:32 PM »
if i'm not mistaken, it is included with KM, under sfx/Distress...

Offline AdmiralKathryn

  • Posts: 78
  • Cookies: 4
  • Starfleet Captain
Re: Adding Sound to Distress Call
« Reply #7 on: December 01, 2006, 02:49:42 PM »


  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