'############## 'Cockpit-Script '############## 'cp_fahrertuer_pos 'Simuliert alle unmittelbar mit dem Armaturenbrett zusammenh�ngenden Funktionen '(c) 23.10.2009 R�diger H�lsmann '(c) 03.11.2012 Marcel Kuhnt '(c) 27.02.2011 Markus Rabe 'Script Version: 1.0 'Omsi release: 1.0 'Needs: '- antrieb '- engine '- bremse '- lights '- wiper? '- doors 'NrSpecRandom Seed Area: '350...355 'Revision History: '- R�diger H�lsmann 09.06.2009 Last Change '- Marcel Kuhnt 13.06.2009 Added Gearbox switches '- Marcel Kuhnt 13.06.2009 Moved some switchvars to other scripts '- R�diger H�lsmann 19.06.2009 Added Openable Window Triggers '- R�diger H�lsmann 23.10.2009 Added Battery and kinderwagen light '- Marcel Kuhnt 26.10.2009 Radio switchable with Motork�hlung (replaced with cassette player) '- R�diger H�lsmann 28.10.2009 Added driver door '- R�diger H�lsmann 16.12.2009 Added driver curtain '- R�diger H�lsmann 18.12.2009 Bugfix driver curtain '- Marcel Kuhnt 15.04.2010 Traegheit debugged '- R�diger H�lsmann 13.05.2010 Engine temperature '- R�diger H�lsmann 03.06.2010 Automatic battery switch on key insertion (For standard-II-buses) '- R�diger H�lsmann 08.06.2010 Automatic battery switch made optional, Auxiliary heating switchable by button or switch '- R�diger H�lsmann 23.06.2010 Added mouse-clickable wiper lever on wheel console '- R�diger H�lsmann 08.07.2010 Wiper lever: Improved usability '- R�diger H�lsmann 18.07.2010 Wiper lever: soundfix for keyboard operation and new ignition key algorithm '- R�diger H�lsmann 16.09.2010 Auxheat Switch Bugfix '- R�diger H�lsmann 18.09.2010 Imported microphone switch '- R�diger H�lsmann 17.10.2010 Added pressure warning needle '- R�diger H�lsmann 23.10.2010 Added old-style gear button functionality '- R�diger H�lsmann 06.11.2010 Gear-button "1" functionality removed for old-style gear buttons '- R�diger H�lsmann 16.11.2010 Heating sliders '- R�diger H�lsmann 23.11.2010 Central lubrication, cabin heater sound '- R�diger H�lsmann 23.12.2010 Included 10 "multi-purpose" dummy switches '- R�diger H�lsmann 29.12.2010 ASR switch '- R�diger H�lsmann 04.01.2011 "D-only" gear selector function '- R�diger H�lsmann 05.01.2011 fog lamp switch, high beam lever animation, clock debugged '- R�diger H�lsmann 07.01.2011 Wiper lever sound and function debugges, availybility of several cockpit functions depending on bus type (via constfile) '- R�diger H�lsmann 16.01.2011 Support for wiper turn-switch '- R�diger H�lsmann 18.01.2011 Old-style gear button sounds '- R�diger H�lsmann 26.01.2011 Invertable driver door '- R�diger H�lsmann 26.01.2011 Thermometer '- Markus Rabe 27.02.2011 Heizl�fter und Wagenheizung Motorabh�ngig, Leuchtmelder Hintert�r an 80er D Wagen angepasst '- Marcel Kuhnt 25.06.2011 Nebelscheinwerfer-Schalter (cp_licht_nebelschw_sw) '- Marcel Kuhnt 29.06.2011 T�rkontrolle f�r D92 und D86 integriert '- Marcel Kuhnt 22.06.2012 Uhr l�uft nur, wenn Strom vorhanden '- Marcel Kuhnt 09.07.2012 Busbar wird als Faktor/Spannung interpretiert '- Marcel Kuhnt 25.07.2012 Stromverbrauch, Generierung von Leitwert '- Marcel Kuhnt 01.11.2012 T�rentriegelungs-Leuchtmelder '- Marcel Kuhnt 02.11.2012 T�rentriegelungs-Leuchtmelder f�r drei T�ren '- Marcel Kuhnt 03.11.2012 Andere Klappfensterbezeichnungen und nur vier St�ck '- Marcel Kuhnt 04.11.2012 Zweite T�rkontrolle '- Marcel Kuhnt 22.03.2013 Hinzugef�gt: Schalter Hublift & Knickschutz-Override '- Marcel Kuhnt 11.09.2013 Dachluken '- Marcel Kuhnt 12.09.2013 Added Fahrgastpendel '- Marcel Kuhnt 13.09.2013 Zwei Fahrgastpendel, die zuf�llige physikalische Eigenschaften haben '- Marcel Kuhnt 14.10.2013 Neues Heizger�t f�r NL/NG eingebaut, Klimator- und Wagenl�fter werden im Heizungs-Script simuliert '- R�diger H�lsmann 26.10.2013 Kneeling-Funktion '- Marcel Kuhnt 08.11.2013 Hublift-Masterschalter '- Cedric A. 06/07/2014 Fahrert�r-Mouseevent umgedreht ' VDV-Display-macro hinzugef�gt '------------------------------------------------------------------------------------------ '---------------------- ' Trigger '---------------------- {trigger:automatic_R} (C.L.cockpit_gangwahltaster_alt) {if} (L.L.cockpit_gang2) (L.L.cockpit_gang3) || {if} (L.L.antrieb_getr_gangvorwahl) 1 <= ! {if} (L.S.getTime) (C.L.antrieb_gangwahlzeit) (C.L.antrieb_neutralwahlzeit) - - (S.L.antrieb_getr_gangwahlzeitpunkt) {endif} 1 (S.L.antrieb_getr_gangvorwahl) {endif} (L.L.cockpit_gangR_toggle) ! (S.L.cockpit_gangR_toggle) (L.L.cockpit_gangR) ! {if} 1 (S.L.cockpit_gang_r-frei) {endif} (L.L.cockpit_gangR_toggle) (L.L.cockpit_gang2_toggle) ! (L.L.cockpit_gang3_toggle) ! && && {if} (L.S.getTime) (S.L.antrieb_getr_gangwahlzeitpunkt) 0 (S.L.antrieb_getr_gangvorwahl) {endif} (L.L.cockpit_gangR) 1 = ! {if} (L.L.cockpit_gangR_toggle) {if} (T.L.ev_gangwahltaster_old_on) {else} (T.L.ev_gangwahltaster_old_off) {endif} {endif} 1 (S.L.cockpit_gangR) {else} (L.L.antrieb_getr_gangvorwahl) 1 <= {if} (L.L.antrieb_getr_gangvorwahl) 0 = ! {if} (T.L.ev_gangwahltaster) (L.S.getTime) (S.L.antrieb_getr_gangwahlzeitpunkt) {endif} 0 (S.L.antrieb_getr_gangvorwahl) 1 (S.L.cockpit_gangR) {endif} {endif} {end} {trigger:automatic_R_off} (C.L.cockpit_gangwahltaster_alt) {if} (L.L.cockpit_gangR_toggle) {if} 0.7 (S.L.cockpit_gangR) 0 (S.L.cockpit_gang_r-frei) {else} (L.L.cockpit_gang3_toggle) (L.L.cockpit_gang2_toggle) ! && {if} (L.S.getTime) (S.L.antrieb_getr_gangwahlzeitpunkt) 4 (S.L.antrieb_getr_gangvorwahl) {else} (L.L.cockpit_gang2_toggle) {if} (L.S.getTime) (S.L.antrieb_getr_gangwahlzeitpunkt) 3 (S.L.antrieb_getr_gangvorwahl) {else} (L.S.getTime) (C.L.antrieb_gangwahlzeit) (C.L.antrieb_neutralwahlzeit) - - (S.L.antrieb_getr_gangwahlzeitpunkt) 1 (S.L.antrieb_getr_gangvorwahl) {endif} {endif} 0 (S.L.cockpit_gangR) 0 (S.L.cockpit_gang_r-frei) {endif} {else} (L.L.cockpit_gangR) 1 = {if} 0.7 (S.L.cockpit_gangR) {endif} {endif} {end} {trigger:automatic_R_mouse} (C.L.cockpit_gangwahltaster_alt) {if} (L.L.cockpit_gang2) (L.L.cockpit_gang3) || {if} (L.L.antrieb_getr_gangvorwahl) 1 <= ! {if} (L.S.getTime) (C.L.antrieb_gangwahlzeit) (C.L.antrieb_neutralwahlzeit) - - (S.L.antrieb_getr_gangwahlzeitpunkt) {endif} 1 (S.L.antrieb_getr_gangvorwahl) {endif} (L.L.cockpit_gangR_toggle) ! (S.L.cockpit_gangR_toggle) (L.L.cockpit_gangR) 1 = ! {if} (L.L.cockpit_gangR_toggle) {if} (T.L.ev_gangwahltaster_old_on) {else} (T.L.ev_gangwahltaster_old_off) {endif} {endif} 1 (S.L.cockpit_gangR) {else} (L.L.antrieb_getr_gangvorwahl) 1 <= {if} (L.L.antrieb_getr_gangvorwahl) 0 = ! {if} (T.L.ev_gangwahltaster) (L.S.getTime) (S.L.antrieb_getr_gangwahlzeitpunkt) {endif} 0 (S.L.antrieb_getr_gangvorwahl) 1 (S.L.cockpit_gangR) {endif} {endif} {end} {trigger:automatic_R_mouse_off} (C.L.cockpit_gangwahltaster_alt) {if} (L.L.cockpit_gangR_toggle) {if} 0.7 (S.L.cockpit_gangR) {else} (L.L.cockpit_gang3_toggle) (L.L.cockpit_gang2_toggle) ! && {if} (L.S.getTime) (S.L.antrieb_getr_gangwahlzeitpunkt) 4 (S.L.antrieb_getr_gangvorwahl) {else} (L.L.cockpit_gang2_toggle) {if} (L.S.getTime) (S.L.antrieb_getr_gangwahlzeitpunkt) 3 (S.L.antrieb_getr_gangvorwahl) {else} (L.S.getTime) (C.L.antrieb_gangwahlzeit) (C.L.antrieb_neutralwahlzeit) - - (S.L.antrieb_getr_gangwahlzeitpunkt) 1 (S.L.antrieb_getr_gangvorwahl) {endif} {endif} 0 (S.L.cockpit_gangR) {endif} {else} (L.L.cockpit_gangR) 1 = {if} 0.7 (S.L.cockpit_gangR) {endif} {endif} {end} {trigger:automatic_N} (C.L.cockpit_gangwahltaster_alt) {if} (L.L.cockpit_gangR_toggle) s1 {if} 1 (S.L.cockpit_gangR) {endif} (L.L.cockpit_gang2_toggle) s2 {if} 1 (S.L.cockpit_gang2) {endif} (L.L.cockpit_gang3_toggle) s3 {if} 1 (S.L.cockpit_gang3) {endif} l1 l2 l3 || || {if} (T.L.ev_gangwahltaster_old_off) {endif} {else} (L.L.antrieb_getr_gangvorwahl) 1 = ! {if} (T.L.ev_gangwahltaster_N) (L.S.getTime) (C.L.antrieb_gangwahlzeit) (C.L.antrieb_neutralwahlzeit) - - (S.L.antrieb_getr_gangwahlzeitpunkt) {endif} 1 (S.L.antrieb_getr_gangvorwahl) (S.L.cockpit_gangN) 0 (S.L.cockpit_gangR) (S.L.cockpit_gang1) (S.L.cockpit_gang2) (S.L.cockpit_gang3) {endif} {end} {trigger:automatic_N_off} (C.L.cockpit_gangwahltaster_alt) {if} (L.S.getTime) (C.L.antrieb_gangwahlzeit) (C.L.antrieb_neutralwahlzeit) - - (S.L.antrieb_getr_gangwahlzeitpunkt) 0 (S.L.cockpit_gangR) (S.L.cockpit_gang2) (S.L.cockpit_gang3) (S.L.cockpit_gangR_toggle) (S.L.cockpit_gang2_toggle) (S.L.cockpit_gang3_toggle) 1 (S.L.antrieb_getr_gangvorwahl) {else} 0 (S.L.cockpit_gangN) {endif} {end} {trigger:automatic_1} (L.L.antrieb_getr_gangvorwahl) 0 > (C.L.cockpit_gangwahltaster_alt) ! && (C.L.cockpit_gear_D_only) ! && {if} (L.L.antrieb_getr_gangvorwahl) 2 = ! {if} (T.L.ev_gangwahltaster) (L.S.getTime) (S.L.antrieb_getr_gangwahlzeitpunkt) {endif} 2 (S.L.antrieb_getr_gangvorwahl) 1 (S.L.cockpit_gang1) 0 (S.L.cockpit_gang2) (S.L.cockpit_gang3) {endif} {end} {trigger:automatic_1_off} (L.L.cockpit_gang1) 1 = {if} 0.7 (S.L.cockpit_gang1) {endif} {end} {trigger:automatic_2} (C.L.cockpit_gangwahltaster_alt) {if} (L.L.cockpit_gangR) {if} (L.L.antrieb_getr_gangvorwahl) 1 = ! {if} (L.S.getTime) (C.L.antrieb_gangwahlzeit) (C.L.antrieb_neutralwahlzeit) - - (S.L.antrieb_getr_gangwahlzeitpunkt) {endif} 1 (S.L.antrieb_getr_gangvorwahl) {else} (L.L.antrieb_getr_gangvorwahl) 3 = ! {if} (L.S.getTime) (S.L.antrieb_getr_gangwahlzeitpunkt) {endif} 3 (S.L.antrieb_getr_gangvorwahl) {endif} (L.L.cockpit_gang2_toggle) ! (S.L.cockpit_gang2_toggle) (L.L.cockpit_gang2) 1 = ! {if} (L.L.cockpit_gang2_toggle) {if} (T.L.ev_gangwahltaster_old_on) {else} (T.L.ev_gangwahltaster_old_off) {endif} {endif} 1 (S.L.cockpit_gang2) {else} (L.L.antrieb_getr_gangvorwahl) 0 > (C.L.cockpit_gear_D_only) ! && {if} (L.L.antrieb_getr_gangvorwahl) 3 = ! {if} (T.L.ev_gangwahltaster) (L.S.getTime) (S.L.antrieb_getr_gangwahlzeitpunkt) {endif} 3 (S.L.antrieb_getr_gangvorwahl) 1 (S.L.cockpit_gang2) 0 (S.L.cockpit_gang1) (S.L.cockpit_gang3) {endif} {endif} {end} {trigger:automatic_2_off} (C.L.cockpit_gangwahltaster_alt) {if} (L.L.cockpit_gang2_toggle) {if} 0.7 (S.L.cockpit_gang2) {else} (L.L.cockpit_gang3_toggle) (L.L.cockpit_gangR_toggle) ! && {if} (L.S.getTime) (S.L.antrieb_getr_gangwahlzeitpunkt) 4 (S.L.antrieb_getr_gangvorwahl) {else} (L.S.getTime) (C.L.antrieb_gangwahlzeit) (C.L.antrieb_neutralwahlzeit) - - (S.L.antrieb_getr_gangwahlzeitpunkt) 1 (S.L.antrieb_getr_gangvorwahl) {endif} 0 (S.L.cockpit_gang2) {endif} {else} (L.L.cockpit_gang2) 1 = {if} 0.7 (S.L.cockpit_gang2) {endif} {endif} {end} {trigger:automatic_D} (C.L.cockpit_gangwahltaster_alt) {if} (L.L.cockpit_gangR) {if} (L.S.getTime) (C.L.antrieb_gangwahlzeit) (C.L.antrieb_neutralwahlzeit) - - (S.L.antrieb_getr_gangwahlzeitpunkt) 1 (S.L.antrieb_getr_gangvorwahl) {else} (L.L.cockpit_gang2_toggle) ! {if} (L.S.getTime) (S.L.antrieb_getr_gangwahlzeitpunkt) 4 (S.L.antrieb_getr_gangvorwahl) {endif} {endif} (L.L.cockpit_gang3_toggle) ! (S.L.cockpit_gang3_toggle) (L.L.cockpit_gang3) 1 = ! {if} (L.L.cockpit_gang3_toggle) {if} (T.L.ev_gangwahltaster_old_on) {else} (T.L.ev_gangwahltaster_old_off) {endif} {endif} 1 (S.L.cockpit_gang3) {else} (L.L.antrieb_getr_gangvorwahl) 0 > {if} (L.L.antrieb_getr_gangvorwahl) 4 = ! {if} (T.L.ev_gangwahltaster) (L.S.getTime) (S.L.antrieb_getr_gangwahlzeitpunkt) {endif} 4 (S.L.antrieb_getr_gangvorwahl) 1 (S.L.cockpit_gang3) 0 (S.L.cockpit_gang1) (S.L.cockpit_gang2) {endif} {endif} {end} {trigger:automatic_D_off} (C.L.cockpit_gangwahltaster_alt) {if} (L.L.cockpit_gang3_toggle) {if} 0.7 (S.L.cockpit_gang3) {else} (L.L.cockpit_gang2_toggle) (L.L.cockpit_gangR_toggle) ! && {if} (L.S.getTime) (S.L.antrieb_getr_gangwahlzeitpunkt) 3 (S.L.antrieb_getr_gangvorwahl) {else} (L.S.getTime) (C.L.antrieb_gangwahlzeit) (C.L.antrieb_neutralwahlzeit) - - (S.L.antrieb_getr_gangwahlzeitpunkt) 1 (S.L.antrieb_getr_gangvorwahl) {endif} 0 (S.L.cockpit_gang3) {endif} {else} (L.L.cockpit_gang3) 1 = {if} 0.7 (S.L.cockpit_gang3) {endif} {endif} {end} {trigger:automatic_r-frei} 1 (S.L.cockpit_gang_r-frei) (L.L.cockpit_gangR_toggle) (L.L.cockpit_gang2_toggle) ! (L.L.cockpit_gang3_toggle) ! && && {if} (L.S.getTime) (S.L.antrieb_getr_gangwahlzeitpunkt) 0 (S.L.antrieb_getr_gangvorwahl) {endif} {end} {trigger:automatic_r-frei_off} 0 (S.L.cockpit_gang_r-frei) {end} {trigger:horn} (L.L.cockpit_hupe) ! (L.L.elec_busbar_main) (C.L.elec_busbar_minV) > && {if} (T.L.ev_hupe_an) {endif} 1 (S.L.cockpit_hupe) {end} {trigger:horn_off} (L.L.cockpit_hupe) (L.L.elec_busbar_main) (C.L.elec_busbar_minV) > && {if} (T.L.ev_hupe_aus) {endif} 0 (S.L.cockpit_hupe) {end} {trigger:cp_retarder_direkt_toggle} (L.L.cp_retarder_sw_direkt) ! (S.L.cp_retarder_sw_direkt) s1 (M.L.kippschaltersound) {end} {trigger:cp_retarder_toggle} (C.L.cockpit_has_retarderswitch) {if} (L.L.cp_retarder_sw) ! (S.L.cp_retarder_sw) s1 (M.L.kippschaltersound) {endif} {end} {trigger:cp_motorkuehlung_toggle} (C.L.cockpit_has_coolingswitch) {if} (L.L.cp_motorkuehlung_sw) ! (S.L.cp_motorkuehlung_sw) s1 (M.L.kippschaltersound) {endif} {end} {trigger:cp_fahrerlicht_toggle} (L.L.cp_fahrerlicht_sw) ! (S.L.cp_fahrerlicht_sw) s1 (M.L.kippschaltersound) {end} {trigger:cp_licht_untenrechts_toggle} (L.L.cp_licht_untenrechts_sw) {if} 0 (S.L.cp_licht_untenrechts_sw) s1 {else} 1 (S.L.cp_licht_untenrechts_sw) s1 {endif} {end} {trigger:cp_licht_oberdeck_toggle} (L.L.cp_licht_oberdeck_sw) {if} 0 (S.L.cp_licht_oberdeck_sw) s1 {else} 1 (S.L.cp_licht_oberdeck_sw) s1 {endif} {end} {trigger:cp_licht_unterdeck_toggle} (L.L.cp_licht_unterdeck_sw) {if} 0 (S.L.cp_licht_unterdeck_sw) s1 {else} 1 (S.L.cp_licht_unterdeck_sw) s1 {endif} (M.L.kippschaltersound) {end} {trigger:cp_licht_nebelschw_sw} (L.L.cp_licht_nebelschw_sw) {if} 0 (S.L.cp_licht_nebelschw_sw) s1 {else} 1 (S.L.cp_licht_nebelschw_sw) s1 {endif} (M.L.kippschaltersound) {end} {trigger:cp_wischer_schnell_toggle} (L.L.cp_wischer_schnell_sw) ! (S.L.cp_wischer_schnell_sw) s1 (M.L.kippschaltersound) {end} {trigger:kw_wipermode_up} (L.L.cp_wischer_einaus_sw) ! (S.L.cp_wischer_einaus_sw) s1 {if} 2 (S.L.cockpit_wischerhebel_mode) (S.L.cockpit_wischer_drehschalter_mode) 2 3 / (S.L.cockpit_wischerhebel) (S.L.cockpit_wischer_drehschalter) (L.L.cp_wischer_intervall_sw) ! {if} (T.L.ev_wischerhebel) {endif} {else} (L.L.cp_wischer_intervall_sw) {if} 1 (S.L.cockpit_wischerhebel_mode) (S.L.cockpit_wischer_drehschalter_mode) 1 3 / (S.L.cockpit_wischerhebel) 0 (S.L.cockpit_wischer_drehschalter) {else} 0 (S.L.cockpit_wischerhebel_mode) (S.L.cockpit_wischer_drehschalter_mode) (S.L.cockpit_wischerhebel) 1 3 / (S.L.cockpit_wischer_drehschalter) (T.L.ev_wischerhebel) {endif} {endif} (C.L.wiper_lever) ! {if} l1 (M.L.kippschaltersound) {endif} {end} {trigger:cp_wischer_intervall_toggle} (L.L.cp_wischer_intervall_sw) ! (S.L.cp_wischer_intervall_sw) s1 (L.L.cp_wischer_einaus_sw) ! && {if} 1 (S.L.cockpit_wischerhebel_mode) (S.L.cockpit_wischer_drehschalter_mode) 1 3 / (S.L.cockpit_wischerhebel) 0 (S.L.cockpit_wischer_drehschalter) {else} (L.L.cp_wischer_einaus_sw) {if} 2 (S.L.cockpit_wischerhebel_mode) (S.L.cockpit_wischer_drehschalter_mode) 2 3 / (S.L.cockpit_wischerhebel) (S.L.cockpit_wischer_drehschalter) {else} 0 (S.L.cockpit_wischerhebel_mode) (S.L.cockpit_wischer_drehschalter_mode) (S.L.cockpit_wischerhebel) 1 3 / (S.L.cockpit_wischer_drehschalter) {endif} {endif} (C.L.wiper_lever) ! {if} l1 (M.L.kippschaltersound) {endif} {end} {trigger:cp_wischer_wascher_button} 1 (S.L.cp_wischer_wascher_sw) s1 (C.L.wiper_lever) {if} (T.L.ev_wischerhebel) 1 (S.L.cockpit_wischerhebel_x) {else} l1 (M.L.kippschaltersound) {endif} {end} {trigger:cp_wischer_wascher_button_off} 0 (S.L.cp_wischer_wascher_sw) s1 (S.L.wiper_wascher_sw) (C.L.wiper_lever) {if} (T.L.ev_wischerhebel) 0 (S.L.cockpit_wischerhebel_x) {else} l1 (M.L.kippschaltersound) {endif} {end} {trigger:cp_heizluefter_toggle} (L.L.cp_heizluefter_sw) ! (S.L.cp_heizluefter_sw) s1 (M.L.kippschaltersound) {end} {trigger:cp_spiegelheizung_toggle} (L.L.cp_spiegelheizung_sw) ! (S.L.cp_spiegelheizung_sw) s1 (M.L.kippschaltersound) {end} {trigger:cp_spiegelheizung_toggle} (L.L.cp_spiegelheizung_sw) ! (S.L.cp_spiegelheizung_sw) s1 (M.L.kippschaltersound) {end} {trigger:cp_kneel_down} 'WICHTIG: cp_kneeling_sw ist der SOLLWERT!! 'runter, wenn Fzg steht: (L.L.Velocity) 1 < {if} 1 (S.L.bremse_halte) (S.L.cp_kneeling_sw) {endif} 1 (S.L.cp_kneeltaste_links) 1 (M.L.kippschaltersound) {end} {trigger:cp_kneel_down_off} 0 (S.L.cp_kneeltaste_links) 0 (M.L.kippschaltersound) {end} {trigger:cp_kneel_up} 0 (S.L.cp_kneeling_sw) -1 (S.L.cp_kneeltaste) 1 (M.L.kippschaltersound) 0 (S.L.bremse_halte) {end} {trigger:cp_kneel_up_off} 0 (S.L.cp_kneeltaste) 0 (M.L.kippschaltersound) {end} '-------------------------------------------------------- 'Neues Heizl�ftersteuerungsger�t: {trigger:taster_heiz_Tm} 1.0 (S.L.cp_taster_heiz_Tm) {end} {trigger:taster_heiz_Tm_off} 0.0 (S.L.cp_taster_heiz_Tm) {end} {trigger:taster_heiz_Tp} 1.0 (S.L.cp_taster_heiz_Tp) {end} {trigger:taster_heiz_Tp_off} 0.0 (S.L.cp_taster_heiz_Tp) {end} {trigger:taster_heiz_L0} 1.0 (S.L.cp_taster_heiz_L0) {end} {trigger:taster_heiz_L0_off} 0.0 (S.L.cp_taster_heiz_L0) {end} {trigger:taster_heiz_L1} 1.0 (S.L.cp_taster_heiz_L1) {end} {trigger:taster_heiz_L1_off} 0.0 (S.L.cp_taster_heiz_L1) {end} {trigger:taster_heiz_L2} 1.0 (S.L.cp_taster_heiz_L2) {end} {trigger:taster_heiz_L2_off} 0.0 (S.L.cp_taster_heiz_L2) {end} {trigger:taster_heiz_L3} 1.0 (S.L.cp_taster_heiz_L3) {end} {trigger:taster_heiz_L3_off} 0.0 (S.L.cp_taster_heiz_L3) {end} {trigger:taster_heiz_V_F} 1.0 (S.L.cp_taster_heiz_V_F) {end} {trigger:taster_heiz_V_F_off} 0.0 (S.L.cp_taster_heiz_V_F) {end} {trigger:taster_heiz_V_FT} 1.0 (S.L.cp_taster_heiz_V_FT) {end} {trigger:taster_heiz_V_FT_off} 0.0 (S.L.cp_taster_heiz_V_FT) {end} {trigger:taster_heiz_V_T} 1.0 (S.L.cp_taster_heiz_V_T) {end} {trigger:taster_heiz_V_T_off} 0.0 (S.L.cp_taster_heiz_V_T) {end} {trigger:taster_heiz_V_W} 1.0 (S.L.cp_taster_heiz_V_W) {end} {trigger:taster_heiz_V_W_off} 0.0 (S.L.cp_taster_heiz_V_W) {end} {trigger:taster_heiz_Smog} 1.0 (S.L.cp_taster_heiz_Smog) {end} {trigger:taster_heiz_Smog_off} 0.0 (S.L.cp_taster_heiz_Smog) {end} {trigger:taster_heiz_Misch} 1.0 (S.L.cp_taster_heiz_Misch) {end} {trigger:taster_heiz_Misch_off} 0.0 (S.L.cp_taster_heiz_Misch) {end} {trigger:taster_heiz_DEF} 1.0 (S.L.cp_taster_heiz_DEF) {end} {trigger:taster_heiz_DEF_off} 0.0 (S.L.cp_taster_heiz_DEF) {end} '-------------------------------------------------------- 'Dummys: {trigger:cp_tuersperre1_toggle} (L.L.cp_tuersperre1) ! (S.L.cp_tuersperre1) s1 (M.L.kippschaltersound) {end} {trigger:cp_tuersperre2_toggle} (L.L.cp_tuersperre2) ! (S.L.cp_tuersperre2) s1 (M.L.kippschaltersound) {end} {trigger:cp_dummy_sw01_toggle} (L.L.cp_dummy_sw01) ! (S.L.cp_dummy_sw01) s1 (M.L.kippschaltersound) {end} {trigger:cp_dummy_sw02_toggle} (L.L.cp_dummy_sw02) ! (S.L.cp_dummy_sw02) s1 (M.L.kippschaltersound) {end} {trigger:cp_dummy_sw03_toggle} (L.L.cp_dummy_sw03) ! (S.L.cp_dummy_sw03) s1 (M.L.kippschaltersound) {end} {trigger:cp_dummy_sw04_toggle} (L.L.cp_dummy_sw04) ! (S.L.cp_dummy_sw04) s1 (M.L.kippschaltersound) {end} {trigger:cp_dummy_sw05_toggle} (L.L.cp_dummy_sw05) ! (S.L.cp_dummy_sw05) s1 (M.L.kippschaltersound) {end} {trigger:cp_dummy_sw06_toggle} (L.L.cp_dummy_sw06) ! (S.L.cp_dummy_sw06) s1 (M.L.kippschaltersound) {end} {trigger:cp_dummy_sw07_toggle} (L.L.cp_dummy_sw07) ! (S.L.cp_dummy_sw07) s1 (M.L.kippschaltersound) {end} {trigger:cp_dummy_sw08_toggle} (L.L.cp_dummy_sw08) ! (S.L.cp_dummy_sw08) s1 (M.L.kippschaltersound) {end} {trigger:cp_dummy_sw09_toggle} (L.L.cp_dummy_sw09) ! (S.L.cp_dummy_sw09) s1 (M.L.kippschaltersound) {end} {trigger:cp_dummy_sw10_toggle} (L.L.cp_dummy_sw10) ! (S.L.cp_dummy_sw10) s1 (M.L.kippschaltersound) {end} {trigger:cp_dummy_sw11_toggle} (L.L.cp_dummy_sw11) ! (S.L.cp_dummy_sw11) s1 (M.L.kippschaltersound) {end} {trigger:cp_dummy_sw12_toggle} (L.L.cp_dummy_sw12) ! (S.L.cp_dummy_sw12) s1 (M.L.kippschaltersound) {end} {trigger:cp_dummy_sw13_toggle} (L.L.cp_dummy_sw13) ! (S.L.cp_dummy_sw13) s1 (M.L.kippschaltersound) {end} {trigger:cp_dummy_sw14_toggle} (L.L.cp_dummy_sw14) ! (S.L.cp_dummy_sw14) s1 (M.L.kippschaltersound) {end} {trigger:cp_dummy_sw15_toggle} (L.L.cp_dummy_sw15) ! (S.L.cp_dummy_sw15) s1 (M.L.kippschaltersound) {end} {trigger:cp_dummy_sw16_toggle} (L.L.cp_dummy_sw16) ! (S.L.cp_dummy_sw16) s1 (M.L.kippschaltersound) {end} {trigger:cp_dummy_sw17_toggle} (L.L.cp_dummy_sw17) ! (S.L.cp_dummy_sw17) s1 (M.L.kippschaltersound) {end} {trigger:cp_VDV_los_toggle} (L.L.cp_VDV_los) ! (S.L.cp_VDV_los) s1 (M.L.kippschaltersound) {end} {trigger:cp_schalter_ASR_off_toggle} (L.L.cp_ASR_off) ! (S.L.cp_ASR_off) s1 (M.L.kippschaltersound) {end} {trigger:cp_schalter_hub_up_toggle} 1 (S.L.cp_hub_up_sw) s1 (M.L.kippschaltersound) {end} {trigger:cp_schalter_hub_up_toggle_off} 0 (S.L.cp_hub_up_sw) s1 (M.L.kippschaltersound) {end} {trigger:cp_schalter_hub_dn_toggle} 1 (S.L.cp_hub_dn_sw) s1 (M.L.kippschaltersound) {end} {trigger:cp_schalter_hub_dn_toggle_off} 0 (S.L.cp_hub_dn_sw) s1 (M.L.kippschaltersound) {end} {trigger:cp_schalter_hub_mstr_toggle} (L.L.cp_hub_mstr_sw) ! (S.L.cp_hub_mstr_sw) 0 s1 (M.L.kippschaltersound) {end} {trigger:cp_schalter_knick_ovrd_toggle} 1 (S.L.cp_knick_ovrd_sw) s1 (M.L.kippschaltersound) {end} {trigger:cp_schalter_knick_ovrd_toggle_off} 0 (S.L.cp_knick_ovrd_sw) s1 (M.L.kippschaltersound) {end} {trigger:cp_fahrerfenster_opn_drag} (L.L.cp_fahrerfenster_pos) (S.L.cp_fahrerfenster_lastpos) (L.S.mouse_x) -500 / (L.L.cp_fahrerfenster_pos) + (S.L.cp_fahrerfenster_pos) s0 l0 0 < {if} 0 (S.L.cp_fahrerfenster_pos) (L.L.cp_fahrerfenster_endanschlag) ! {if} (T.L.ev_fahrerfenster_cls) {endif} 1 (S.L.cp_fahrerfenster_endanschlag) {endif} l0 1 > {if} 1 (S.L.cp_fahrerfenster_pos) (L.L.cp_fahrerfenster_endanschlag) ! {if} (T.L.ev_fahrerfenster_opn) {endif} 1 (S.L.cp_fahrerfenster_endanschlag) {endif} (L.L.cp_fahrerfenster_pos) s0 0 > l0 1 < && {if} 0 (S.L.cp_fahrerfenster_endanschlag) {endif} (L.L.cp_fahrerfenster_pos) (L.L.cp_fahrerfenster_lastpos) - abs (L.S.Timegap) / (S.L.cp_fahrerfenster_speed) {end} {trigger:cp_fahrerfenster_opn_off} 0 (S.L.cp_fahrerfenster_speed) {end} {trigger:cp_klimator_sw_drag} (L.S.mouse_y) -100 / (L.L.cp_klimator_sw) + (S.L.cp_klimator_sw) s0 l0 0 < {if} 0 (S.L.cp_klimator_sw) {endif} l0 1 > {if} 1 (S.L.cp_klimator_sw) {endif} {end} {trigger:cp_rollo_drag} 1 (S.L.cp_rollo_dragged) (L.L.cp_rollo_pos) (S.L.cp_rollo_lastpos) (L.S.mouse_y) +1000 / (L.L.cp_rollo_pos) + (S.L.cp_rollo_pos) s0 l0 0 < {if} 0 (S.L.cp_rollo_pos) {endif} l0 1 > {if} 1 (S.L.cp_rollo_pos) {endif} (L.L.cp_rollo_pos) (L.L.cp_rollo_lastpos) - (L.S.Timegap) / (S.L.cp_rollo_speed) {end} {trigger:cp_rollo_off} 0 (S.L.cp_rollo_dragged) {end} {trigger:cp_rollo2_drag} 1 (S.L.cp_rollo2_dragged) (L.L.cp_rollo2_pos) (S.L.cp_rollo2_lastpos) (L.S.mouse_y) +1000 / (L.L.cp_rollo2_pos) + (S.L.cp_rollo2_pos) s0 l0 0 < {if} 0 (S.L.cp_rollo2_pos) {endif} l0 1 > {if} 1 (S.L.cp_rollo2_pos) {endif} (L.L.cp_rollo2_pos) (L.L.cp_rollo2_lastpos) - (L.S.Timegap) / (S.L.cp_rollo2_speed) {end} {trigger:cp_rollo2_off} 0 (S.L.cp_rollo2_dragged) {end} {trigger:cp_klappe_drag} 1 (S.L.cp_klappe_dragged) (L.L.cp_klappe_pos) (S.L.cp_klappe_lastpos) (L.S.mouse_x) +1000 / (L.L.cp_klappe_pos) + (S.L.cp_klappe_pos) s0 l0 0 < {if} 0 (S.L.cp_klappe_pos) {endif} l0 1 > {if} 1 (S.L.cp_klappe_pos) {endif} (L.L.cp_klappe_pos) (L.L.cp_klappe_lastpos) - (L.S.Timegap) / (S.L.cp_klappe_speed) {end} {trigger:cp_klappe_off} 0 (S.L.cp_klappe_dragged) {end} {trigger:cp_schluessel_mov_drag} ' Fallunterscheidung: Schl�ssel in x- oder y-Richtung? (L.S.mouse_y) abs (L.S.mouse_x) abs >= {if} ' Zun�chst Translation (Einstecken) (L.S.mouse_y) 10 / (L.L.cp_schluessel_trans) + 0 max 1 min (S.L.cp_schluessel_trans) s0 ' Stufen: ' 0: Schl�ssel abgezogen ' 1: Schl�ssel eingesteckt l0 0.5 < {if} 0 (S.L.cp_schluessel_trans_mode) {else} 1 (S.L.cp_schluessel_trans_mode) {endif} {else} ' Sonst Rotation (Lichtschalter) (L.S.mouse_x) -20 / (L.L.cp_schluessel_rot) + 0 max 1 min (S.L.cp_schluessel_rot) s1 ' Stufen: ' 0: Licht aus ' 1: Standlicht ' 2: Abblendlicht l1 0.2 < {if} 0 (S.L.cp_schluessel_rot_mode) {else} l1 0.8 < {if} 1 (S.L.cp_schluessel_rot_mode) {else} 2 (S.L.cp_schluessel_rot_mode) {endif} {endif} {endif} {end} {trigger:cp_schluessel_mov_off} ' Einrasten auf den festen Positionen: (L.L.cp_schluessel_trans_mode) (S.L.cp_schluessel_trans) (L.L.cp_schluessel_rot_mode) 2 / (S.L.cp_schluessel_rot) {end} {trigger:cp_lenkrad_toggle} (L.L.cp_lenkrad_visible) ! (S.L.cp_lenkrad_visible) {end} {trigger:kw_batterietrennschalter} 1 (S.L.cp_taster_batterietrennschalter) (L.L.cp_schluessel_trans) {if} 1 (S.L.elec_busbar_main_sw) {endif} {end} {trigger:kw_batterietrennschalter_off} 0 (S.L.cp_taster_batterietrennschalter) {end} {trigger:cp_batterietrennschalter_toggle} (L.L.elec_busbar_main_sw) ! (S.L.elec_busbar_main_sw) (L.L.cp_batterietrennschalter_antirepeat) ! {if} (L.L.elec_busbar_main_sw) {if} (T.L.ev_schluessel_steck) 1 (S.L.cp_schluessel_trans) (S.L.cp_taster_batterietrennschalter) 1 (S.L.bremse_ABS_selftest) {else} (T.L.ev_schluessel_steck) 0 (S.L.cp_schluessel_trans) {endif} 1 (S.L.cp_batterietrennschalter_antirepeat) {endif} {end} {trigger:cp_batterietrennschalter_toggle_off} 0 (S.L.cp_batterietrennschalter_antirepeat) (S.L.cp_taster_batterietrennschalter) {end} {trigger:cp_klappfenster_OR1} (L.L.cp_klappfenster_OR1) ! (S.L.cp_klappfenster_OR1) s1 (M.L.klappfenstersound) {end} {trigger:cp_klappfenster_OR2} (L.L.cp_klappfenster_OR2) ! (S.L.cp_klappfenster_OR2) s1 (M.L.klappfenstersound) {end} {trigger:cp_klappfenster_OR3} (L.L.cp_klappfenster_OR3) ! (S.L.cp_klappfenster_OR3) s1 (M.L.klappfenstersound) {end} {trigger:cp_klappfenster_OR4} (L.L.cp_klappfenster_OR4) ! (S.L.cp_klappfenster_OR4) s1 (M.L.klappfenstersound) {end} {trigger:cp_klappfenster_OL1} (L.L.cp_klappfenster_OL1) ! (S.L.cp_klappfenster_OL1) s1 (M.L.klappfenstersound) {end} {trigger:cp_klappfenster_OL2} (L.L.cp_klappfenster_OL2) ! (S.L.cp_klappfenster_OL2) s1 (M.L.klappfenstersound) {end} {trigger:cp_klappfenster_OL3} (L.L.cp_klappfenster_OL3) ! (S.L.cp_klappfenster_OL3) s1 (M.L.klappfenstersound) {end} {trigger:cp_klappfenster_OL4} (L.L.cp_klappfenster_OL4) ! (S.L.cp_klappfenster_OL4) s1 (M.L.klappfenstersound) {end} {trigger:cp_klappfenster_UR1} (L.L.cp_klappfenster_UR1) ! (S.L.cp_klappfenster_UR1) s1 (M.L.klappfenstersound) {end} {trigger:cp_klappfenster_UR2} (L.L.cp_klappfenster_UR2) ! (S.L.cp_klappfenster_UR2) s1 (M.L.klappfenstersound) {end} {trigger:cp_klappfenster_UR3} (L.L.cp_klappfenster_UR3) ! (S.L.cp_klappfenster_UR3) s1 (M.L.klappfenstersound) {end} {trigger:cp_klappfenster_UR4} (L.L.cp_klappfenster_UR4) ! (S.L.cp_klappfenster_UR4) s1 (M.L.klappfenstersound) {end} {trigger:cp_klappfenster_UL1} (L.L.cp_klappfenster_UL1) ! (S.L.cp_klappfenster_UL1) s1 (M.L.klappfenstersound) {end} {trigger:cp_klappfenster_UL2} (L.L.cp_klappfenster_UL2) ! (S.L.cp_klappfenster_UL2) s1 (M.L.klappfenstersound) {end} {trigger:cp_dachluke_1} (L.L.cp_dachluke_1) 1 + (S.L.cp_dachluke_1) 3 > {if} 0 (S.L.cp_dachluke_1) {endif} (L.L.cp_dachluke_1) s0 (M.L.dachluke_pos_rot) l1 (S.L.cp_dachluke_1_pos) l2 (S.L.cp_dachluke_1_rot) l3 (S.L.cp_dachluke_1_S1) l4 (S.L.cp_dachluke_1_S2) {end} {trigger:cp_dachluke_2} (L.L.cp_dachluke_2) 1 + (S.L.cp_dachluke_2) 3 > {if} 0 (S.L.cp_dachluke_2) {endif} (L.L.cp_dachluke_2) s0 (M.L.dachluke_pos_rot) l1 (S.L.cp_dachluke_2_pos) l2 (S.L.cp_dachluke_2_rot) l3 (S.L.cp_dachluke_2_S1) l4 (S.L.cp_dachluke_2_S2) {end} {trigger:cp_dachluke_3} (L.L.cp_dachluke_3) 1 + (S.L.cp_dachluke_3) 3 > {if} 0 (S.L.cp_dachluke_3) {endif} (L.L.cp_dachluke_3) s0 (M.L.dachluke_pos_rot) l1 (S.L.cp_dachluke_3_pos) l2 (S.L.cp_dachluke_3_rot) l3 (S.L.cp_dachluke_3_S1) l4 (S.L.cp_dachluke_3_S2) {end} {trigger:cp_Fahrertuer_drag} 1 (S.L.cp_fahrertuer_dragged) (L.L.cp_fahrertuer_pos) (S.L.cp_fahrertuer_lastpos) (L.S.mouse_x) +1000 / (L.L.cp_fahrertuer_pos) + (S.L.cp_fahrertuer_pos) s0 l0 0 < {if} 0 (S.L.cp_fahrertuer_pos) {endif} l0 1 > {if} 1 (S.L.cp_fahrertuer_pos) {endif} (L.L.cp_fahrertuer_pos) (L.L.cp_fahrertuer_lastpos) - (L.S.Timegap) / (S.L.cp_fahrertuer_speed) {end} {trigger:cp_Fahrertuer_off} 0 (S.L.cp_fahrertuer_dragged) {end} {trigger:KR_play} (L.L.cockpit_KR_play) 0.1 < {if} (T.L.ev_kr_play) {endif} 1 (S.L.cockpit_KR_play) (S.L.Snd_Radio) {end} {trigger:KR_play_off} 0.8 (S.L.cockpit_KR_play) {end} {trigger:KR_stop} 1 (S.L.cockpit_KR_stop) 0 (S.L.cockpit_KR_play) (S.L.Snd_Radio) (T.L.ev_kr_stop) {end} {trigger:KR_stop_off} 0 (S.L.cockpit_KR_stop) {end} {trigger:taster_standheizung} (L.L.cp_taster_standheizung_target) ! (S.L.cp_taster_standheizung_target) s1 1 (S.L.cp_taster_standheizung) (C.L.auxheat_via_button) ! {if} l1 (M.L.kippschaltersound) l0 (S.L.cp_taster_standheizung) {endif} {end} {trigger:taster_standheizung_off} (L.L.cp_taster_standheizung_target) {if} 0 (S.L.cp_taster_standheizung) {else} 0.6 (S.L.cp_taster_standheizung) {endif} {end} {trigger:taster_nebelschluss} (L.L.cp_taster_nebelschluss_target) ! (S.L.cp_taster_nebelschluss_target) 1 (S.L.cp_taster_nebelschluss) {end} {trigger:taster_nebelschluss_off} (L.L.cp_taster_nebelschluss_target) {if} 0.6 (S.L.cp_taster_nebelschluss) {else} 0 (S.L.cp_taster_nebelschluss) {endif} {end} {trigger:cp_wiperlever_drag} ' Fallunterscheidung: Hebel in x- oder y-Richtung? (C.L.wiper_lever) {if} (L.S.mouse_y) abs (L.S.mouse_x) abs >= {if} (L.S.mouse_y) -50 / (L.L.cockpit_wischerhebel) + 0 max 1 min (S.L.cockpit_wischerhebel) s0 ' Stufen: ' 0: Aus ' 1: Intervall ' 2: Langsam ' 3: Schnell l0 0.17 < {if} 0 (S.L.cockpit_wischerhebel_mode) (S.L.cp_wischer_intervall_sw) (S.L.cp_wischer_einaus_sw) (S.L.cp_wischer_schnell_sw) {else} l0 0.5 < {if} 1 (S.L.cockpit_wischerhebel_mode) (S.L.cp_wischer_intervall_sw) 0 (S.L.cp_wischer_schnell_sw) (S.L.cp_wischer_einaus_sw) {else} l0 0.83 < {if} 2 (S.L.cockpit_wischerhebel_mode) 1 (S.L.cp_wischer_einaus_sw) 0 (S.L.cp_wischer_intervall_sw) (S.L.cp_wischer_schnell_sw) {else} 3 (S.L.cockpit_wischerhebel_mode) 1 (S.L.cp_wischer_einaus_sw) (S.L.cp_wischer_schnell_sw) 0 (S.L.cp_wischer_intervall_sw) {endif} {endif} {endif} {else} (L.S.mouse_x) -50 / (L.L.cockpit_wischerhebel_x) + 0 max 1 min (S.L.cockpit_wischerhebel_x) s1 ' Waschanlage (Hebel nach oben) l1 0.9 > {if} (L.L.cp_wischer_wascher_sw) ! {if} (T.L.ev_wischerhebel) {endif} 1 (S.L.cp_wischer_wascher_sw) {else} (L.L.cp_wischer_wascher_sw) {if} (T.L.ev_wischerhebel) {endif} 0 (S.L.cp_wischer_wascher_sw) {endif} {endif} {endif} {end} {trigger:cp_wiperlever_off} ' Einrasten auf den festen Positionen: (L.L.cockpit_wischerhebel_mode) 3 / (S.L.cockpit_wischerhebel) (L.L.cp_wischer_wascher_sw) {if} (T.L.ev_wischerhebel) 0 (S.L.cockpit_wischerhebel_x) (S.L.cp_wischer_wascher_sw) {endif} {end} {trigger:cp_wiper_turnswitch_drag} ' (C.L.wiper_turnswitch) ' {if} (L.S.mouse_y) -50 / (L.L.cockpit_wischer_drehschalter) + 0 max 1 min (S.L.cockpit_wischer_drehschalter) s0 ' Stufen: ' 0: Intervall ' 1: Aus ' 2: Langsam ' 3: Schnell l0 0.17 < {if} 1 (S.L.cp_wischer_intervall_sw) 0 (S.L.cockpit_wischer_drehschalter_mode) (S.L.cp_wischer_schnell_sw) (S.L.cp_wischer_einaus_sw) {else} l0 0.5 < {if} 0 (S.L.cp_wischer_intervall_sw) (S.L.cp_wischer_einaus_sw) (S.L.cp_wischer_schnell_sw) 1 (S.L.cockpit_wischer_drehschalter_mode) {else} l0 0.83 < {if} 2 (S.L.cockpit_wischer_drehschalter_mode) 1 (S.L.cp_wischer_einaus_sw) 0 (S.L.cp_wischer_intervall_sw) (S.L.cp_wischer_schnell_sw) {else} 3 (S.L.cockpit_wischer_drehschalter_mode) 1 (S.L.cp_wischer_einaus_sw) (S.L.cp_wischer_schnell_sw) 0 (S.L.cp_wischer_intervall_sw) {endif} {endif} {endif} ' {endif} {end} {trigger:cp_wiper_turnswitch_off} ' Einrasten auf den festen Positionen: (L.L.cockpit_wischer_drehschalter_mode) 3 / (S.L.cockpit_wischer_drehschalter) {end} {trigger:cp_microphone} 1 (S.L.cp_microphone_sw) {end} {trigger:cp_microphone_off} 0 (S.L.cp_microphone_sw) {end} {trigger:cp_heizregler_defrost_drag} (L.S.mouse_x) -70 / (L.L.cockpit_heizregler_defrost) + 0 max 1 min (S.L.cockpit_heizregler_defrost) {end} {trigger:cp_heizregler_fussraum_drag} (L.S.mouse_y) -150 / (L.L.cockpit_heizregler_fussraum) + 0 max 1 min (S.L.cockpit_heizregler_fussraum) {end} {trigger:cp_heizregler_temp_drag} (L.S.mouse_y) -150 / (L.L.cockpit_heizregler_temp) + 0 max 1 min (S.L.cockpit_heizregler_temp) {end} {trigger:cp_heizregler_bug_drag} (L.S.mouse_y) -150 / (L.L.cockpit_heizregler_bug) + 0 max 1 min (S.L.cockpit_heizregler_bug) {end} {trigger:cp_heizregler_umluft_drag} (L.S.mouse_y) -150 / (L.L.cockpit_heizregler_umluft) + 0 max 1 min (S.L.cockpit_heizregler_umluft) s0 ' Stufen: ' 0: Umluftheizung ' 1: Direktbel�ftung ' 2: Frischluftheizung l0 0.2 < {if} 0 (S.L.cockpit_heizregler_ventilation_mode) {else} l0 0.8 < {if} 1 (S.L.cockpit_heizregler_ventilation_mode) {else} 2 (S.L.cockpit_heizregler_ventilation_mode) {endif} {endif} {end} {trigger:cp_heizregler_umluft_off} (L.L.cockpit_heizregler_ventilation_mode) 2 / (S.L.cockpit_heizregler_umluft) {end} '---------------------- ' Init '---------------------- {macro:cockpit_init} 0 (S.L.cockpit_hupe_volume) (S.L.door_handsteuerung) (S.L.cp_CAM) (S.L.cp_OPT) (S.L.cp_INFO) (S.L.cp_IBIS) (S.L.cp_KP) 1 (S.L.cp_retarder_sw) (S.L.cp_lenkrad_visible) (S.L.cp_taster_warnblinker) (S.L.cockpit_wischer_drehschalter_mode) (S.L.cp_LED) 0.6 (S.L.cp_taster_warnblinker) (S.L.cp_taster_standheizung) (C.L.cockpit_zentralschmierung_dist) random (S.L.cp_zentralschmierung_nextkm) 0.333 (S.L.cockpit_wischer_drehschalter) -1 (S.L.VDVModus) 350 (M.V.NrSpecRandom) 5 * 7.5 + (S.L.cp_Fahrgastpendel_traeg) 351 (M.V.NrSpecRandom) 5 * 7.5 + (S.L.cp_Fahrgastpendel_2_traeg) 352 (M.V.NrSpecRandom) 0.8 * 0.1 + (S.L.cp_Fahrgastpendel_reib) 353 (M.V.NrSpecRandom) 0.8 * 0.1 + (S.L.cp_Fahrgastpendel_2_reib) 354 (M.V.NrSpecRandom) -0.1 * 0.05 - (S.L.cp_Fahrgastpendel_refl) 355 (M.V.NrSpecRandom) -0.1 * 0.05 - (S.L.cp_Fahrgastpendel_2_refl) {end} '---------------------- ' Frame '---------------------- {macro:cockpit_frame} '�bertragen der Schalterstellungen: (L.L.cp_retarder_sw) (S.L.antrieb_retarder_sw) (L.L.cp_retarder_sw_direkt) (S.L.antrieb_retarder_sw_direkt) (L.L.cp_wischer_schnell_sw) (S.L.wiper_schnell_sw) (L.L.cp_wischer_einaus_sw) (S.L.wiper_einaus_sw) (L.L.cp_wischer_intervall_sw) (S.L.wiper_intervall_sw) (L.L.cp_wischer_wascher_sw) (S.L.wiper_wascher_sw) (M.L.tacho_frame) (M.L.uhr_frame) (M.L.drehzahlmesser_frame) (M.L.hupe_frame) (M.L.blinkerhebel_frame) (M.L.wischerhebel_frame) (M.L.wischer_drehschalter_frame) (M.L.oeldruck_frame) (M.L.tankuhr_frame) (M.L.cockpitlights_frame) (M.L.klimator_frame) (M.L.schluessel_frame) (M.L.odometer_frame) (M.L.fahrertuer_frame) (M.L.engine_thermometer_frame) (M.L.microphone_frame) (M.L.pressure_warning_needle_frame) (M.L.zentralschmierung_frame) (M.L.Thermometer_frame) (M.L.Fahrgastpendel) (M.L.VDVdisplay) (M.L.automAnheben) (M.L.Physics_Y) (M.L.Physics_X) (M.L.OPN) (M.L.boot_frame) (M.L.smooth) (M.L.SM_frame) (M.L.SJtime) (M.L.windows) (M.L.vdo) (M.L.elec_Mir) (M.L.BUS_info) (M.L.BUS_info_A) (M.L.cA) (M.L.Normal_zhilingji) (M.L.LED) {end} {macro:automAnheben} 'Irgendeine T�r noch nicht zu? (L.L.door_0) 0.1 > (L.L.door_1) 0.1 > || (L.L.door_2) 0.1 > || (L.L.door_4) 0.1 > || {if} '...aber alle irgendwie auf dem Weg Richtung zu? (L.L.doorTarget_0) 0 = (L.L.doorTarget_1) 0 = && (L.L.doorTarget_23) 0 = && (L.L.doorTarget_45) 0 = && {if} 0 (S.L.cp_kneeling_sw) {endif} {endif} {end} {macro:tacho_frame} (L.L.Velocity) (F.L.cockpit_tacholinie) (S.L.cockpit_tachowinkel) {end} {macro:uhr_frame} (L.L.elec_busbar_avail) 0.5 > {if} (L.S.Time) s0 60 / (S.L.cockpit_uhr_min) 12 / (S.L.cockpit_uhr_std) l0 trunc (S.L.cockpit_uhr_sek) {endif} {end} {macro:drehzahlmesser_frame} (L.L.engine_n) 3000 270 / / (S.L.cockpit_drehzahlwinkel) {end} {macro:hupe_frame} (L.L.elec_busbar_main) (C.L.elec_busbar_minV) > {if} (L.L.cockpit_hupe) 1 = {if} (L.L.cockpit_hupe_volume) 1 < {if} (L.L.cockpit_hupe_volume) (L.S.Timegap) 10 * + (S.L.cockpit_hupe_volume) {else} 1 (S.L.cockpit_hupe_volume) {endif} {else} (L.L.cockpit_hupe_volume) 0 > {if} (L.L.cockpit_hupe_volume) (L.S.Timegap) 10 * - (S.L.cockpit_hupe_volume) {else} 0 (S.L.cockpit_hupe_volume) {endif} {endif} {else} (L.L.cockpit_hupe_volume) 0 > {if} (L.L.cockpit_hupe_volume) (L.S.Timegap) 10 * - (S.L.cockpit_hupe_volume) {else} 0 (S.L.cockpit_hupe_volume) {endif} {endif} {end} {macro:blinkerhebel_frame} (L.L.lights_sw_blinker) 1 = {if} -1 (S.L.cockpit_blinkerhebel) {else} (L.L.lights_sw_blinker) 2 = {if} 1 (S.L.cockpit_blinkerhebel) {else} 0 (S.L.cockpit_blinkerhebel) {endif} {endif} ' Hebel-Animation f�r Fernlicht (L.L.lights_sw_fern) {if} (L.L.cockpit_fernlichthebel) -1 = ! {if} 1 (S.L.cockpit_fernlichthebel) {endif} (L.L.cp_schluessel_rot) 0.8 > {if} -1 (S.L.cockpit_fernlichthebel) {endif} {else} 0 (S.L.cockpit_fernlichthebel) {endif} {end} {macro:wischerhebel_frame} (L.L.cockpit_wischerhebel_lastmode) (L.L.cockpit_wischerhebel_mode) = ! {if} (T.L.ev_wischerhebel) {endif} (L.L.cockpit_wischerhebel_mode) (S.L.cockpit_wischerhebel_lastmode) {end} {macro:wischer_drehschalter_frame} (L.L.cockpit_wischer_drehschalter_lastmode) (L.L.cockpit_wischer_drehschalter_mode) = ! {if} (T.L.ev_wischerhebel) {endif} (L.L.cockpit_wischer_drehschalter_mode) (S.L.cockpit_wischer_drehschalter_lastmode) {end} {macro:cockpitlights_frame} ' St�rungsmelder (L.L.engine_n) 100 < (L.L.bremse_p_tank01) 650000 < || (L.L.bremse_p_tank02) 650000 < || (L.L.bremse_p_tank03) 650000 < || (L.L.elec_busbar_main) && (S.L.cockpit_light_masterfailure) ' Batterie (L.L.engine_n) 400 < (L.L.elec_busbar_main) && (S.L.cockpit_light_batterie) ' T�rkontrolle (L.L.door_2) 0 = (L.L.door_3) 0 = && ! (L.L.elec_busbar_main) && (S.L.cockpit_light_tuerkontrolle) ' Kontrolle Feststellbremse (L.L.bremse_p_Brzyl_FBA) 650000 < (L.L.elec_busbar_main) * (S.L.cockpit_light_feststellbremse) ' Geschwindigkeitswarnung (L.L.Velocity) 54 > (L.L.elec_busbar_main) * (S.L.cockpit_light_speedwarning) ' Kinderwagenwunsch (L.L.door_kinderwagenwunsch) (L.L.elec_busbar_main) * (S.L.cockpit_light_kinderwagenwunsch) ' Kippschalter-Beleuchtung (L.L.cp_retarder_sw_direkt) (L.L.elec_busbar_main) * (S.L.cockpit_light_retarder_direkt) (L.L.cp_retarder_sw) (L.L.elec_busbar_main) * (S.L.cockpit_light_retarder) (L.L.cp_fahrerlicht_sw) (L.L.elec_busbar_main) * (S.L.cockpit_light_fahrerlicht) (L.L.cp_licht_untenrechts_sw) (L.L.elec_busbar_main) * (S.L.cockpit_light_licht_untenrechts) (L.L.cp_licht_unterdeck_sw) (L.L.elec_busbar_main) * (S.L.cockpit_light_licht_unterdeck) (L.L.cp_licht_oberdeck_sw) (L.L.elec_busbar_main) * (S.L.cockpit_light_licht_oberdeck) (L.L.cp_wischer_schnell_sw) (L.L.elec_busbar_main) * (S.L.cockpit_light_wischer_schnell) (L.L.cp_wischer_einaus_sw) (L.L.elec_busbar_main) * (S.L.cockpit_light_wischer_einaus) (L.L.cp_wischer_intervall_sw) (L.L.elec_busbar_main) * (S.L.cockpit_light_wischer_intervall) (L.L.cp_wischer_wascher_sw) (L.L.elec_busbar_main) * (S.L.cockpit_light_wischer_wascher) (L.L.cp_heizluefter_sw) (L.L.elec_busbar_main) * (S.L.cockpit_light_heizluefter) (L.L.cp_spiegelheizung_sw) (L.L.elec_busbar_main) * (S.L.cockpit_light_spiegelheizung) (L.L.cp_motorkuehlung_sw) (L.L.elec_busbar_main) * (S.L.cockpit_light_motorkuehlung) (L.L.door_handsteuerung) (L.L.elec_busbar_main) * (S.L.cockpit_light_tuer_handsteuerung) (L.L.cp_ASR_off) (L.L.elec_busbar_main) * (S.L.cockpit_light_ASR_off) (L.L.cp_hub_up_sw) (L.L.elec_busbar_main) * (S.L.cockpit_light_hub_up) (L.L.cp_hub_dn_sw) (L.L.elec_busbar_main) * (S.L.cockpit_light_hub_dn) (L.L.cp_knick_ovrd_sw) (L.L.elec_busbar_main) * (S.L.cockpit_light_knick_ovrd) (L.L.cp_kneeling_sw) (L.L.elec_busbar_main) * (S.L.cockpit_light_kneeling_sw) ' Dummy-Schalter: (L.L.cp_tuersperre1) (L.L.elec_busbar_main) * (S.L.cp_tuersperre_func1) (L.L.cp_tuersperre2) (L.L.elec_busbar_main) * (S.L.cp_tuersperre_func2) (L.L.cp_dummy_sw01) (L.L.elec_busbar_main) * (S.L.cp_dummy_func01) (L.L.cp_dummy_sw02) (L.L.elec_busbar_main) * (S.L.cp_dummy_func02) (L.L.cp_dummy_sw03) (L.L.elec_busbar_main) * (S.L.cp_dummy_func03) (L.L.cp_dummy_sw04) (L.L.elec_busbar_main) * (S.L.cp_dummy_func04) (L.L.cp_dummy_sw05) (L.L.elec_busbar_main) * (S.L.cp_dummy_func05) (L.L.cp_dummy_sw06) (L.L.elec_busbar_main) * (S.L.cp_dummy_func06) (L.L.cp_dummy_sw07) (L.L.elec_busbar_main) * (S.L.cp_dummy_func07) (L.L.cp_dummy_sw08) (L.L.elec_busbar_main) * (S.L.cp_dummy_func08) (L.L.cp_dummy_sw09) (L.L.elec_busbar_main) * (S.L.cp_dummy_func09) (L.L.cp_dummy_sw10) (L.L.elec_busbar_main) * (S.L.cp_dummy_func10) (L.L.cp_dummy_sw11) (L.L.elec_busbar_main) * (S.L.cp_dummy_func11) (L.L.cp_dummy_sw12) (L.L.elec_busbar_main) * (S.L.cp_dummy_func12) (L.L.cp_dummy_sw13) (L.L.elec_busbar_main) * (S.L.cp_dummy_func13) (L.L.cp_dummy_sw14) (L.L.elec_busbar_main) * (S.L.cp_dummy_func14) (L.L.cp_dummy_sw15) (L.L.elec_busbar_main) * (S.L.cp_dummy_func15) (L.L.cp_dummy_sw16) (L.L.elec_busbar_main) * (S.L.cp_dummy_func16) (L.L.cp_dummy_sw17) (L.L.elec_busbar_main) * (S.L.cp_dummy_func17) (L.L.cp_VDV_los) (L.L.elec_busbar_main) * (S.L.cp_VDV_los_func) {end} {macro:oeldruck_frame} (L.L.engine_n) (F.L.cockpit_oeldruck) (L.L.elec_busbar_main) * s0 (L.L.cockpit_oeldruck) s1 5 s2 5 s3 (M.L.traegheit) l1 (S.L.cockpit_oeldruck) {end} {macro:tankuhr_frame} (L.L.engine_tank_content) (L.L.elec_busbar_main) * s0 (L.L.cockpit_tankuhr) s1 5 s2 5 s3 (M.L.traegheit) l1 (S.L.cockpit_tankuhr) {end} {macro:engine_thermometer_frame} (L.L.engine_temperature) (F.L.cockpit_engine_temperature) (L.L.elec_busbar_main) * s0 (L.L.cockpit_motortemperaturwinkel) s1 5 s2 5 s3 (M.L.traegheit) l1 (S.L.cockpit_motortemperaturwinkel) {end} {macro:dachluke_pos_rot} l0 0.5 <= {if} 0 s1 s2 s3 s4 (T.L.ev_dachluke_close) {else} l0 1.5 <= {if} 0.5 s1 1 s2 0.80 s3 0.10 s4 (T.L.ev_dachluke_open) {else} l0 2.5 <= {if} 1 s1 0 s2 1 s3 1 s4 (T.L.ev_dachluke_change) {else} 0.5 s1 -1 s2 0.10 s3 0.80 s4 (T.L.ev_dachluke_change) {endif} {endif} {endif} {end} {macro:klappfenstersound} l1 {if} (T.L.ev_klappfenster_opn) {else} (T.L.ev_klappfenster_cls) {endif} {end} {macro:klappfenstersound_T} l1 {if} (T.L.ev_klappfenster_opn_T) {else} (T.L.ev_klappfenster_cls_T) {endif} {end} {macro:klimator_frame} 'Frontheizger�t: (L.L.cp_klimator_sw) (L.L.elec_busbar_main) * s1 'Anlauf oder Auslauf? l1 100 * (L.L.cp_klimator_RPM) > {if} 1.5 s0 {else} 0.5 s0 {endif} ' Berechnung der Luefterbeschleunigung: 'Sollwert: l1 100 * 'Istwert: (L.L.cp_klimator_RPM) 'Beschleunigung: - s0 * (L.S.Timegap) * 'Addition zum Istwert: (L.L.cp_klimator_RPM) + (S.L.cp_klimator_RPM) 'Leitwert generieren: (L.L.cp_klimator_sw) 0.5 > {if} (L.L.elec_busbar_Rinv_summe) (C.L.cp_klimator_Rinv) + (S.L.elec_busbar_Rinv_summe) {else} (L.L.cp_klimator_sw) -0.5 < {if} (L.L.elec_busbar_Rinv_summe) (C.L.cp_klimator_Rinv) 0.6 * + (S.L.elec_busbar_Rinv_summe) {endif} {endif} 'Raumheizger�te: (L.L.engine_n) 399 > {if} (L.L.cp_heizluefter_sw) (L.L.elec_busbar_main) * s1 {else} 0 s1 {endif} 'Anlauf oder Auslauf? l1 100 * (L.L.cp_cabinheater_RPM) > {if} 6 s0 {else} 1.0 s0 {endif} ' Berechnung der Luefterbeschleunigung: 'Sollwert: l1 100 * 'Istwert: (L.L.cp_cabinheater_RPM) 'Beschleunigung: - s0 * (L.S.Timegap) * 'Addition zum Istwert: (L.L.cp_cabinheater_RPM) + (S.L.cp_cabinheater_RPM) 'Leitwert generieren: (L.L.cp_heizluefter_sw) 0.5 > {if} (L.L.elec_busbar_Rinv_summe) (C.L.cp_cabinheater_Rinv) + (S.L.elec_busbar_Rinv_summe) {else} (L.L.cp_heizluefter_sw) -0.5 < {if} (L.L.elec_busbar_Rinv_summe) (C.L.cp_cabinheater_Rinv) 0.6 * + (S.L.elec_busbar_Rinv_summe) {endif} {endif} {end} {macro:schluessel_frame} (L.L.cp_schluessel_trans_lastmode) (L.L.cp_schluessel_trans_mode) = ! {if} (T.L.ev_schluessel_steck) {endif} (L.L.cp_schluessel_trans_mode) (S.L.cp_schluessel_trans_lastmode) (L.L.cp_schluessel_rot_lastmode) (L.L.cp_schluessel_rot_mode) = ! {if} (T.L.ev_schluessel_dreh) {endif} (L.L.cp_schluessel_rot_mode) (S.L.cp_schluessel_rot_lastmode) {end} {macro:traegheit} 'Simuliert tr�ges Verhalten (exponentiell) 'Ladekonventionen: ' Sollwert l0 ' Istwert l1 ' Konstante Anlauf l2 (Einheiten/s) ' Konstante Ablauf l3 (Einheiten/s) 'Anlauf oder Auslauf? l0 l1 > {if} l2 (L.S.Timegap) * 1 min -1 max s4 {else} l3 (L.S.Timegap) * 1 min -1 max s4 {endif} 'Sollwert: l0 'Istwert: l1 'Beschleunigung: - l4 * 'Addition zum Istwert: l1 + s1 {end} {macro:odometer_frame} (L.L.elec_busbar_main) {if} (L.L.kmcounter_km) $IntToStr "." $+ (L.L.kmcounter_m) $IntToStr 1 $SetLengthL $+ (S.$.cp_odometer_digital) {else} " " (S.$.cp_odometer_digital) {endif} {end} {macro:fahrertuer_frame} (L.L.cp_fahrertuer_dragged) ! {if} (L.L.cp_fahrertuer_pos) (L.S.Timegap) (L.L.cp_fahrertuer_speed) * + (S.L.cp_fahrertuer_pos) (L.L.cp_fahrertuer_pos) 1 > {if} 1 (S.L.cp_fahrertuer_pos) (L.L.cp_fahrertuer_speed) /-/ 0.7 * (S.L.cp_fahrertuer_speed) {endif} (L.L.cp_fahrertuer_pos) 0 < {if} 0 (S.L.cp_fahrertuer_speed) (S.L.cp_fahrertuer_pos) {endif} (L.L.cp_fahrertuer_pos) 0 > {if} (L.L.cp_fahrertuer_speed) (L.S.Timegap) (L.L.A_Trans_Y) (C.L.cp_fahrertuer_anschlagseite) * (L.L.A_Trans_X) /-/ + 0.3 * (L.L.cp_fahrertuer_globalangle) * * + (S.L.cp_fahrertuer_speed) {endif} (L.L.cp_fahrertuer_speed) s0 (S.L.cp_fahrertuer_lastspeed) l0 0 > {if} l0 (L.S.Timegap) 2 * - (S.L.cp_fahrertuer_speed) {endif} l0 0 < {if} l0 (L.S.Timegap) 2 * + (S.L.cp_fahrertuer_speed) {endif} (L.L.cp_fahrertuer_speed) 0 > (L.L.cp_fahrertuer_lastspeed) 0 < && (L.L.cp_fahrertuer_speed) 0 < (L.L.cp_fahrertuer_lastspeed) 0 > && || {if} 0 (S.L.cp_fahrertuer_speed) {endif} {endif} (L.L.cp_fahrertuer_pos) 0 > (L.L.cp_fahrertuer_open) ! && {if} (T.L.ev_fahrertuer_auf) 1 (S.L.cp_fahrertuer_open) {endif} (L.L.cp_fahrertuer_pos) 0 = (L.L.cp_fahrertuer_open) && {if} (T.L.ev_fahrertuer_zu) 0 (S.L.cp_fahrertuer_open) {endif} (L.L.cp_fahrertuer_pos) 140 * 27 + 3.14 * 180 / sin (S.L.cp_fahrertuer_globalangle) (L.L.velocity) (L.L.cp_velocity_last) - (S.L.cp_acceleration) (L.L.velocity) (S.L.cp_velocity_last) {end} {macro:microphone_frame} (L.L.Clutch) 0.2 > (L.L.cp_microphone_sw) || (L.L.elec_busbar_main) (C.L.elec_busbar_minV) > && s0 (L.L.Snd_Microphone) s1 l0 l1 ! && {if} (T.L.micro_lautsprecherknack_start) {endif} l0 ! l1 && {if} (T.L.micro_lautsprecherknack_end) {endif} l0 (S.L.Snd_Microphone) {end} {macro:pressure_warning_needle_frame} (L.L.bremse_p_Tank01) (L.L.bremse_p_Tank02) + 2 / (S.L.cockpit_warndruck) (F.L.cockpit_warndruck) (S.L.cockpit_warndruckwinkel) {end} {macro:zentralschmierung_frame} (L.L.cp_zentralschmierung_nextkm) (L.L.velocity) 3600 / (L.S.Timegap) * + (S.L.cp_zentralschmierung_nextkm) (C.L.cockpit_zentralschmierung_dist) > (L.L.cp_zentralschmierung_runtime) (C.L.cockpit_zentralschmierung_maxtime) < && {if} 1 (S.L.cockpit_light_zentralschmierung) (L.L.cp_zentralschmierung_runtime) (L.S.Timegap) + (S.L.cp_zentralschmierung_runtime) {else} (L.L.cockpit_light_zentralschmierung) {if} 0 (S.L.cp_zentralschmierung_nextkm) {endif} 0 (S.L.cockpit_light_zentralschmierung) (S.L.cp_zentralschmierung_runtime) {endif} {end} {macro:Thermometer_frame} (L.L.Cabinair_Temp) s0 trunc " 3" $IntToStrEnh "." $+ l0 abs l0 abs trunc - 10 * trunc " 1" $IntToStrEnh $+ "C" $+ (S.$.cockpit_temperatur) {end} {trigger:cp_Fahrgastpendel} 1 (S.L.cp_Fahrgastpendel_drag) {end} {trigger:cp_Fahrgastpendel_2} 1 (S.L.cp_Fahrgastpendel_2_drag) {end} {trigger:cp_Fahrgastpendel_off} 0 (S.L.cp_Fahrgastpendel_drag) {end} {trigger:cp_Fahrgastpendel_2_off} 0 (S.L.cp_Fahrgastpendel_2_drag) {end} {trigger:cp_Fahrgastpendel_drag} (L.L.cp_Fahrgastpendel_drag) {if} (L.L.cp_Fahrgastpendel_Pos) (L.S.mouse_y) 500 / + 1 min 0 max s0 l0 (L.L.cp_Fahrgastpendel_Pos) - (L.S.Timegap) / (S.L.cp_Fahrgastpendel_Speed) l0 (S.L.cp_Fahrgastpendel_Pos) {endif} {end} {trigger:cp_Fahrgastpendel_2_drag} (L.L.cp_Fahrgastpendel_2_drag) {if} (L.L.cp_Fahrgastpendel_2_Pos) (L.S.mouse_y) 500 / + 1 min 0 max s0 l0 (L.L.cp_Fahrgastpendel_2_Pos) - (L.S.Timegap) / (S.L.cp_Fahrgastpendel_2_Speed) l0 (S.L.cp_Fahrgastpendel_2_Pos) {endif} {end} {trigger:VDV_Infotaste} 1 (S.L.VDV_Infotaste) (S.L.VDV_Infotaste_switch) s1 (M.L.kippschaltersound) {end} {trigger:VDV_Infotaste_drag} 0 (S.L.VDV_Infotaste) {end} {trigger:VDV_Infotaste_off} 0 (S.L.VDV_Infotaste_switch) s1 (M.L.kippschaltersound) {end} {macro:Fahrgastpendel} 'Sollwert: (wenn mindestens ein Typ an der Stelle durchgeht) 2 (M.V.GetHumanCountOnPathLink) 1 min s4 'Wenn ein Fahrgast durchwill, dann �berschreibe die "Drag"-Eigenschaft: l4 {if} 0 (S.L.cp_Fahrgastpendel_drag) (S.L.cp_Fahrgastpendel_2_drag) {endif} '1:==================================== 'Differenz * InvTr�gheit = Beschleunigung l4 (L.L.cp_Fahrgastpendel_Pos) - (L.L.cp_Fahrgastpendel_traeg) * s1 (L.L.cp_Fahrgastpendel_drag) ! {if} 'Anwendung einer Reibungskraft: l1 (L.L.cp_Fahrgastpendel_Speed) sgn (L.L.cp_Fahrgastpendel_reib) * - s0 'Pr�fen, ob sich die Beschleunigung infolge der Reibung umkehrt - dann wird sie auf 0 gesetzt: l0 l1 * 0 < {if} 0 s0 {endif} 'Anwenden der Beschleunigung: (L.L.cp_Fahrgastpendel_Speed) l0 (L.S.Timegap) * + (S.L.cp_Fahrgastpendel_Speed) 'Anwenden der Position: (L.L.cp_Fahrgastpendel_Pos) (L.L.cp_Fahrgastpendel_Speed) (L.S.Timegap) * + (S.L.cp_Fahrgastpendel_Pos) s0 {else} (L.L.cp_Fahrgastpendel_Pos) s0 {endif} 'Limits: (Anschlag an Haltestange mit 10% Abprallst�rke) l0 0 < {if} 0 (S.L.cp_Fahrgastpendel_Pos) (T.L.ev_fahrgastpendel_zu) (L.L.cp_Fahrgastpendel_Speed) (L.L.cp_Fahrgastpendel_refl) * (S.L.cp_Fahrgastpendel_Speed) {endif} '(anderes Ende ohne Reflexion) l0 1 > {if} 1 (S.L.cp_Fahrgastpendel_Pos) 0 (S.L.cp_Fahrgastpendel_Speed) {endif} '2:==================================== 'Differenz * InvTr�gheit = Beschleunigung l4 (L.L.cp_Fahrgastpendel_2_Pos) - (L.L.cp_Fahrgastpendel_2_traeg) * s1 (L.L.cp_Fahrgastpendel_2_drag) ! {if} 'Anwendung einer Reibungskraft: l1 (L.L.cp_Fahrgastpendel_2_Speed) sgn (L.L.cp_Fahrgastpendel_2_reib) * - s0 'Pr�fen, ob sich die Beschleunigung infolge der Reibung umkehrt - dann wird sie auf 0 gesetzt: l0 l1 * 0 < {if} 0 s0 {endif} 'Anwenden der Beschleunigung: (L.L.cp_Fahrgastpendel_2_Speed) l0 (L.S.Timegap) * + (S.L.cp_Fahrgastpendel_2_Speed) 'Anwenden der Position: (L.L.cp_Fahrgastpendel_2_Pos) (L.L.cp_Fahrgastpendel_2_Speed) (L.S.Timegap) * + (S.L.cp_Fahrgastpendel_2_Pos) s0 {else} (L.L.cp_Fahrgastpendel_2_Pos) s0 {endif} 'Limits: (Anschlag an Haltestange mit 10% Abprallst�rke) l0 0 < {if} 0 (S.L.cp_Fahrgastpendel_2_Pos) (T.L.ev_fahrgastpendel_2_zu) (L.L.cp_Fahrgastpendel_2_Speed) (L.L.cp_Fahrgastpendel_2_refl) * (S.L.cp_Fahrgastpendel_2_Speed) {endif} '(anderes Ende ohne Reflexion) l0 1 > {if} 1 (S.L.cp_Fahrgastpendel_2_Pos) 0 (S.L.cp_Fahrgastpendel_2_Speed) {endif} {end} {macro:VDVdisplay} (L.L.VDV_Infotaste) (L.L.VDVModus) 0 = && (L.L.VDVModus) 5 < && (L.L.elec_busbar_main) && {if} (L.L.VDVModus) 2 + (S.L.VDVSollModus) {else} (L.L.VDV_Infotaste) (L.L.VDVModus) 1 >= && (L.L.VDVModus) 5 < && (L.L.elec_busbar_main) && {if} (L.L.VDVModus) 1 + (S.L.VDVSollModus) {else} (L.L.VDVModus) 5 = {if} 1 (S.L.VDVSollModus) {endif} {endif} {endif} 'Schattenintensit�t (L.L.cp_fahrertuer_pos) 0.5 * s0 1 l0 - (S.L.cp_shadowscale) 'F�r das VDV (L.L.door_0) (L.L.elec_busbar_main) && (L.L.VDVModus) 1 <= && {if} 1 (S.L.cp_VDVdisplay_door01) {else} 0 (S.L.cp_VDVdisplay_door01) {endif} (L.L.fluegelsperre_switch) -1 = (L.L.elec_busbar_main) && (L.L.VDVModus) 1 = && {if} 1 (S.L.cp_VDVdisplay_door01gesp) {else} 0 (S.L.cp_VDVdisplay_door01gesp) {endif} (L.L.door_1) (L.L.elec_busbar_main) && (L.L.VDVModus) 1 <= && {if} 1 (S.L.cp_VDVdisplay_door02) {else} 0 (S.L.cp_VDVdisplay_door02) {endif} (L.L.fluegelsperre_switch) 1 = (L.L.elec_busbar_main) && (L.L.VDVModus) 1 = && {if} 1 (S.L.cp_VDVdisplay_door02gesp) {else} 0 (S.L.cp_VDVdisplay_door02gesp) {endif} (L.L.door_2) (L.L.elec_busbar_main) && (L.L.VDVModus) 1 <= && {if} 1 (S.L.cp_VDVdisplay_door1) {else} 0 (S.L.cp_VDVdisplay_door1) {endif} (L.L.door_4) (L.L.elec_busbar_main) && (L.L.VDVModus) 1 <= && (L.L.Display_FreigabeBlink) 0 = && {if} 1 (S.L.cp_VDVdisplay_door2) {else} 0 (S.L.cp_VDVdisplay_door2) {endif} (L.L.door_6) (L.L.elec_busbar_main) && (L.L.VDVModus) 1 <= && (L.L.Display_FreigabeBlink_2) 0 = && {if} 1 (S.L.cp_VDVdisplay_door3) {else} 0 (S.L.cp_VDVdisplay_door3) {endif} ' F�r die T�rdr�cker (L.L.door_0) (L.L.door_1) || (L.L.elec_busbar_main) && {if} 1 (S.L.cp_Taster_door0) {else} 0 (S.L.cp_Taster_door0) {endif} (L.L.door_2) (L.L.elec_busbar_main) && {if} 1 (S.L.cp_Taster_door1) {else} 0 (S.L.cp_Taster_door1) {endif} (L.L.door_4) (L.L.elec_busbar_main) && {if} 1 (S.L.cp_Taster_door2) {else} 0 (S.L.cp_Taster_door2) {endif} ' Weitere VDV-Infos (L.L.bremse_halte) (L.L.bremse_feststell) 1 = || (L.L.VDVModus) 2 < && (L.L.elec_busbar_main) && {if} 1 (S.L.cp_VDVdisplay_hstbrake) {else} 0 (S.L.cp_VDVdisplay_hstbrake) {endif} (L.L.bremse_feststell) (L.L.VDVModus) 2 < && (L.L.elec_busbar_main) && (L.L.cp_VDVdisplay_Haltewunsch) 0 = && {if} 1 (S.L.cp_VDVdisplay_brake) {else} 0 (S.L.cp_VDVdisplay_brake) {endif} (L.L.RRampe_pos) 0.2 > (L.L.VDVModus) 2 < && (L.L.elec_busbar_main) && {if} 1 (S.L.cp_VDVdisplay_Rampe) {else} 0 (S.L.cp_VDVdisplay_Rampe) {endif} (L.L.haltewunschlampe) (L.L.haltewunschlampe_2) || (L.L.cp_VDVdisplay_Kinderw) 1 = || (L.L.VDVModus) 2 < && (L.L.elec_busbar_main) && {if} 1 (S.L.cp_VDVdisplay_Haltewunsch) {else} 0 (S.L.cp_VDVdisplay_Haltewunsch) {endif} (L.L.cp_dachluke_1) 0 > (L.L.cp_dachluke_2) 0 > || (L.L.VDVModus) 2 < && (L.L.elec_busbar_main) && {if} 1 (S.L.cp_VDVdisplay_Dachluke) {else} 0 (S.L.cp_VDVdisplay_Dachluke) {endif} (L.L.antrieb_retarder) 0.3 > (L.L.VDVModus) 1 < && (L.L.elec_busbar_main) && {if} 1 (S.L.cp_VDVdisplay_Retarder) {else} 0 (S.L.cp_VDVdisplay_Retarder) {endif} (L.L.tank_percent) 0.3 <= (L.L.VDVModus) 2 < && (L.L.elec_busbar_main) && {if} 1 (S.L.cp_VDVdisplay_Tankleer) {else} 0 (S.L.cp_VDVdisplay_Tankleer) {endif} (L.L.cp_VDVdisplay_Kinderw) 0 = (L.L.elec_busbar_main) && (L.L.door_2) 0 = && (L.L.humans_count) 3 > && {if} 20000 random 19997 > {if} 1 (S.L.cp_VDVdisplay_Kinderw) {else} 0 (S.L.cp_VDVdisplay_Kinderw) {endif} {endif} (L.L.cp_VDVdisplay_Kinderw) 0 > (L.L.elec_busbar_main) && (L.L.door_2) 0.5 > && {if} 0 (S.L.cp_VDVdisplay_Kinderw) {endif} (L.L.cp_dummy_sw07) (L.L.VDVModus) 2 < && (L.L.elec_busbar_main) && {if} 1 (S.L.cp_VDVdisplay_Spiegelheizung) {else} 0 (S.L.cp_VDVdisplay_Spiegelheizung) {endif} (L.L.VDVModus) 2 < (L.L.elec_busbar_main) && (L.L.cp_VDVdisplay_Brightness) 1 = && {if} 1 (S.L.cp_VDVdisplay_Temperaturen) {else} (L.L.VDVModus) 2 < (L.L.elec_busbar_main) && (L.L.cp_VDVdisplay_Brightness) 0 = && {if} 2 (S.L.cp_VDVdisplay_Temperaturen) {else} 0 (S.L.cp_VDVdisplay_Temperaturen) {endif} {endif} (L.L.VDVModus) 0 = (L.L.antrieb_getr_aktugang) 0 = || (L.L.cockpit_gangR_toggle) 0.3 > || (L.L.VDVModus) 2 < && (L.L.elec_busbar_main) && (L.L.cp_VDVdisplay_Brightness) 1 = && {if} 1 (S.L.cp_VDVdisplay_Gang) {else} (L.L.VDVModus) 0 = (L.L.antrieb_getr_aktugang) 0 = || (L.L.cockpit_gangR_toggle) 0.3 > || (L.L.VDVModus) 2 < && (L.L.elec_busbar_main) && (L.L.cp_VDVdisplay_Brightness) 0 = && {if} 2 (S.L.cp_VDVdisplay_Gang) {else} 0 (S.L.cp_VDVdisplay_Gang) {endif} {endif} (L.L.cockpit_gang3) 0.3 > (L.L.cockpit_gang2) 0.3 > || (L.L.cockpit_gang1) 0.3 > || {if} 1 (S.L.cp_Gangaktiv) {else} 0 (S.L.cp_Gangaktiv) {endif} (L.L.cp_Gangaktiv) 0.5 < (L.L.antrieb_getr_aktugang) 0 = && {if} " N" 2 $SetLengthC (S.$.cockpit_Gang) {else} (L.L.cp_Gangaktiv) 0.5 > (L.L.antrieb_getr_aktugang) 0 = && {if} " D" 2 $SetLengthC (S.$.cockpit_Gang) {else} (L.L.cockpit_gangR) 0.3 > {if} " R" 2 $SetLengthC (S.$.cockpit_Gang) {else} " " (L.L.antrieb_getr_aktugang) $IntToStr 1 $SetLengthC $+ (S.$.cockpit_Gang) {endif} {endif} {endif} 'Aussentemperatur (L.S.Weather_Temperature) $IntToStr (S.$.cockpit_Aussentemp) 'Motortemperatur (L.L.engine_temperature) $IntToStr (S.$.cockpit_Motortemp) 'Wechsel hell dunkel (L.L.lights_stand) 0 > {if} 1 (S.L.cp_VDVdisplay_Brightness) {else} 0 (S.L.cp_VDVdisplay_Brightness) {endif} 'Blinken Tuerfreigabe (L.L.Display_FreigabeBlink_count) (L.S.Timegap) 1 * + (S.L.Display_FreigabeBlink_count) (L.L.Display_FreigabeBlink_count) 2 >= {if} 0 (S.L.Display_FreigabeBlink_count) (S.L.Display_FreigabeBlink) (S.L.Display_FreigabeBlink_2) {endif} (L.L.door_freigabe) 1 = (L.L.Display_FreigabeBlink_count) 1 > && {if} (L.L.door_4) 0.1 < {if} 1 (S.L.Display_FreigabeBlink) {endif} (L.L.door_6) 0.1 < {if} 1 (S.L.Display_FreigabeBlink_2) {endif} {endif} 'Tagfahrlicht (L.L.elec_busbar_main) (L.L.lights_abbl) 0 = && {if} 1 (S.L.Tagfahrlicht) {else} 0 (S.L.Tagfahrlicht) {endif} 'Anzeigenwechsel (L.L.elec_busbar_main) (L.L.cp_VDVdisplay_door01) 1 = && (L.L.cp_VDVdisplay_door02) 1 = || (L.L.cp_VDVdisplay_door1) 1 = || (L.L.cp_VDVdisplay_door2) 1 = || (L.L.cp_VDVdisplay_hstbrake) 1 = || (L.L.VDVModus) 0 = && {if} 1 (S.L.VDVSollModus) {endif} (L.L.Velocity) 10 > (L.L.VDVModus) 1 = && (L.L.elec_busbar_main) && (L.L.cp_VDVdisplay_door01) 0 = && (L.L.cp_VDVdisplay_door02) 0 = && (L.L.cp_VDVdisplay_hstbrake) 0 = && {if} 0 (S.L.VDVSollModus) {endif} 'Tankanzeige (L.L.tank_percent) 0.98 >= (L.L.VDVModus) 2 = && (L.L.elec_busbar_main) && {if} 0 (S.L.cp_Tankinfo) {else} (L.L.tank_percent) 0.9 >= (L.L.VDVModus) 2 = && (L.L.elec_busbar_main) && {if} 1 (S.L.cp_Tankinfo) {else} (L.L.tank_percent) 0.8 >= (L.L.VDVModus) 2 = && (L.L.elec_busbar_main) && {if} 2 (S.L.cp_Tankinfo) {else} (L.L.tank_percent) 0.7 >= (L.L.VDVModus) 2 = && (L.L.elec_busbar_main) && {if} 3 (S.L.cp_Tankinfo) {else} (L.L.tank_percent) 0.6 >= (L.L.VDVModus) 2 = && (L.L.elec_busbar_main) && {if} 4 (S.L.cp_Tankinfo) {else} (L.L.tank_percent) 0.5 >= (L.L.VDVModus) 2 = && (L.L.elec_busbar_main) && {if} 5 (S.L.cp_Tankinfo) {else} (L.L.tank_percent) 0.4 >= (L.L.VDVModus) 2 = && (L.L.elec_busbar_main) && {if} 6 (S.L.cp_Tankinfo) {else} (L.L.tank_percent) 0.3 >= (L.L.VDVModus) 2 = && (L.L.elec_busbar_main) && {if} 7 (S.L.cp_Tankinfo) {else} (L.L.tank_percent) 0.2 >= (L.L.VDVModus) 2 = && (L.L.elec_busbar_main) && {if} 8 (S.L.cp_Tankinfo) {else} (L.L.tank_percent) 0.1 >= (L.L.VDVModus) 2 = && (L.L.elec_busbar_main) && {if} 9 (S.L.cp_Tankinfo) {else} 10 (S.L.cp_Tankinfo) {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} 'Druckkreis1 (L.L.bremse_p_tank01) 100000 / 10 >= (L.L.VDVModus) 4 = && (L.L.elec_busbar_main) && {if} 0 (S.L.cp_Druckkreis1) {else} (L.L.bremse_p_tank01) 100000 / 8 >= (L.L.VDVModus) 4 = && (L.L.elec_busbar_main) && {if} 1 (S.L.cp_Druckkreis1) {else} (L.L.bremse_p_tank01) 100000 / 6 >= (L.L.VDVModus) 4 = && (L.L.elec_busbar_main) && {if} 2 (S.L.cp_Druckkreis1) {else} (L.L.bremse_p_tank01) 100000 / 4 >= (L.L.VDVModus) 4 = && (L.L.elec_busbar_main) && {if} 3 (S.L.cp_Druckkreis1) {else} (L.L.bremse_p_tank01) 100000 / 2 >= (L.L.VDVModus) 4 = && (L.L.elec_busbar_main) && {if} 4 (S.L.cp_Druckkreis1) {else} (L.L.bremse_p_tank01) 100000 / 0 >= (L.L.VDVModus) 4 = && (L.L.elec_busbar_main) && {if} 5 (S.L.cp_Druckkreis1) {else} 6 (S.L.cp_Druckkreis1) {endif} {endif} {endif} {endif} {endif} {endif} 'Druckkreis2 (L.L.bremse_p_tank04) 100000 / 10 >= (L.L.VDVModus) 4 = && (L.L.elec_busbar_main) && {if} 0 (S.L.cp_Druckkreis2) {else} (L.L.bremse_p_tank04) 100000 / 8 >= (L.L.VDVModus) 4 = && (L.L.elec_busbar_main) && {if} 1 (S.L.cp_Druckkreis2) {else} (L.L.bremse_p_tank04) 100000 / 6 >= (L.L.VDVModus) 4 = && (L.L.elec_busbar_main) && {if} 2 (S.L.cp_Druckkreis2) {else} (L.L.bremse_p_tank04) 100000 / 4 >= (L.L.VDVModus) 4 = && (L.L.elec_busbar_main) && {if} 3 (S.L.cp_Druckkreis2) {else} (L.L.bremse_p_tank04) 100000 / 2 >= (L.L.VDVModus) 4 = && (L.L.elec_busbar_main) && {if} 4 (S.L.cp_Druckkreis2) {else} (L.L.bremse_p_tank04) 100000 / 0 >= (L.L.VDVModus) 4 = && (L.L.elec_busbar_main) && {if} 5 (S.L.cp_Druckkreis2) {else} 6 (S.L.cp_Druckkreis2) {endif} {endif} {endif} {endif} {endif} {endif} 'Oeldruck (L.L.cockpit_oeldruck) 5 >= (L.L.VDVModus) 4 = && (L.L.elec_busbar_main) && {if} 0 (S.L.cp_Oeldruckinfo) {else} (L.L.cockpit_oeldruck) 4 >= (L.L.VDVModus) 4 = && (L.L.elec_busbar_main) && {if} 1 (S.L.cp_Oeldruckinfo) {else} (L.L.cockpit_oeldruck) 3 >= (L.L.VDVModus) 4 = && (L.L.elec_busbar_main) && {if} 2 (S.L.cp_Oeldruckinfo) {else} (L.L.cockpit_oeldruck) 2 >= (L.L.VDVModus) 4 = && (L.L.elec_busbar_main) && {if} 3 (S.L.cp_Oeldruckinfo) {else} (L.L.cockpit_oeldruck) 1 >= (L.L.VDVModus) 4 = && (L.L.elec_busbar_main) && {if} 4 (S.L.cp_Oeldruckinfo) {else} (L.L.cockpit_oeldruck) 0 >= (L.L.VDVModus) 4 = && (L.L.elec_busbar_main) && {if} 5 (S.L.cp_Oeldruckinfo) {else} 6 (S.L.cp_Oeldruckinfo) {endif} {endif} {endif} {endif} {endif} {endif} 'Motortemperatur (L.L.engine_temperature) 140 >= (L.L.VDVModus) 3 = && (L.L.elec_busbar_main) && {if} 0 (S.L.cp_MotTempinfo) {else} (L.L.engine_temperature) 120 >= (L.L.VDVModus) 3 = && (L.L.elec_busbar_main) && {if} 1 (S.L.cp_MotTempinfo) {else} (L.L.engine_temperature) 100 >= (L.L.VDVModus) 3 = && (L.L.elec_busbar_main) && {if} 2 (S.L.cp_MotTempinfo) {else} (L.L.engine_temperature) 80 >= (L.L.VDVModus) 3 = && (L.L.elec_busbar_main) && {if} 3 (S.L.cp_MotTempinfo) {else} (L.L.engine_temperature) 60 >= (L.L.VDVModus) 3 = && (L.L.elec_busbar_main) && {if} 4 (S.L.cp_MotTempinfo) {else} (L.L.engine_temperature) 40 >= (L.L.VDVModus) 3 = && (L.L.elec_busbar_main) && {if} 5 (S.L.cp_MotTempinfo) {else} (L.L.engine_temperature) 20 >= (L.L.VDVModus) 3 = && (L.L.elec_busbar_main) && {if} 6 (S.L.cp_MotTempinfo) {else} (L.L.tank_percent) 0 >= (L.L.VDVModus) 3 = && (L.L.elec_busbar_main) && {if} 7 (S.L.cp_MotTempinfo) {else} 8 (S.L.cp_MotTempinfo) {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} 'Rollstuhrampenvariable ' (L.L.VDVModus) 0 = && ' (L.L.elec_busbar_main) && ' {if} ' 1 (S.L.cp_VDVdisplay_ramp) ' {else} ' 0 (S.L.cp_VDVdisplay_ramp) ' {endif} 'Kneelingvariable (L.L.cp_kneeling_sw) 0.5 > (L.L.cp_VDVdisplay_kneeling) 0 = && {if} 1 (S.L.cp_VDVdisplay_kneeling) 0 (S.L.cp_kneeling_counter) {endif} (L.L.cp_kneeling_sw) 0.5 > (L.L.cp_VDVdisplay_kneeling) 1 = && (L.L.cp_kneeling_counter) 5 > && {if} 2 (S.L.cp_VDVdisplay_kneeling) {endif} (L.L.cp_kneeling_sw) 0.5 < (L.L.cp_VDVdisplay_kneeling) 2 = && {if} 1 (S.L.cp_VDVdisplay_kneeling) 0 (S.L.cp_kneeling_counter) {endif} (L.L.cp_kneeling_sw) 0.5 < (L.L.cp_VDVdisplay_kneeling) 1 = && (L.L.cp_kneeling_counter) 4 > && {if} 0 (S.L.cp_VDVdisplay_kneeling) 0 (S.L.bremse_halte) (T.L.ev_haltebremse_aus) {endif} (L.L.cp_kneeling_counter) (L.S.Timegap) 1 * + (S.L.cp_kneeling_counter) (L.L.cp_VDVdisplay_kneeling) (S.L.cp_VDVdisplay_kneeling_laststate) (L.L.VDVModus) 2 < {if} (L.L.cp_VDVdisplay_kneeling_laststate) (S.L.cp_VDVdisplay_kneeling) {else} 0 (S.L.cp_VDVdisplay_kneeling) {endif} 'Display aus, wenn kein Strom: (L.L.elec_busbar_main) (C.L.elec_busbar_minV) > ! {if} -1 (S.L.VDVSollModus) 0 (S.L.VDV_Starttimer) {endif} 'Wenn Display aus (antirepeat!), dann erstmal auf 0 setzen. Im n�chsten Frame kommt das passende: (L.L.elec_busbar_main) (C.L.elec_busbar_minV) > (L.L.VDVModus) -1 = && {if} 1 (S.L.VDV_Start) {endif} (L.L.VDV_Start) 1 = (L.L.elec_busbar_main) (C.L.elec_busbar_minV) > && (L.L.VDV_Starttimer) 5 < && {if} (L.L.VDV_Starttimer) (L.S.Timegap) 1 * + (S.L.VDV_Starttimer) (L.L.VDV_Starttimer) 1 > {if} 2 (S.L.VDVModus) {endif} (L.L.VDV_Starttimer) 1 <= {if} 0 (S.L.VDVModus) {endif} (L.L.VDV_Starttimer) 2 > {if} 3 (S.L.VDVModus) {endif} (L.L.VDV_Starttimer) 3 > {if} 4 (S.L.VDVModus) {endif} (L.L.VDV_Starttimer) 4 > {if} 1 (S.L.VDVModus) (S.L.VDVSollModus) 0 (S.L.VDV_Start) {endif} {else} (L.L.VDVSollModus) (S.L.VDVModus) {endif} {end} {macro:kippschaltersound} l1 {if} (T.L.ev_kippschalter_ein) {else} (T.L.ev_kippschalter_aus) {endif} {end} {trigger:cp_fahrerplatz_drag} (L.L.Velocity) 120 < {if} 1 (S.L.cp_fahrerplatzx_dragged) (L.L.cp_fahrerplatzx_pos) (S.L.cp_fahrerplatzx_lastpos) (L.S.mouse_x) -1000 / (L.L.cp_fahrerplatzx_pos) + (S.L.cp_fahrerplatzx_pos) s0 l0 0 < {if} 0 (S.L.cp_fahrerplatzx_pos) {endif} l0 1 > {if} 1 (S.L.cp_fahrerplatzx_pos) {endif} (L.L.cp_fahrerplatzx_pos) (L.L.cp_fahrerplatzx_lastpos) - (L.S.Timegap) / (S.L.cp_fahrerplatzx_speed) 1 (S.L.cp_fahrerplatzy_dragged) (L.L.cp_fahrerplatzy_pos) (S.L.cp_fahrerplatzy_lastpos) (L.S.mouse_y) -1000 / (L.L.cp_fahrerplatzy_pos) + (S.L.cp_fahrerplatzy_pos) s1 l1 0 < {if} 0 (S.L.cp_fahrerplatzy_pos) {endif} l1 1 > {if} 1 (S.L.cp_fahrerplatzy_pos) {endif} (L.L.cp_fahrerplatzy_pos) (L.L.cp_fahrerplatzy_lastpos) - (L.S.Timegap) / (S.L.cp_fahrerplatzy_speed) {endif} {end} {trigger:cp_fahrerplatz_off} 0 (S.L.cp_fahrerplatzx_dragged) 0 (S.L.cp_fahrerplatzy_dragged) {end} {trigger:cp_Fahrgastpendel_2_drag} (L.L.cp_Fahrgastpendel_2_drag) {if} (L.L.cp_Fahrgastpendel_2_Pos) (L.S.mouse_y) 500 / + 1 min 0 max s0 l0 (L.L.cp_Fahrgastpendel_2_Pos) - (L.S.Timegap) / (S.L.cp_Fahrgastpendel_2_Speed) l0 (S.L.cp_Fahrgastpendel_2_Pos) {endif} {end} {trigger:cp_Fahrgastpendel_3_drag} (L.L.cp_Fahrgastpendel_3_drag) {if} (L.L.cp_Fahrgastpendel_3_Pos) (L.S.mouse_y) 500 / + 1 min 0 max s0 l0 (L.L.cp_Fahrgastpendel_3_Pos) - (L.S.Timegap) / (S.L.cp_Fahrgastpendel_3_Speed) l0 (S.L.cp_Fahrgastpendel_3_Pos) {endif} {end} {trigger:cp_fahrerfenster_opn2_drag} (L.L.cp_fahrerfenster_pos2) (S.L.cp_fahrerfenster_lastpos2) (L.S.mouse_x) -500 / (L.L.cp_fahrerfenster_pos2) + (S.L.cp_fahrerfenster_pos2) s0 l0 0 < {if} 0 (S.L.cp_fahrerfenster_pos2) (L.L.cp_fahrerfenster_endanschlag2) ! {if} (T.L.ev_fahrerfenster_cls) {endif} 1 (S.L.cp_fahrerfenster_endanschlag2) {endif} l0 1 > {if} 1 (S.L.cp_fahrerfenster_pos2) (L.L.cp_fahrerfenster_endanschlag2) ! {if} (T.L.ev_fahrerfenster_opn) {endif} 1 (S.L.cp_fahrerfenster_endanschlag2) {endif} (L.L.cp_fahrerfenster_pos2) s0 0 > l0 1 < && {if} 0 (S.L.cp_fahrerfenster_endanschlag2) {endif} (L.L.cp_fahrerfenster_pos2) (L.L.cp_fahrerfenster_lastpos2) - abs (L.S.Timegap) / (S.L.cp_fahrerfenster_speed2) {end} {trigger:cp_fahrerfenster_opn3_drag} (L.L.cp_fahrerfenster_pos3) (S.L.cp_fahrerfenster_lastpos3) (L.S.mouse_x) -250 / (L.L.cp_fahrerfenster_pos3) + (S.L.cp_fahrerfenster_pos3) s0 l0 0 < {if} 0 (S.L.cp_fahrerfenster_pos3) (L.L.cp_fahrerfenster_endanschlag3) ! {if} (T.L.ev_fahrerfenster_cls) {endif} 1 (S.L.cp_fahrerfenster_endanschlag3) {endif} l0 1 > {if} 1 (S.L.cp_fahrerfenster_pos3) (L.L.cp_fahrerfenster_endanschlag3) ! {if} (T.L.ev_fahrerfenster_opn) {endif} 1 (S.L.cp_fahrerfenster_endanschlag3) {endif} (L.L.cp_fahrerfenster_pos3) s0 0 > l0 1 < && {if} 0 (S.L.cp_fahrerfenster_endanschlag3) {endif} (L.L.cp_fahrerfenster_pos3) (L.L.cp_fahrerfenster_lastpos3) - abs (L.S.Timegap) / (S.L.cp_fahrerfenster_speed3) {end} {trigger:cp_fahrerfenster_opn4_drag} (L.L.cp_fahrerfenster_pos4) (S.L.cp_fahrerfenster_lastpos4) (L.S.mouse_x) -250 / (L.L.cp_fahrerfenster_pos4) + (S.L.cp_fahrerfenster_pos4) s0 l0 0 < {if} 0 (S.L.cp_fahrerfenster_pos4) (L.L.cp_fahrerfenster_endanschlag4) ! {if} (T.L.ev_fahrerfenster_cls) {endif} 1 (S.L.cp_fahrerfenster_endanschlag4) {endif} l0 1 > {if} 1 (S.L.cp_fahrerfenster_pos4) (L.L.cp_fahrerfenster_endanschlag4) ! {if} (T.L.ev_fahrerfenster_opn) {endif} 1 (S.L.cp_fahrerfenster_endanschlag4) {endif} (L.L.cp_fahrerfenster_pos4) s0 0 > l0 1 < && {if} 0 (S.L.cp_fahrerfenster_endanschlag4) {endif} (L.L.cp_fahrerfenster_pos4) (L.L.cp_fahrerfenster_lastpos4) - abs (L.S.Timegap) / (S.L.cp_fahrerfenster_speed4) {end} {trigger:cp_fahrerfenster_opn5_drag} (L.L.cp_fahrerfenster_pos5) (S.L.cp_fahrerfenster_lastpos5) (L.S.mouse_x) -250 / (L.L.cp_fahrerfenster_pos5) + (S.L.cp_fahrerfenster_pos5) s0 l0 0 < {if} 0 (S.L.cp_fahrerfenster_pos5) (L.L.cp_fahrerfenster_endanschlag5) ! {if} (T.L.ev_fahrerfenster_cls) {endif} 1 (S.L.cp_fahrerfenster_endanschlag5) {endif} l0 1 > {if} 1 (S.L.cp_fahrerfenster_pos5) (L.L.cp_fahrerfenster_endanschlag5) ! {if} (T.L.ev_fahrerfenster_opn) {endif} 1 (S.L.cp_fahrerfenster_endanschlag5) {endif} (L.L.cp_fahrerfenster_pos5) s0 0 > l0 1 < && {if} 0 (S.L.cp_fahrerfenster_endanschlag5) {endif} (L.L.cp_fahrerfenster_pos5) (L.L.cp_fahrerfenster_lastpos5) - abs (L.S.Timegap) / (S.L.cp_fahrerfenster_speed5) {end} {trigger:cp_fahrerfenster_opn6_drag} (L.L.cp_fahrerfenster_pos6) (S.L.cp_fahrerfenster_lastpos6) (L.S.mouse_x) -250 / (L.L.cp_fahrerfenster_pos6) + (S.L.cp_fahrerfenster_pos6) s0 l0 0 < {if} 0 (S.L.cp_fahrerfenster_pos6) (L.L.cp_fahrerfenster_endanschlag6) ! {if} (T.L.ev_fahrerfenster_cls) {endif} 1 (S.L.cp_fahrerfenster_endanschlag6) {endif} l0 1 > {if} 1 (S.L.cp_fahrerfenster_pos6) (L.L.cp_fahrerfenster_endanschlag6) ! {if} (T.L.ev_fahrerfenster_opn) {endif} 1 (S.L.cp_fahrerfenster_endanschlag6) {endif} (L.L.cp_fahrerfenster_pos6) s0 0 > l0 1 < && {if} 0 (S.L.cp_fahrerfenster_endanschlag6) {endif} (L.L.cp_fahrerfenster_pos6) (L.L.cp_fahrerfenster_lastpos6) - abs (L.S.Timegap) / (S.L.cp_fahrerfenster_speed6) {end} {trigger:cp_fahrerfenster_opn7_drag} (L.L.cp_fahrerfenster_pos7) (S.L.cp_fahrerfenster_lastpos7) (L.S.mouse_x) -250 / (L.L.cp_fahrerfenster_pos7) + (S.L.cp_fahrerfenster_pos7) s0 l0 0 < {if} 0 (S.L.cp_fahrerfenster_pos7) (L.L.cp_fahrerfenster_endanschlag7) ! {if} (T.L.ev_fahrerfenster_cls) {endif} 1 (S.L.cp_fahrerfenster_endanschlag7) {endif} l0 1 > {if} 1 (S.L.cp_fahrerfenster_pos7) (L.L.cp_fahrerfenster_endanschlag7) ! {if} (T.L.ev_fahrerfenster_opn) {endif} 1 (S.L.cp_fahrerfenster_endanschlag7) {endif} (L.L.cp_fahrerfenster_pos7) s0 0 > l0 1 < && {if} 0 (S.L.cp_fahrerfenster_endanschlag7) {endif} (L.L.cp_fahrerfenster_pos7) (L.L.cp_fahrerfenster_lastpos7) - abs (L.S.Timegap) / (S.L.cp_fahrerfenster_speed7) {end} {macro:Physics_Y} (L.L.A_Trans_Y) 9.81 / 1.5 min -1.5 max (L.L.Physics_Y) - 0.05 * (L.S.Timegap) / (L.S.Timegap) 6 * /-/ exp (L.L.Physics_Y_Speed) * + (S.L.Physics_Y_Speed) (L.S.Timegap) * (L.L.Physics_Y) + (S.L.Physics_Y) {end} {macro:Physics_X} (L.L.A_Trans_Z) 9.81 / 1.5 min -1.5 max (L.L.Physics_Z) - 0.06 * (L.S.Timegap) / (L.S.Timegap) 6 * /-/ exp (L.L.Physics_Z_Speed) * + (S.L.Physics_Z_Speed) (L.S.Timegap) * (L.L.Physics_Z) + (S.L.Physics_Z) {end} {trigger:windows_drag0} (L.L.Velocity) 120 < (L.L.elec_busbar_main) && {if} 1 (S.L.cp_fahrerplatzx_dragged1) (L.L.cp_fahrerplatzx_pos1) (S.L.cp_fahrerplatzx_lastpos1) (L.S.mouse_x) -1000 / (L.L.cp_fahrerplatzx_pos1) + (S.L.cp_fahrerplatzx_pos1) s0 l0 0 < {if} 0 (S.L.cp_fahrerplatzx_pos1) {endif} l0 1 > {if} 1 (S.L.cp_fahrerplatzx_pos1) {endif} (L.L.cp_fahrerplatzx_pos1) (L.L.cp_fahrerplatzx_lastpos1) - (L.S.Timegap) / (S.L.cp_fahrerplatzx_speed1) 1 (S.L.cp_fahrerplatzy_dragged1) (L.L.cp_fahrerplatzy_pos1) (S.L.cp_fahrerplatzy_lastpos1) (L.S.mouse_y) -1000 / (L.L.cp_fahrerplatzy_pos1) + (S.L.cp_fahrerplatzy_pos1) s1 l1 0 < {if} 0 (S.L.cp_fahrerplatzy_pos1) {endif} l1 1 > {if} 1 (S.L.cp_fahrerplatzy_pos1) {endif} (L.L.cp_fahrerplatzy_pos1) (L.L.cp_fahrerplatzy_lastpos1) - (L.S.Timegap) / (S.L.cp_fahrerplatzy_speed1) {endif} {end} {macro:OPN} (L.L.elec_busbar_main) 0 = {if} 0 (S.L.qidong) {else} (L.L.qidong) (L.S.timegap) + 20 min (S.L.qidong) {endif} {end} {macro:boot_frame} (L.L.qidong) 0.5 > (L.L.elec_busbar_main) && {if} (L.L.qidong) 0.6 < {if} "..\\texture\Windows\0.png" (S.$.Boot) {else} (L.L.qidong) 0.65 < {if} "..\\texture\Windows\1.png" (S.$.Boot) {else} (L.L.qidong) 0.7 < {if} "..\\texture\Windows\2.png" (S.$.Boot) {else} (L.L.qidong) 0.75 < {if} "..\\texture\Windows\3.png" (S.$.Boot) {else} (L.L.qidong) 0.8 < {if} "..\\texture\Windows\4.png" (S.$.Boot) {else} (L.L.qidong) 0.85 < {if} "..\\texture\Windows\5.png" (S.$.Boot) {else} (L.L.qidong) 0.9 < {if} "..\\texture\Windows\6.png" (S.$.Boot) {else} (L.L.qidong) 0.95 < {if} "..\\texture\Windows\7.png" (S.$.Boot) {else} (L.L.qidong) 1 < {if} "..\\texture\Windows\8.png" (S.$.Boot) {else} (L.L.qidong) 1.05 < {if} "..\\texture\Windows\9.png" (S.$.Boot) {else} (L.L.qidong) 1.1 < {if} "..\\texture\Windows\10.png" (S.$.Boot) {else} (L.L.qidong) 1.15 < {if} "..\\texture\Windows\11.png" (S.$.Boot) {else} (L.L.qidong) 1.2 < {if} "..\\texture\Windows\12.png" (S.$.Boot) {else} (L.L.qidong) 1.25 < {if} "..\\texture\Windows\13.png" (S.$.Boot) {else} (L.L.qidong) 1.3 < {if} "..\\texture\Windows\14.png" (S.$.Boot) {else} (L.L.qidong) 1.35 < {if} "..\\texture\Windows\15.png" (S.$.Boot) {else} (L.L.qidong) 1.4 < {if} "..\\texture\Windows\16.png" (S.$.Boot) {else} (L.L.qidong) 1.45 < {if} "..\\texture\Windows\17.png" (S.$.Boot) {else} (L.L.qidong) 1.5 < {if} "..\\texture\Windows\18.png" (S.$.Boot) {else} (L.L.qidong) 1.6 < {if} "..\\texture\Windows\19.png" (S.$.Boot) {else} (L.L.qidong) 1.8 < {if} "..\\texture\Windows\20.png" (S.$.Boot) {else} (L.L.qidong) 2 < {if} "..\\texture\Windows\21.png" (S.$.Boot) {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {endif} {end} {trigger:CCTV} (L.L.CCTV) ! (S.L.CCTV) s1 1 (S.L.CCTV_cont) {end} {trigger:CCTV_2} 0 (S.L.CCTV_cont) {end} {macro:smooth} (L.L.Velocity) 25 > {if} (L.L.CGT) (L.S.Timegap) + 8 min (S.L.CGT) {else} 0 (S.L.CGT) {endif} {end} {macro:SM_frame} (L.L.elec_busbar_main) 1 = {if} (L.L.CGT) 1 < {if} 1 (S.L.video0) {else} (L.L.CGT) 2.1 < {if} 1 (S.L.video1) 0 (S.L.video0) {else} (L.L.CGT) 3 < {if} 1 (S.L.video2) 0 (S.L.video1) {else} (L.L.CGT) 6 < {if} 1 (S.L.video3) 0 (S.L.video2) {endif} {endif} {endif} {endif} {else} 0 (S.L.video0) 0 (S.L.video1) 0 (S.L.video2) 0 (S.L.video3) {endif} {end} {trigger:jiujing} (L.L.jiujing) ! (S.L.jiujing) s1 {if} 1 (S.L.jiujing) {else} 0 (S.L.jiujing) {endif} {end} {macro:SJtime} (L.L.qidong) 3 > (L.L.elec_busbar_main) && {if} (L.L.qidong) 3.1 < {if} "..\\texture\Windows\0.png" (S.$.Boot) 1 (S.L.Home) {else} (L.L.qidong) 3.4 < {if} 1 (S.L.INFO) {else} (L.L.qidong) 5 < {if} 1 (S.L.CAM) 1 (S.L.time) "00 : 00" (S.$.bus_time) {else} (L.L.qidong) 8 < {if} 1 (S.L.options) "12 : 34" (S.$.bus_time) {else} (L.L.qidong) 13 < {if} 1 (S.L.non_WIFI) 1 (S.L.non_bettery) "99 : 99" (S.$.bus_time) {else} (L.L.qidong) 16 < {if} 1 (S.L.WIFI) 1 (S.L.bettery) 1 (S.L.volte) 1 (S.L.warning) 0 (S.L.non_WIFI) 0 (S.L.non_bettery) {endif} {endif} {endif} {endif} {endif} (L.S.Time) 3600 / s0 trunc s1 "02" $IntToStrEnh ":" $+ l0 l1 - 60 * trunc "02" $IntToStrEnh $+ "o " $+ (S.$.bus_time) {endif} {else} 0 (S.L.Home) 0 (S.L.INFO) 0 (S.L.CAM) 0 (S.L.time) 0 (S.L.options) 0 (S.L.non_WIFI) 0 (S.L.non_bettery) 0 (S.L.WIFI) 0 (S.L.bettery) 0 (S.L.volte) 0 (S.L.warning) 0 (S.$.bus_time) {endif} {end} {macro:jiujing} (L.L.jiujing) 0 = (L.L.elec_busbar_main) 1 = && {if} (T.L.jiujing_warning) {endif} {end} {trigger:CAM} (L.L.cp_CAM) ! (S.L.cp_CAM) s1 (T.L.AND_boop) {end} {trigger:OPT} (L.L.cp_OPT) ! (S.L.cp_OPT) s1 (T.L.AND_boop) {end} {trigger:INFO} (L.L.cp_INFO) ! (S.L.cp_INFO) s1 (T.L.AND_boop) {end} {trigger:LED} (L.L.cp_LED) ! (S.L.cp_LED) s1 {end} {trigger:IBIS_e} (L.L.cp_IBIS) ! (S.L.cp_IBIS) s1 {end} {trigger:KP} (L.L.cp_KP) ! (S.L.cp_KP) s1 {end} {macro:windows} (L.L.elec_busbar_main) 1 = (L.L.qidong) 17 > && {if} (L.L.cp_CAM) 0 > {if} 1 (S.L.cp_CAM_op) {else} 0 (S.L.cp_CAM_op) {endif} (L.L.cp_OPT) 0 > {if} 1 (S.L.cp_option) {else} 0 (S.L.cp_option) {endif} (L.L.cp_INFO) 0 > {if} 1 (S.L.cp_information) {else} 0 (S.L.cp_information) {endif} (L.L.cp_LED) 0 > {if} 1 (S.L.LED) {else} 0 (S.L.LED) {endif} (L.L.cp_IBIS) 0 > {if} 1 (S.L.cpdd_IBIS) {else} 0 (S.L.cpdd_IBIS) {endif} (L.L.cp_KP) 0 > {if} 1 (S.L.cp_KP_D) {else} 0 (S.L.cp_KP_D) {endif} {else} 0 (S.L.cp_CAM_op) (S.L.cp_option) (S.L.cp_information) (S.L.LED) (S.L.cpdd_IBIS) (S.L.cp_KP_D) {endif} {end} {macro:vdo} (L.L.elec_busbar_main) 1 = (L.L.cp_CAM_op) 1 = && {if} (L.L.video0) 1 = {if} 1 (S.L.vdo0) 0 (S.L.vdo1) (S.L.vdo2) (S.L.vdo3) (S.L.vdo4) {else} (L.L.video1) 1 = {if} 1 (S.L.vdo1) 0 (S.L.vdo0) (S.L.vdo2) (S.L.vdo3) (S.L.vdo4) {else} (L.L.video2) 1 = {if} 1 (S.L.vdo2) 0 (S.L.vdo0) (S.L.vdo1) (S.L.vdo3) (S.L.vdo4) {else} (L.L.video3) 1 = {if} 1 (S.L.vdo3) 0 (S.L.vdo1) (S.L.vdo2) (S.L.vdo0) (S.L.vdo4) {else} (L.L.video4) 1 = {if} 1 (S.L.vdo4) 0 (S.L.vdo1) (S.L.vdo2) (S.L.vdo3) (S.L.vdo0) {endif} {endif} {endif} {endif} {endif} {else} 0 (S.L.vdo0) (S.L.vdo1) (S.L.vdo2) (S.L.vdo3) {endif} {end} {macro:elec_Mir} (L.L.elec_busbar_main) 1 = (L.L.qidong) 16 > && {if} (L.L.lights_sw_blinker) 1 = {if} "LEFT" (S.$.elec_Mir) 1 (S.L.Mir_L) (S.L.Mir_font) 0 (S.L.Mir_R) {else} 0 (S.L.Mir_L) (S.L.Mir_font) "RIGHT" (S.$.elec_Mir) {endif} (L.L.lights_sw_blinker) 2 = {if} "RIGHT" (S.$.elec_Mir) 1 (S.L.Mir_R) (S.L.Mir_font) 0 (S.L.Mir_L) {else} 0 (S.L.Mir_R) (S.L.Mir_font) "LEFT" (S.$.elec_Mir) {endif} {endif} {end} {macro:BUS_info} (L.L.cp_information) 1 = (L.L.elec_busbar_main) 1 = && {if} 1 (S.L.MENU) (S.L.MENU_A) "..\\texture\INFO\Main.png" (S.$.MENU) {else} 0 (S.L.MENU) (S.L.MENU_A) {endif} (L.L.Velocity) 30 > {if} "..\\texture\INFO\Main_0.png" (S.$.MENU) {else} "..\\texture\INFO\Main.png" (S.$.MENU) {endif} {end} {macro:Normal_zhilingji} (L.L.elec_busbar_main) 1 = {if} 1 (S.L.S00) 0 (S.L.S1) (S.L.S2) (S.L.S3) (S.L.S5) (S.L.S6) (S.L.S0) (S.L.S4) {else} 0 (S.L.S1) (S.L.S2) (S.L.S3) (S.L.S5) (S.L.S6) (S.L.S0) (S.L.S4) (S.L.S00) {endif} (L.L.door_0) 1 = {if} 1 (S.L.S4) 0 (S.L.S1) (S.L.S2) (S.L.S3) (S.L.S5) (S.L.S6) (S.L.S0) (S.L.S00) {endif} (L.L.door_3) 1 = {if} 1 (S.L.S3) 0 (S.L.S1) (S.L.S2) (S.L.S4) (S.L.S5) (S.L.S6) (S.L.S0) (S.L.S00) {endif} (L.L.door_0) 1 = (L.L.door_3) 1 = && {if} 1 (S.L.S2) 0 (S.L.S1) (S.L.S4) (S.L.S3) (S.L.S5) (S.L.S6) (S.L.S0) (S.L.S00) {endif} (L.L.bremse_feststell_sw) 1 = {if} 1 (S.L.S1) 0 (S.L.S4) (S.L.S2) (S.L.S3) (S.L.S5) (S.L.S6) (S.L.S0) (S.L.S00) {endif} (L.L.bremse_feststell_sw) 1 = (L.L.door_0) 1 = && {if} 1 (S.L.S6) 0 (S.L.S1) (S.L.S2) (S.L.S3) (S.L.S5) (S.L.S4) (S.L.S0) (S.L.S00) {endif} (L.L.bremse_feststell_sw) 1 = (L.L.door_3) 1 = && {if} 1 (S.L.S5) 0 (S.L.S1) (S.L.S2) (S.L.S3) (S.L.S4) (S.L.S6) (S.L.S0) (S.L.S00) {endif} (L.L.bremse_feststell_sw) 1 = (L.L.door_3) 1 = && (L.L.door_0) 1 = && {if} 1 (S.L.S0) 0 (S.L.S1) (S.L.S2) (S.L.S3) (S.L.S5) (S.L.S6) (S.L.S4) (S.L.S00) {endif} {end} {macro:BUS_info_A} (L.L.elec_busbar_main) 1 = (L.L.MENU_A) 1 = && {if} (L.L.S1) 1 = {if} "..\\texture\INFO\S1.png" (S.$.MENU_A) {endif} (L.L.S6) 1 = {if} "..\\texture\INFO\S6.png" (S.$.MENU_A) {endif} (L.L.S5) 1 = {if} "..\\texture\INFO\S5.png" (S.$.MENU_A) {endif} (L.L.S2) 1 = {if} "..\\texture\INFO\S2.png" (S.$.MENU_A) {endif} (L.L.S4) 1 = {if} "..\\texture\INFO\S4.png" (S.$.MENU_A) {endif} (L.L.S3) 1 = {if} "..\\texture\INFO\S3.png" (S.$.MENU_A) {endif} (L.L.S0) 1 = {if} "..\\texture\INFO\S0.png" (S.$.MENU_A) {endif} (L.L.S00) 1 = {if} "..\\texture\INFO\S00.png" (S.$.MENU_A) {endif} {else} 0 (S.$.MENU) (S.$.MENU_A) "..\\texture\INFO\S00.png" (S.$.MENU_A) {endif} {end} {macro:cA} (L.L.elec_busbar_main) 1 = {if} (L.L.cp_information) 1 = {if} 0 (S.L.cp_CAM_op) (S.L.cpdd_IBIS) {endif} (L.L.cp_CAM_op) 1 = {if} 0 (S.L.MENU) (S.L.MENU_A) (S.L.cp_information) (S.L.cpdd_IBIS) {endif} (L.L.cpdd_IBIS) 1 = {if} 0 (S.L.MENU) (S.L.MENU_A) (S.L.cp_information) (S.L.cp_CAM_op) {endif} {end} {macro:LED} (L.L.elec_busbar_main) 1 = (L.L.cp_LED) 1 = && {if} 1 (S.L.LLED) {else} 0 (S.L.LLED) {endif} {end}