SanaMasako

FNF Lover (lol)
Veteran
Joined
Mar 3, 2021
Messages
92
Reaction score
12
First Language
English
Primarily Uses
RMMV
The title pretty much sums this post up. It's perfectly fine if this is impossible, I'm just curious if I can do a little something to add to the gimmick with my game's OST.

So basically, my game's OST currently has 4 different styles. A NES style, a SNES style, an ORG style (which is basically just OrgMaker versions of my music converted to audio), and a GXSCC style (recordings of MIDI files that were made through OrgMaker and played into the free MIDI player software GXSCC).

My game uses a plugin called "HIME_PreTitleEvents", and I was wondering that, somehow, in some way, maybe I'd be able to manipulate a global variable at the start of the game that controls which version of the OST plays? (this could also clean up my current setup, which makes you choose the style for the intro (this plays every time), and then again for which style your save file runs.)

Basically, instead of asking every time on startup and then on a new game, I want the player to choose the intro music AND the game music at the same time, and be able to change this whenever (for both) on startup. Or, alternatively, we could just hack the title screen to make a selection menu that applies a switch to the game (NES_OST, SNES_OST, ORG_OST, GXSCC_OST, or NONE). This could go in Options.

Again, perfectly fine if this is impossible, I was just wondering. (I already have a version of the title music that doesn't apply to any style at all, it is its own style and is unique. Similarly to how Escaped Chasm's title music isn't in 8 bit*, but the rest of the OST is.)

* (or pseudo-8bit, since it wasn't made with NES hardware limitations in mind. Fun fact though: someone actually did make an incredibly accurate cover of House in FamiTracker, like literally it sounds the same)

However, before I end the post, I have the same question about the game over music, is it possible to change that too? (this somewhat goes along with the OST switch idea although will require a little extra work)

[insert end of post here]
 
Last edited:

SanaMasako

FNF Lover (lol)
Veteran
Joined
Mar 3, 2021
Messages
92
Reaction score
12
First Language
English
Primarily Uses
RMMV
Sorry to double post, but, well.

Usually my posts take a few hours or maybe a day or two to get a response, but this time I only got 1 like and no responses after about half a month.

I understand my last thread(s) went awry and I pretty much lost my cool, game development is frustrating and figuring out how to code (when I don't know at all how to) is even worse. I admit to my faults and I'm sorry. You don't have to forgive me, all I'm doing is acknowledging I did wrong in my previous thread(s).

Could we try to move past that...? I'm sure setting up multiple title BGMs is less stressful than... detecting the file system the game's location is running on.
Plus, the sooner this gets done the more time you get to spend without my dumb ass for the next few months (I don't come here "often").

So... how about we try again? Music switch for title screen?
 

ATT_Turan

Forewarner of the Black Wind
Veteran
Joined
Jul 2, 2014
Messages
7,695
Reaction score
5,448
First Language
English
Primarily Uses
RMMV
Usually my posts take a few hours or maybe a day or two to get a response...I understand my last thread(s) went awry and I pretty much lost my cool...Could we try to move past that...?
I have absolutely no idea what you're talking about. I sincerely doubt anyone is punishing you for something else you've said, but not every person notices or clicks into every thread that gets posted on the site. I know I never noticed this thread until today.

That's what bumping after 72 hours is for, and it doesn't need any greater justification than "bump."
My game uses a plugin called "HIME_PreTitleEvents", and I was wondering that, somehow, in some way, maybe I'd be able to manipulate a global variable at the start of the game that controls which version of the OST plays?
So you might need to explain which part of this you need help with, because it is pretty trivial to do, just a bit tedious if you've already designed the game. To change a variable during your pre-title events...well, just change it :wink: Call a Show Choices command, and inside each choice set your variable to the appropriate value.

Note that it's really better to put this in the options menu, because:
1 - I would find it very annoying as a player to have to click an option every time I start the game that I either don't want to change or don't care about

2 - Regardless of what you choose, once you start the game and save it, the choice is in that save game and won't be changed by what you select the next time you start

If you're using a plugin for an options menu, you should be able to add the choice in there pretty simply, but we can help if you need it.

Then you just need to replace all of the music in your game. Any map that plays BGM automatically, take it out of the map settings and create an autorun event that has conditionals and plays the appropriate version of the BGM depending on your variable.

Take the battle music out of the database settings and put a turn 0 troop event that functions the same way (if you have Yanfly's common troop events, that will make this easier). If you use victory music, that becomes a little trickier...you might need to request a little plugin for that, because I don't know of a way to modify that with eventing.

However, before I end the post, I have the same question about the game over music, is it possible to change that too? (this somewhat goes along with the OST switch idea although will require a little extra work)
Same as the victory music, you might need to request a plugin for that. Certainly do a search for it first, see if someone's had a reason to make it already, or see if there's a plugin for evented game over screens which would be able to do it.
 

SanaMasako

FNF Lover (lol)
Veteran
Joined
Mar 3, 2021
Messages
92
Reaction score
12
First Language
English
Primarily Uses
RMMV
To change a variable during your pre-title events...well, just change it :wink: Call a Show Choices command, and inside each choice set your variable to the appropriate value.
That's the thing though - variables tend to reset after reaching the title screen because RPGMaker's thought process is to set all variables to blank (or off for switches).
Note that it's really better to put this in the options menu, because:
1 - I would find it very annoying as a player to have to click an option every time I start the game that I either don't want to change or don't care about

2 - Regardless of what you choose, once you start the game and save it, the choice is in that save game and won't be changed by what you select the next time you start

If you're using a plugin for an options menu, you should be able to add the choice in there pretty simply, but we can help if you need it.
I agree here, I think that would be better, reminds me of how the Nicalis ports of Cave Story did it. How do I modify the menu?
Take the battle music out of the database settings and put a turn 0 troop event that functions the same way (if you have Yanfly's common troop events, that will make this easier). If you use victory music, that becomes a little trickier...you might need to request a little plugin for that, because I don't know of a way to modify that with eventing.

Same as the victory music, you might need to request a plugin for that. Certainly do a search for it first, see if someone's had a reason to make it already, or see if there's a plugin for evented game over screens which would be able to do it.
I do have a ZIP of the free YF plugins, maybe common troop events is in there. Also, the victory music changing shouldn't be that difficult as there's ways to change it with regular events (Battle BGM, victory music, etc). Also, for the game over music, now that I think about it GameOver Core might be able to do the trick. I just need to set the game over music to blank, then make the game over sound(s) play in the "before" event, and everything else (mid, after) does nothing.
 

Latest Threads

Latest Posts

Latest Profile Posts

I love this job (as a programmer), coding is fun sometimes. It is just the deadline that needs to CHILL.
Best explanation of "Confirmation Bias": "If you go looking for a fight, you will always find one". If you always look for something, you'll find it. Negativity or Positivity. This is just a reminder to spend time looking for some Positivity today. :D Ya'll have earned it and deserve it.
And now all my attacking skills suddenly heal instead of doing damage...Even kills and revives. Because ofc they do xD
Spend more time building up what you like, and stop tearing down things you don't. If you only tear stuff down, nobody will get to enjoy anything.

Forum statistics

Threads
129,931
Messages
1,206,361
Members
171,131
Latest member
Maki_404
Top