How to add music to deathrun map?

Have questions about CoD4 mapping that aren't covered in the tutorials section? Post here!

Moderator: Core Staff

Post Reply
xMcBeast
CJ Wannabe
CJ Wannabe
Posts: 1
Joined: June 19th, 2014, 5:47 pm

How to add music to deathrun map?

Post by xMcBeast » June 19th, 2014, 6:17 pm

I was struggling with this all day and i can't get it to work so i have came here for help.
I have tried everything i can and i just can't add music to my map, i really want to add music to my map so it seems more professional and its more exciting. Yes i am a noob to mapping. If you want to see a bit of it please let me know and ill pm you pictures of it.

Pun1sheR
CJ Wannabe
CJ Wannabe
Posts: 39
Joined: August 27th, 2013, 7:29 pm

Re: How to add music to deathrun map?

Post by Pun1sheR » September 4th, 2014, 2:36 am

First are your music files in an iwd?
Second, do you have the sounds I'm the raw/sound/(music is an added folder named whatever)
Third do you have the soundaliases in the raw/soundaliases folder?
Fourth, if you have those add the script line into your maps zone file

Sound,(soundname),,all_mp

skzyo
CJ Wannabe
CJ Wannabe
Posts: 1
Joined: April 19th, 2015, 3:42 pm

Re: How to add music to deathrun map?

Post by skzyo » April 19th, 2015, 3:58 pm

hey I know that the post is old but I've excactlly the same problem..
(sorry if my english is wrong, i speak french)

I've tried every tutorial that I've found on internet, I just can't hear music when i try my map.

I launch cod4, then a mod called "deathrun" then I type " /g_gametype deathrun " and then " /devmap mp_dr_memories ".
My map works fine even if it's not finish but I can't hear any music. Only the sounds of my movings.


My gsc :

Code: Select all

music()
{
    level waittill( "round_started" );
        wait 1;
    ambientPlay( "song1" );

My csv (mp_dr_memories.csv) :

Code: Select all

name,sequence,file,vol_min,vol_max,vol_mod,pitch_min,pitch_max,dist_min,dist_max,channel,type,probability,loop,masterslave,loadspec,subtitle,compression,secondaryaliasname,volumefalloffcurve,startdelay,speakermap,reverb,lfe percentage,center percentage,platform,envelop_min,envelop_max,envelop percentage
,,,,,,,,,,,,,,,,,,,,,,,,,,,,
song1,,drsong.mp3,1,1,,,,1000000,,announcer,streamed,,,master,,,,,,,,,,,,,,

There is drsong.mp3 in raw>sound and in cod4>usermaps>mp_dr_memories>mp_dr_memories.iwd>sound


Please help me, that's makes me crazy since 3months :cry:

Pun1sheR
CJ Wannabe
CJ Wannabe
Posts: 39
Joined: August 27th, 2013, 7:29 pm

Re: How to add music to deathrun map?

Post by Pun1sheR » December 23rd, 2015, 6:07 pm

In your zone file, do you have the line

Code: Select all

sound,drsong,,all_mp

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests