Author |
Message |
breakwarp11
Joined: Sun Aug 21, 2016 6:01 pm Posts: 26 Location: A large hollow geode
|
Sound implementation help needed
So here's the dilema I'm facing... I copied the ronin file so that I could modify it into a new faction in my game, however the only thing I want to change are the sprites and the pain/death sounds. I have my custom sounds all neatly packed in a folder ready to get some use but I am just too stupid to figure it out... I tried doing it on my own but the sounds the actors made were just the same as the normal ronin. Yes I do realize that this is most likely a very basic simple task but please, if you have the time and the patience to lend me a hand I would be most grateful. Thanks!
|
Sun Sep 11, 2016 12:11 am |
|
|
RandomCoderZ
Joined: Fri Sep 13, 2013 1:39 am Posts: 157 Location: ᴱᵛᵉʳʸʷʰᵉʳᵉ
|
Re: Sound implementation help needed
This is what I wrote as a comment on your Medusa mod: RandomCoderZ wrote: Fixing custom sounds is easy, If you want them to talk when changing weapons just add this as a single code above everything in the actor code: Code: AddSound = Sound PresetName = Random Talk AddSample = ContentFile FilePath = Test.rte/Bla/RandomSound0.wav AddSample = ContentFile FilePath = Test.rte/Bla/RandomSound1.wav Then under the Actor you just change the: Code: DeviceSwitchSound = Sound CopyOf = Random Talk And it will choose one of the sounds you added in there randomly when you change weapon or item. You can also add samples on your defined sound directly by doing this: Code: DeviceSwitchSound = Sound AddSample = ContentFile FilePath = Test.rte/Bla/Sound0.wav This works with all sounds. Hope that helps.
|
Sun Sep 11, 2016 2:58 am |
|
|
breakwarp11
Joined: Sun Aug 21, 2016 6:01 pm Posts: 26 Location: A large hollow geode
|
Re: Sound implementation help needed
Thanks! This worked! However... I am now facing crashes as the game says it failed to read the preset in the 9th line... I just dont get why though... Ive tried everyting I could think of, from replacing the audio file, to renaming and nothing works out... I know the information I'm providing here is a little vague but, again, If you would be willing to help I'd be pretty happy! Thanks!
|
Sun Sep 11, 2016 10:38 pm |
|
|
RandomCoderZ
Joined: Fri Sep 13, 2013 1:39 am Posts: 157 Location: ᴱᵛᵉʳʸʷʰᵉʳᵉ
|
Re: Sound implementation help needed
breakwarp11 wrote: Thanks! This worked! However... I am now facing crashes as the game says it failed to read the preset in the 9th line... I just dont get why though... Ive tried everyting I could think of, from replacing the audio file, to renaming and nothing works out...
I know the information I'm providing here is a little vague but, again, If you would be willing to help I'd be pretty happy! Thanks! Yup very vague. But it could be that the file is not the same bit depth. I render my sounds to "16Bit int" when i make my sound effects. Oh, they need to be wav too.
|
Sun Sep 11, 2016 10:55 pm |
|
|
breakwarp11
Joined: Sun Aug 21, 2016 6:01 pm Posts: 26 Location: A large hollow geode
|
Re: Sound implementation help needed
Yeah... I do have my audio files in that exact format. Oh boy. I will keep trying to find my way around this. Thanks for the help!
|
Sun Sep 11, 2016 11:10 pm |
|
|
RandomCoderZ
Joined: Fri Sep 13, 2013 1:39 am Posts: 157 Location: ᴱᵛᵉʳʸʷʰᵉʳᵉ
|
Re: Sound implementation help needed
breakwarp11 wrote: Yeah... I do have my audio files in that exact format. Oh boy. I will keep trying to find my way around this. Thanks for the help! Oh i didn't see those pictures before when i replied. Take out the code and paste in a new empty .ini and see if that works.
|
Sun Sep 11, 2016 11:17 pm |
|
|
breakwarp11
Joined: Sun Aug 21, 2016 6:01 pm Posts: 26 Location: A large hollow geode
|
Re: Sound implementation help needed
I did try doing that but then they just dont make any sounds... Meh, I have already given up, It's alright Thanks for help though, I really appreciate it!
|
Mon Sep 12, 2016 12:21 am |
|
|
RandomCoderZ
Joined: Fri Sep 13, 2013 1:39 am Posts: 157 Location: ᴱᵛᵉʳʸʷʰᵉʳᵉ
|
Re: Sound implementation help needed
breakwarp11 wrote: I did try doing that but then they just dont make any sounds... Meh, I have already given up, It's alright Thanks for help though, I really appreciate it! You are welcome. Though I'm sad you're giving up on such a simple matter. I wish to help you further but you will have to send me the .rte folder so I could take a look at it.
|
Mon Sep 12, 2016 12:44 am |
|
|
breakwarp11
Joined: Sun Aug 21, 2016 6:01 pm Posts: 26 Location: A large hollow geode
|
Re: Sound implementation help needed
I GOT IT!
For some reason if i used more than 2 samples it would not work, so I tried adding another sound thing with 2 samples and was able to use more than 2 sounds for them! This explanation on how I did it it's not that great as I don't really have a vast vocabulary when it comes to the terminology used in modding.
Thanks for all the help and support! I praise that imensely!
|
Mon Sep 12, 2016 10:16 pm |
|
|
RandomCoderZ
Joined: Fri Sep 13, 2013 1:39 am Posts: 157 Location: ᴱᵛᵉʳʸʷʰᵉʳᵉ
|
Re: Sound implementation help needed
breakwarp11 wrote: I GOT IT!
For some reason if i used more than 2 samples it would not work, so I tried adding another sound thing with 2 samples and was able to use more than 2 sounds for them! This explanation on how I did it it's not that great as I don't really have a vast vocabulary when it comes to the terminology used in modding.
Thanks for all the help and support! I praise that imensely! Glad I could be of help
|
Mon Sep 12, 2016 11:47 pm |
|
|
|