Re: Soundscape doesn't play scripted sounds.
Posted by (-[PREDATOR]-) on
Fri Dec 1st 2006 at 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 (-[PREDATOR]-) on
Fri Dec 1st 2006 at 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.