Importing (but not replacing) new sounds for mod development
Posted: Tue May 19, 2020 10:15 pm
Hi all,
A while ago, I started a branch for a rudimentary NPC voice greeting mod that I was thinking of doing. It required the use of multiple clips of recorded voices. I tried sifting through the codebase to find a method that imports new sounds, but not for the purpose of replacing existing noises. I personally couldn't find any, so I instead wrote a method here.
I just wanted to confirm with everybody here that there isn't a way to import new sounds without the purpose of replacing existing sounds. If there isn't, I think it would be greatly beneficial for the modding community to add one, and I'd like to discuss what you think would be the best way to implement it. Currently, the method I wrote is in "SoundReplacement" so it doesn't exactly fit within that class. I'd like to propose making another class like "SoundImporter", or maybe just renaming the class.
I'm interested in making an ambiance mod that adds tavern, village, and town noises to make the environment feel more lively, and as far as I can tell, it currently doesn't seem possible from what I've gathered.
A while ago, I started a branch for a rudimentary NPC voice greeting mod that I was thinking of doing. It required the use of multiple clips of recorded voices. I tried sifting through the codebase to find a method that imports new sounds, but not for the purpose of replacing existing noises. I personally couldn't find any, so I instead wrote a method here.
I just wanted to confirm with everybody here that there isn't a way to import new sounds without the purpose of replacing existing sounds. If there isn't, I think it would be greatly beneficial for the modding community to add one, and I'd like to discuss what you think would be the best way to implement it. Currently, the method I wrote is in "SoundReplacement" so it doesn't exactly fit within that class. I'd like to propose making another class like "SoundImporter", or maybe just renaming the class.
I'm interested in making an ambiance mod that adds tavern, village, and town noises to make the environment feel more lively, and as far as I can tell, it currently doesn't seem possible from what I've gathered.