How do i change the jump sound of one character

Post here for help and support regarding LunaLua and SMBX2's libraries and features.
Saric
Bob-Omb
Bob-Omb
Posts: 24
Joined: Fri Jan 28, 2022 8:20 am
Pronouns: whatever you want
Contact:

How do i change the jump sound of one character

Postby Saric » Fri Jul 08, 2022 3:27 pm

this time I want to change the jump sound of toad in lunalua.
i'ts possible using a .mp3 file right?

deice
Buster Beetle
Buster Beetle
Posts: 441
Joined: Fri Jul 23, 2021 7:35 am

Re: How do i change the jump sound of one character

Postby deice » Fri Jul 08, 2022 3:58 pm

if you just want to replace the player jump sound, there's no lunalua needed. simply name the audio file "player-jump" and put it in the episode/level folder and it should replace the default jump sound.

if you want to change the jump sound of only toad however, that's a bit more complicated. iirc, there's no way to mute sound effects that aren't themselves being played through lua. so your best bet would be to make a silent audio file which replaces the default jump sound, and then manually play whatever sound you need through lua whenever the player jumps, depending on their character.


Return to “LunaLua Help”

Who is online

Users browsing this forum: No registered users and 2 guests