So for a while I've been using a footstep common event to play sounds, because I originally thought I would need to reserve my terrain tags for another plugin. However, the common event solution requires me to constantly flip switches with events at certain places/co-ordinates or region script calls. Hence was clunky.
I realised I wasn't actually using my previous terrain tags anywhere near as much as I expected when I first started, so I decided all the footstep faff would be better offloaded to a plugin. As I already have it lying around, I decided to implement YEP_FootstepSounds. It works fine for the most part... except one massive thing:
So, Yanfly's help file states:
Problem is... when you use this notetag and specify a new "region 0", it appears to take priority over EVERY sound effect from Terrain Tags, forever. They become useless.
I have tried shuffling around some of the code for it acquiring sound~ from what I can tell, when it processes the notetag, it stores the sound effect, and then, because it's stored a sound, it skips the step for looking at terrain tags, but if I remove that check or shuffle the order it does processing, it either crashes or does nothing, so I'm clearly missing something.
tl;dr: Want to be able to replace default footstep sound on maps, whilst still having terrain tags (and actual regions) override this.
I realised I wasn't actually using my previous terrain tags anywhere near as much as I expected when I first started, so I decided all the footstep faff would be better offloaded to a plugin. As I already have it lying around, I decided to implement YEP_FootstepSounds. It works fine for the most part... except one massive thing:
So, Yanfly's help file states:
As a map note-tag. There are also way to override terrain tags per tileset. This, I thought, was great, because I could easily then, say, make desert maps use sand footsteps as default, and get around the limited number of terrain tags as well (I still do need 1-2 for other purposes like minimap and floor damage).
Problem is... when you use this notetag and specify a new "region 0", it appears to take priority over EVERY sound effect from Terrain Tags, forever. They become useless.
I have tried shuffling around some of the code for it acquiring sound~ from what I can tell, when it processes the notetag, it stores the sound effect, and then, because it's stored a sound, it skips the step for looking at terrain tags, but if I remove that check or shuffle the order it does processing, it either crashes or does nothing, so I'm clearly missing something.
tl;dr: Want to be able to replace default footstep sound on maps, whilst still having terrain tags (and actual regions) override this.