A
1000
ACF_SOUNDS

DISABLE_LEGACY_ALERT_SOUNDS

##################################
# THE INSIDE SOUND SPACE
##################################

BEGIN_SOUND_SPACE
	SOUND_INDEX 0
	BLEND_DEPTH 0.03
	AABB -0.5 -0.2 -7.50 0.5 1.0 -5.5
END_SOUND_SPACE

##################################
# MIXER SNAPSHOTS
##################################

BEGIN_SOUND_ATTACHMENT
	SNAPSHOT_NAME /ducker
	EVENT_START_COND sim/time/total_flight_time_sec > 0
	EVENT_END_COND sim/time/total_flight_time_sec > 3
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	SNAPSHOT_NAME /F-8E_door1_open
	EVENT_START_COND sim/flightmodel2/misc/canopy_open_ratio > 0.0
	EVENT_END_COND sim/flightmodel2/misc/canopy_open_ratio == 0.0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
  SNAPSHOT_NAME /F-8E_external_view
    EVENT_START_COND sim/graphics/view/view_is_external != 1
    EVENT_END_COND sim/graphics/view/view_is_external == 1
END_SOUND_ATTACHMENT

#################
# EXTERIOR SOUNDS
#################

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_airspeed_noise
	VEH_PART cockpit 0
	EVENT_START_COND sim/flightmodel/position/true_airspeed >= 1
	EVENT_END_COND sim/flightmodel/position/true_airspeed < 1
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_engine_external
	VEH_PART cockpit 0
	PARAM_DREF_IDX 0
	EVENT_ALLOWED_FOR_AI
	EVENT_START_COND sim/flightmodel2/engines/N2_percent[0] != 0
	EVENT_END_COND sim/flightmodel2/engines/N2_percent[0] == 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_engine_out (2)
	VEH_PART engine 0
	PARAM_DREF_IDX 0
	EVENT_START_COND   sim/flightmodel2/engines/N2_percent[0] != 0
	EVENT_END_COND sim/flightmodel2/engines/N2_percent[0] == 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_wingfold_out
	VEH_PART cockpit 0
	EVENT_START_COND sim/flightmodel2/controls/dihedral_ratio > 0.01
	EVENT_END_COND sim/flightmodel2/controls/dihedral_ratio == 1
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_wingfold_out
	VEH_PART cockpit 0
	EVENT_START_COND sim/flightmodel2/controls/dihedral_ratio < 0.99
	EVENT_END_COND sim/flightmodel2/controls/dihedral_ratio == 0
END_SOUND_ATTACHMENT

#################
# ENGINE SOUNDS
#################

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_fuelpump
	VEH_PART engine 0
	PARAM_DREF_IDX 0
	EVENT_ALLOWED_FOR_AI
	EVENT_START_COND sim/flightmodel2/engines/fuel_pump_spinning[0] == 1
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_starter
	VEH_PART engine 0
	PARAM_DREF_IDX 0
	EVENT_ALLOWED_FOR_AI
	EVENT_START_COND sim/flightmodel2/engines/starter_is_running[0] != 0
	EVENT_END_COND sim/flightmodel2/engines/starter_is_running[0] == 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_engine_in
	VEH_PART engine 0
	PARAM_DREF_IDX 0
	EVENT_ALLOWED_FOR_AI
	EVENT_START_COND  sim/flightmodel2/engines/N2_percent[0] != 0
	EVENT_END_COND  sim/flightmodel2/engines/N2_percent[0] == 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_engine_out
	VEH_PART engine 0
	PARAM_DREF_IDX 0
	EVENT_START_COND   sim/flightmodel2/engines/N2_percent[0] != 0
	EVENT_END_COND sim/flightmodel2/engines/N2_percent[0] == 0
END_SOUND_ATTACHMENT

#################
# TIRE SKIDDING
#################

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_wheel_skid
	VEH_PART tire 0
	PARAM_DREF_IDX 0
	EVENT_ALLOWED_FOR_AI
	EVENT_START_COND sim/flightmodel2/gear/tire_skid_ratio[0] > 0.5
	EVENT_END_COND sim/flightmodel2/gear/tire_skid_ratio[0] == 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_wheel_skid
	VEH_PART tire 1
	PARAM_DREF_IDX 1
	EVENT_ALLOWED_FOR_AI
	EVENT_START_COND sim/flightmodel2/gear/tire_skid_ratio[1] > 0.5
	EVENT_END_COND sim/flightmodel2/gear/tire_skid_ratio[1] == 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_wheel_skid
	VEH_PART tire 2
	PARAM_DREF_IDX 2
	EVENT_ALLOWED_FOR_AI
	EVENT_START_COND sim/flightmodel2/gear/tire_skid_ratio[2] > 0.5
	EVENT_END_COND sim/flightmodel2/gear/tire_skid_ratio[2] == 0
