SiiNunit
{
accessory_sound_data : std.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_load[]: .el6
	
	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_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/std/ext/start.ogg"
	looped: false
}

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

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


# Retarder.

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


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

sound_engine_data: .e0
{
	name: "/sound/truck/scania_2016/std/ext/unloaded_1.ogg"
	looped: true

	pitch_reference: 580

	min_rpm: 200.0
	max_rpm: 740.0
	volume: 0.45
}

sound_engine_data: .e1
{
	name: "/sound/truck/scania_2016/std/ext/unloaded_2.ogg"
	looped: true

	pitch_reference: 800

	min_rpm: 605.0
	max_rpm: 1000.0
	volume: 0.5
}

sound_engine_data: .e2
{
	name: "/sound/truck/scania_2016/std/ext/unloaded_3.ogg"

	looped: true

	pitch_reference: 1050

	min_rpm: 840.0
	max_rpm: 1200.0
	volume: 0.53
}

sound_engine_data: .e3
{
	name: "/sound/truck/scania_2016/std/ext/unloaded_4.ogg"

	looped: true
	pitch_reference: 1330

	min_rpm: 1100.0
	max_rpm: 1550.0
	volume: 0.57
}

sound_engine_data: .e4
{
	name: "/sound/truck/scania_2016/std/ext/unloaded_5.ogg"

	looped: true


	pitch_reference: 1605

	min_rpm: 1380.0
	max_rpm: 1850.0
	volume: 0.6
}

sound_engine_data: .e5
{
	name: "/sound/truck/scania_2016/std/ext/unloaded_6.ogg"

	looped: true

	pitch_reference: 2040

	min_rpm: 1700.0
	max_rpm: 2300.0
	volume: 0.62
}

sound_engine_data: .e6
{
	name: "/sound/truck/scania_2016/std/ext/unloaded_7.ogg"

	looped: true

	pitch_reference: 2450

	min_rpm: 2000.0
	max_rpm: 2800.0
	volume: 0.62
}




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

sound_engine_data: .el0
{
	name: "/sound/truck/scania_2016/std/ext/loaded_1.ogg"

	looped: true

	pitch_reference: 580

	min_rpm: 300.0
	max_rpm: 800.0
	volume: 0.55
}

sound_engine_data: .el1
{
	name: "/sound/truck/scania_2016/std/ext/loaded_2.ogg"

	looped: true
	pitch_reference: 820

	min_rpm: 620.0
	max_rpm: 1020.0
	volume: 0.6
}

sound_engine_data: .el2
{
	name: "/sound/truck/scania_2016/std/ext/loaded_3.ogg"

	looped: true

	pitch_reference: 1100

	min_rpm: 900.0
	max_rpm: 1280.0
	volume: 0.65
}

sound_engine_data: .el3
{
	name: "/sound/truck/scania_2016/std/ext/loaded_4.ogg"

	looped: true

	pitch_reference: 1400

	min_rpm: 1150.0
	max_rpm: 1650.0
	volume: 0.7
}

sound_engine_data: .el4
{
	name: "/sound/truck/scania_2016/std/ext/loaded_5.ogg"

	looped: true

	pitch_reference: 1640

	min_rpm: 1400.0
	max_rpm: 1900.0
	volume: 0.8
}

sound_engine_data: .el5
{
	name: "/sound/truck/scania_2016/std/ext/loaded_6.ogg"

	looped: true

	pitch_reference: 2000

	min_rpm: 1720.0
	max_rpm: 2270.0
	volume: 0.9
}
sound_engine_data: .el6
{
	name: "/sound/truck/scania_2016/std/ext/loaded_7.ogg"

	looped: true

	pitch_reference: 2550

	min_rpm: 2150.0
	max_rpm: 3000.0
	volume: 0.96
}


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

sound_engine_data: .ee0
{
	name: "/sound/truck/scania_2016/std/ext/exhaust_1.ogg"

	looped: true

	pitch_reference: 570

	min_rpm: 300.0
	max_rpm: 800.0
	volume: 0.45
}

sound_engine_data: .ee1
{
	name: "/sound/truck/scania_2016/std/ext/exhaust_2.ogg"

	looped: true

	pitch_reference: 930

	min_rpm: 620.0
	max_rpm: 1200.0
	volume: 0.5
}

sound_engine_data: .ee2
{
	name: "/sound/truck/scania_2016/std/ext/exhaust_3.ogg"

	looped: true


	pitch_reference: 1280

	min_rpm: 920.0
	max_rpm: 1640.0
	volume: 0.55
}

sound_engine_data: .ee3
{
	name: "/sound/truck/scania_2016/std/ext/exhaust_4.ogg"

	looped: true

	pitch_reference: 1720

	min_rpm: 1400.0
	max_rpm: 2050.0
	volume: 0.6
}

sound_engine_data: .ee4
{
	name: "/sound/truck/scania_2016/std/ext/exhaust_5.ogg"

	looped: true

	pitch_reference: 2300

	min_rpm: 1780.0
	max_rpm: 3000.0
	volume: 0.65
}




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


sound_engine_data: .enf0
{
	name: "/sound/truck/scania_2016/std/ext/nofuel_1.ogg"

	looped: true
	pitch_reference: 650
	min_rpm: 300.0
	max_rpm: 1000.0
	volume: 0.46
}

sound_engine_data: .enf1
{
	name: "/sound/truck/scania_2016/std/ext/nofuel_2.ogg"

	looped: true
	pitch_reference: 1150
	min_rpm: 700.0
	max_rpm: 1600.0
	volume: 0.53
}

sound_engine_data: .enf2
{
	name: "/sound/truck/scania_2016/std/ext/nofuel_3.ogg"

	looped: true
	pitch_reference: 1650
	min_rpm: 1220.0
	max_rpm: 2100.0
	volume: 0.58
}

sound_engine_data: .enf3
{
	name: "/sound/truck/scania_2016/std/ext/nofuel_4.ogg"

	looped: true
	pitch_reference: 2300
	min_rpm: 1800.0
	max_rpm: 3000.0
	volume: 0.63
}



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

sound_engine_data: .eb0
{
	name: "/sound/truck/scania_2016/std/ext/engine_brake_ext.ogg"
	looped: true

	pitch_reference: 1850
	min_rpm: 600.0
	max_rpm: 3000.0
}

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


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

	volume: 0.5
}

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

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

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

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

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

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

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


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

}
