Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I change the game over music? (I am not trying to make a mod, I just want to change the game over music) #14657

Open
u0-a63 opened this issue May 13, 2024 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@u0-a63
Copy link

u0-a63 commented May 13, 2024

Describe your problem here.

I want to change the game over music, instead of it being the default. How do I do this?

My OS is Windows 10, so don't ask what my OS is.

Are you modding a build from source or with Lua?

Lua

What is your build target?

Windows x64

Did you edit anything in this build? If so, mention or summarize your changes.

No, I just want to change the game over music.

@u0-a63 u0-a63 added the help wanted Extra attention is needed label May 13, 2024
@HourOfEternity
Copy link

You just need to go to the Data tab in the chart editor, and change the Game Over Loop Music to your music.

@M4st3rG4m4
Copy link

If what you want is to change the Game Over music for all the songs you can do two things:

1 - This solution is very shitty but if you want to do it effort lessly you can go to the "Mods/Music/" folder and there change the "GameOver.ogg" for another music, but remember that the format must be ogg and that this is a Loop.

2 - This option is more professional but varies from the version of Psych Engine you use, it involves creating a script that contains the following:

For Psych Engine 0.7.x

function onCreate()
setPropertyFromClass('substates.GameOverSubstate', 'loopSoundName', 'GameOverCustomMusic'); --put in mods/music/
end

For Psych Engine 0.6.3

function onCreate()
setPropertyFromClass('GameOverSubstate', 'loopSoundName', 'GameOverCustomMusic'); --put in mods/music/
end

-If you want it to play in all the songs, place it in "Mods/Scripts", or if you want the music to play only in some songs you can place the script in the "Mods/Data/-YourSongName/" folder.

@M4st3rG4m4
Copy link

If it works for you or if you need something else, let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants