Pages: 1
|
|
Posted on 10-04-18, 05:20 pm
|
FlurryKarma: 744 Posts: 254/258 Since: 10-14-11 |
I see that it's possible to add additional sounds to .swar files, such as the following:
![]() (Sound 11 is the new sound that I added). I'd like to use this new sound in the PlaySNDEffect function. However, I do not know the value for it. How can I go about finding the value needed? |
| newluigidev |
Posted on 10-04-18, 08:36 pm
|
Nipper PlantKarma: 2426 Posts: 369/417 Since: 08-17-15 |
You can't. The SFX functions are hardcoded to play only the original SFX.
|
| RicBent |
Posted on 10-04-18, 08:59 pm
|
|
Mariomaster
Karma: 8634 Posts: 1366/1683 Since: 06-09-12 |
|
|
Posted on 10-05-18, 02:43 pm (rev. 1 by
|
Nipper PlantKarma: 948 Posts: 242/402 Since: 11-20-15 |
If that new sound is being used by a SSAR that uses a SBNK that manages the sound effects (i.e. WAVE_VS_COMMON_PLAYER_BASE_SE.sbnk), then it's possible to use the new sound file. You can edit the sound effect's corresponding SBNK file using Nitro Studio or a hex editor, to make it use the new file.
_________________________
|
Pages: 1
Flurry
Nipper Plant