This shows you the differences between two versions of the page.
| tutorial:apply-an-sfx-permanently-to-a-weapon [2025/02/26 02:50] – created admin | tutorial:apply-an-sfx-permanently-to-a-weapon [2025/02/26 02:51] (current) – admin | ||
|---|---|---|---|
| Line 7: | Line 7: | ||
| ===== Apply it to a point on the blade ===== | ===== Apply it to a point on the blade ===== | ||
| The " | The " | ||
| + | |||
| 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. | 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. | ||
| Line 12: | Line 13: | ||
| 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. | 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. | 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 " | Open " | ||
| - | + | - Pick an existing " | |
| - | 1. Pick an existing " | + | |
| - | 2. Duplicate it (Ctrl+D) and give it the ID: " | + | |
| - | 3. Duplicate it again and give the 2nd one the ID: " | + | |
| - | 4. Duplicate the " | + | |
| - | 5. Give your weapon in " | + | |
| - | 6. Go to " | + | |
| - | 7. Set " | + | |
| - | 8. Set " | + | |
| - | 9. Go to " | + | |
| - | 10. Set " | + | |
| - | 11. Go to your " | + | |
| - | 12. The fields are already filled and " | + | |
| - | 13. We simply edit the field " | + | |
| The side effect is that the weapon also has the sfx when sheathed. | The side effect is that the weapon also has the sfx when sheathed. | ||