View Full Version : Changing/Setting Music In A Mutator

4th Feb 2005, 01:56 AM
I was wondering if it's it's possible to override the default map music in a mutator. I have created a custom mutator and when it's enabled, I would like the players to hear the music file I have included instead of the music from the map. Does anyone know how I can get this going?

4th Feb 2005, 02:23 AM
If you have the original UT, take a look at this map.

4th Feb 2005, 03:17 AM
I am working with UT2004. I basically want to silence the map music and add in my own music for the mutator. Is this possible?

4th Feb 2005, 05:16 PM
In UT99 there was some function to change the playing music. Have a look through the ut2004 code to find a similar one.

4th Feb 2005, 05:20 PM
I have been looking and found a few examples of how to add music to a map, but not changing it in a mutator. I can't seem to find any example or tutorials on how to accomplish this with a mutator.

5th Feb 2005, 12:13 PM
In UT99 there was a function ClientSetMusic in the PlayerPawn class. Since I don't own UT2004 that's the closest thing i can give you to an answer.