How do i change the jump sound of one character

Post here for help and support regarding LunaLua and SMBX2's libraries and features.

Moderator: Userbase Moderators

Saric
Spiny
Spiny
Posts: 26
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
Rocky Wrench
Rocky Wrench
Posts: 638
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 1 guest

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari