R
richard_cabeza
Hi, can someone please point me toward a quality tutorial on custom sounds. Everything I've found so far answers my question in a different way, and I'm confused.
Map name: test_map
Here's what I have so far:
4 custom WAVs in the the folder "sound/office_wars/"
redflag10.wav
redflagreturned.wav
blueflag10.wav
redflagreturned.wav
A text script named "test_map_level_sounds.txt". It currently lives in the maps folder next to the actual map file.
I copy/pasted the text for the script from a tutorial or something on this site. Here's what's inside my script:
------------------
"redflag10"
{
"channel" "CHAN_AUTO"
"volume" "VOL_NORM"
"pitch" "PITCH_NORM"
"soundlevel" "SNDLVL_NORM"
"wave" "sound\office_wars\redflag10.wav"
}
"redflagreturned"
{
"channel" "CHAN_AUTO"
"volume" "VOL_NORM"
"pitch" "PITCH_NORM"
"soundlevel" "SNDLVL_NORM"
"wave" "sound\office_wars\redflagreturned.wav"
}
"blueflag10"
{
"channel" "CHAN_AUTO"
"volume" "VOL_NORM"
"pitch" "PITCH_NORM"
"soundlevel" "SNDLVL_NORM"
"wave" "sound\office_wars\blueflag10.wav"
}
"blueflagreturned"
{
"channel" "CHAN_AUTO"
"volume" "VOL_NORM"
"pitch" "PITCH_NORM"
"soundlevel" "SNDLVL_NORM"
"wave" "sound\office_wars\blueflagreturned.wav"
}
--------------------
Inside the map, i've got a logic_relay switch already attached to the briefcase (i figured out an efficient way to send the briefcase home after 20 seconds). I want a sound to play, telling everyone that the flag is about to reset, then another when the flag gets sent back. It's set to:
OnTrigger redflag10 PlaySound (10.01 seconds delay)
OnTrigger redflagreturned PlaySound (20.01 second delay)
They are set to not loop and play to everyone.
In testing, the sounds do not play. It appears that they load, because when I open the console, there's a red message saying 4 custom sounds were loaded. I just must not be triggering them correctly. Any help?
Map name: test_map
Here's what I have so far:
4 custom WAVs in the the folder "sound/office_wars/"
redflag10.wav
redflagreturned.wav
blueflag10.wav
redflagreturned.wav
A text script named "test_map_level_sounds.txt". It currently lives in the maps folder next to the actual map file.
I copy/pasted the text for the script from a tutorial or something on this site. Here's what's inside my script:
------------------
"redflag10"
{
"channel" "CHAN_AUTO"
"volume" "VOL_NORM"
"pitch" "PITCH_NORM"
"soundlevel" "SNDLVL_NORM"
"wave" "sound\office_wars\redflag10.wav"
}
"redflagreturned"
{
"channel" "CHAN_AUTO"
"volume" "VOL_NORM"
"pitch" "PITCH_NORM"
"soundlevel" "SNDLVL_NORM"
"wave" "sound\office_wars\redflagreturned.wav"
}
"blueflag10"
{
"channel" "CHAN_AUTO"
"volume" "VOL_NORM"
"pitch" "PITCH_NORM"
"soundlevel" "SNDLVL_NORM"
"wave" "sound\office_wars\blueflag10.wav"
}
"blueflagreturned"
{
"channel" "CHAN_AUTO"
"volume" "VOL_NORM"
"pitch" "PITCH_NORM"
"soundlevel" "SNDLVL_NORM"
"wave" "sound\office_wars\blueflagreturned.wav"
}
--------------------
Inside the map, i've got a logic_relay switch already attached to the briefcase (i figured out an efficient way to send the briefcase home after 20 seconds). I want a sound to play, telling everyone that the flag is about to reset, then another when the flag gets sent back. It's set to:
OnTrigger redflag10 PlaySound (10.01 seconds delay)
OnTrigger redflagreturned PlaySound (20.01 second delay)
They are set to not loop and play to everyone.
In testing, the sounds do not play. It appears that they load, because when I open the console, there's a red message saying 4 custom sounds were loaded. I just must not be triggering them correctly. Any help?