View Full Version : Change music event, maybe?
JangoCF
Sep 6, 2008, 12:07 AM
Would there be such a thing as a "change music event"? So, when you walk into a cave, the music changes from "happy outside" to "cavern". Or something like that?
Like the "lighting" events, but then to do with music?
PurpleJazz
Sep 6, 2008, 12:40 AM
While that sounds like a cool idea, I highly doubt something like that will be created for JCS anytime soon.
JangoCF
Sep 6, 2008, 01:20 AM
While that sounds like a cool idea, I highly doubt something like that will be created for JCS anytime soon.
I am sorroly having to agree with you...
I know there`s that boss tune-change of music event, by doing "activate boss" without having a boss. If someone were to implement that in a diffrent way, so you can select diffrent tunes depending on where they are on the list. For example, this Mario tune is first on the list, and then as an integer you would put in a "0", because 0 is the first number.
Of course, this will take a long, long time to make(I think).
But, who knows what the future holds?
NovaStar
Sep 6, 2008, 01:47 AM
Something tells me this lays in the basket of "impossible with the way JJ2 structures levels"
Unless something is done with the in-game sound effects you can get, but not sure
Grytolle
Sep 6, 2008, 02:07 AM
it sounds like a very easy thing to add when jj2+ starts working on single player too
Puffie40
Sep 10, 2008, 12:40 PM
It would be nice to have custom boss music, too.
JangoCF
Sep 11, 2008, 02:31 AM
yep. It sure would...
Speeza
Sep 11, 2008, 07:51 AM
it sounds like a very easy thing to add when jj2+ starts working on single player too
Agreed :)
Odin
Sep 11, 2008, 08:14 PM
It probably wouldn't be that hard to implement, since code already exists to switch music. However, I'm not sure if JJ2 loads the boss music before opening the level, or does it on-the-fly.
Sonyk
Sep 12, 2008, 05:20 AM
I think it's on-the-fly, as JJ2 would lag at the start of boss battles on the first computer I played it on with only 16mb of ram. But to be fair, everything lagged on it.
Either way, if/when JJ2+ adds single-player enhancements, that's something I really want to see done, since I've had ideas that could use it.
Cpp
Sep 12, 2008, 09:13 AM
Adding a mechanism to change music is definitely possible and most easy to implement. The catch is adding a trigger since a music event would need to read a string representing the file name of the module to be played. The only place where you can save strings in a level (without hacking it) is the level text array and the properties (next lvl, bonus lvl, etc). Very few events are actually left unused in JCS and I'm guessing jj2 *could* also use a new event mechanism to expand a bit.
plunK
Sep 12, 2008, 03:06 PM
The only trouble with this is you'd need to either add multiple music boxes similar to the text one in JCS,or make a new .ini JCS ran off.
BUT, if you made something similar to a large range ambient sound event where you can pick the sounds files(or just edit the existing one) that is a possibility
Either way, BlurredD can probably find an easier way than i can think of and do it in 5 minutes =)
Odin
Sep 12, 2008, 05:55 PM
The only trouble with this is you'd need to either add multiple music boxes similar to the text one in JCS,or make a new .ini JCS ran off.
BUT, if you made something similar to a large range ambient sound event where you can pick the sounds files(or just edit the existing one) that is a possibility
Either way, BlurredD can probably find an easier way than i can think of and do it in 5 minutes =)
Not only that, but JJ2 only has support for 255 events, most of those slots used. Recoding JJ2 so it uses 2 bytes to call for an event instead of just one (allowing for 65535 events) wouldn't be an easy task, or at least I wouldn't imagine so.
vBulletin® v3.8.2, Copyright ©2000-2025, Jelsoft Enterprises Ltd.