News UnrealEd Files Mods FragBU Liandri Archives
BeyondUnreal Forums

Go Back   BeyondUnreal Forums > Unreal Development > Coding

Reply
 
Thread Tools Display Modes
Old 4th Feb 2005, 12:56 AM   #1
docmattman
Registered User
 
Join Date: Jan. 28th, 2005
Posts: 22
Changing/Setting Music In A Mutator

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?
docmattman is offline   Reply With Quote
Old 4th Feb 2005, 01:23 AM   #2
Zur
surrealistic mad cow
 
Zur's Avatar
 
Join Date: Jul. 8th, 2002
Posts: 11,679
If you have the original UT, take a look at this map.
Attached Files
File Type: zip DM_LLTF_LiandriTLYAHE__.zip (433.5 KB, 20 views)
__________________

Zur is offline   Reply With Quote
Old 4th Feb 2005, 02:17 AM   #3
docmattman
Registered User
 
Join Date: Jan. 28th, 2005
Posts: 22
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?
docmattman is offline   Reply With Quote
Old 4th Feb 2005, 04:16 PM   #4
draconx
RuneUT
 
draconx's Avatar
 
Join Date: Jun. 26th, 2002
Location: Waterloo, Canada
Posts: 325
In UT99 there was some function to change the playing music. Have a look through the ut2004 code to find a similar one.
__________________
Linux artemis 2.6.16-gentoo-r1 #1 PREEMPT Sat Apr 1 04:40:20 EST 2006 x86_64 AMD Athlon(tm) 64 Processor 3200+ GNU/Linux

RuneUT:
  • Runes: 26 completed
  • Rune System: 85% completed
  • Overall status: 42%
draconx is offline   Reply With Quote
Old 4th Feb 2005, 04:20 PM   #5
docmattman
Registered User
 
Join Date: Jan. 28th, 2005
Posts: 22
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.
docmattman is offline   Reply With Quote
Old 5th Feb 2005, 11:13 AM   #6
draconx
RuneUT
 
draconx's Avatar
 
Join Date: Jun. 26th, 2002
Location: Waterloo, Canada
Posts: 325
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.
__________________
Linux artemis 2.6.16-gentoo-r1 #1 PREEMPT Sat Apr 1 04:40:20 EST 2006 x86_64 AMD Athlon(tm) 64 Processor 3200+ GNU/Linux

RuneUT:
  • Runes: 26 completed
  • Rune System: 85% completed
  • Overall status: 42%
draconx is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 05:22 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.

Copyright ©1998 - 2012, BeyondUnreal, Inc.
Privacy Policy | Terms of Use
Bandwidth provided by AtomicGamer