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,,,
the script
Code: Select all
main ()
{
thread so();
}
so ()
{
tig = getent("pla","targetname");
while (1)
{
tig waittill("trigger",player);
player playsound ("lala");
}
}
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