help em with custom sound

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

Moderator: Core Staff

Post Reply
mr-x
CJ Newbie
CJ Newbie
Posts: 61
Joined: March 7th, 2010, 3:33 pm

help em with custom sound

Post by mr-x » May 1st, 2010, 3:20 pm

hey
i made custom sound wav
and i put it in sound/sound_tut lala.wav
and here is my 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

#User Interface,,,,,,,,,,,,,,,,,,,,,,,,,
lala,,sound_tut/ex.wav,1,1,max,1,1,100,720,auto,streamed,,rlooping,,all_mp,,,,,,,,0.2,,,
my script
the script

Code: Select all

main ()
{
thread so();
}
so ()
 {
    tig = getent("pla","targetname");
	 while (1)
	   {
	      tig waittill("trigger",player);
		  player playsound ("lala");
	   }
 }
my zone file

Code: Select all

ignore,code_post_gfx_mp
ignore,common_mp
col_map_mp,maps/mp/mp_test.d3dbsp
rawfile,maps/mp/mp_test.gsc
impactfx,mp_test
sound,common,mp_test,!all_mp
sound,generic,mp_test,!all_mp
sound,voiceovers,mp_test,!all_mp
sound,multiplayer,mp_test,!all_mp
include,mptypes_woodland
xmodel,viewmodel_base_viewhands
xmodel,body_mp_usmc_specops
xmodel,body_mp_usmc_sniper
xmodel,head_mp_usmc_tactical_baseball_cap
xmodel,body_mp_usmc_recon
xmodel,body_mp_usmc_assault
xmodel,body_mp_usmc_support
xmodel,body_mp_arab_regular_cqb
xmodel,head_mp_arab_regular_headwrap
xmodel,viewhands_desert_opfor
xmodel,body_mp_arab_regular_sniper
xmodel,head_mp_arab_regular_sadiq
xmodel,body_mp_arab_regular_engineer
xmodel,head_mp_arab_regular_ski_mask
xmodel,body_mp_arab_regular_assault
xmodel,head_mp_arab_regular_suren
xmodel,body_mp_arab_regular_support
xmodel,head_mp_arab_regular_asad
rawfile,maps/mp/mp_test.gsc
sound,mp_test,,all_mp 




why sound not working

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13315
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Re: help em with custom sound

Post by Drofder2004 » May 1st, 2010, 5:00 pm

Take a look into the RAW files and find where they play code, I have not touched sound or FX in this game at all, so cant help on this.
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests