Authors: JeNoVaViRuS
The “easy” way to permanently add an sfx to a weapon is to set a “residentSfxId” of an existing one and set its “residentSfx_DmyId” to a DmyId (attach point on the flver model) that you can look up in “DSAnimStudio”.
The issue is that you can't cover the whole blade of the weapon but only attach it to one point. You could modify the actual sfx (meaning the .fxr file) but this would be too much hassle.
We will now instead create 2 SpEffects with the first one always applied on the weapon and the second (containing the sfx) being triggered by the first one.
Why? Because if you load the game everything in the SpEffect is applied except the sfx. That's why we trigger the second one with the first one and then it works.
Open “DSMapStudio” → “Param Editor”:
The side effect is that the weapon also has the sfx when sheathed.