Help needed with custom sound effects! (SMBX 2)
Posted: Mon Jul 08, 2019 3:37 pm
I'm working on an episode of SMBX right now, and in one of the levels, I was hoping to have Hat Kid from A Hat in Time over the playable Bowser in SMBX2/PGE. Although I was able to replace the graphics easily and was able to get the sounds.ini file to work for some sounds, I have run into two major issues with the sound effects, and even after spending a few hours researching, I haven't been able to find any way to fix them. Any help would be much appreciated!
1. I have the "Time Piece Get" sound effect from AHiT replacing the "Star Get" sound, and although it works well for the most part, the sound effect is cut off after about four seconds(it's about 7 seconds long). I've tried it both testing through the level editor and by playing it like a normal level, but in both cases, it was cut off by the level ending. So is there any way to lengthen the ending sequence of the level? I would imagine that it might require Lua, but being very inexperienced with it, I don't actually know if I would be able to use that or not.
2. Because I currently have Hat Kid over playable Bowser, who replaces various sounds- most notably, sound-5(the hurt/shrink sound effect) and sound-77(Link's stab sound effect)- it seems that Bowser's sound changes override the sounds.ini file in my level folder. Is there any way I can replace Bowser's sounds without having to replace the actual files? (Because that would only change it in my copy of SMBX2) I'm pretty sure that, out of the two issues, this one is more likely to be possible to fix, but I can't say for certain. Edit: I actually figured this one out myself! I just needed to place a sound with an identical name to the original sound in my level folder.
(Also, there are some other things I'm having troubles with in the level, namely the fact that playable Bowser's attack has the secondary effect of "recruiting" enemies(mostly Goombas and Koopas) and has no effect on most enemies(with bosses being the main exception) that he can't "recruit"- something which I'd like to change if possible- and the fact that his HUD seems to be hard-coded and as such, doesn't seem to be easily changeable like most graphics, but I figured I'd tackle one problem at a time, and the sound effects seemed like the more important thing to fix)
1. I have the "Time Piece Get" sound effect from AHiT replacing the "Star Get" sound, and although it works well for the most part, the sound effect is cut off after about four seconds(it's about 7 seconds long). I've tried it both testing through the level editor and by playing it like a normal level, but in both cases, it was cut off by the level ending. So is there any way to lengthen the ending sequence of the level? I would imagine that it might require Lua, but being very inexperienced with it, I don't actually know if I would be able to use that or not.
2. Because I currently have Hat Kid over playable Bowser, who replaces various sounds- most notably, sound-5(the hurt/shrink sound effect) and sound-77(Link's stab sound effect)- it seems that Bowser's sound changes override the sounds.ini file in my level folder. Is there any way I can replace Bowser's sounds without having to replace the actual files? (Because that would only change it in my copy of SMBX2) I'm pretty sure that, out of the two issues, this one is more likely to be possible to fix, but I can't say for certain. Edit: I actually figured this one out myself! I just needed to place a sound with an identical name to the original sound in my level folder.
(Also, there are some other things I'm having troubles with in the level, namely the fact that playable Bowser's attack has the secondary effect of "recruiting" enemies(mostly Goombas and Koopas) and has no effect on most enemies(with bosses being the main exception) that he can't "recruit"- something which I'd like to change if possible- and the fact that his HUD seems to be hard-coded and as such, doesn't seem to be easily changeable like most graphics, but I figured I'd tackle one problem at a time, and the sound effects seemed like the more important thing to fix)