#Does L4D2 require extra steps for soundscripts?

21 messages · Page 1 of 1 (latest)

rose cipher
#

I'm making a custom sound that is supposed to be very loud for my l4d2 map. Yet when I do what I'm used to, making a .txt file with "_level_sounds" in front of my map name, yet when I do so the sound cant be found in my sound browser and therefore won't play from my ambient generic.

I made sure my sound is formated correctly, and this is my current, very simple, soundscript that I don't see anything wrong with.
How do i fix this issue im having?

Soundscript:

"Bagis.SLVOICE"
{
"channel" "CHAN_AUTO"
"volume" "1"
"soundlevel" "SNDLVL_130dB"
"pitch" "100"

"wave" "bagis/uppmarksam.wav"
}

#

and yes my soundscript is in the /maps folder. It's still not being recognized.

woeful forum
#

if your using an ambient generic you only need the path to the .wav, so if you know it , i.e its in sounds/mysound/loudsound.wab you put that in the sound name field and it should play, you only need a soundscape file if you use an env_soundscape entity

#

not sure if l4d can use mapname_soundscape .txt so try the normal way of putting the soundscape file in the scripts folder then in the game_sounds_manifest file

#

then try search for the sound in the entity

rose cipher
#

not talking about a "soundscape" here but a "soundscript"

#

those who let you define randomized sounds, change atributes like pitch, ect

#

not ambience soundscapes

woeful forum
#

you said you used an ambient generic that just plays the .wav file i don't think it uses the atributes from the soundscript but just plays the .wav file as it is

icy grove
#

Well, it depends upon if you're calling the soundscript or the WAV

#

message kv supports either

rose cipher
icy grove
#

and the txt file is called mapname_level_sounds.txt?

#

I forget if the sound browser will load per-map sounds

icy grove
#

Have you tried typing it manually and listening in-game?

rose cipher
#

I have

#

It didn't seem to work

icy grove
#

hm

grizzled sinew
#

Put the name of what you gave your custom sound in the soundscript in the Sound Name line in ambient_generic. Not the file location. My custom sounds don't show up in the Sound Browser in Hammer either, doesn't matter, it will play in game if everything is set up right.

rose cipher
#

Alr. Will try that as soon as I'm back from school.