PDA

View Full Version : Changing/Setting Music In A Mutator


docmattman
4th Feb 2005, 12: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?

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

docmattman
4th Feb 2005, 02: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?

draconx
4th Feb 2005, 04: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.

docmattman
4th Feb 2005, 04: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.

draconx
5th Feb 2005, 11:13 AM
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.