END_SOUND_ATTACHMENT

#################
# TIRE ROLL SOUND
#################

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_ground_roll
	VEH_PART tire 0
	PARAM_DREF_IDX 0
	EVENT_START_COND sim/flightmodel2/gear/tire_rotation_speed_rad_sec[0] > 0.5
	EVENT_START_COND sim/flightmodel2/gear/on_ground[0] == 1
	EVENT_END_COND sim/flightmodel2/gear/on_ground[0] == 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_ground_roll
	VEH_PART tire 1
	PARAM_DREF_IDX 1
	EVENT_START_COND sim/flightmodel2/gear/tire_rotation_speed_rad_sec[1] > 1
	EVENT_START_COND sim/flightmodel2/gear/on_ground[1] == 1
	EVENT_END_COND sim/flightmodel2/gear/on_ground[1] == 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_ground_roll
	VEH_PART tire 2
	PARAM_DREF_IDX 2
	EVENT_START_COND sim/flightmodel2/gear/tire_rotation_speed_rad_sec[2] > 1
	EVENT_START_COND sim/flightmodel2/gear/on_ground[2] == 1
	EVENT_END_COND sim/flightmodel2/gear/on_ground[2] == 0
END_SOUND_ATTACHMENT

#################
# TIRE IMPACT SOUNDS
#################

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_touchdn
	VEH_PART tire 0
	PARAM_DREF_IDX 0
	EVENT_ALLOWED_FOR_AI
	EVENT_START_COND sim/flightmodel2/gear/total_deflection_rate[0] > 1
	EVENT_START_COND sim/flightmodel2/gear/tire_vertical_deflection_mtr[0] > 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_touchdn
	VEH_PART tire 1
	PARAM_DREF_IDX 1
	EVENT_ALLOWED_FOR_AI
	EVENT_START_COND sim/flightmodel2/gear/total_deflection_rate[1] > 1
	EVENT_START_COND sim/flightmodel2/gear/tire_vertical_deflection_mtr[1] > 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_touchdn
	VEH_PART tire 2
	PARAM_DREF_IDX 2
	EVENT_ALLOWED_FOR_AI
	EVENT_START_COND sim/flightmodel2/gear/total_deflection_rate[2] > 1
	EVENT_START_COND sim/flightmodel2/gear/tire_vertical_deflection_mtr[2] > 0
END_SOUND_ATTACHMENT

#################
# FLAPS
#################

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_flaps
	VEH_XYZ 2.005584 0.673608 1.2192
	PARAM_DREF_IDX 0
	EVENT_ALLOWED_FOR_AI
	EVENT_START_COND DELTA=sim/flightmodel2/wing/flap1_deg[0] > 0
	EVENT_END_COND ABS_DELTA=sim/flightmodel2/wing/flap1_deg[0] == 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_flaps
	VEH_XYZ 2.005584 0.673608 1.2192
	PARAM_DREF_IDX 0
	EVENT_ALLOWED_FOR_AI
	EVENT_START_COND DELTA=sim/flightmodel2/wing/flap1_deg[0] < 0
	EVENT_END_COND ABS_DELTA=sim/flightmodel2/wing/flap1_deg[0] == 0
END_SOUND_ATTACHMENT


################
# CANOPY SOUND #
################

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_Canopy
	VEH_PART cockpit 0
	PARAM_DREF_IDX 13
	EVENT_START_COND sim/cockpit2/switches/custom_slider_on[13] == 1
	EVENT_END_COND sim/flightmodel2/misc/canopy_open_ratio > 0.95
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_Canopy
	VEH_PART cockpit 0
	PARAM_DREF_IDX 13
	EVENT_START_COND sim/cockpit2/switches/custom_slider_on[13] == 0
	EVENT_END_COND sim/flightmodel2/misc/canopy_open_ratio < 0.05
END_SOUND_ATTACHMENT

