SiiNunit
{
accessory_sound_data : v8.scania.xt.esound
{
	exterior_sound: true

	start: .start
	stop: .stop
	start_no_fuel: .startbad
	retarder: .r

	engine[]: .e0
	engine[]: .e1
	engine[]: .e2
	engine[]: .e3
	engine[]: .e4
	engine[]: .e5
	engine[]: .e6

	engine_load[]: .el0
	engine_load[]: .el1
	engine_load[]: .el2
	engine_load[]: .el3
	engine_load[]: .el4
	engine_load[]: .el5
	
	engine_nofuel[]: .enf0
	engine_nofuel[]: .enf1
	engine_nofuel[]: .enf2
	engine_nofuel[]: .enf3
		
	engine_exhaust[]: .ee0
	engine_exhaust[]: .ee1
	engine_exhaust[]: .ee2
	engine_exhaust[]: .ee3
	engine_exhaust[]: .ee4
	engine_exhaust[]: .ee5

	engine_brake[]: .eb0

	turbo: .t

	air_gear[0]: .airgear0
	air_gear[1]: .airgear1
	air_gear[2]: .airgear2

	air_brake[0]: .airbrake0
	air_brake[1]: .airbrake1

	horn: .horn
	reverse: .reverse


@include "/def/vehicle/truck/common_sound_ext.sui"


}
sound_data: .start
{
	name: "/sound/truck/scania_2016/v8/ext/start.ogg"
	looped: false
}

sound_data: .startbad
{
	name: "/sound/truck/scania_2016/v8/ext/start_bad.ogg"
	looped: false
}

sound_data: .stop
{
	name: "/sound/truck/scania_2016/v8/ext/stop.ogg"
	looped: false
}


# Retarder.

sound_data: .r
{
	name: "/sound/truck/scania_2016/v8/ext/retarder.ogg"
	looped: true
	volume: 0.7
}


# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ unloaded sounds

sound_engine_data: .e0
{
	name: "/sound/truck/scania_2016/v8/ext/sc_v8_unload_ext_1.ogg"
	looped: true

	pitch_reference: 590

	min_rpm: 300.0
	max_rpm: 900.0
	volume: 0.45
}

sound_engine_data: .e1
{
	name: "/sound/truck/scania_2016/v8/ext/sc_v8_unload_ext_2.ogg"
	looped: true

	pitch_reference: 910

	min_rpm: 680.0
	max_rpm: 1130.0
	volume: 0.5
}

sound_engine_data: .e2
{
	name: "/sound/truck/scania_2016/v8/ext/sc_v8_unload_ext_3.ogg"

	looped: true

	pitch_reference: 1200

	min_rpm: 1000.0
	max_rpm: 1400.0
	volume: 0.53
}

sound_engine_data: .e3
{
	name: "/sound/truck/scania_2016/v8/ext/sc_v8_unload_ext_4.ogg"

	looped: true

	pitch_reference: 1440

	min_rpm: 1250.0
	max_rpm: 1650.0
	volume: 0.57
}

sound_engine_data: .e4
{
	name: "/sound/truck/scania_2016/v8/ext/sc_v8_unload_ext_5.ogg"

	looped: true

	pitch_reference: 1710

	min_rpm: 1500.0
	max_rpm: 1940.0
	volume: 0.6
}

sound_engine_data: .e5
{
	name: "/sound/truck/scania_2016/v8/ext/sc_v8_unload_ext_6.ogg"

	looped: true

	pitch_reference: 2030

	min_rpm: 1800.0
	max_rpm: 2050.0
	volume: 0.62
}

sound_engine_data: .e6
{
	name: "/sound/truck/scania_2016/v8/ext/sc_v8_unload_ext_7.ogg"

	looped: true

	pitch_reference: 2400

	min_rpm: 2020.0
	max_rpm: 2800.0
	volume: 0.62
}

# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ loaded sounds

sound_engine_data: .el0
{
	name: "/sound/truck/scania_2016/v8/ext/sc_v8_loaded_ext_1.ogg"

	looped: true

	pitch_reference: 560

	min_rpm: 300.0
	max_rpm: 800.0
	volume: 0.6
}

sound_engine_data: .el1
{	
	name: "/sound/truck/scania_2016/v8/ext/sc_v8_loaded_ext_2.ogg"

	looped: true

	pitch_reference: 900

	min_rpm: 630.0
	max_rpm: 1130.0
	volume: 0.65
}

sound_engine_data: .el2
{
	name: "/sound/truck/scania_2016/v8/ext/sc_v8_loaded_ext_3.ogg"

	looped: true

	pitch_reference: 1250

	min_rpm: 950.0
	max_rpm: 1500.0
	volume: 0.7
}

sound_engine_data: .el3
{
	name: "/sound/truck/scania_2016/v8/ext/sc_v8_loaded_ext_4.ogg"

	looped: true

	pitch_reference: 1540

	min_rpm: 1300.0
	max_rpm: 1800.0
	volume: 0.75
}

sound_engine_data: .el4
{
	name: "/sound/truck/scania_2016/v8/ext/sc_v8_loaded_ext_5.ogg"

	looped: true

	pitch_reference: 1900

	min_rpm: 1600.0
	max_rpm: 2230.0
	volume: 0.85
}

sound_engine_data: .el5
{
	name: "/sound/truck/scania_2016/v8/ext/sc_v8_loaded_ext_6.ogg"

	looped: true

	pitch_reference: 2150

	min_rpm: 1900.0
	max_rpm: 3000.0
	volume: 0.9
}


#  +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ exhaust sounds

sound_engine_data: .ee0
{
	name: "/sound/truck/scania_2016/v8/ext/sc_v8_exhaust_ext_1.ogg"

	looped: true

	pitch_reference: 600

	min_rpm: 300.0
	max_rpm: 800.0
	volume: 0.55
}

sound_engine_data: .ee1
{
	name: "/sound/truck/scania_2016/v8/ext/sc_v8_exhaust_ext_2.ogg"

	looped: true

	pitch_reference: 900

	min_rpm: 680.0
	max_rpm: 1150.0
	volume: 0.6
}

sound_engine_data: .ee2
{
	name: "/sound/truck/scania_2016/v8/ext/sc_v8_exhaust_ext_3.ogg"

	looped: true

	pitch_reference: 1170

	min_rpm: 950.0
	max_rpm: 1400.0
	volume: 0.65
}

sound_engine_data: .ee3
{
	name: "/sound/truck/scania_2016/v8/ext/sc_v8_exhaust_ext_4.ogg"

	looped: true

	pitch_reference: 1550

	min_rpm: 1250.0
	max_rpm: 1810.0
	volume: 0.7
}

sound_engine_data: .ee4
{
	name: "/sound/truck/scania_2016/v8/ext/sc_v8_exhaust_ext_5.ogg"

	looped: true

	pitch_reference: 1850

	min_rpm: 1580.0
	max_rpm: 2100.0
	volume: 0.75
}

sound_engine_data: .ee5
{
	name: "/sound/truck/scania_2016/v8/ext/sc_v8_exhaust_ext_6.ogg"

	looped: true

	pitch_reference: 2400

	min_rpm: 2000.0
	max_rpm: 3000.0
	volume: 0.75
}



# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ nofuel sounds


sound_engine_data: .enf0
{
	name: "/sound/truck/scania_2016/v8/ext/sc_v8_nofuel_ext_1.ogg"

	looped: true
	pitch_reference: 600
	min_rpm: 300.0
	max_rpm: 900.0
	volume: 0.46
}

sound_engine_data: .enf1
{
	name: "/sound/truck/scania_2016/v8/ext/sc_v8_nofuel_ext_2.ogg"

	looped: true
	pitch_reference: 1100
	min_rpm: 710.0
	max_rpm: 1400.0
	volume: 0.53
}

sound_engine_data: .enf2
{
	name: "/sound/truck/scania_2016/v8/ext/sc_v8_nofuel_ext_3.ogg"

	looped: true
	pitch_reference: 1600
	min_rpm: 1200.0
	max_rpm: 2050.0
	volume: 0.58
}

sound_engine_data: .enf3
{
	name: "/sound/truck/scania_2016/v8/ext/sc_v8_nofuel_ext_4.ogg"

	looped: true
	pitch_reference: 2200
	min_rpm: 1700.0
	max_rpm: 3000.0
	volume: 0.63
}

# engine brake +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

sound_engine_data: .eb0
{
	name: "/sound/truck/scania_2016/v8/ext/engine_brake_ext.ogg"
	looped: true	
	is_2d: true
	pitch_reference: 1850
	min_rpm: 750.0
	max_rpm: 3000.0
}

# turbo a dalsi zvuky +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


sound_data: .t
{
	name: "/sound/truck/scania_2016/v8/ext/turbo_ext.ogg"
	looped: true

	volume: 0.4
}

sound_data: .airgear0
{
	name: "/sound/truck/scania_2016/v8/ext/gear_air_1.ogg"
	volume: 0.6
}

sound_data: .airgear1
{
	name: "/sound/truck/scania_2016/v8/ext/gear_air_2.ogg"
	volume: 0.6
}

sound_data: .airgear2
{
	name: "/sound/truck/scania_2016/v8/ext/gear_air_3.ogg"
	volume: 0.6
}

sound_data: .airbrake0
{
	name: "/sound/truck/scania_2016/v8/ext/air_brake1.ogg"
	looped: false
}

sound_data: .airbrake1
{
	name: "/sound/truck/scania_2016/v8/ext/air_brake2.ogg"
	looped: false
}

sound_data: .horn
{
	name: "/sound/truck/scania_2016/v8/ext/horn.ogg"
	looped: true
}

sound_data: .reverse
{
	name: "/sound/truck/scania_2016/v8/ext/reverse.ogg"
	looped: true
}



@include "/def/vehicle/truck/common_sound_ext_data.sui"

}
