Log in

View Full Version : Dynamic music idea


DoubleGJ
Apr 13, 2008, 04:35 AM
I was thinking about how songs start playing from the second pattern when you die (unless you're using a program to prevent this) and then this came to my head.

Maybe it could be possible to make songs jump to certain patterns, like in the first Unreal? Let's say that it could be triggered by touching a trigger zone, or area ID - an additional program detects the collision and shifts the song to a certain pattern which starts a different melody (more dramatic for example). I don't know if it's possible, but I believe it is.

discuss

Erik
Apr 13, 2008, 04:54 AM
isn't the JJ2 music system based on MIDAS? If so then it's possible

Cpp
Apr 13, 2008, 06:46 AM
The first Unreal also used multiple tunes within the same module. I've even managed to get one working under jj2 (accidentally). Download and install my RHG pack. Go to the very first castle level and listen to the calm music. Then kill yourself (jjk) and see how the music changes after you die. I've always wondered why this happens, but never got to explore it. Also, you must not be using my music autochange patch or you won't hear the change.

DoubleGJ
Apr 13, 2008, 08:32 AM
@Cpp: That's exactly what I'm talking about. Various Unreal scripts have a possibility to switch to chosen pattern (in UnrealEd, there was a box where you simply entered it's #, I think), so musicians made multiple songs within single modules, where each would start on the first, second, third pattern and so on. These first patterns then skipped to somewhere else in the module to continue with the melody. In Jazz2, when player dies, the music is restarted, but starts playing from the second pattern - this was most likely implemented for a smooth effect, however what wasn't fixed is that any sample that had been playing before death will still play unless it stops itself (no looping) or is muted in any way. I've seen uses of this, but they always forced the player to die (even if without losing a life - CTF base glitch), and I'm thinking of making this seem more natural, and perhaps allow to go back and forth between the melodies or use more than two in a level.