Soundscape doesn't play scripted sounds.

Soundscape doesn't play scripted sounds.

Re: Soundscape doesn't play scripted sounds. Posted by (-[PREDATOR]-) on Fri Dec 1st 2006 at 2:19pm
(-[PREDATOR]-)
65 posts
Posted 2006-12-01 2:19pm
65 posts 567 snarkmarks Registered: Aug 5th 2004 Occupation: Student Location: Koszalin, Poland (Polska)
I've made a little big map and now I started work on sound scapes. I've made them on my previous map and they works well. Now on my next map works only DSP effect. Map is compiled with: fast RAD, fast VIS, normal BSP and the map name is cs_arcticstorm_b05_r01.bsp . And below is sound scape file from cstrike\scripts\soundcapes_cs_arcticstorm_b05_r01.txt :
"cs_arcticstorm_b05_r01.ctalley"
{
"dsp" "1"

"playrandom"
{
"time" "4, 35"
"volume" "1"
"pitch" "100"
"attenuation" "0.9"
"rndwave"
{
"wave" "ambient/wind/wind_gust_8.wav"
}
}

"playlooping"
{
"volume" "1"
"pitch" "100"
"attenuation" "0.9"
"wave" "ambient/atmosphere/town_ambience.wav"
}

"playlooping"
{
"position" "0"
"volume" "1"
"pitch" "100"
"wave" "ambient/machines/big_truck.wav"
"attenuation" "0.5"
}

"playlooping"
{
"position" "1"
"volume" "1"
"pitch" "100"
"wave" "ambient/machines/big_truck.wav"
"attenuation" "0.5"
}
}

"cs_arcticstorm_b05_r01.controltower"

{
"dsp" "1"

"playlooping"
{
"position" "1"
"volume" "1"
"pitch" "100"
"wave" "ambient/wind/indoors.wav"
"attenuation" "0.5"
}

}
env_soundscapes (two of five) are targeted: "cs_arcticstorm_b05_r01.controltower"/"cs_arcticstorm_b05_r01.ctalley" and also env_soundscape_proxys are connected with them. Rest of sound scape entities are set with "nothing" parameter.

When I'm testing my map I can hear only echo effect changing as I activate other env_soundscape.

Past soundscape_printdebug (or something like that) command on console it shows only original HL2 and CS:S soundscapes without my news.
Re: Soundscape doesn't play scripted sounds. Posted by reaper47 on Fri Dec 1st 2006 at 4:37pm
reaper47
2827 posts
Posted 2006-12-01 4:37pm
reaper47
member
2827 posts 1921 snarkmarks Registered: Feb 16th 2005 Location: Austria
Except for the errors everything you posted seems like it should work fine. Looks like there is a typo in filenames or entities, a missing bracket in the soundscape, ect...

The only other thing I could imagine is that the "position" values are messed up. I often don't use them or use "position" "random". If you don't specify targets for the different positions (0-7) in the env_soundscape it could cause sounds not to be played at all or at a very odd position that is to far away to be heared! Which would be an explanation for DSP changing but no sounds playing.
Why snark works.
Re: Soundscape doesn't play scripted sounds. Posted by (-[PREDATOR]-) on Fri Dec 1st 2006 at 7:02pm
(-[PREDATOR]-)
65 posts
Posted 2006-12-01 7:02pm
65 posts 567 snarkmarks Registered: Aug 5th 2004 Occupation: Student Location: Koszalin, Poland (Polska)
Oh men... I've found some errors and had troubles with this sound scape. First of my mistakes were forgotten "}" mark in end of last script in scp file and I fix that before submitting my problem. Next was mistake in file name. I wrote too fast and "s" were missing in file name. Also it was invalid name of sound file. And the last one - on the map is (...)ctvalley, but I tried to use (...)ctalley in scp script.

Any way thanks for help.