#Making music persist across rooms
1 messages · Page 1 of 1 (latest)
Maybe try looking at how core itself does it. This may be bad advice, but at least i'm trying to help.
core does it with a parameter
the param is called 'room_state'
if it's hot it's 0, if it's cold it's 1
the room_state parameter is set automatically when the coremode changes
Yeah, but is there somewhere I can find this parameter? I want to put it in my map
Like how can I keep the music consistent between rooms
is there a parameter in your music called room_state
that controls hot or cold
if not, you gotta add that
Where do I find the music, I’m using the core music, is there a place in my mod folder where I add parameters?
oh you're using core music
why do you have sounds turned all the way down lmao
tbh i dont fully understand exactly how core music works
are your music settings different between rooms?
I turned the sound down so you could hear the difference, but my music settings are the same for each room
i'm going to take a quick look at this and see if i can find anything
I... cant find anything. looking at the bin file for core gives me nothing for some reason, and the whole parameter thing doesnt seem to apply to anything. this kind of troubles me because with what i plan on doing, i will need to make a core map in the future.
I'm going to take a wild guess as to what you're supposed to do with this. it seems like you write all that in Lua, and then stick the file somewhere in the mod folder?
no, that's the code for core mode toggling, it's part of celeste
by the fact that the sound is changing, the param must be working
oh
i think the problem is that the param is somehow resetting between rooms
which it shouldn't
yeah my only guess is that maybe the music is being reloaded on the transitions which doesn’t make any sense