0ceal0t / Dalamud-VFXEditor

VFX, animation, sound, and physics editing plugin for FFXIV
MIT License
79 stars 24 forks source link

.scd indexes not working? #99

Open WutHavUDun opened 1 year ago

WutHavUDun commented 1 year ago

Not sure if I'm just not understanding how this is supposed to work, but I've noticed when adding sounds to vfx or tmb, the sound index field doesn't seem to affect what sound actually plays. Because of the way these files are set up, most .scd files containing more than two indexes just play no sound at all. Sounds with only one or two indexes have been working just like normal, though for ones with two, I can still only access one of the available sounds.

0ceal0t commented 1 year ago

ok, this is actually kind of a weird one. As an example, let's look at Hypervelocity in the scd editor. It's got 2 audio samples

image

But only 1 sound, which layers both of the samples (notice the "audio index" parameters)

image

In the TMB, the "sound index" literally means the "Sound", meaning if you just wanted to get the second sample by itself, for example, you would need to create another element in that tab which only plays that specific sample (or modify the existing one). This isn't possible with the current version of VFXEditor, but I'm currently working on it.

You can verify this is what's happening by testing a SCD file which actually does have multiple sounds, like sound/vfx/SE_VFX_common.scd

image