Soundscape doesn't play scripted sounds.
Post Reply
Quote
Re: Soundscape doesn't play scripted sounds.
Posted by (-[PREDATOR]-) on Fri Dec 1st at 2:19pm 2006


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 cstrikescriptssoundcapes_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.




Quote
Re: Soundscape doesn't play scripted sounds.
Posted by reaper47 on Fri Dec 1st at 4:37pm 2006


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.






Quote
Re: Soundscape doesn't play scripted sounds.
Posted by (-[PREDATOR]-) on Fri Dec 1st at 7:02pm 2006


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.





Post Reply