// de_nuke soundscapes
// Author: Chris Ashton, Turtle Rock Studios, Inc., August 2009


//------------------------------------------------------------------------------------------
//
// Generic outdoors ambience
//
"vertigo.edges"
{
	"dsp" "1"
	// wind sound
	"playlooping"
	{
		"volume"		"1"
		"pitch"		"100"
		"wave"		"ambient/wind/dry_air_short.wav"
	}


	// Wind gusts
	"playrandom"
	{
		"time"		"10,45"
		"volume"	"0.5"
		"pitch"		"90,110"

		"rndwave"
		{
			"wave"	"ambient/wind/wind_gust_2.wav"
			"wave"	"ambient/wind/wind_gust_8.wav"
			"wave"	"ambient/wind/wind_gust_10.wav"
		}
	}

	// Planes flying overhead
	"playrandom"
	{
		"time"		"20,60"
		"volume"		".8,1"
		"pitch"		"90,100"

		"rndwave"
		{
			"wave"	"ambient/overhead/plane1.wav"
			"wave"	"ambient/overhead/plane2.wav"
			"wave"	"ambient/playonce/overhead/plane3.wav"
		}
	}


	// Truck metal squeaks
	"playrandom"
	{
		"time"		"10,20"
		"volume"		".08,.2"
		"pitch"		"80,100"

		"rndwave"
		{
			"wave"	"ambient/misc/equipment_stress1.wav"
			"wave"	"ambient/misc/equipment_stress2.wav"
			"wave"	"ambient/misc/equipment_stress3.wav"
		}
	}

	"playrandom"
	{
		"time"		"3,8"
		"volume"		"0.8,1"
		"pitch"		"80,100"
		"soundlevel"  	"SNDLVL_95dB"

		"rndwave"
		{
			"wave"	"ambient/misc/car1.wav"
			"wave"	"ambient/misc/car2.wav"
		}
	}

	"playrandom"
	{
		"time"		"15,30"
		"volume"		"0.6,0.8"
		"pitch"		"80,100"
		"soundlevel"  	"SNDLVL_95dB"

		"rndwave"
		{
			"wave"	"ambient/misc/ambulance1.wav"

		}
	}

	"playrandom"
	{
		"time"		"15,40"
		"volume"		"0.8,1"
		"pitch"		"80,100"
		"soundlevel"  	"SNDLVL_95dB"

		"rndwave"
		{
			"wave"	"ambient/playonce/misc/garbage_truck1.wav"
			"wave"	"ambient/playonce/misc/truck_backup1.wav"
			"wave"	"ambient/playonce/misc/truck_drive1.wav"
			"wave"	"ambient/playonce/misc/truck_drive2.wav"
			"wave"	"ambient/playonce/misc/crane_move1.wav"
		}
	}

	"playrandom"
	{
		"time"		"6,20"
		"volume"		"0.8,1"
		"pitch"		"80,100"
		"soundlevel"  	"SNDLVL_95dB"

		"rndwave"
		{
			"wave"	"ambient/misc/carhonk1.wav"
			"wave"	"ambient/misc/carhonk2.wav"
			"wave"	"ambient/misc/carhonk3.wav"

		}
	}

	"playrandom"
	{
		"time"		"15,40"
		"volume"		"0.5,0.8"
		"pitch"		"80,100"
		"soundlevel"  	"SNDLVL_95dB"

		"rndwave"
		{
			"wave"	"ambient/playonce/misc/police1.wav"
		}
	}

	"playrandom"
	{

		"time"		"15,50"
		"volume"		".06,.15"
		"pitch"		"70,80"

		"rndwave"
		{
		"wave"		"ambient/animal/dog1.wav"
		"wave"		"ambient/animal/dog2.wav"
		"wave"		"ambient/animal/dog3.wav"
		"wave"		"ambient/animal/dog4.wav"
		"wave"		"ambient/animal/dog5.wav"
		"wave"		"ambient/animal/dog6.wav"
		"wave"		"ambient/animal/dog7.wav"
		}

	}

	"playrandom"
	{
		"time"		"20,45"
		"volume"		"0.6,.8"
		"pitch"		"80,100"


		"rndwave"
		{
			"wave"	"ambient/playonce/machines/train_pass_far.wav"
		}
	}
}

//------------------------------------------------------------------------------------------
//
// Generic roof ambience
//
"vertigo.roof"
{
	"dsp" "1"

	// wind gusts
	"playrandom"
	{
		"time"		"5,10"
		"volume"	"0.7, .9"
		"pitch"		"90,110"

		"rndwave"
		{
			"wave"	"ambient/wind/wind_med1.wav"
			"wave"	"ambient/wind/wind_med2.wav"
		}
	}


	// wind sound
	"playlooping"
	{
		"volume"		"1"
		"pitch"		"100"
		"wave"		"ambient/wind/dry_air_short.wav"
	}


	// Planes flying overhead
	"playrandom"
	{
		"time"		"20,60"
		"volume"		".8,1"
		"pitch"		"90,100"

		"rndwave"
		{
			"wave"	"ambient/overhead/plane1.wav"
			"wave"	"ambient/overhead/plane2.wav"
			"wave"	"ambient/playonce/overhead/plane3.wav"
		}
	}


	// Truck metal squeaks
	"playrandom"
	{
		"time"		"10,20"
		"volume"		".08,.2"
		"pitch"		"80,100"

		"rndwave"
		{
			"wave"	"ambient/misc/equipment_stress1.wav"
			"wave"	"ambient/misc/equipment_stress2.wav"
			"wave"	"ambient/misc/equipment_stress3.wav"
		}
	}


	"playrandom"
	{
		"time"		"3,8"
		"volume"		"0.6,1"
		"pitch"		"80,100"
		"soundlevel"  	"SNDLVL_95dB"

		"rndwave"
		{
			"wave"	"ambient/misc/car1.wav"
			"wave"	"ambient/misc/car2.wav"
		}
	}

	"playrandom"
	{
		"time"		"15,30"
		"volume"		"0.7,0.9"
		"pitch"		"80,100"
		"soundlevel"  	"SNDLVL_95dB"

		"rndwave"
		{
			"wave"	"ambient/misc/ambulance1.wav"

		}
	}

	"playrandom"
	{
		"time"		"15,40"
		"volume"		"0.6,0.9"
		"pitch"		"80,100"
		"soundlevel"  	"SNDLVL_95dB"

		"rndwave"
		{
			"wave"	"ambient/playonce/misc/garbage_truck1.wav"
			"wave"	"ambient/playonce/misc/truck_backup1.wav"
			"wave"	"ambient/playonce/misc/truck_drive1.wav"
			"wave"	"ambient/playonce/misc/truck_drive2.wav"
			"wave"	"ambient/playonce/misc/crane_move1.wav"
		}
	}

	"playrandom"
	{
		"time"		"6,20"
		"volume"		"0.7,0.9"
		"pitch"		"80,100"
		"soundlevel"  	"SNDLVL_95dB"

		"rndwave"
		{
			"wave"	"ambient/misc/carhonk1.wav"
			"wave"	"ambient/misc/carhonk2.wav"
			"wave"	"ambient/misc/carhonk3.wav"

		}
	}

	"playrandom"
	{
		"time"		"15,40"
		"volume"		"0.6,0.9"
		"pitch"		"80,100"
		"soundlevel"  	"SNDLVL_95dB"

		"rndwave"
		{
			"wave"	"ambient/playonce/misc/police1.wav"
		}
	}

	"playrandom"
	{

		"time"		"15,50"
		"volume"		".06,.15"
		"pitch"		"70,80"

		"rndwave"
		{
		"wave"		"ambient/animal/dog1.wav"
		"wave"		"ambient/animal/dog2.wav"
		"wave"		"ambient/animal/dog3.wav"
		"wave"		"ambient/animal/dog4.wav"
		"wave"		"ambient/animal/dog5.wav"
		"wave"		"ambient/animal/dog6.wav"
		"wave"		"ambient/animal/dog7.wav"
		}

	}

	"playrandom"
	{
		"time"		"20,45"
		"volume"		"0.7,0.9"
		"pitch"		"80,100"


		"rndwave"
		{
			"wave"	"ambient/playonce/machines/train_pass_far.wav"
		}
	}

}

//------------------------------------------------------------------------------------------
//
// Generic indoors ambience
//
"vertigo.inside"
{
	"dsp" "1"
	// underlying area "tone"
	"playlooping"
	{
		"volume"	"0.5"
		"pitch"		"100"
		"wave"		"ambient/tones/industrial3_loop.wav"
	}
}

//------------------------------------------------------------------------------------------
//
// Generic indoors insulated ambience
//
"vertigo.insulated"
{
	"dsp" "1"
	// underlying area "tone"
	"playlooping"
	{
		"volume"	"0.5"
		"pitch"		"100"
		"wave"		"ambient/tones/roomtone1.wav"
	}
}

//------------------------------------------------------------------------------------------
//
// All dumpsters have flies
//
"vertigo.flies"
{
	"dsp" "1"
	"playrandom"
	{
		"time"			"1,4"
		"volume"		"1.0"
		"pitch"			"90,110"
		"soundlevel"  	"SNDLVL_58dB"

		"rndwave"
		{
			"wave"	"ambient/animal/flies1.wav"
			"wave"	"ambient/animal/flies2.wav"
			"wave"	"ambient/animal/flies3.wav"
			"wave"	"ambient/animal/flies4.wav"
			"wave"	"ambient/animal/flies5.wav"
		}
	}
}


//------------------------------------------------------------------------------------------
//
// Bare lightbulb hum - used for all lightbulbs in the map
//
"vertigo.light"
{
	"dsp" "1"
	"playlooping"
	{	
		"pitch"			"100"
		"volume"		".5"
		"soundlevel"  	"SNDLVL_65dB"

		"wave"	"ambient/misc/flour_light_loud.wav"
	}
}

//------------------------------------------------------------------------------------------
//
// A Small Power Transformer
"vertigo.transformer"
{
	"dsp" "1"
	"playlooping"
	{	
		"pitch"			"100"
		"volume"		"1"
		"soundlevel"  	"SNDLVL_60dB"

		"wave"	"ambient/machines/power_transformer_loop_2.wav"
	}
}

//------------------------------------------------------------------------------------------
//
// A gas generator
"vertigo.generator"
{
	"dsp" "1"
	"playlooping"
	{	
		"pitch"			"100"
		"volume"		"1"
		"soundlevel"  	"SNDLVL_75dB"

		"wave"	"ambient/machines/big_truck.wav"
	}
}


//------------------------------------------------------------------------------------------
//------------------------------------------------------------------------------------------
"vertigo.ctspawn"
{
	"dsp"	"1"

	"playsoundscape"
	{
		"name" "vertigo.edges"
	}

	// Position 0: Spotlight
	"playsoundscape"
	{
		"positionoverride"	"0"
		"name"			"vertigo.light"
	}

	// Position 1: Spotlight
	"playsoundscape"
	{
		"positionoverride"	"1"
		"name"			"vertigo.light"
	}

	// Position 2: Spotlight
	"playsoundscape"
	{
		"positionoverride"	"2"
		"name"			"vertigo.light"
	}

	// Position 3: Generator
	"playsoundscape"
	{
		"positionoverride"	"3"
		"name"			"vertigo.generator"
	}

} 


"vertigo.scaffolding"
{
	"dsp"	"1"

	"playsoundscape"
	{
		"name" "vertigo.inside"
	}

	// Position 0: Spotlight
	"playsoundscape"
	{
		"positionoverride"	"0"
		"name"			"vertigo.light"
	}

	// Position 1: Spotlight
	"playsoundscape"
	{
		"positionoverride"	"1"
		"name"			"vertigo.light"
	}

}