#################
# COCKPIT SOUNDS
#################

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_avionics
	VEH_PART cockpit 0
	PARAM_DREF_IDX 0
	EVENT_START_COND sim/cockpit2/electrical/bus_volts[0] == 1
	EVENT_END_COND sim/cockpit2/electrical/bus_volts[0] == 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_stall
	VEH_PART cockpit 0
	EVENT_START_COND sim/cockpit2/annunciators/stall_warning_ratio > 0.3
	EVENT_END_COND sim/cockpit2/annunciators/stall_warning_ratio == 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_gear_handle
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/controls/gear_handle_down != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_gear
	VEH_PART tire 0
	PARAM_DREF_IDX 0
	EVENT_START_COND DELTA=sim/aircraft/parts/acf_gear_deploy[0] > 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_gear
	VEH_PART tire 0
	PARAM_DREF_IDX 0
	EVENT_START_COND DELTA=sim/aircraft/parts/acf_gear_deploy[0] < 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_gear
	VEH_PART tire 1
	PARAM_DREF_IDX 1
	EVENT_START_COND DELTA=sim/aircraft/parts/acf_gear_deploy[1] > 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_gear
	VEH_PART tire 1
	PARAM_DREF_IDX 1
	EVENT_START_COND DELTA=sim/aircraft/parts/acf_gear_deploy[1] < 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_gear
	VEH_PART tire 2
	PARAM_DREF_IDX 2
	EVENT_START_COND DELTA=sim/aircraft/parts/acf_gear_deploy[2] > 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_gear
	VEH_PART tire 2
	PARAM_DREF_IDX 2
	EVENT_START_COND DELTA=sim/aircraft/parts/acf_gear_deploy[2] < 0
	EVENT_AUTO_END_FROM_START_COND
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_speedbrake
	VEH_PART cockpit 0
	EVENT_START_COND sim/flightmodel2/controls/speedbrake_ratio > 0.1
	EVENT_END_COND sim/flightmodel2/controls/speedbrake_ratio < 0.1
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_tailhook
	VEH_PART cockpit 0
	EVENT_START_COND sim/cockpit2/switches/tailhook_deploy == 1
	EVENT_END_COND sim/flightmodel2/misc/tailhook_deploy_ratio > 0.95
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_tailhook
	VEH_PART cockpit 0
	EVENT_START_COND sim/cockpit2/switches/tailhook_deploy == 0
	EVENT_END_COND sim/flightmodel2/misc/tailhook_deploy_ratio < 0.05
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_fuel_probe
	VEH_PART cockpit 0
	PARAM_DREF_IDX 5
	EVENT_START_COND sim/cockpit2/switches/custom_slider_on[5] == 1
	EVENT_END_COND sim/flightmodel2/misc/custom_slider_ratio[5] > 0.95
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_fuel_probe
	VEH_PART cockpit 0
	PARAM_DREF_IDX 5
	EVENT_START_COND sim/cockpit2/switches/custom_slider_on[5] == 0
	EVENT_END_COND sim/flightmodel2/misc/custom_slider_ratio[5] < 0.05
END_SOUND_ATTACHMENT

---wingfolding sounds---
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_gear_handle
	VEH_PART cockpit 0
	PARAM_DREF_IDX 1
	EVENT_START_COND sim/cockpit2/switches/custom_slider_on[1] == 1
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_gear_handle
	VEH_PART cockpit 0
	PARAM_DREF_IDX 1
	EVENT_START_COND sim/flightmodel2/misc/custom_slider_ratio[1] < 0.2
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_wingfold
	VEH_PART cockpit 0
	PARAM_DREF_IDX 0
	EVENT_START_COND sim/flightmodel2/controls/dihedral_ratio > 0.01
	EVENT_END_COND sim/flightmodel2/controls/dihedral_ratio == 1
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_wingfold
	VEH_PART cockpit 0
	PARAM_DREF_IDX 0
	EVENT_START_COND sim/flightmodel2/controls/dihedral_ratio < 0.99
	EVENT_END_COND sim/flightmodel2/controls/dihedral_ratio == 0
END_SOUND_ATTACHMENT

###################
# SWITCHES SOUNDS
###################

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_click_button
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit/autopilot/airspeed != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_click
	VEH_PART cockpit 0
	PARAM_DREF_IDX 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/engine/actuators/fuel_pump_on[0] != 0
