I have a problem with sound. I made script_origin with trigger.
==SCRIPT_ORIGIN OPTIONS==
Key: targetname
Value: sound4sound
==TRIGGER OPTIONS==
Key: targetname
Value: trig_sound
I wroten in .gsc this:
Code: Select all
thread sounk();
sounk()
{
trigger = getent("trig_sound", "targetname");
sound = getent("soun4sound", "targetname");
while(1)
{
trigger waittill("trigger");
sound playsound("stopcamp");
}
}
In folder sound i put music file (.mp3 format).
mp_graveyard.csv puted in soundalias folder. It's contents:
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
#place music
stopcamp,,band.mp3,0.75,0.9,,,,100,1300,voice,streamed,,looping,,mp_graveyard,,,,,,,,
Map started. I attained point with sound and... music not work. I changed the music file format, created a folder misc in the folder sound. But... Nothing helps. Tutorials not helps. I want that you help me.