"vertigo.ceilingtile"
{
	"dsp"	"1"

	"playsoundscape"
	{
		"name" "vertigo.insulated"
	}

	// Position 0: Spotlight
	"playsoundscape"
	{
		"positionoverride"	"0"
		"name"			"vertigo.light"
	}

}



"vertigo.stairs"
{
	"dsp"	"1"

	"playsoundscape"
	{
		"name" "vertigo.edges"
	}

	// Position 0: Power Box
	"playsoundscape"
	{
		"positionoverride"	"0"
		"name"			"vertigo.transformer"
	}

	// Position 1: Generator
	"playsoundscape"
	{
		"positionoverride"	"1"
		"name"			"vertigo.generator"
	}

}

"vertigo.stairsbase"
{
	"dsp"	"1"

	"playsoundscape"
	{
		"name" "vertigo.edges"
	}

	// Position 0: Generator
	"playsoundscape"
	{
		"positionoverride"	"0"
		"name"			"vertigo.generator"
	}

}

"vertigo.tspawninside"
{
	"dsp"	"1"

	"playsoundscape"
	{
		"name" "vertigo.inside"
	}

	// Position 0: Spotlight
	"playsoundscape"
	{
		"positionoverride"	"0"
		"name"			"vertigo.light"
	}

	// Position 1: Spotlight
	"playsoundscape"
	{
		"positionoverride"	"1"
		"name"			"vertigo.light"
	} 

	// Position 2: Power Box
	"playsoundscape"
	{
		"positionoverride"	"2"
		"name"			"vertigo.transformer"
	}

}

"vertigo.tspawn"
{
	"dsp"	"1"

	"playsoundscape"
	{
		"name" "vertigo.edges"
	}

	// Position 0: Spotlight
	"playsoundscape"
	{
		"positionoverride"	"0"
		"name"			"vertigo.light"
	}

	// Position 1: Power Box
	"playsoundscape"
	{
		"positionoverride"	"1"
		"name"			"vertigo.transformer"
	}

	// Position 2: Spotlight
	"playsoundscape"
	{
		"positionoverride"	"2"
		"name"			"vertigo.light"
	}

	// Position 3: Generator
	"playsoundscape"
	{
		"positionoverride"	"3"
		"name"			"vertigo.generator"
	}

}

"vertigo.tspawngenerator"
{
	"dsp"	"1"

	"playsoundscape"
	{
		"name" "vertigo.edges"
	}

	// Position 0: Generator
	"playsoundscape"
	{
		"positionoverride"	"0"
		"name"			"vertigo.generator"
	}

	// Position 1: Spotlight
	"playsoundscape"
	{
		"positionoverride"	"1"
		"name"			"vertigo.light"
	}

	// Position 2: Power Box
	"playsoundscape"
	{
		"positionoverride"	"2"
		"name"			"vertigo.transformer"
	}

}

"vertigo.ramp"
{
	"dsp"	"1"

	"playsoundscape"
	{
		"name" "vertigo.roof"
	}

	// Position 0: Generator
	"playsoundscape"
	{
		"positionoverride"	"0"
		"name"			"vertigo.generator"
	}

}

"vertigo.cthole"
{
	"dsp"	"1"

	"playsoundscape"
	{
		"name" "vertigo.insulated"
	}

	// Position 0: Spotlight
	"playsoundscape"
	{
		"positionoverride"	"0"
		"name"			"vertigo.light"
	}

}

"vertigo.thole"
{
	"dsp"	"1"

	"playsoundscape"
	{
		"name" "vertigo.insulated"
	}

	// Position 0: Spotlight
	"playsoundscape"
	{
		"positionoverride"	"0"
		"name"			"vertigo.light"
	}

}

"vertigo.bombb"
{
	"dsp"	"1"

	"playsoundscape"
	{
		"name" "vertigo.edges"
	}

	// Position 0: Generator
	"playsoundscape"
	{
		"positionoverride"	"0"
		"name"			"vertigo.generator"
	}

}