END_SOUND_ATTACHMENT
BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_click
	VEH_PART cockpit 0
	PARAM_DREF_IDX 1
	EVENT_START_COND ABS_DELTA=sim/cockpit2/engine/actuators/fuel_pump_on[1] != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_click
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit/electrical/landing_lights_on != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_click
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/flightmodel/controls/parkbrake != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_click
	VEH_PART cockpit 0
	PARAM_DREF_IDX 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/engine/indicators/igniter_sparking[0] != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_click
	VEH_PART cockpit 0
	PARAM_DREF_IDX 1
	EVENT_START_COND ABS_DELTA=sim/cockpit2/engine/actuators/starter_hit[1] != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_click
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/radios/actuators/com1_power != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_click
	VEH_PART cockpit 0
	PARAM_DREF_IDX 17
	EVENT_START_COND ABS_DELTA=sim/cockpit2/switches/custom_slider_on[17] != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_click_button
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/radios/actuators/com1_left_frequency_hz_833 != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_click
	VEH_PART cockpit 0
	PARAM_DREF_IDX 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/switches/custom_slider_on[0] != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_click
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/radios/actuators/nav1_power != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_click_button
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/radios/actuators/nav1_frequency_hz != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_click_button
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/radios/actuators/nav1_frequency_Mhz != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_click
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/radios/actuators/nav2_power != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_click_button
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/radios/actuators/nav2_frequency_Mhz != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_click_button
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/radios/actuators/nav2_frequency_khz != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_click_button
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/radios/actuators/transponder_mode != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_click_button
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/radios/indicators/transponder_id != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_click
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/engine/actuators/starter_hit[0] != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_click
	VEH_PART cockpit 0
	PARAM_DREF_IDX 2
	EVENT_START_COND ABS_DELTA=sim/cockpit2/switches/generic_lights_switch[2] != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_click
	VEH_PART cockpit 0
	PARAM_DREF_IDX 1
	EVENT_START_COND ABS_DELTA=sim/cockpit2/switches/generic_lights_switch[1] != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_click
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/switches/beacon_on != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_click
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit/electrical/nav_lights_on != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_click
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=custom/F8E/BIP_SW != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_click
	VEH_PART cockpit 0
	PARAM_DREF_IDX 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/electrical/battery_on[0] != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_click
	VEH_PART cockpit 0
	PARAM_DREF_IDX 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/electrical/generator_on[0] != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_click_button
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/switches/panel_brightness_ratio[*] != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_click_button
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/switches/instrument_brightness_ratio[*] != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_click
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/ice/ice_pitot_heat_on_pilot != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_click
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/ice/ice_inlet_heat_on != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_click
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/flightmodel2/misc/tailhook_deploy_ratio != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_click
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/controls/flap_handle_deploy_ratio != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_click
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/fuel/fuel_tank_transfer_to != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_click
	VEH_PART cockpit 0
	PARAM_DREF_IDX 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/switches/custom_slider_on[0] != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_click
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/flightmodel2/misc/custom_slider_ratio[15] != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_click
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/pressurization/actuators/dump_all_on != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_click
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/autopilot/altitude_hold_status != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_click
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=custom/F8E/Emer_SW != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_click
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/switches/dump_fuel != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_click
	VEH_PART cockpit 0
	PARAM_DREF_IDX 9
	EVENT_START_COND ABS_DELTA=sim/cockpit2/switches/custom_slider_on[9] != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_click
	VEH_PART cockpit 0
	PARAM_DREF_IDX 10
	EVENT_START_COND ABS_DELTA=sim/cockpit2/switches/custom_slider_on[10] != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_click
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit/weapons/guns_armed != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_click
	VEH_PART cockpit 0
	PARAM_DREF_IDX 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/engine/actuators/cowl_flap_ratio[0] != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_click
	VEH_PART cockpit 0
	PARAM_DREF_IDX 5
	EVENT_START_COND ABS_DELTA=sim/cockpit2/switches/custom_slider_on[5] != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_click
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=custom/F8E/lamp_test != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_click
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/switches/ram_air_turbine_on != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_click
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/switches/yaw_damper_on != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_click
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit/autopilot/heading_roll_mode != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_click
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/aircraft/controls/acf_blown_flap_min_engag != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_click
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/autopilot/autothrottle_on != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_click
	VEH_PART cockpit 0
	PARAM_DREF_IDX 21
	EVENT_START_COND ABS_DELTA=sim/cockpit2/switches/custom_slider_on[21] != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_click
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/switches/avionics_power_on != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_click
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit2/switches/spot_light_on != 0
END_SOUND_ATTACHMENT

BEGIN_SOUND_ATTACHMENT
	EVENT_NAME /F-8E_click
	VEH_PART cockpit 0
	EVENT_START_COND ABS_DELTA=sim/cockpit/switches/EFIS_map_range_selector != 0
END_SOUND_ATTACHMENT


