Jump to content

Adding sounds to science parts


frizzank

Recommended Posts

I have a Geiger counter and I would like to add a cool Geiger sound to it when you activate the science part.

I cant get generic animations to play sounds.

using

sound_Geiger = activate

sound_Geiger = engage

sound_Geiger = deploy

None made any sound with my custom sound or built in ones. I am assuming the generic animations don't have hook ups for sound or am I using the wrong thing?

Link to comment
Share on other sites

I'm not sure how or if Animation sounds work, but I know you need special directories for custom engine sounds. From your file names I assume that your already creating a Sounds folder in your part's folder. If this is possible it would be a nice feature (specifically for the Enterprise).

Link to comment
Share on other sites

I can get custom sounds to work for other things like engines and decouplers, but not for generic animations or science parts....

What you are using there is FXGroups, and they need to be set up in the code of the module. Activate is the only universal one to my knowledge, and is used when the part is staged. All the other are module dependant.

You'll need to have a plugin if you want to hook a sound to an animation, I do not believe ModuleAnimateGeneric can go along with sounds. I'm not sure, but I believe Firespitter may allow sounds to play with it's animation. You'd have to check it.

Else writing a plugin for this would be relatively simple.

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...