help ;-;

Jun 7, 2026
182
38
230
15
City Escape
Pronouns
he/him
soooooo.... i want a template to replace the star collect and coin jingles with an mp3 file... if yu know any mods that do that, pls let me know, or, can you guide me to create that code?
 
Last edited:
Okay, so it's not storage because mods can only be 35 MB.
Don't double post! Use that edit button! Post automatically merged:

you can also use this
local audio = audio_stream_load("WF.mp3")

function on_warp()
if gNetworkPlayers[0].currLevelNum == LEVEL_ then
stop_background_music(get_current_background_music())
audio_stream_set_looping(audio, true)
audio_stream_play(audio, true, 1)
else
audio_stream_play(audio, true, 0)
end
end

hook_event(HOOK_ON_WARP, on_warp)

But you'll have to do it manually and you'll have to copy the file for it to work.
 
Okay, so it's not storage because mods can only be 35 MB.
Don't double post! Use that edit button! Post automatically merged:

you can also use this
local audio = audio_stream_load("WF.mp3")

function on_warp()
if gNetworkPlayers[0].currLevelNum == LEVEL_ then
stop_background_music(get_current_background_music())
audio_stream_set_looping(audio, true)
audio_stream_play(audio, true, 1)
else
audio_stream_play(audio, true, 0)
end
end

hook_event(HOOK_ON_WARP, on_warp)

But you'll have to do it manually and you'll have to copy the file for it to work.
but i wanna replace the cap musics, the star collect jingle, and the coin collect chime
 

Users who are viewing this thread