'######################################## '# # '# MAIN SCRIPT # '# # '# MAN Standarddoppeldecker SD200 # '# # '# Bauart SD85 # '# # '######################################## '(c) 10.08.2009 Marcel Kuhnt, R�diger H�lsmann 'Script Version: 1.0 'Omsi release: 1.0 'Revision History: '- Marcel Kuhnt 10.08.2009 Added Revision History '- Marcel Kuhnt 30.11.2010 Bugfix: press [D] in AI mode if motor running but neutral '------------------------------------------------------------------------------------------ '###################### ' Hauptteil '###################### {init} (M.L.engine_Init) (M.L.Antrieb_Init) (M.L.Elec_Init) (M.L.Door_Init) (M.L.wiper_init) (M.L.lights_init) (M.L.bremse_init) (M.L.cockpit_init) (M.L.heizung_init) (M.L.Matrix_init) (M.L.FIS_init) (M.L.VDV_init) ' (M.L.articulation_init) {end} {frame} (M.L.Radio_Frame) (M.L.Engine_Frame) (M.L.Antrieb_Frame) (M.L.Elec_Frame) (M.L.Door_frame) (M.L.cockpit_frame) (M.L.lights_frame) (M.L.wiper_frame) (M.L.bremse_frame) (M.L.klappern_frame) (M.L.FF_frame) (M.L.rain_frame) (M.L.sound_volume_frame) (M.L.heizung_frame) (M.L.FIS_frame) (M.L.SIP_Frame) (M.L.Matrix_frame) (M.L.cashdesk_frame) (M.L.VDV_Frame) ' (M.L.articulation_frame) 'AI: (L.L.AI_Engine) 0.5 > (L.L.engine_on) 0.5 < (L.L.antrieb_getr_gangvorwahl) 4 = ! || && {if} 0 (S.L.bremse_feststell_sw) (S.L.bremse_feststell) 1 (S.L.engine_injection_on) 400 (S.L.engine_n) 4 (S.L.antrieb_getr_gangvorwahl) 1 (S.L.engine_on) {endif} (L.L.AI_Engine) -0.5 < (L.L.engine_on) 0.5 > && {if} 0 (S.L.engine_on) 0 (S.L.engine_injection_on) 1 (S.L.bremse_feststell_sw) (S.L.bremse_feststell) {endif} 1 (S.L.Refresh_Strings) (L.L.vis_engine_type) 4 >= {if} (L.L.vis_CNG_TankTyp) (S.L.visvar_CNG_TankTyp) (L.L.vis_AC_type) 10 + (S.L.visvar_AC_type) (L.L.vis_AC_type) {if} 0 (S.L.visvar_dachluk_2) {else} (L.L.vis_dachluk_2) (S.L.visvar_dachluk_2) {endif} {else} 9 (S.L.visvar_CNG_TankTyp) (L.L.vis_AC_type) (S.L.visvar_AC_type) (L.L.vis_dachluk_2) (S.L.visvar_dachluk_2) {endif} (L.L.vis_new_cab) {if} 0.06 (S.L.visvar_new_cab_IBIS) {else} 0 (S.L.visvar_new_cab_IBIS) {endif} (L.L.vis_haltestangen_front) ! (L.L.vis_haltestangen_front_pendel) 1 = && {if} 2 (S.L.visvar_haltestangen_front_pendel) {else} (L.L.vis_haltestangen_front_pendel) (S.L.visvar_haltestangen_front_pendel) {endif} (L.L.vis_dachluk_2) ! (L.L.vis_dachluk_light_additiv) 1 = && {if} 0 (S.L.visvar_dachluk_light_additiv) (S.L.lights_beleuchtung_dachluk_2) {else} (L.L.vis_dachluk_light_additiv) (S.L.visvar_dachluk_light_additiv) (L.L.lights_beleuchtung) (S.L.lights_beleuchtung_dachluk_2) {endif} (L.L.vis_lights_stand_front_LED) ! {if} (L.L.lights_stand) (S.L.visvar_lights_stand_front_Halogen) {else} (L.L.lights_stand) (S.L.visvar_lights_stand_front_LED) {endif} (L.L.vis_preseries_front) ! {if} (L.L.vis_fog_lights) 1 = {if} 1 (S.L.visvar_fog_lights) (L.L.lights_nebel_vorn) (S.L.lights_nebel_vorn_var) {else} 0 (S.L.visvar_fog_lights) (S.L.lights_nebel_vorn_var) {endif} {else} 2 (S.L.visvar_fog_lights) 0 (S.L.lights_nebel_vorn_var) {endif} (L.L.vis_preseries_front) ! (L.L.vis_hide_logo_front) 0 = && {if} 1 (S.L.visvar_hide_logo_front) {else} 0 (S.L.visvar_hide_logo_front) {endif} 'setvar logic for door setvars: ' Door type ' vis_doortype_1 / vis_doortype_2 / vis_doortype_3 / vis_doortype_4 ' IST ' 0 - Bode Old ' 1 - Bode Old (Late mechanism - sounds like mix of old and new) ' 2 - Webasto-Kiekert E-Door ' 3 - Webasto-Kiekert ' 4 - Bode ' AST ' 5 - Bode AST Euro 2 ' 6 - Bode AST Euro 3 ' SST (!Only doors 2, 3, 4!) ' 7 - SST E-door (High) ' 8 - SST Ventura ' Door railing type (for IST only) ' vis_door_railing_type_1 / vis_door_railing_type_2 / vis_door_railing_type_3 / vis_door_railing_type_4 ' 0 - Standard per door ' 1 - 'Classic' NL railing ' Front Door heater strips (functional) ' vis_door_heater_strips ' 0 - Disabled ' 1 - Only on first wing ' 2 - On both wings (L.L.vis_doortype_1) 0 = (L.L.vis_doortype_1) 1 = || {if} (L.L.vis_door_railing_type_1) 0 = {if} 0 (S.L.visvar2_doortype_1) {else} 1 (S.L.visvar2_doortype_1) {endif} (L.L.vis_door_heater_strips) 0 = {if} 0 (S.L.visvar_door0_heater_strips) (S.L.visvar_door1_heater_strips) {endif} (L.L.vis_door_heater_strips) 1 = {if} 1 (S.L.visvar_door0_heater_strips) 0 (S.L.visvar_door1_heater_strips) {endif} (L.L.vis_door_heater_strips) 2 = {if} 1 (S.L.visvar_door0_heater_strips) (S.L.visvar_door1_heater_strips) {endif} 0 (S.L.visvar_doortype_1) {endif} (L.L.vis_doortype_1) 2 = {if} (L.L.vis_door_railing_type_1) 0 = {if} 2 (S.L.visvar2_doortype_1) {else} 3 (S.L.visvar2_doortype_1) {endif} (L.L.vis_door_heater_strips) 0 = {if} 0 (S.L.visvar_door0_heater_strips) (S.L.visvar_door1_heater_strips) {endif} (L.L.vis_door_heater_strips) 1 = {if} 2 (S.L.visvar_door0_heater_strips) 0 (S.L.visvar_door1_heater_strips) {endif} (L.L.vis_door_heater_strips) 2 = {if} 2 (S.L.visvar_door0_heater_strips) (S.L.visvar_door1_heater_strips) {endif} 1 (S.L.visvar_doortype_1) {endif} (L.L.vis_doortype_1) 3 = {if} (L.L.vis_door_railing_type_1) 0 = {if} 4 (S.L.visvar2_doortype_1) {else} 5 (S.L.visvar2_doortype_1) {endif} (L.L.vis_door_heater_strips) 0 = {if} 0 (S.L.visvar_door0_heater_strips) (S.L.visvar_door1_heater_strips) {endif} (L.L.vis_door_heater_strips) 1 = {if} 3 (S.L.visvar_door0_heater_strips) 0 (S.L.visvar_door1_heater_strips) {endif} (L.L.vis_door_heater_strips) 2 = {if} 3 (S.L.visvar_door0_heater_strips) (S.L.visvar_door1_heater_strips) {endif} 2 (S.L.visvar_doortype_1) {endif} (L.L.vis_doortype_1) 4 = {if} (L.L.vis_door_railing_type_1) 0 = {if} 6 (S.L.visvar2_doortype_1) {else} 7 (S.L.visvar2_doortype_1) {endif} (L.L.vis_door_heater_strips) 0 = {if} 0 (S.L.visvar_door0_heater_strips) (S.L.visvar_door1_heater_strips) {endif} (L.L.vis_door_heater_strips) 1 = {if} 4 (S.L.visvar_door0_heater_strips) 0 (S.L.visvar_door1_heater_strips) {endif} (L.L.vis_door_heater_strips) 2 = {if} 4 (S.L.visvar_door0_heater_strips) (S.L.visvar_door1_heater_strips) {endif} 3 (S.L.visvar_doortype_1) {endif} (L.L.vis_doortype_1) 5 = {if} (L.L.vis_door_heater_strips) 0 = {if} 0 (S.L.visvar_door0_heater_strips) (S.L.visvar_door1_heater_strips) {endif} (L.L.vis_door_heater_strips) 1 = {if} 5 (S.L.visvar_door0_heater_strips) 0 (S.L.visvar_door1_heater_strips) {endif} (L.L.vis_door_heater_strips) 2 = {if} 5 (S.L.visvar_door0_heater_strips) (S.L.visvar_door1_heater_strips) {endif} 4 (S.L.visvar_doortype_1) 99 (S.L.visvar2_doortype_1) {endif} (L.L.vis_doortype_1) 6 = {if} (L.L.vis_door_heater_strips) 0 = {if} 0 (S.L.visvar_door0_heater_strips) (S.L.visvar_door1_heater_strips) {endif} (L.L.vis_door_heater_strips) 1 = {if} 51 (S.L.visvar_door0_heater_strips) 0 (S.L.visvar_door1_heater_strips) {endif} (L.L.vis_door_heater_strips) 2 = {if} 51 (S.L.visvar_door0_heater_strips) (S.L.visvar_door1_heater_strips) {endif} 41 (S.L.visvar_doortype_1) 99 (S.L.visvar2_doortype_1) {endif} (L.L.vis_doortype_2) 0 = (L.L.vis_doortype_2) 1 = || {if} (L.L.vis_door_railing_type_2) 0 = {if} 0 (S.L.visvar2_doortype_2) {else} 1 (S.L.visvar2_doortype_2) {endif} 0 (S.L.visvar_doortype_2) {endif} (L.L.vis_doortype_2) 2 = {if} (L.L.vis_door_railing_type_2) 0 = {if} 2 (S.L.visvar2_doortype_2) {else} 3 (S.L.visvar2_doortype_2) {endif} 1 (S.L.visvar_doortype_2) {endif} (L.L.vis_doortype_2) 3 = {if} (L.L.vis_door_railing_type_2) 0 = {if} 4 (S.L.visvar2_doortype_2) {else} 5 (S.L.visvar2_doortype_2) {endif} 2 (S.L.visvar_doortype_2) {endif} (L.L.vis_doortype_2) 4 = {if} (L.L.vis_door_railing_type_2) 0 = {if} 6 (S.L.visvar2_doortype_2) {else} 7 (S.L.visvar2_doortype_2) {endif} 3 (S.L.visvar_doortype_2) {endif} (L.L.vis_doortype_2) 5 = {if} 4 (S.L.visvar_doortype_2) 99 (S.L.visvar2_doortype_2) {endif} (L.L.vis_doortype_2) 6 = {if} 41 (S.L.visvar_doortype_2) 99 (S.L.visvar2_doortype_2) {endif} (L.L.vis_doortype_2) 7 = {if} 5 (S.L.visvar_doortype_2) 99 (S.L.visvar2_doortype_2) {endif} (L.L.vis_doortype_2) 8 = {if} 6 (S.L.visvar_doortype_2) 99 (S.L.visvar2_doortype_2) {endif} (L.L.vis_doortype_3) 0 = (L.L.vis_doortype_3) 1 = || {if} (L.L.vis_door_railing_type_3) 0 = {if} 0 (S.L.visvar2_doortype_3) {else} 1 (S.L.visvar2_doortype_3) {endif} 0 (S.L.visvar_doortype_3) {endif} (L.L.vis_doortype_3) 2 = {if} (L.L.vis_door_railing_type_3) 0 = {if} 2 (S.L.visvar2_doortype_3) {else} 3 (S.L.visvar2_doortype_3) {endif} 1 (S.L.visvar_doortype_3) {endif} (L.L.vis_doortype_3) 3 = {if} (L.L.vis_door_railing_type_3) 0 = {if} 4 (S.L.visvar2_doortype_3) {else} 5 (S.L.visvar2_doortype_3) {endif} 2 (S.L.visvar_doortype_3) {endif} (L.L.vis_doortype_3) 4 = {if} (L.L.vis_door_railing_type_3) 0 = {if} 6 (S.L.visvar2_doortype_3) {else} 7 (S.L.visvar2_doortype_3) {endif} 3 (S.L.visvar_doortype_3) {endif} (L.L.vis_doortype_3) 5 = {if} 4 (S.L.visvar_doortype_3) 99 (S.L.visvar2_doortype_3) {endif} (L.L.vis_doortype_3) 6 = {if} 41 (S.L.visvar_doortype_3) 99 (S.L.visvar2_doortype_3) {endif} (L.L.vis_doortype_3) 7 = {if} 5 (S.L.visvar_doortype_3) 99 (S.L.visvar2_doortype_3) {endif} (L.L.vis_doortype_3) 8 = {if} 6 (S.L.visvar_doortype_3) 99 (S.L.visvar2_doortype_3) {endif} (L.L.vis_doortype_4) 0 = (L.L.vis_doortype_4) 1 = || {if} (L.L.vis_door_railing_type_4) 0 = {if} 0 (S.L.visvar2_doortype_4) {else} 1 (S.L.visvar2_doortype_4) {endif} 0 (S.L.visvar_doortype_4) {endif} (L.L.vis_doortype_4) 2 = {if} (L.L.vis_door_railing_type_4) 0 = {if} 2 (S.L.visvar2_doortype_4) {else} 3 (S.L.visvar2_doortype_4) {endif} 1 (S.L.visvar_doortype_4) {endif} (L.L.vis_doortype_4) 3 = {if} (L.L.vis_door_railing_type_4) 0 = {if} 4 (S.L.visvar2_doortype_4) {else} 5 (S.L.visvar2_doortype_4) {endif} 2 (S.L.visvar_doortype_4) {endif} (L.L.vis_doortype_4) 4 = {if} (L.L.vis_door_railing_type_4) 0 = {if} 6 (S.L.visvar2_doortype_4) {else} 7 (S.L.visvar2_doortype_4) {endif} 3 (S.L.visvar_doortype_4) {endif} (L.L.vis_doortype_4) 5 = {if} 4 (S.L.visvar_doortype_4) 99 (S.L.visvar2_doortype_4) {endif} (L.L.vis_doortype_4) 6 = {if} 41 (S.L.visvar_doortype_4) 99 (S.L.visvar2_doortype_4) {endif} (L.L.vis_doortype_4) 7 = {if} 5 (S.L.visvar_doortype_4) 99 (S.L.visvar2_doortype_4) {endif} (L.L.vis_doortype_4) 8 = {if} 6 (S.L.visvar_doortype_4) 99 (S.L.visvar2_doortype_4) {endif} 'setvar logic mirrors: (L.L.vis_kasownik_door_2) 0 > {if} 4 (S.L.visvar_CG_buttons_front) {else} (L.L.vis_CG_buttons_front) (S.L.visvar_CG_buttons_front) {endif} (L.L.vis_kasownik_door_3) 0 > {if} 4 (S.L.visvar_CG_buttons3) {else} (L.L.vis_CG_buttons) (S.L.visvar_CG_buttons3) {endif} (L.L.vis_kasownik_door_4) 0 > {if} 4 (S.L.visvar_CG_buttons4) {else} (L.L.vis_CG_buttons) (S.L.visvar_CG_buttons4) {endif} 'setvar logic mirrors: (L.L.vis_doortype_1) 5 = (L.L.vis_doortype_1) 6 = || {if} (L.L.vis_doortype_1) 5 = {if} 2 (S.L.visvar_mirror_type) {else} 3 (S.L.visvar_mirror_type) {endif} {else} (L.L.vis_mirror_type) (S.L.visvar_mirror_type) {endif} 'setvar logic CG: ' Wheelchair button exterior vis_CG_buttons_exterior_on_doors ' 0 - Disabled ' 1 - TSL PK-T1 ' 2 - TSL PK-T3 ' 3 - TSL CK ' 4 - EAO Series 56 ' Door buttons exterior (Doors 2-4) ' 0 - Disabled ' 1 - TSL PK-T1 ' 2 - TSL PK-T3 ' 3 - TSL CK ' 4 - EAO Series 56 ' Door button exterior (only 1st door) ' 0 - Disabled ' 1 - TSL PK-T1 ' 2 - TSL PK-T3 ' 3 - TSL CK ' 4 - EAO Series 56 ' (L.L.vis_CG_buttons_exterior_on_doors) ' (L.L.vis_doortype_1) 5 >= && ' {if} ' (L.L.vis_doortype_1) 10 * (L.L.vis_CG_buttons_front_exterior) + (S.L.visvar_CG_buttons_front_exterior) ' {else} ' (L.L.vis_CG_buttons_front_exterior) (S.L.visvar_CG_buttons_front_exterior) ' {endif} (L.L.vis_CG_buttons_exterior_on_doors) (L.L.vis_doortype_2) 5 >= && {if} (L.L.vis_doortype_2) 10 * (L.L.vis_CG_buttons_front_exterior) + (S.L.visvar_CG2_buttons_exterior) (L.L.vis_doortype_2) 10 * (L.L.vis_CG_buttons_exterior_inw) + (S.L.visvar_CG_buttons_exterior_inw) {else} (L.L.vis_CG_buttons_front_exterior) (S.L.visvar_CG2_buttons_exterior) (L.L.vis_CG_buttons_exterior_inw) (S.L.visvar_CG_buttons_exterior_inw) {endif} (L.L.vis_CG_buttons_exterior_on_doors) (L.L.vis_doortype_3) 5 >= && {if} (L.L.vis_doortype_3) 10 * (L.L.vis_CG_buttons_exterior) + (S.L.visvar_CG3_buttons_exterior) {else} (L.L.vis_CG_buttons_exterior) (S.L.visvar_CG3_buttons_exterior) {endif} (L.L.vis_CG_buttons_exterior_on_doors) (L.L.vis_doortype_4) 5 >= && {if} (L.L.vis_doortype_4) 10 * (L.L.vis_CG_buttons_exterior) + (S.L.visvar_CG4_buttons_exterior) {else} (L.L.vis_CG_buttons_exterior) (S.L.visvar_CG4_buttons_exterior) {endif} (L.L.vis_AC_type) 1 = (L.L.vis_HVAC_panel_type) 2 < && {if} 1 (S.L.visvar_ac_driver_button) {else} 0 (S.L.visvar_ac_driver_button) {endif} (L.L.vis_AC_type_driver) 1 = (L.L.vis_HVAC_panel_type) 1 = && {if} 11 (S.L.visvar_HVAC_panel_type) {else} (L.L.vis_HVAC_panel_type) (S.L.visvar_HVAC_panel_type) {endif} (L.L.vis_HVAC_panel_type) 2 >= {if} 0 (S.L.visvar_hvac_add_buttons) {else} 1 (S.L.visvar_hvac_add_buttons) {endif} (L.L.vis_vdo_conf_IBIS_button) 0 = {if} 0 (S.L.visvar_vdo_conf_IBIS_button2) 0 (S.L.visvar_vdo_conf_IBIS_button3) 0 (S.L.visvar_vdo_conf_IBIS_button4) {endif} (L.L.vis_vdo_conf_IBIS_button) 1 = {if} 1 (S.L.visvar_vdo_conf_IBIS_button2) 0 (S.L.visvar_vdo_conf_IBIS_button3) 0 (S.L.visvar_vdo_conf_IBIS_button4) {endif} (L.L.vis_vdo_conf_IBIS_button) 2 = {if} 2 (S.L.visvar_vdo_conf_IBIS_button2) 0 (S.L.visvar_vdo_conf_IBIS_button3) 0 (S.L.visvar_vdo_conf_IBIS_button4) {endif} (L.L.vis_vdo_conf_IBIS_button) 3 = {if} 0 (S.L.visvar_vdo_conf_IBIS_button2) 1 (S.L.visvar_vdo_conf_IBIS_button3) 1 (S.L.visvar_vdo_conf_IBIS_button4) {endif} (L.L.vis_vdo_conf_IBIS_button) 4 = {if} 2 (S.L.visvar_vdo_conf_IBIS_button2) 1 (S.L.visvar_vdo_conf_IBIS_button3) 1 (S.L.visvar_vdo_conf_IBIS_button4) {endif} (L.L.vis_vdo_conf_engine_start) 1 = {if} (L.L.visvar_vdo_conf_IBIS_button2) 0 = {if} 1 (S.L.visvar_vdo_conf_engine_start) {else} (L.L.visvar_vdo_conf_IBIS_button3) 0 = {if} 2 (S.L.visvar_vdo_conf_engine_start) {else} 0 (S.L.visvar_vdo_conf_engine_start) {endif} {endif} {else} 0 (S.L.visvar_vdo_conf_engine_start) {endif} (L.L.visvar_vdo_conf_IBIS_button3) 0 = (L.L.visvar_vdo_conf_engine_start) 2 < && {if} 0 (S.L.visvar_vdo_conf_ecas) {else} 1 (S.L.visvar_vdo_conf_ecas) {endif} (L.L.vis_vdo_conf_emergency_kneel_button) 1 = {if} (L.L.visvar_vdo_conf_IBIS_button4) 0 = {if} 1 (S.L.visvar_vdo_conf_emergency_kneel_button) {else} 0 (S.L.visvar_vdo_conf_emergency_kneel_button) {endif} {else} 0 (S.L.visvar_vdo_conf_emergency_kneel_button) {endif} 'setvar logic: ' visvar_interior_klapa_type_front ' 0 std ' 1 std dbl ' 2 new ' 3 new dbl (L.L.vis_interior_klapa_type) 0 > {if} (L.L.vis_cab_type) 14 = (L.L.vis_cab_type) 15 = || (L.L.vis_cab_type) 16 = || {if} 3 (S.L.visvar_interior_klapa_type_front) {else} 2 (S.L.visvar_interior_klapa_type_front) {endif} {else} (L.L.vis_cab_type) 14 = (L.L.vis_cab_type) 15 = || (L.L.vis_cab_type) 16 = || {if} 1 (S.L.visvar_interior_klapa_type_front) {else} 0 (S.L.visvar_interior_klapa_type_front) {endif} {endif} (L.L.vis_interior_ceiling_type) 1 > {if} (L.L.vis_AC_type_driver) 0 > {if} 2 (S.L.visvar_AC_type_driver) {endif} {else} (L.L.vis_AC_type_driver) 0 > {if} 1 (S.L.visvar_AC_type_driver) {else} 0 (S.L.visvar_AC_type_driver) {endif} {endif} (L.L.lights_fern) 0 > {if} (L.L.vis_lights_front_type) 0 = {if} 1 (S.L.lights_fern_06) {else} 0 (S.L.lights_fern_06) {endif} (L.L.vis_lights_front_type) 1 = {if} 1 (S.L.lights_fern_09) {else} 0 (S.L.lights_fern_09) {endif} (L.L.vis_lights_front_type) 2 = {if} 1 (S.L.lights_fern_13) {else} 0 (S.L.lights_fern_13) {endif} (L.L.vis_lights_front_type) 3 = {if} 1 (S.L.lights_fern_16) {else} 0 (S.L.lights_fern_16) {endif} {else} 0 (S.L.lights_fern_06) (S.L.lights_fern_09) (S.L.lights_fern_13) (S.L.lights_fern_16) {endif} (L.L.lights_nebelschluss) 0 > {if} (L.L.vis_lights_front_type) 0 = {if} 1 (S.L.lights_nebelschluss_06) {else} 0 (S.L.lights_nebelschluss_06) {endif} (L.L.vis_lights_front_type) 1 = {if} 1 (S.L.lights_nebelschluss_09) {else} 0 (S.L.lights_nebelschluss_09) {endif} (L.L.vis_lights_front_type) 2 = {if} 1 (S.L.lights_nebelschluss_13) {else} 0 (S.L.lights_nebelschluss_13) {endif} (L.L.vis_lights_front_type) 3 = {if} 1 (S.L.lights_nebelschluss_16) {else} 0 (S.L.lights_nebelschluss_16) {endif} {else} 0 (S.L.lights_nebelschluss_06) (S.L.lights_nebelschluss_09) (S.L.lights_nebelschluss_13) (S.L.lights_nebelschluss_16) {endif} (L.L.lights_abbl) 0 > {if} (L.L.vis_lights_front_type) 0 = {if} 1 (S.L.lights_abbl_06) {else} 0 (S.L.lights_abbl_06) {endif} (L.L.vis_lights_front_type) 1 = {if} 1 (S.L.lights_abbl_09) {else} 0 (S.L.lights_abbl_09) {endif} (L.L.vis_lights_front_type) 2 = {if} 1 (S.L.lights_abbl_13) {else} 0 (S.L.lights_abbl_13) {endif} (L.L.vis_lights_front_type) 3 = {if} 1 (S.L.lights_abbl_16) {else} 0 (S.L.lights_abbl_16) {endif} {else} 0 (S.L.lights_abbl_06) (S.L.lights_abbl_09) (S.L.lights_abbl_13) (S.L.lights_abbl_16) {endif} (L.L.lights_blinker_l) 0 > {if} (L.L.vis_lights_front_type) 0 = {if} 1 (S.L.lights_blinker_l_06) {else} 0 (S.L.lights_blinker_l_06) {endif} (L.L.vis_lights_front_type) 1 = {if} 1 (S.L.lights_blinker_l_09) {else} 0 (S.L.lights_blinker_l_09) {endif} (L.L.vis_lights_front_type) 2 = {if} 1 (S.L.lights_blinker_l_13) {else} 0 (S.L.lights_blinker_l_13) {endif} (L.L.vis_lights_front_type) 3 = {if} 1 (S.L.lights_blinker_l_16) {else} 0 (S.L.lights_blinker_l_16) {endif} {else} 0 (S.L.lights_blinker_l_06) (S.L.lights_blinker_l_09) (S.L.lights_blinker_l_13) (S.L.lights_blinker_l_16) {endif} (L.L.lights_blinker_r) 0 > {if} (L.L.vis_lights_front_type) 0 = {if} 1 (S.L.lights_blinker_r_06) {else} 0 (S.L.lights_blinker_r_06) {endif} (L.L.vis_lights_front_type) 1 = {if} 1 (S.L.lights_blinker_r_09) {else} 0 (S.L.lights_blinker_r_09) {endif} (L.L.vis_lights_front_type) 2 = {if} 1 (S.L.lights_blinker_r_13) {else} 0 (S.L.lights_blinker_r_13) {endif} (L.L.vis_lights_front_type) 3 = {if} 1 (S.L.lights_blinker_r_16) {else} 0 (S.L.lights_blinker_r_16) {endif} {else} 0 (S.L.lights_blinker_r_06) (S.L.lights_blinker_r_09) (S.L.lights_blinker_r_13) (S.L.lights_blinker_r_16) {endif} (L.L.drl) 0 > {if} (L.L.vis_lights_front_type) 0 = {if} 1 (S.L.drl_06) {else} 0 (S.L.drl_06) {endif} (L.L.vis_lights_front_type) 1 = {if} 1 (S.L.drl_09) {else} 0 (S.L.drl_09) {endif} (L.L.vis_lights_front_type) 2 = {if} 1 (S.L.drl_13) {else} 0 (S.L.drl_13) {endif} (L.L.vis_lights_front_type) 3 = {if} 1 (S.L.drl_16) {else} 0 (S.L.drl_16) {endif} {else} 0 (S.L.drl_06) (S.L.drl_09) (S.L.drl_13) (S.L.drl_16) {endif} (L.L.lights_stand) 0 > {if} (L.L.vis_lights_front_type) 0 = {if} 1 (S.L.lights_stand_06) {else} 0 (S.L.lights_stand_06) {endif} (L.L.vis_lights_front_type) 1 = {if} 1 (S.L.lights_stand_09) {else} 0 (S.L.lights_stand_09) {endif} (L.L.vis_lights_front_type) 2 = {if} 1 (S.L.lights_stand_13) {else} 0 (S.L.lights_stand_13) {endif} (L.L.vis_lights_front_type) 3 = {if} 1 (S.L.lights_stand_16) {else} 0 (S.L.lights_stand_16) {endif} {else} 0 (S.L.lights_stand_06) (S.L.lights_stand_09) (S.L.lights_stand_13) (S.L.lights_stand_16) {endif} (L.L.drl) 0 > (L.L.vis_lights_front_type_additional_DRL) 1 = && {if} 1 (S.L.drl_AD) {else} 0 (S.L.drl_AD) {endif} (L.L.lights_nebelschluss) 0 > (L.L.vis_lights_front_type_additional_DRL) 2 = && {if} 1 (S.L.drl_AD2) {else} 0 (S.L.drl_AD2) {endif} (L.L.vis_engine_type) 0 = (L.L.vis_engine_type) 7 = || (L.L.vis_engine_type) 9 = || (L.L.vis_engine_type) 10 = || {if} 0 (S.L.visvar_enginetype_interior) {endif} (L.L.vis_engine_type) 1 = (L.L.vis_engine_type) 2 = || {if} 1 (S.L.visvar_enginetype_interior) {endif} (L.L.vis_engine_type) 3 = {if} 2 (S.L.visvar_enginetype_interior) {endif} (L.L.vis_engine_type) 4 = (L.L.vis_engine_type) 12 = || {if} 3 (S.L.visvar_enginetype_interior) {endif} (L.L.vis_engine_type) 5 = {if} 4 (S.L.visvar_enginetype_interior) {endif} (L.L.vis_engine_type) 6 = (L.L.vis_engine_type) 8 = || (L.L.vis_engine_type) 11 = || {if} 5 (S.L.visvar_enginetype_interior) {endif} (L.L.vis_engine_type) 0 = (L.L.vis_engine_type) 1 = || (L.L.vis_engine_type) 2 = || (L.L.vis_engine_type) 3 = || (L.L.vis_engine_type) 5 = || (L.L.vis_engine_type) 7 = || (L.L.vis_engine_type) 9 = || (L.L.vis_engine_type) 10 = || {if} 0 (S.L.visvar_enginetype_wagenkasten) {endif} (L.L.vis_engine_type) 4 = (L.L.vis_engine_type) 6 = || (L.L.vis_engine_type) 8 = || (L.L.vis_engine_type) 11 = || (L.L.vis_engine_type) 12 = || {if} 1 (S.L.visvar_enginetype_wagenkasten) {endif} (L.L.visvar_enginetype_wagenkasten) 0 = {if} (L.L.vis_badge_rear) (S.L.visvar_badge_rear) {else} (L.L.vis_badge_rear) 10 + (S.L.visvar_badge_rear) {endif} (L.L.vis_engine_type) 4 = (L.L.vis_engine_type) 12 = || {if} ' siedzenia euro 6 (L.L.vis_seat_type) 10 + (S.L.visvar_seat_type_back) {else} ' siedzenia euro 5 (L.L.vis_seat_type) (S.L.visvar_seat_type_back) {endif} (L.L.schedule_active) {if} 1 (S.L.visvar_schedule_active) {else} 0 (S.L.visvar_schedule_active) {endif} {end} '---------------------------------- 'Crash: {trigger:collision} {end} '---------------------------------- 'malfunction reset: {trigger:malfunction_reset} 1.0 (S.L.elec_V_battery) 80 (S.L.engine_temperature) (S.L.antrieb_temperature) 250 (S.L.engine_tank_content) 0 (S.L.oil_pressure_sensor_failed) (S.L.pressure_sensors_failed) (S.L.Fail_EDC_AccelContr_true) 0 (S.L.Fail_Gelenk_true) (S.L.Fail_Dachluk_true) (S.L.Fail_ECAS_true) 0 (S.L.Fail_Fire_true) (S.L.Fail_BrakeFluid_true) (S.L.Fail_Coolant_true) 0 (S.L.oil_level_sensor_failed) (S.L.Fail_ABSASR_true) (S.L.Fail_Getriebe_true) 0 (S.L.Fail_BrakeLining_true) (S.L.Fail_Lubrication_true) (S.L.Fail_Alternator_true) 0 (S.L.Fail_AVSEPS_true) (S.L.Fail_EDC_AccelContr_true) (S.L.Fail_FPS_true) 0 (S.L.Fail_FSS_true) (S.L.Fail_ABScheck_true) (S.L.Fail_MTS_true) 0 (S.L.Fail_HVAC_true) (S.L.Fail_Lighting_true) (S.L.Fail_Filter_true) 0 (S.L.Fail_Hydrostat_true) (S.L.Fail_ACC_true) (S.L.Fail_Haltbrake_true) 0 (S.L.Fail_Lighting2_true) (S.L.Fail_Sensorik_true) (S.L.Fail_Parkbrake_true) 0 (S.L.Fail_MUX_true) (S.L.Fail_VelocSensor_true) (S.L.Fail_EBS_true) 0 (S.L.Fail_webasto_true) (S.L.Fail_AC_true) (S.L.tank_sensor_failed) 0 (S.L.webasto_tank_sensor_failed) (S.L.Fail_FuelFilter_true) (S.L.coolant_temperature_sensor_failed) 0 (S.L.AdBlue_sensor_failed) (S.L.Fail_ZBR_true) (S.L.Fail_TCO_true) 0 (S.L.oil_level_sensor_failed) (S.L.Engine_DPF_state) 8 (S.L.oil_level) 20 (S.L.webasto_tank_content) 40 (S.L.AdBlue_level) {end}