Jump to content

Adding Sounds


kev061

Recommended Posts

I have started this thread for information about adding WORKING sounds.

There are a few tutorials out there, but they no longer work with the current format of KSP. Simply adding sound files and changing the config files within the parts (like Squad has done) does not work either.

I am wondering if there is a source somewhere that I might have missed or for information for us that want to add/edit sounds within the game or within personal mods. Any info (that currently works with 0.21) would be greatly appreciated.

Link to comment
Share on other sites

Here we have a similar thread. It among others contains how i changed my mainsail sound, what might be exactly what you are interested in. Doing it like squad does work, but you have to place (& name) your sounds very... "strictly".
Link to comment
Share on other sites

This did not work for me either. I am trying to add a sound to a docking port when it is docked and one for undocking. It might be my command line in my config file... but adding = activate (or) = engage (or) = disengage after sound_file_name do not work. Is there a resource that tells us what other commands we can use in config files to activate a sound on a certain item?

Link to comment
Share on other sites

Hm thats odd, that music mainsail is working fine for me.

So you do not want to replace stock music but add sth? All the cfg part can do is create an FXGroup for your sound and a name if you are successful, you can even see that in your ksp.log:

[LOG 13:09:27.510] PartLoader: Compiling Part 'Faark/Part/musicMainsail/part/musicMainsail'
[LOG 13:09:27.545] Added sound_editorLoop01 to FXGroup running
[LOG 13:09:27.549] Added sound_explosion_low to FXGroup flameout

Anyway, if the game does not tries to use your FXGroup, it obviously wont work. I'm not sure how the game actually handles FXGroups, but you might have to create a part module that detects when sth is docking/undocking and fires you fxgroup with sth like that:

part.findFxGroup("uncouple").Burst();

Link to comment
Share on other sites

First off, thanks for your time and effort Faark. I am afraid that it was all for nothing. To be honest, I am a beginner when it comes to modding. After spending many hours trying to get one simple sound to work, I have realized that this is not for me. Once I do figure it out, squad will change the game format again and I will be at square one. It has left such a bad taste in my mouth that I am no longer even interested in playing KSP so I uninstalled it.

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...