Corosauce / ZombieAwareness

Minecraft Forge Mod - Ehanced AI awareness for vanilla MC mobs
http://coros.us/mods/zombieawareness
46 stars 19 forks source link

Attempting to replace the sounds with a resourcepack, could use help #45

Closed katubug closed 4 years ago

katubug commented 4 years ago

Hi! Firstly, thank you for this awesome mod!

I am working on a modpack at the moment, and the current sounds are a bit off-theme. I was hoping to replace the zombie_target_1.ogg with a much shorter growl, and the investigate sounds to something a little more ominous and obviously not-vanilla.

I have the files that I've made so far in .ogg format, placed in the correct folder structure (as far as I know):

|   pack.mcmeta
|   
\---assets
    \---zombieawareness
        \---sounds
            |   alert.ogg
            |   alertoriginal.ogg
            |   
            +---investigate
            |       zombie_investigate_1.ogg
            |       
            \---target
                    zombie_target_1.ogg

Here is the resource pack, if that's easier: https://www.dropbox.com/s/bltt04gn6hbuhei/zombie_awareness_sounds.zip?dl=0

It is worth noting that my config is set to have the "alert" file used instead of the "target" - that's how I had set it earlier and I wanted to get the whole thing working before I settled on that for good. The "alertoriginal.ogg" is just an alternate file that I've been swapping between (the other version is the same but louder), in case the issue was that I just couldn't hear it.

Anyway, now the mobs don't make any noise whatsoever when they begin targeting the player. So it seems that I'm doing something right, but yet also wrong. I am not sure where exactly to ask for help, so I figured I'd give here a shot, in case you could offer me any advice.

Thank you very much for your time!

katubug commented 4 years ago

I figured it out! I needed to put it in the /resources/ folder directly instead of /resources/assets/, and I needed to include the sounds.json.