[SUPPORTTHREAD] IVU.ticket.box CE70 mobil
-
- Fahrzeug
- IREgio612
Als Gast kannst du nur Inhalte in deiner ausgewählten Sprache sehen. Registrierte Nutzer können die Sichtbarkeit anderer Sprachen in ihrem Kontrollzentrum aktivieren, weitere Infos hier.
Alle Themen sind in den Foren mit einer Sprachflagge gekennzeichnet:
-
-
-
Was brauchst du denn? Was kann man dir Erklären?
-
-
-
-
Kansst du die Hof-Datei mal bitte wieder reinposten, ich finde sie nicht.
In meiner Hofdatei sind die ganz unten, gaaanz unten eingetragen. So, wie beschrieben.
Aber hast du das auch so gemacht wie in dem Handbuch beschrieben? Weil dann müsste es ja klappen oder nicht?
-
Ich schicke sie morgen nochmals rein. Aber ich habe eigentlich alles reingeschrieben, wie gewünscht. Aber angeblich ja nicht, sonst würde es ja wie gesagt funktionierten.
-
Das war dein Screenshot Browneyeman. Soweit alles richtig. Dann hatte ich mir deine Hofdatei heruntergeladen, da waren dann aber keine Haltestellen mehr drin...
-
Hallo,
es scheint ja so, als wäre die IVU standardmäßig nicht mit der K++ Matrix kompatibel. Gibt es da eine Möglichkeit die zu verknüpfen? Vielleicht sogar für Leute, die beim Einbau eines IVUs schon ihre Grenzen näher kommen sehen
? Ist sehr nervig immer neben dem Drucker nochmal über das Hartz-IV-Menu schildern zu müssen…
Danke sehr LG
-
kann ich jetzt gar nicht bestätigen. Sowohl mein Citaro Facelift, als auch der S41x erfreuen sich bester Gesundheit und schildern auf der K++.
-
Hatte hier das da gesehen und dadurch dass es bei mir ebenso nicht ging habe ich mal dran geglaubt: DUS Urbino IVU Matrix schildert nicht
-
was für einen Bus hast denn du gerade? Vielleicht ist das Problem ein unvollständiger / falscher Einbau, weil man noch eine Kleinigkeit beachten muss, die zwischen IBIS und EvendPC anders ist?
Ich habe gestern Abend die IVU in den Intouro eingebaut und gerade eben die K++, soweit ohne Probleme.
Was ich beachten musste, waren Türvariablen in der varlist nachtragen, weil in der IVU von door_5 die Rede ist, die der Intouro erstmal nicht kennt & dass ich die IVU Macros in der Main vor der Matrix habe & dass ich die Scroll-Funktion clean nicht einbaue.
-
Das war dein Screenshot Browneyeman. Soweit alles richtig. Dann hatte ich mir deine Hofdatei heruntergeladen, da waren dann aber keine Haltestellen mehr drin...
Hä? Da müssen aber welche drinnen sein...also diese Ziffern, die auf der rechten Seite stehen.
-
was für einen Bus hast denn du gerade? Vielleicht ist das Problem ein unvollständiger / falscher Einbau, weil man noch eine Kleinigkeit beachten muss, die zwischen IBIS und EvendPC anders ist?
Ich habe gestern Abend die IVU in den Intouro eingebaut und gerade eben die K++, soweit ohne Probleme.
Was ich beachten musste, waren Türvariablen in der varlist nachtragen, weil in der IVU von door_5 die Rede ist, die der Intouro erstmal nicht kennt & dass ich die IVU Macros in der Main vor der Matrix habe & dass ich die Scroll-Funktion clean nicht einbaue.
In den Citaro V2. Habe die Log mal durchsucht, da steht aber rein gar nichts was damit in Verbindung kommt drin, nichts "ungültiger Makroname" oder sonst was, nur so Errors wie missing texture Fenster.tga oder sowas irrelevantes, aber das kann ja nicht die Ursache sein, immerhin schildert es ja via Menu
-
der hat ja auch den Faremaster drin, wie der Intouro. Bei mir gibt das immer Error J3 Calculate, wenn ich IVU init und IVU frame in der main.osc nach Matrix init und frame stehen habe.
Lösche in der main.osc fare und IBIS, init und frame jeweils, und platziere IVU init und frame jeweils oberhalb von den Matrix init und frame Einträgen
Edit: Andere Idee, vielleicht gibt der Faremaster eigentlich andere Daten aus, und die K++ Scripte sind darauf angepasst? Wenn du mal versuchst, die K++ Scripte auszutauschen? Sowas gab es ja oft, wenn man eine K++ in Hamburger Busse eingebaut hat.
-
der hat ja auch den Faremaster drin, wie der Intouro. Bei mir gibt das immer Error J3 Calculate, wenn ich IVU init und IVU frame in der main.osc nach Matrix init und frame stehen habe.
Lösche in der main.osc fare und IBIS, init und frame jeweils, und platziere IVU init und frame jeweils oberhalb von den Matrix init und frame Einträgen
Edit: Andere Idee, vielleicht gibt der Faremaster eigentlich andere Daten aus, und die K++ Scripte sind darauf angepasst? Wenn du mal versuchst, die K++ Scripte auszutauschen? Sowas gab es ja oft, wenn man eine K++ in Hamburger Busse eingebaut hat.
Code
Alles anzeigen271 21:32:07 - - Warning: File vehicles\C2-Fam_Vol-1\model\model_O530Fl_UE_K++.cfg: texture filename UE_EF_01white_FL.tga not found in mesh file vehicles\C2-Fam_Vol-1\model\WEB_07039\Aussenschwenk\Tuer.x! 272 21:32:07 - - Warning: File vehicles\C2-Fam_Vol-1\model\model_O530Fl_UE_K++.cfg: texture filename UE_EF_01white_FL.tga not found in mesh file vehicles\C2-Fam_Vol-1\model\12m_UE_EF\Aussenschwenk\Tuer_HV.o3d! 273 21:32:07 - - Warning: File vehicles\C2-Fam_Vol-1\model\model_O530Fl_UE_K++.cfg: texture filename UE_EF_01white_FL.tga not found in mesh file vehicles\C2-Fam_Vol-1\model\12m_UE_EF\Aussenschwenk\Tuer_HH.o3d! 274 21:32:07 - - Warning: Did not find texture file "int_floor_12m_2d.dds"! 275 21:32:07 - - Warning: Did not find texture file "int_floor_12m_2d.dds"! 276 21:32:08 - - Warning: File vehicles\C2-Fam_Vol-1\model\model_O530Fl_UE_K++.cfg: texture filename Besen.png not found in mesh file vehicles\C2-Fam_Vol-1\model\WEB_07039\Interior1A.x! 277 21:32:08 - - Warning: File vehicles\C2-Fam_Vol-1\model\model_O530Fl_UE_K++.cfg: texture filename 25.jpg not found in mesh file vehicles\C2-Fam_Vol-1\model\WEB_07039\Interior1A.x! 278 21:32:10 - - Warning: File vehicles\C2-Fam_Vol-1\model\model_O530Fl_UE_K++.cfg: texture filename Radbesen\Besen.png not found in mesh file vehicles\C2-Fam_Vol-1\model\Besen.o3d! 279 21:32:12 - - Warning: File vehicles\C2-Fam_Vol-1\model\model_O530Fl_UE_K++.cfg: texture filename 06.png not found in mesh file vehicles\C2-Fam_Vol-1\model\Dashboard\VDV\Panel.o3d! 280 21:32:12 - - Warning: Did not find texture file "voith_gangwahl.bmp"! 281 21:32:12 - - Warning: Did not find texture file "voith_gangwahl.bmp"! 282 21:32:12 - - Warning: Did not find texture file "voith_gangwahl.bmp"! 283 21:32:15 - - Warning: File vehicles\C2-Fam_Vol-1\model\model_O530Fl_UE_K++.cfg: texture filename fenster_tint.tga not found in mesh file vehicles\C2-Fam_Vol-1\model\WEB_07039\Fenster_ext_v.x! 284 21:32:15 - - Warning: File vehicles\C2-Fam_Vol-1\model\model_O530Fl_UE_K++.cfg: texture filename fenster_tint.tga not found in mesh file vehicles\C2-Fam_Vol-1\model\WEB_07039\Fenster_ext_h.x! 285 21:32:15 - - Warning: File vehicles\C2-Fam_Vol-1\model\model_O530Fl_UE_K++.cfg: texture filename UE_EF_01white_FL.tga not found in mesh file vehicles\C2-Fam_Vol-1\model\12m\fenster_front_ext.o3d! 286 21:32:15 - - Warning: File vehicles\C2-Fam_Vol-1\model\model_O530Fl_UE_K++.cfg: texture filename Fenster.tga not found in mesh file vehicles\C2-Fam_Vol-1\model\12m_UE_EF\Aussenschwenk\Tuerfenst_V.o3d! 287 21:32:15 - - Warning: File vehicles\C2-Fam_Vol-1\model\model_O530Fl_UE_K++.cfg: texture filename Fenster.tga not found in mesh file vehicles\C2-Fam_Vol-1\model\12m_UE_EF\Aussenschwenk\Tuerfenst_HV.o3d! 288 21:32:15 - - Warning: File vehicles\C2-Fam_Vol-1\model\model_O530Fl_UE_K++.cfg: texture filename Fenster.tga not found in mesh file vehicles\C2-Fam_Vol-1\model\12m_UE_EF\Aussenschwenk\Tuerfenst_HH.o3d! 289 21:32:44 - - Warning: Soundfile vehicles\C2-Fam_Vol-1\sound-citaro\ZF-AV132_75kmh.wav does not exist! 290 21:37:58 - - Information: Menu pos set 291 21:38:01 - - Information: Deativating TIR... 292 21:38:01 - - Information: TIR was not available 293 21:38:02 - - Information: Closing actual map...
PS: Der o530 ist im C2 Ordner für BBS, also einfach ignorieren
Habe ich gemacht, leider schildert der Bus trotzdem nicht. Error schein es auch nichts vom Script zu geben...
Teil der Main-Datei:
Code
Alles anzeigen{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.IVU_Ticketbox_init) (M.L.Matrix_init) (M.L.Collision_Init) (M.L.VDV_init) (M.L.DTCO_init) {end} {frame} (M.L.Engine_Frame) (M.L.IVU_Ticketbox_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.Auspuff_Frame) (M.L.bremse_frame) (M.L.klappern_frame) (M.L.FF_frame) (M.L.rain_frame) (M.L.dirt_frame) (M.L.sound_volume_frame) (M.L.heizung_frame) (M.L.Matrix_frame) (M.L.wimpel_frame) (M.L.cashdesk_frame) (M.L.VDV_frame) (M.L.Innenanz_Ruhr_frame) (M.L.DTCO_frame) 1 (S.L.Daueranimation)
Hier noch die Dateien der Matrix, vielleicht erkennst du ja etwas "angepasstes" oder so findest
Code: constfile
Alles anzeigen[const] Matrix_Width 230 [const] Matrix_Height 32 [const] Matrix_HxW 7360 [const] Matrix_PixelFactor 4 Pixel refresh speed range: 1 (slowest) to 7 (fastest) Speed 2 is closest to default Krueger matrix speed (about 5% faster) NB Higher speeds may cause stutters; adjust speed according to your computer's performance [const] Matrix_PixelRefreshSpeed 2 [const] Matrix_Baujahr 2007 Pixel failure rate: now possible to use 0 to disable failing pixels [const] Matrix_Fehlerpixel_pro_Jahr 0 In all-upper-case depot files, automatically render all letters except the first in a word in lower case, but only if the Ziel number is less than 14900 [const] Matrix_AutoCapitalize 0 WARNING: The script code is optimized for value 1 only for the Krueger++ LED variant. There will be a big performance penalty if this is changed to 0! [const] Matrix_HideScrollingAnimation 0 [const] Matrix_LED 1 [const] Matrix_LEDMonochrome 1 For the best performance and brightest displays, use only hues 30, 120, 210 or 300, or use white (saturation 0) [const] Matrix_LEDHue 30 [const] Matrix_LEDSaturation 1 [const] Matrix_LEDBrightness 1 [const] Matrix_LEDBGHue 0 [const] Matrix_LEDBGSaturation 0 [const] Matrix_LEDBGBrightness 0 The following hue, saturation and brightness values are not used for the monochromatic display [const] Matrix_L1Hue -1 [const] Matrix_L1Saturation -1 [const] Matrix_L1Brightness -1 [const] Matrix_L2Hue -1 [const] Matrix_L2Saturation -1 [const] Matrix_L2Brightness -1 [const] Matrix_L3Hue -1 [const] Matrix_L3Saturation -1 [const] Matrix_L3Brightness -1 [const] Matrix_IconHue -1 [const] Matrix_IconSaturation -1 [const] Matrix_IconBrightness -1 [const] Matrix_NrHue -1 [const] Matrix_NrSaturation -1 [const] Matrix_NrBrightness -1 [const] Matrix_L1BGHue -1 [const] Matrix_L1BGSaturation -1 [const] Matrix_L1BGBrightness -1 [const] Matrix_L2BGHue -1 [const] Matrix_L2BGSaturation -1 [const] Matrix_L2BGBrightness -1 [const] Matrix_L3BGHue -1 [const] Matrix_L3BGSaturation -1 [const] Matrix_L3BGBrightness -1 [const] Matrix_IconBGHue -1 [const] Matrix_IconBGSaturation -1 [const] Matrix_IconBGBrightness -1 [const] Matrix_NrBGHue -1 [const] Matrix_NrBGSaturation -1 [const] Matrix_NrBGBrightness -1 [const] Matrix_NrRightAlign 0 [const] Matrix_NrFrontMinWidth 30 [const] Matrix_NrFrontMaxWidth 70 [const] Matrix_NrSideMaxWidth 50 [const] Matrix_ZielSideStartX 60 [const] Matrix_TerminusChangeSound 0 [const] Matrix_UseExtraIBISSuffixes 0 [const] Matrix_UseSmallNrSuffix 1 Approximate time (seconds) between the end of the animation for displaying one page and start of that of the next [const] Matrix_PageDuration 1.202056903159594285 [newcurve] Matrix_HueLayer030 [pnt] -60 0 [pnt] 30 255 [pnt] 120 0 [pnt] 300 0 [pnt] 390 255 [newcurve] Matrix_HueLayer120 [pnt] 30 0 [pnt] 120 255 [pnt] 210 0 [newcurve] Matrix_HueLayer210 [pnt] 120 0 [pnt] 210 255 [pnt] 300 0 [newcurve] Matrix_HueLayer300 [pnt] -60 255 [pnt] 30 0 [pnt] 210 0 [pnt] 300 255 [pnt] 390 0
Code: stringvarlist
Alles anzeigenMatrix_Linelist Matrix_Liniennummerstring Matrix_Nr Matrix_NrDisplayed Matrix_NrSpecified Matrix_TerminusL1 Matrix_TerminusL2 Matrix_TerminusL3 Matrix_Bitmapfilename Matrix_SchildFrnt Matrix_Seitenschild Matrix_Nr_Nummer Matrix_Nr_Suffix Matrix_Icon Matrix_CapStr Matrix_InputLine Matrix_Temp0 Matrix_Temp1 Haltestelle
Code: varlist
Alles anzeigenMatrix_BusMode Matrix_Invert Matrix_IsDrawing Matrix_IBISNrMode Matrix_PageDuration Matrix_PixelRefreshSpeed Matrix_Power Matrix_Timer Matrix_Clock Matrix_TerminusIndex_Last Matrix_TerminusAct Matrix_TerminusMaxLength Matrix_Nr_Last Matrix_Xpos Matrix_Ypos Matrix_RefreshCursor Matrix_Testcolor Matrix_Fehlerpixel Matrix_FontCond1 Matrix_FontCond2 Matrix_FontCond3 Matrix_FontCond4 Matrix_FontCond5 Matrix_FontSels Matrix_FontSel1 Matrix_FontSel2 Matrix_FontSel3 Matrix_FontSel4 Matrix_FontSel5 Matrix_FontSel6 Matrix_FontYPos1 Matrix_FontYPos2 Matrix_FontYPos3 Matrix_FontYPos4 Matrix_FontYPos5 Matrix_FontYPos6 Matrix_BmpFullColour Matrix_CmdCount Matrix_IconBGHue Matrix_IconBGSaturation Matrix_IconBGBrightness Matrix_IconBrightness Matrix_IconHue Matrix_IconInvert Matrix_IconPixelLength Matrix_IconSaturation Matrix_IconXpos Matrix_HideScrollingAnimation Matrix_NrBGHue Matrix_NrBGSaturation Matrix_NrBGBrightness Matrix_NrBrightness Matrix_NrDisabled Matrix_NrForceLargeFont Matrix_NrPixelLength Matrix_NrHue Matrix_NrInvert Matrix_NrMaxStdGlyphWidth Matrix_NrRightAlign Matrix_NrSaturation Matrix_NrYpos Matrix_FrontTerminusXpos Matrix_LargeFontYpos Matrix_LED Matrix_LEDCustomColourMatrix Matrix_LEDMonochrome Matrix_LEDHue Matrix_LEDSaturation Matrix_LEDBrightness Matrix_LEDBGHue Matrix_LEDBGSaturation Matrix_LEDBGBrightness Matrix_PixelBGHue Matrix_PixelBGSaturation Matrix_PixelBGBrightness Matrix_PixelHue Matrix_PixelSaturation Matrix_PixelBrightness Matrix_PixelR Matrix_PixelG Matrix_PixelB Matrix_Res Matrix_SpecifyNr Matrix_UseCustomIcon Matrix_TerminusXpos Matrix_TerminusXLimit Matrix_Wait Matrix_L1BGHue Matrix_L1BGSaturation Matrix_L1BGBrightness Matrix_L1Bold Matrix_L1Brightness Matrix_L1CEMode Matrix_L1HasDescender Matrix_L1HasDescenderCE Matrix_L1HasTallGlyphCE Matrix_L1Hue Matrix_L1Invert Matrix_L1Saturation Matrix_L1SmallFont Matrix_L1MaxStdGlyphWidth Matrix_L1Ypos Matrix_L2BGHue Matrix_L2BGSaturation Matrix_L2BGBrightness Matrix_L2Bold Matrix_L2Brightness Matrix_L2CEMode Matrix_L2HasDescender Matrix_L2HasTallGlyphCE Matrix_L2Hue Matrix_L2Invert Matrix_L2Saturation Matrix_L2SmallFont Matrix_L2MaxStdGlyphWidth Matrix_L2Ypos Matrix_L3BGHue Matrix_L3BGSaturation Matrix_L3BGBrightness Matrix_L3Bold Matrix_L3Brightness Matrix_L3CEMode Matrix_L3HasDescenderCE Matrix_L3Hue Matrix_L3Invert Matrix_L3MaxStdGlyphWidth Matrix_L3PixelLength Matrix_L3Saturation Matrix_L3XLimit Matrix_L3Ypos Matrix_UpperL1_Xmin Matrix_UpperL1_Xmax Matrix_UpperL2_Xmin Matrix_UpperL2_Xmax Matrix_UpperL3_Xmin Matrix_UpperL3_Xmax Matrix_UpperIcon_Xmin Matrix_UpperIcon_Xmax Matrix_LowerL1_Xmin Matrix_LowerL1_Xmax Matrix_LowerL2_Xmin Matrix_LowerL2_Xmax Matrix_LowerL3_Xmin Matrix_LowerL3_Xmax Matrix_LowerIcon_Xmin Matrix_LowerIcon_Xmax Matrix_L1_Ymin Matrix_L1_Ymax Matrix_L2_Ymin Matrix_L2_Ymax Matrix_L3_Ymin Matrix_L3_Ymax Matrix_Icon_Ymin Matrix_Icon_Ymax Matrix_IsInL1 Matrix_IsInL2 Matrix_IsInL3 Matrix_IsInIcon Matrix_IsInNr Font_5x3/10x5 Font_5x4/10x6B Font_5x5/10x8B Font_5x5/12x8B Font_7x3/14x6 Font_7x4/14x8B Font_7x5/14x8B Font_7x6B/14x10H Font_8x3/14x6 Font_8x4/14x8B Font_8x5/14x8B Font_8x6B/14x10H Font_(8-1)x3/14x6 Font_(8-1)x4/14x8B Font_(8-1)x5/14x8B Font_(8-1)x6B/14x10H Font_10x3/18x7 Font_10x4/18x8 Font_10x5/18x10 Font_10x6B/18x10B Font_10x6B/18x12B Font_15x4/18x8 Font_15x4/32x8 Font_16x5/18x10 Font_16x5/32x10 Font_16x6/18x12B Font_16x6/32x14 Font_16x6B/32x10B Font_16x7B/32x12B Font_16x8B/32x16B Font_Aux_1 Font_Aux_2 Font_Chrono Font_Icon Font_Nr_16x4/20x9 Font_Nr_16x5/20x9 Font_Nr_16x6/26x11 Font_Nr_16x7/30x16 Font_Nr_16x8/32x16 Font_Nr_16x11/32x24 Font_CustomIcon Font_CustomNr1 Font_CustomNr2 Font_CustomNr3 Font_CustomNr4 Font_CustomNr5 Font_Custom1-1 Font_Custom1-2 Font_Custom1-3 Font_Custom1-4 Font_Custom1-5 Font_Custom2-1 Font_Custom2-2 Font_Custom2-3 Font_Custom2-4 Font_Custom2-5 Font_Custom1Ypos Font_Custom2Ypos Font_CustomNrYpos Font_CustomMode Matrix_Temp0 Matrix_Temp1 Matrix_Temp2 Matrix_Temp3 Matrix_Temp4 Matrix_Temp5 Matrix_Temp6 matrix_steckschild_index matrix_steckschild_Termindex matrix_steckschild_vis matrix_seitenschildklemme matrix_seitenschild_refresh matrix_refresh_seitenschild
-
wenn, dann wäre das eher in der Vmatrix.osc zu finden, da bin ich im Scripten aber zu schlecht, etwas zu erkennnen.
Was ich nur sehe, dass der wohl gut gemeinte Ratschlag ignoriert wurde, aber das dürfte an sich nichts ausmachen.
WARNING: The script code is optimized for value 1 only for the Krueger++ LED variant.
There will be a big performance penalty if this is changed to 0!
[const]
Matrix_HideScrollingAnimation
0Äußerst misteriös. IREgio612 du irgendwelche Ideen?
-
Es gibt genau drei Variablen, welche Daten an das Matrixscript weiterleiten:
IBIS_Linie_Suffix enthält denselben Wert wie die IVU-eigene Variable "IVU_Suffix",
IBIS_Linie_Complex enthält die typische IBIS-Eingabe Linie+Suffix (bspw. 3200) und
IBIS_TerminusIndex enthält die ID des eingegeben Ziels ("IVU_eingegebenes_Ziel") bzw. sucht diese aus dem Code Linie+Route (bspw. 3205) heraus.
Ich weiß nicht mit was die Krüger++ Matrix arbeitet, weil ich die so gut wie nie verwende.
Aber alles andere in meinem IVU-Script ist nur für die eigene Berechnung notwendig. Einzig und allein die o.g. drei Variablen geben die benötigten Daten an das Matrixscript weiter.
-
Versuche mal Folgendes in der Main zu ändern:
Code
Alles anzeigen{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.IVU_Ticketbox_init) (M.L.Matrix_init) (M.L.Collision_Init) (M.L.VDV_init) (M.L.DTCO_init) {end} {frame} (M.L.Engine_Frame) (M.L.IVU_Ticketbox_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.Auspuff_Frame) (M.L.bremse_frame) (M.L.klappern_frame) (M.L.FF_frame) (M.L.rain_frame) (M.L.dirt_frame) (M.L.sound_volume_frame) (M.L.heizung_frame) (M.L.Matrix_frame) (M.L.wimpel_frame) (M.L.cashdesk_frame) (M.L.VDV_frame) (M.L.Innenanz_Ruhr_frame) (M.L.DTCO_frame) 1 (S.L.Daueranimation)
zu:
Code
Alles anzeigen{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.Collision_Init) (M.L.VDV_init) (M.L.DTCO_init) (M.L.IVU_Ticketbox_init) {end} {frame} 1 (S.L.Daueranimation) (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.Auspuff_Frame) (M.L.bremse_frame) (M.L.klappern_frame) (M.L.FF_frame) (M.L.rain_frame) (M.L.dirt_frame) (M.L.sound_volume_frame) (M.L.heizung_frame) (M.L.Matrix_frame) (M.L.wimpel_frame) (M.L.cashdesk_frame) (M.L.VDV_frame) (M.L.Innenanz_Ruhr_frame) (M.L.DTCO_frame) (M.L.IVU_Ticketbox_frame)
vlt ist dass die Lösung, da ich das nur so kenne, dass man wenn man was in der Main ändern soll, dass das ans ende kommt. Kannst ja mal versuchen und dich dann melden
-
Es gibt genau drei Variablen, welche Daten an das Matrixscript weiterleiten:
IBIS_Linie_Suffix enthält denselben Wert wie die IVU-eigene Variable "IVU_Suffix",
IBIS_Linie_Complex enthält die typische IBIS-Eingabe Linie+Suffix (bspw. 3200) und
IBIS_TerminusIndex enthält die ID des eingegeben Ziels ("IVU_eingegebenes_Ziel") bzw. sucht diese aus dem Code Linie+Route (bspw. 3205) heraus.
Ich weiß nicht mit was die Krüger++ Matrix arbeitet, weil ich die so gut wie nie verwende.
Aber alles andere in meinem IVU-Script ist nur für die eigene Berechnung notwendig. Einzig und allein die o.g. drei Variablen geben die benötigten Daten an das Matrixscript weiter.
In Zeile 98 steht glaube ich die Variable für das Ziel. Wie kann ich diese umändern zu eine der 3 passenden Variablen? Im Matrixscript? Etwas in der IVU?
(ist etwas gekürzt am Ende weil es zu lang war zum Versenden)
Code
Alles anzeigen'############## 'Matrix Script '############## 'Simulates 90s style Full Matrix Line and Terminus Display (Type AEG Krüger) '(c) 17.09.2013 Marcel Kuhnt 'Script Version: 1.0 'Omsi release: 2.0 'Needs: '- Cockpit (Batterietrennschalter) '- IBIS 'NrSpecRandom Seed Area: '971: Anzahl der Fehlerpixel pro Jahr '############################################# 'chura-Krüger (Krüger+) matrix mod '0.6 "Coloratura" '############################################# ' This is a modification of the original AEG Krüger matrix script in OMSI 2. ' The original script is copyrighted by Marcel Kuhnt. ' The modified portions of this script are released under CC0 1.0 Universal. ' See http://creativecommons.org/publicdomain/zero/1.0/ for details. ' For further information, consult the readme for the chura-Krüger matrix mod. 'Revision History: '- Marcel Kuhnt 29.09.2012 Created from scratch '- Marcel Kuhnt 17.09.2013 Steckschilder für ausgewählte Ziele '- Marcel Kuhnt 17.09.2013 Seitenschild '- Marcel Kuhnt 13.10.2013 Neuer Seitenschildpfad '- Marcel Kuhnt 20.12.2013 Bugfix: Steckschild-Init '- 0.5 23.03.2014 Krüger+ mod 0.5 "Sunflower" '- 0.5 + eps 23.03.2014 School icon in route number fixed '- 0.6 - eps 24.06.2014 Release 0.6: LED 230×32 matrix option '- 0.6 - eps/4 30.06.2014 Change in AI display scrolling speed '- 0.6 11.07.2014 Enhanced some commands and colour accuracy '------------------------------------------------------------------------------------------ {macro:Matrix_init} -1 (S.L.Matrix_RefreshCursor) (L.S.Year) (C.L.Matrix_Baujahr) - 0.01 max (C.L.Matrix_Fehlerpixel_pro_Jahr) * 971 (M.V.NrSpecRandom) 1 + * (S.L.Matrix_Fehlerpixel) -1 (S.L.matrix_steckschild_Termindex) 0 (S.L.matrix_steckschild_vis) (L.L.Matrix_TerminusXLimit) ! {if} (C.L.Matrix_Width) (S.L.Matrix_TerminusXLimit) (C.L.Matrix_NrRightAlign) (S.L.Matrix_NrRightAlign) {endif} (C.L.Matrix_UseExtraIBISSuffixes) {if} (S.L.Matrix_IBISNrMode) {endif} 8 (C.L.Matrix_PixelFactor) / (S.L.Matrix_Res) (L.L.Matrix_NrMaxStdGlyphWidth) ! {if} 15 (L.L.Matrix_Res) * 6 - (S.L.Matrix_NrMaxStdGlyphWidth) {endif} (C.L.Matrix_PixelRefreshSpeed) (S.L.Matrix_PixelRefreshSpeed) (C.L.Matrix_PageDuration) (S.L.Matrix_PageDuration) (C.L.Matrix_LEDHue) (S.L.Matrix_LEDHue) (C.L.Matrix_LEDSaturation) (S.L.Matrix_LEDSaturation) (C.L.Matrix_LEDBrightness) (S.L.Matrix_LEDBrightness) (C.L.Matrix_LEDBGHue) (S.L.Matrix_LEDBGHue) (C.L.Matrix_LEDBGSaturation) (S.L.Matrix_LEDBGSaturation) (C.L.Matrix_LEDBGBrightness) (S.L.Matrix_LEDBGBrightness) (C.L.Matrix_LED) (S.L.Matrix_LED) {if} (C.L.Matrix_LEDMonochrome) (S.L.Matrix_LEDMonochrome) (M.L.Matrix_LEDResetColours) {else} 0 (S.L.Matrix_LEDMonochrome) {endif} {end} {trigger:ai_scheduled_settarget} (M.L.Vollmatrix-AI-Setting) {end} {macro:Vollmatrix-AI-Setting} 'Stromversorgung herstellen: 1 (S.L.elec_busbar_main_sw) 1.0 (S.L.elec_V_battery) 'Hier wird die Nummer eingestellt: (L.$.SetLineTo) (S.$.Matrix_Nr) (S.$.Matrix_Liniennummerstring) 'Hier wird das Ziel eingestellt: 1 (S.L.elec_busbar_main_sw) (L.L.AI_target_index) s0 (M.V.GetTerminusCode) s1 'Wenn der Terminus-Code größer als 1000 ist, dann bitte Steckschild verwenden: 1000 > l0 6 (M.V.GetTerminusString) "" $= ! && {if} l1 1000 - (S.L.matrix_steckschild_index) l0 (S.L.matrix_steckschild_Termindex) 'Matrix auf 0: 0 (S.L.RBL_TerminusIndex) s2 {else} l0 (S.L.RBL_TerminusIndex) s2 l1 1000 % 15000 + (M.V.GetTerminusIndex) s3 0 >= {if} l3 (S.L.RBL_TerminusIndex) s2 {else} l1 20000 + (M.V.GetTerminusIndex) s3 0 >= {if} l3 (S.L.RBL_TerminusIndex) s2 {endif} {endif} -1 (S.L.matrix_steckschild_Termindex) -1 (S.L.Matrix_TerminusIndex_Last) (L.L.Matrix_Res) 1 = {if} 4 {else} 1 {endif} (S.L.Matrix_PixelRefreshSpeed) (L.L.Matrix_Res) 1 = {if} 0.75 {else} 0.25 {endif} 163 (M.V.NrSpecRandom) + (S.L.Matrix_PageDuration) 'Wenn der Bitmap-String in Verwendung ist, dann den als Integer interpretieren und Steckschild zusätzlich setzen: l0 6 (M.V.GetTerminusString) $StrToFloat s1 l1 1000 > {if} l1 1000 - (S.L.matrix_steckschild_index) l0 (S.L.matrix_steckschild_Termindex) {endif} {endif} (M.L.matrix_setsteckschild) l2 (M.V.GetTerminusCode) 1000 % (S.L.RBL_TerminusCode) 1 (S.L.matrix_refresh_seitenschild) {end} '******************************************* ' Trigger für Seitenschild {trigger:matrix_seitenschildklemme_drag} (L.S.mouse_y) -300 / (L.L.matrix_seitenschildklemme) + (S.L.matrix_seitenschildklemme) s0 l0 0 < {if} 0 (S.L.matrix_seitenschildklemme) {endif} l0 0.7 > {if} (L.L.matrix_seitenschild_refresh) 0 = {if} 1 (S.L.matrix_seitenschild_refresh) (T.L.ev_fahrertuer_auf) (L.$.Matrix_Seitenschild) "" $= {if} 1 (S.L.matrix_refresh_seitenschild) {else} "" (S.$.Matrix_Seitenschild) {endif} {endif} {endif} l0 1 > {if} 1 (S.L.matrix_seitenschildklemme) {endif} {end} {trigger:matrix_seitenschildklemme_off} (L.L.matrix_seitenschildklemme) 0.3 > {if} (T.L.ev_fahrertuer_zu) {endif} 0 (S.L.matrix_seitenschildklemme) (S.L.matrix_seitenschild_refresh) {end} '******************************************* ' Trigger für Steckschild {trigger:bus_matrix_change_steckschild} (L.L.matrix_steckschild_index) 1 + (S.L.matrix_steckschild_index) 1000 + (M.V.GetTerminusIndex) (S.L.matrix_steckschild_Termindex) (M.L.matrix_setsteckschild) (M.L.matrix_refreshIntIndex) {end} {macro:matrix_setsteckschild} (L.L.matrix_steckschild_Termindex) s0 0 >= {if} l0 6 (M.V.GetTerminusString) (S.$.Matrix_SchildFrnt) 1 $SetLengthL $StrToFloat 1 max (S.L.matrix_steckschild_vis) "..\..\Anzeigen\SteckSchilder\" (L.$.Matrix_SchildFrnt) $+ (S.$.Matrix_SchildFrnt) {else} 0 (S.L.matrix_steckschild_index) (S.L.matrix_steckschild_vis) "" (S.$.Matrix_SchildFrnt) {endif} {end} {macro:Matrix_frame} (L.L.RBL_LinieSuffix) (S.L.IBIS_Linie_Complex) '******************************+ ' Terminus-Matrix '******************************+ (L.L.Matrix_Res) 1 = {if} "churafont Majuscule 5x3" (M.V.GetFontIndex) (S.L.Font_5x3/10x5) "churafont Majuscule 5x4" (M.V.GetFontIndex) (S.L.Font_5x4/10x6B) "churafont Majuscule 5x5" (M.V.GetFontIndex) (S.L.Font_5x5/10x8B) (S.L.Font_5x5/12x8B) "churafont 7x3" (M.V.GetFontIndex) (S.L.Font_7x3/14x6) "churafont 7x4" (M.V.GetFontIndex) (S.L.Font_7x4/14x8B) "churafont 7x5" (M.V.GetFontIndex) (S.L.Font_7x5/14x8B) "churafont Bold 7x6" (M.V.GetFontIndex) (S.L.Font_7x6B/14x10H) "churafont CE 8x3" (M.V.GetFontIndex) (S.L.Font_8x3/14x6) "churafont CE 8x4" (M.V.GetFontIndex) (S.L.Font_8x4/14x8B) "churafont CE 8x5" (M.V.GetFontIndex) (S.L.Font_8x5/14x8B) "churafont CE Bold 8x6" (M.V.GetFontIndex) (S.L.Font_8x6B/14x10H) "churafont CE (8-1)x3" (M.V.GetFontIndex) (S.L.Font_(8-1)x3/14x6) "churafont CE (8-1)x4" (M.V.GetFontIndex) (S.L.Font_(8-1)x4/14x8B) "churafont CE (8-1)x5" (M.V.GetFontIndex) (S.L.Font_(8-1)x5/14x8B) "churafont CE Bold (8-1)x6" (M.V.GetFontIndex) (S.L.Font_(8-1)x6B/14x10H) "churafont CE 10x3" (M.V.GetFontIndex) (S.L.Font_10x3/18x7) "churafont CE 10x4" (M.V.GetFontIndex) (S.L.Font_10x4/18x8) "churafont CE 10x5" (M.V.GetFontIndex) (S.L.Font_10x5/18x10) "churafont CE 10x6" (M.V.GetFontIndex) (S.L.Font_10x6B/18x12B) (S.L.Font_10x6B/18x10B) "churafont CE 15x4" (M.V.GetFontIndex) (S.L.Font_15x4/32x8) (S.L.Font_15x4/18x8) "churafont CE 16x5" (M.V.GetFontIndex) (S.L.Font_16x5/32x10) (S.L.Font_16x5/18x10) "churafont CE 16x6" (M.V.GetFontIndex) (S.L.Font_16x6/32x14) (S.L.Font_16x6/18x12B) "churafont CE 16x6" (M.V.GetFontIndex) (S.L.Font_16x6B/32x10B) "churafont CE 16x7" (M.V.GetFontIndex) (S.L.Font_16x7B/32x12B) "churafont CE 16x8" (M.V.GetFontIndex) (S.L.Font_16x8B/32x16B) "churafont Chrono 8x5" (M.V.GetFontIndex) (S.L.Font_Chrono) "churafont Numeric 16x4" (M.V.GetFontIndex) (S.L.Font_Nr_16x4/20x9) "churafont Numeric 16x5" (M.V.GetFontIndex) (S.L.Font_Nr_16x5/20x9) "churafont Numeric 16x6" (M.V.GetFontIndex) (S.L.Font_Nr_16x6/26x11) "churafont Numeric 16x7" (M.V.GetFontIndex) (S.L.Font_Nr_16x7/30x16) "churafont Numeric 16x8" (M.V.GetFontIndex) (S.L.Font_Nr_16x8/32x16) "churafont Numeric 16x11" (M.V.GetFontIndex) (S.L.Font_Nr_16x11/32x24) "churafont Pictogram 16" (M.V.GetFontIndex) (S.L.Font_Icon) {endif} (L.L.Matrix_Res) 2 = {if} "churafont++ 10x5" (M.V.GetFontIndex) (S.L.Font_5x3/10x5) "churafont++ 10x6 Bold" (M.V.GetFontIndex) (S.L.Font_5x4/10x6B) "churafont++ 10x8 Bold" (M.V.GetFontIndex) (S.L.Font_5x5/10x8B) "churafont++ 10x8 Bold" (M.V.GetFontIndex) (S.L.Font_5x5/12x8B) "churafont++ 14x8 Bold" (M.V.GetFontIndex) (S.L.Font_7x3/14x6) (S.L.Font_8x3/14x6) (S.L.Font_(8-1)x3/14x6) "churafont++ 14x10" (M.V.GetFontIndex) (S.L.Font_7x4/14x8B) (S.L.Font_8x4/14x8B) (S.L.Font_(8-1)x4/14x8B) "churafont++ 14x10 Heavy" (M.V.GetFontIndex) (S.L.Font_7x5/14x8B) (S.L.Font_8x5/14x8B) (S.L.Font_(8-1)x5/14x8B) "churafont++ 14x10 Heavy" (M.V.GetFontIndex) (S.L.Font_7x6B/14x10H) (S.L.Font_8x6B/14x10H) (S.L.Font_(8-1)x6B/14x10H) "churafont++ 18x7" (M.V.GetFontIndex) (S.L.Font_10x3/18x7) "churafont++ 18x8" (M.V.GetFontIndex) (S.L.Font_10x4/18x8) (S.L.Font_15x4/18x8) "churafont++ 18x10 Bold" (M.V.GetFontIndex) (S.L.Font_10x5/18x10) (S.L.Font_16x5/18x10) "churafont++ 18x10 Bold" (M.V.GetFontIndex) (S.L.Font_10x6B/18x10B) "churafont++ 18x12 Bold" (M.V.GetFontIndex) (S.L.Font_10x6B/18x12B) (S.L.Font_16x6/18x12B) "churafont++ 32x8 Bold" (M.V.GetFontIndex) (S.L.Font_15x4/32x8) "churafont++ 32x10 Heavy" (M.V.GetFontIndex) (S.L.Font_16x5/32x10) "churafont++ 32x14" (M.V.GetFontIndex) (S.L.Font_16x6/32x14) "churafont++ 32x10 Heavy" (M.V.GetFontIndex) (S.L.Font_16x6B/32x10B) "churafont++ 32x10 Heavy" (M.V.GetFontIndex) (S.L.Font_16x7B/32x12B) "churafont++ 32x14 Bold" (M.V.GetFontIndex) (S.L.Font_16x8B/32x16B) "churafont++ Chrono 16x8" (M.V.GetFontIndex) (S.L.Font_Chrono) "churafont++ Numeric 20x9" (M.V.GetFontIndex) (S.L.Font_Nr_16x4/20x9) (S.L.Font_Nr_16x5/20x9) "churafont++ Numeric 26x11 Bold" (M.V.GetFontIndex) (S.L.Font_Nr_16x6/26x11) "churafont++ Numeric 26x11 Bold" (M.V.GetFontIndex) (S.L.Font_Nr_16x7/30x16) "churafont++ Numeric 26x11 Bold" (M.V.GetFontIndex) (S.L.Font_Nr_16x8/32x16) "churafont++ Numeric 26x11 Bold" (M.V.GetFontIndex) (S.L.Font_Nr_16x11/32x24) "churafont++ Pictogram 32" (M.V.GetFontIndex) (S.L.Font_Icon) {endif} "churafont++ Auxiliary 1" (M.V.GetFontIndex) (S.L.Font_Aux_1) "churafont++ Auxiliary 2" (M.V.GetFontIndex) (S.L.Font_Aux_2) (C.L.Matrix_HideScrollingAnimation) (S.L.Matrix_HideScrollingAnimation) ' Custom fonts 0 (S.L.Font_Custom1Ypos) 0 (S.L.Font_Custom2Ypos) 0 (S.L.Font_CustomNrYpos) 14991 (M.V.GetTerminusIndex) s0 (L.L.Matrix_Res) 2 = s6 {if} 14996 (M.V.GetTerminusIndex) d -1 = ! {if} * s0 0 s6 {endif} {endif} l0 0 (M.V.GetTerminusString) (M.L.Matrix_ProcessCustomFontYpos) 0 (M.L.matrix_setFontC1Ypos) l6 {if} "++" $+ {endif} (M.V.GetFontIndex) (S.L.Font_Custom1-1) s1 l0 1 (M.V.GetTerminusString) (M.L.Matrix_ProcessCustomFontYpos) 1 (M.L.matrix_setFontC1Ypos) l6 {if} "++" $+ {endif} (M.V.GetFontIndex) 1 + 31416 * l1 1 + max 31415 % 1 - (S.L.Font_Custom1-2) s1 l0 2 (M.V.GetTerminusString) (M.L.Matrix_ProcessCustomFontYpos) 2 (M.L.matrix_setFontC1Ypos) l6 {if} "++" $+ {endif} (M.V.GetFontIndex) 1 + 92654 * l1 1 + max 92653 % 1 - (S.L.Font_Custom1-3) s1 l0 3 (M.V.GetTerminusString) (M.L.Matrix_ProcessCustomFontYpos) 3 (M.L.matrix_setFontC1Ypos) l6 {if} "++" $+ {endif} (M.V.GetFontIndex) 1 + 58980 * l1 1 + max 58979 % 1 - (S.L.Font_Custom1-4) s1 l0 4 (M.V.GetTerminusString) (M.L.Matrix_ProcessCustomFontYpos) 4 (M.L.matrix_setFontC1Ypos) l6 {if} "++" $+ {endif} (M.V.GetFontIndex) 1 + 32385 * l1 1 + max 32384 % 1 - (S.L.Font_Custom1-5) s1 14992 (M.V.GetTerminusIndex) s0 (L.L.Matrix_Res) 2 = s6 {if} 14997 (M.V.GetTerminusIndex) d -1 = ! {if} * s0 0 s6 {endif} {endif} l0 0 (M.V.GetTerminusString) (M.L.Matrix_ProcessCustomFontYpos) 0 (M.L.matrix_setFontC2Ypos) l6 {if} "++" $+ {endif} (M.V.GetFontIndex) (S.L.Font_Custom2-1) s1 l0 1 (M.V.GetTerminusString) (M.L.Matrix_ProcessCustomFontYpos) 1 (M.L.matrix_setFontC2Ypos) l6 {if} "++" $+ {endif} (M.V.GetFontIndex) 1 + 62644 * l1 1 + max 62643 % 1 - (S.L.Font_Custom2-2) s1 l0 2 (M.V.GetTerminusString) (M.L.Matrix_ProcessCustomFontYpos) 2 (M.L.matrix_setFontC2Ypos) l6 {if} "++" $+ {endif} (M.V.GetFontIndex) 1 + 38328 * l1 1 + max 38327 % 1 - (S.L.Font_Custom2-3) s1 l0 3 (M.V.GetTerminusString) (M.L.Matrix_ProcessCustomFontYpos) 3 (M.L.matrix_setFontC2Ypos) l6 {if} "++" $+ {endif} (M.V.GetFontIndex) 1 + 95029 * l1 1 + max 95028 % 1 - (S.L.Font_Custom2-4) s1 l0 4 (M.V.GetTerminusString) (M.L.Matrix_ProcessCustomFontYpos) 4 (M.L.matrix_setFontC2Ypos) l6 {if} "++" $+ {endif} (M.V.GetFontIndex) 1 + 84198 * l1 1 + max 84197 % 1 - (S.L.Font_Custom2-5) s1 14993 (M.V.GetTerminusIndex) s0 (L.L.Matrix_Res) 2 = s6 {if} 14998 (M.V.GetTerminusIndex) d -1 = ! {if} * s0 0 s6 {endif} {endif} l0 0 (M.V.GetTerminusString) (M.L.Matrix_ProcessCustomFontYpos) 0 (M.L.matrix_setFontNrYpos) l6 {if} "++" $+ {endif} (M.V.GetFontIndex) (S.L.Font_CustomNr1) s1 l0 1 (M.V.GetTerminusString) (M.L.Matrix_ProcessCustomFontYpos) 1 (M.L.matrix_setFontNrYpos) l6 {if} "++" $+ {endif} (M.V.GetFontIndex) 1 + 16940 * l1 1 + max 16939 % 1 - (S.L.Font_CustomNr2) s1 l0 2 (M.V.GetTerminusString) (M.L.Matrix_ProcessCustomFontYpos) 2 (M.L.matrix_setFontNrYpos) l6 {if} "++" $+ {endif} (M.V.GetFontIndex) 1 + 93752 * l1 1 + max 93751 % 1 - (S.L.Font_CustomNr3) s1 l0 3 (M.V.GetTerminusString) (M.L.Matrix_ProcessCustomFontYpos) 3 (M.L.matrix_setFontNrYpos) l6 {if} "++" $+ {endif} (M.V.GetFontIndex) 1 + 05821 * l1 1 + max 05820 % 1 - (S.L.Font_CustomNr4) s1 l0 4 (M.V.GetTerminusString) (M.L.Matrix_ProcessCustomFontYpos) 4 (M.L.matrix_setFontNrYpos) l6 {if} "++" $+ {endif} (M.V.GetFontIndex) 1 + 97495 * l1 1 + max 97494 % 1 - (S.L.Font_CustomNr5) s1 14994 (M.V.GetTerminusIndex) s0 (L.L.Matrix_Res) 2 = s6 {if} 14999 (M.V.GetTerminusIndex) d -1 = ! {if} * s0 0 s6 {endif} {endif} l0 0 (M.V.GetTerminusString) l6 {if} "++" $+ {endif} (M.V.GetFontIndex) (S.L.Font_CustomIcon) (L.L.Matrix_HideScrollingAnimation) (L.L.Matrix_LED) && {if} (L.L.Matrix_Power) -1 = {if} (M.L.Matrix_DrawingOn) (M.L.Matrix_DrawingOff) 0 (S.L.Matrix_Power) {endif} (L.L.elec_busbar_main) (L.L.Matrix_Power) 0 = && {if} 0 (S.L.Matrix_Nr_Last) 1 (S.L.Matrix_Power) {endif} (L.L.elec_busbar_main) (L.L.Matrix_Power) 2 = && {if} (M.L.Matrix_DrawingOn) (M.L.Matrix_DrawingOff) 1 (S.L.Matrix_Power) {endif} (L.L.elec_busbar_main) ! (L.L.Matrix_Power) 1 >= && {if} (M.L.Matrix_ClearMatrix) 0 (S.L.target_index_int) 0 (M.V.STNewTex) -1 (S.L.Matrix_Power) {endif} {endif} 'Erster Schritt: Linie erstellen: (L.L.IBIS_Linie_Complex) s0 (L.L.Matrix_Nr_Last) = ! || (L.L.elec_busbar_main) && {if} l0 0 = {if} 0 (S.L.RBL_Route) -1 (S.L.RBL_RouteIndex) 0 (S.L.RBL_TerminusCode) 0 (S.L.RBL_TerminusIndex) "" (S.$.IBIS_terminus_name) 0 (S.L.IBIS_busstop_index) "" (S.$.IBIS_cabindisplay) 0 (S.L.RBL_busstop) 0 (S.L.IBIS_busstop_entwerter_soll) 0 (S.L.IBIS_busstop_entwerter_ist) "" (S.$.act_busstop) "" (S.$.IBIS) "" (S.$.IBIS_busstop_name) 0 (S.L.IBIS_mode) "" (S.$.Haltestelle) {endif} (L.L.Matrix_SpecifyNr) 1 = {if} /-/ (S.L.Matrix_SpecifyNr) {endif} l0 100 / trunc s1 (L.L.RBL_LinieSuffix) s4 ' l0: Originalzahl; l1: erste drei Ziffern; l4: letzte zwei Ziffern ' Falls gleich 0, dann gar nix: l1 0 = {if} "" {else} ' Sonst die normale Nummer: l1 trunc $IntToStr {endif} ' =============================================================================== ' Falls jetzt die hinteren beiden Ziffern (l2) etwas Interessantes enthalten: ' =============================================================================== (L.L.Matrix_IBISNrMode) 2 = ! {if} (S.$.Matrix_Nr) (S.$.Matrix_Liniennummerstring) l4 1 = {if} "E" (L.$.Matrix_Nr) 2 $SetLengthR $RemoveSpaces $+ {endif} l4 2 = {if} "/^\" {endif} l4 3 = {if} "gh " {endif} l4 4 = {if} (L.$.Matrix_Nr) 2 $SetLengthR "N" $+ {endif} l4 5 = l4 24 = || {if} "S" (L.$.Matrix_Nr) 2 $SetLengthR $RemoveSpaces $+ {endif} l4 6 = {if} "A" (L.$.Matrix_Nr) 2 $SetLengthR $RemoveSpaces $+ {endif} l4 9 = {if} "E" (L.$.Matrix_Nr) 1 $SetLengthR $+ {endif} l4 10 = {if} (L.$.Matrix_Nr) "E" $+ {endif} l4 23 = {if} "S" (L.$.Matrix_Nr) 1 $SetLengthR $+ {endif} ' 24 s.o. bei 5! l4 25 = {if} "U" (L.$.Matrix_Nr) 1 $SetLengthR $+ {endif} l4 26 = {if} "U" (L.$.Matrix_Nr) 2 $SetLengthR $RemoveSpaces $+ {endif} l4 27 = {if} "M" (L.$.Matrix_Nr) 2 $SetLengthR $RemoveSpaces $+ {endif} l4 28 = {if} "M" (L.$.Matrix_Nr) 2 $SetLengthR $RemoveSpaces $+ {endif} l4 29 = {if} "BVG" {endif} l4 30 = {if} (L.$.Matrix_Nr) "S" $+ {endif} l4 31 = {if} (L.$.Matrix_Nr) "U" $+ {endif} l4 32 = {if} (L.$.Matrix_Nr) "M" $+ {endif} l4 35 = {if} "N" (L.$.Matrix_Nr) 2 $SetLengthR $RemoveSpaces $+ {endif} l4 36 = {if} "X" (L.$.Matrix_Nr) 2 $SetLengthR $RemoveSpaces $+ {endif} {endif} l4 69 = {if} l1 (S.L.Matrix_IBISNrMode) {endif} l4 70 = l4 99 = || {if} "" {endif} l4 97 = {if} "" {endif} l4 97 = ! (L.$.Matrix_Nr) "…" $= && {if} "" {endif} l4 98 = {if} "€" {endif} l4 98 = ! (L.$.Matrix_Nr) "€" $= && {if} "" {endif} (L.L.Matrix_IBISNrMode) ! {if} ' Use default IBIS suffixes l4 11 = {if} "D" (L.$.Matrix_Nr) 1 $SetLengthR $+ {endif} l4 12 = {if} "C" (L.$.Matrix_Nr) 1 $SetLengthR $+ {endif} l4 13 = {if} "B" (L.$.Matrix_Nr) 1 $SetLengthR $+ {endif} l4 14 = {if} "A" (L.$.Matrix_Nr) 1 $SetLengthR $+ {endif} l4 15 = {if} "N" (L.$.Matrix_Nr) 1 $SetLengthR $+ {endif} {else} ' Use extra IBIS suffixes (L.L.Matrix_IBISNrMode) 1 = {if} l4 8 = {if} "0" {endif} l4 11 = {if} "1" l1 "03" $IntToStrEnh $+ {endif} l4 12 = {if} "2" l1 "03" $IntToStrEnh $+ {endif} l4 13 = {if} "3" l1 "03" $IntToStrEnh $+ {endif} l4 14 = {if} "4" l1 "03" $IntToStrEnh $+ {endif} l4 15 = {if} "5" l1 "03" $IntToStrEnh $+ {endif} l4 16 = {if} "6" l1 "03" $IntToStrEnh $+ {endif} l4 17 = {if} "7" l1 "03" $IntToStrEnh $+ {endif} l4 18 = {if} "8" l1 "03" $IntToStrEnh $+ {endif} l4 19 = {if} "9" l1 "03" $IntToStrEnh $+ {endif} l4 20 = {if} l1 "02" $IntToStrEnh {endif} l4 21 = {if} l1 "03" $IntToStrEnh {endif} l4 22 = {if} l1 "04" $IntToStrEnh {endif} l4 37 = {if} "CE" (L.$.Matrix_Nr) $+ {endif} l4 38 = {if} "NE" (L.$.Matrix_Nr) $+ {endif} l4 39 = {if} "SB" (L.$.Matrix_Nr) $+ {endif} l4 40 = {if} "DB" {endif} l4 41 = {if} (L.$.Matrix_Nr) "A" $+ {endif} l4 42 = {if} (L.$.Matrix_Nr) "B" $+ {endif} l4 43 = {if} (L.$.Matrix_Nr) "C" $+ {endif} l4 44 = {if} (L.$.Matrix_Nr) "D" $+ {endif} l4 45 = {if} (L.$.Matrix_Nr) "E" $+ {endif} l4 46 = {if} (L.$.Matrix_Nr) "F" $+ {endif} l4 47 = {if} (L.$.Matrix_Nr) "G" $+ {endif} l4 48 = {if} (L.$.Matrix_Nr) "H" $+ {endif} l4 49 = {if} (L.$.Matrix_Nr) "I" $+ {endif} l4 50 = {if} (L.$.Matrix_Nr) "J" $+ {endif} l4 51 = {if} (L.$.Matrix_Nr) "K" $+ {endif} l4 52 = {if} (L.$.Matrix_Nr) "L" $+ {endif} l4 53 = {if} (L.$.Matrix_Nr) "M" $+ {endif} l4 54 = {if} (L.$.Matrix_Nr) "N" $+ {endif} l4 55 = {if} (L.$.Matrix_Nr) "O" $+ {endif} l4 56 = {if} (L.$.Matrix_Nr) "P" $+ {endif} l4 57 = {if} (L.$.Matrix_Nr) "Q" $+ {endif} l4 58 = {if} (L.$.Matrix_Nr) "R" $+ {endif} l4 59 = {if} (L.$.Matrix_Nr) "S" $+ {endif} l4 60 = {if} (L.$.Matrix_Nr) "T" $+ {endif} l4 61 = {if} (L.$.Matrix_Nr) "U" $+ {endif} l4 62 = {if} (L.$.Matrix_Nr) "V" $+ {endif} l4 63 = {if} (L.$.Matrix_Nr) "W" $+ {endif} l4 64 = {if} (L.$.Matrix_Nr) "X" $+ {endif} l4 65 = {if} (L.$.Matrix_Nr) "Y" $+ {endif} l4 66 = {if} (L.$.Matrix_Nr) "Z" $+ {endif} l4 71 = {if} "A" (L.$.Matrix_Nr) $+ {endif} l4 72 = {if} "B" (L.$.Matrix_Nr) $+ {endif} l4 73 = {if} "C" (L.$.Matrix_Nr) $+ {endif} l4 74 = {if} "D" (L.$.Matrix_Nr) $+ {endif} l4 75 = {if} "E" (L.$.Matrix_Nr) $+ {endif} l4 76 = {if} "F" (L.$.Matrix_Nr) $+ {endif} l4 77 = {if} "G" (L.$.Matrix_Nr) $+ {endif} l4 78 = {if} "H" (L.$.Matrix_Nr) $+ {endif} l4 79 = {if} "I" (L.$.Matrix_Nr) $+ {endif} l4 80 = {if} "J" (L.$.Matrix_Nr) $+ {endif} l4 81 = {if} "K" (L.$.Matrix_Nr) $+ {endif} l4 82 = {if} "L" (L.$.Matrix_Nr) $+ {endif} l4 83 = {if} "M" (L.$.Matrix_Nr) $+ {endif} l4 84 = {if} "N" (L.$.Matrix_Nr) $+ {endif} l4 85 = {if} "O" (L.$.Matrix_Nr) $+ {endif} l4 86 = {if} "P" (L.$.Matrix_Nr) $+ {endif} l4 87 = {if} "Q" (L.$.Matrix_Nr) $+ {endif} l4 88 = {if} "R" (L.$.Matrix_Nr) $+ {endif} l4 89 = {if} "S" (L.$.Matrix_Nr) $+ {endif} l4 90 = {if} "T" (L.$.Matrix_Nr) $+ {endif} l4 91 = {if} "U" (L.$.Matrix_Nr) $+ {endif} l4 92 = {if} "V" (L.$.Matrix_Nr) $+ {endif} l4 93 = {if} "W" (L.$.Matrix_Nr) $+ {endif} l4 94 = {if} "X" (L.$.Matrix_Nr) $+ {endif} l4 95 = {if} "Y" (L.$.Matrix_Nr) $+ {endif} l4 96 = {if} "Z" (L.$.Matrix_Nr) $+ {endif} {else} "" (L.$.Matrix_Nr) l4 1 = {if} "A" {endif} l4 2 = {if} "B" {endif} l4 3 = {if} "C" {endif} l4 4 = {if} "D" {endif} l4 5 = {if} "E" {endif} l4 6 = {if} "F" {endif} l4 7 = {if} "G" {endif} l4 8 = {if} "H" {endif} l4 9 = {if} "I" {endif} l4 10 = {if} "J" {endif} l4 11 = {if} "K" {endif} l4 12 = {if} "L" {endif} l4 13 = {if} "M" {endif} l4 14 = {if} "N" {endif} l4 15 = {if} "O" {endif} l4 16 = {if} "P" {endif} l4 17 = {if} "Q" {endif} l4 18 = {if} "R" {endif} l4 19 = {if} "S" {endif} l4 20 = {if} "T" {endif} l4 21 = {if} "U" {endif} l4 22 = {if} "V" {endif} l4 23 = {if} "W" {endif} l4 24 = {if} "X" {endif} l4 25 = {if} "Y" {endif} l4 26 = {if} "Z" {endif} l4 80 = {if} "0" {endif} l4 81 = {if} "1" {endif} l4 82 = {if} "2" {endif} l4 83 = {if} "3" {endif} l4 84 = {if} "4" {endif} l4 85 = {if} "5" {endif} l4 86 = {if} "6" {endif} l4 87 = {if} "7" {endif} l4 88 = {if} "8" {endif} l4 89 = {if} "9" {endif} l4 0 = ! {if} $+ (S.$.Matrix_Nr) (S.$.Matrix_Liniennummerstring) l4 30 = {if} $cutEnd (S.$.Matrix_Nr) (S.$.Matrix_Liniennummerstring) {endif} l4 90 = {if} "" (S.$.Matrix_Nr) (S.$.Matrix_Liniennummerstring) {endif} {else} (L.$.Matrix_Nr) {endif} {endif} {endif} $RemoveSpaces (S.$.Matrix_Nr) (S.$.Matrix_Liniennummerstring) {endif} ' Multi-page display (L.S.TimeGap) (L.L.Matrix_Timer) + (S.L.Matrix_Timer) (L.L.Matrix_PageDuration) >= (L.L.Matrix_TerminusAct) 0 > && l4 69 = l4 70 = || l4 97 = || l4 98 = || l4 99 = || ! && {if} (L.L.Matrix_TerminusAct) (M.V.GetTerminusCode) s0 15000 >= {if} (L.L.Matrix_TerminusAct) (M.V.GetTerminusCode) s0 20000 >= {if} l0 1000 + (M.V.GetTerminusIndex) s1 0 >= {if} l1 (S.L.RBL_TerminusIndex) {else} l0 21000 >= {if} l0 1000 % 20000 + (M.V.GetTerminusIndex) (S.L.RBL_TerminusIndex) {endif} {endif} {else} (L.L.Matrix_TerminusAct) (M.V.GetTerminusCode) s0 19000 <= l0 1000 + (M.V.GetTerminusIndex) s1 0 >= && {if} l1 (S.L.RBL_TerminusIndex) {else} l0 1000 % 15000 + (M.V.GetTerminusIndex) (S.L.RBL_TerminusIndex) {endif} {endif} {else} (L.L.Matrix_TerminusAct) (M.V.GetTerminusCode) s1 1000 + s0 (M.V.GetTerminusIndex) 0 >= s2 l0 (L.L.RBL_TerminusIndex) (M.V.GetTerminusCode) - 1000 % 0 = && {if} l0 (M.V.GetTerminusIndex) (S.L.RBL_TerminusIndex) {else} l1 1000 >= l1 15000 < && {if} l0 1000 % (M.V.GetTerminusIndex) (S.L.RBL_TerminusIndex) {endif} {endif} {endif} {endif} 'Zweiter Schritt: Ziel erstellen: (L.L.RBL_TerminusIndex) 0 < (L.L.RBL_LinieSuffix) 69 = (L.L.RBL_LinieSuffix) 70 = || (L.L.RBL_LinieSuffix) 97 = || (L.L.RBL_LinieSuffix) 98 = || ! && {if} (L.L.Matrix_TerminusIndex_Last) (S.L.RBL_TerminusIndex) {endif} (L.L.RBL_LinieSuffix) 69 = (L.L.RBL_LinieSuffix) 70 = || (L.L.RBL_LinieSuffix) 97 = || (L.L.RBL_LinieSuffix) 98 = || (L.L.RBL_LinieSuffix) 99 = || ! {if} (L.L.RBL_TerminusIndex) (M.V.GetTerminusCode) s0 1000 < l0 20000 + (M.V.GetTerminusIndex) s1 0 >= && {if} l1 (S.L.RBL_TerminusIndex) {endif} {endif} (L.L.IBIS_Linie_Complex) (L.L.Matrix_Nr_Last) = ! (L.L.RBL_TerminusIndex) s0 (L.L.Matrix_TerminusIndex_Last) = ! || (L.L.elec_busbar_main) && {if} (L.L.Matrix_LED) {if} "..\..\Anzeigen\Krueger\230x32\palettes\" (L.$.yard) $+ ".bmp" $+ 6 (M.V.STLoadTex) {endif} l0 1 (M.V.GetTerminusString) $RemoveSpaces (M.L.Matrix_ProcessAlt) 1 (M.L.Matrix_ProcessGoTo) (S.$.Matrix_TerminusL1) l0 2 (M.V.GetTerminusString) $RemoveSpaces (M.L.Matrix_ProcessAlt) 2 (M.L.Matrix_ProcessGoTo) (S.$.Matrix_TerminusL2) l0 3 (M.V.GetTerminusString) $RemoveSpaces (M.L.Matrix_ProcessAlt) 3 (M.L.Matrix_ProcessGoTo) (S.$.Matrix_TerminusL3) 'Wenn nur die untere Zeile beschrieben ist, dann diese nach oben und untere leeren: (L.$.Matrix_TerminusL1) "" $= {if} (L.$.Matrix_TerminusL2) (S.$.Matrix_TerminusL1) "" (S.$.Matrix_TerminusL2) {endif} (M.L.Matrix_ResetOptions) (M.L.Matrix_SetOptions) (L.L.RBL_TerminusIndex) (M.V.GetTerminusCode) (L.L.Matrix_TerminusIndex_Last) (M.V.GetTerminusCode) - 1000 % (L.L.Matrix_SpecifyNr) 0 >= || {if} 0 (S.L.Matrix_SpecifyNr) {endif} 0 (S.L.Matrix_L3XLimit) (L.$.Matrix_TerminusL3) $d "" $= ! {if} (L.L.Font_Aux_2) (M.V.TextLength) (S.L.Matrix_CmdCount) 150 >= {if} (M.L.Matrix_ProcessTerminusL3) {endif} (L.L.Matrix_CmdCount) 300 >= {if} (M.L.Matrix_ProcessTerminusL3) {endif} (L.L.Matrix_CmdCount) 450 >= {if} (M.L.Matrix_ProcessTerminusL3) {endif} (L.L.Matrix_CmdCount) 600 >= {if} (M.L.Matrix_ProcessTerminusL3) {endif} (L.L.Matrix_CmdCount) 750 >= {if} (M.L.Matrix_ProcessTerminusL3) {endif} (L.L.Matrix_CmdCount) 900 >= {if} (M.L.Matrix_ProcessTerminusL3) {endif} (L.L.Matrix_CmdCount) 1050 >= {if} (M.L.Matrix_ProcessTerminusL3) {endif} (L.L.Matrix_CmdCount) 1200 >= {if} (M.L.Matrix_ProcessTerminusL3) {endif} (L.L.Matrix_CmdCount) 1350 >= {if} (M.L.Matrix_ProcessTerminusL3) {endif} (L.L.Matrix_CmdCount) 1500 >= {if} (M.L.Matrix_ProcessTerminusL3) {endif} {endif} (L.$.Matrix_TerminusL2) $d "" $= ! {if} (L.L.Font_Aux_2) (M.V.TextLength) (S.L.Matrix_CmdCount) 150 >= {if} (M.L.Matrix_ProcessTerminusL2) {endif} (L.L.Matrix_CmdCount) 300 >= {if} (M.L.Matrix_ProcessTerminusL2) {endif} (L.L.Matrix_CmdCount) 450 >= {if} (M.L.Matrix_ProcessTerminusL2) {endif} (L.L.Matrix_CmdCount) 600 >= {if} (M.L.Matrix_ProcessTerminusL2) {endif} (L.L.Matrix_CmdCount) 750 >= {if} (M.L.Matrix_ProcessTerminusL2) {endif} (L.L.Matrix_CmdCount) 900 >= {if} (M.L.Matrix_ProcessTerminusL2) {endif} (L.L.Matrix_CmdCount) 1050 >= {if} (M.L.Matrix_ProcessTerminusL2) {endif} (L.L.Matrix_CmdCount) 1200 >= {if} (M.L.Matrix_ProcessTerminusL2) {endif} (L.L.Matrix_CmdCount) 1350 >= {if} (M.L.Matrix_ProcessTerminusL2) {endif} (L.L.Matrix_CmdCount) 1500 >= {if} (M.L.Matrix_ProcessTerminusL2) {endif} {endif} (L.$.Matrix_TerminusL1) $d "" $= ! {if} (L.L.Font_Aux_2) (M.V.TextLength) (S.L.Matrix_CmdCount) 150 >= {if} (M.L.Matrix_ProcessTerminusL1) {endif} (L.L.Matrix_CmdCount) 300 >= {if} (M.L.Matrix_ProcessTerminusL1) {endif} (L.L.Matrix_CmdCount) 450 >= {if} (M.L.Matrix_ProcessTerminusL1) {endif} (L.L.Matrix_CmdCount) 600 >= {if} (M.L.Matrix_ProcessTerminusL1) {endif} (L.L.Matrix_CmdCount) 750 >= {if} (M.L.Matrix_ProcessTerminusL1) {endif} (L.L.Matrix_CmdCount) 900 >= {if} (M.L.Matrix_ProcessTerminusL1) {endif} (L.L.Matrix_CmdCount) 1050 >= {if} (M.L.Matrix_ProcessTerminusL1) {endif} (L.L.Matrix_CmdCount) 1200 >= {if} (M.L.Matrix_ProcessTerminusL1) {endif} (L.L.Matrix_CmdCount) 1350 >= {if} (M.L.Matrix_ProcessTerminusL1) {endif} (L.L.Matrix_CmdCount) 1500 >= {if} (M.L.Matrix_ProcessTerminusL1) {endif} {endif} (L.$.Matrix_Nr) "" $= (L.$.Matrix_NrSpecified) "" $= (L.L.Matrix_SpecifyNr) && || {if} 0 (S.L.Matrix_NrBGHue) (S.L.Matrix_NrBGSaturation) (S.L.Matrix_NrBGBrightness) {endif} (L.$.Matrix_TerminusL2) "" $= {if} (L.$.Matrix_TerminusL1) (M.L.Matrix_HasDescenderCE) (S.L.Matrix_L1HasDescender) (S.L.Matrix_L1HasDescenderCE) {else} (L.L.Matrix_L1CEMode) {if} (L.$.Matrix_TerminusL1) (M.L.Matrix_HasTallGlyphCE) (S.L.Matrix_L1HasTallGlyphCE) {else} (L.$.Matrix_TerminusL1) (M.L.Matrix_HasDescender) (S.L.Matrix_L1HasDescender) {endif} (L.L.Matrix_L2CEMode) {if} (L.$.Matrix_TerminusL2) (M.L.Matrix_HasTallGlyphCE) (S.L.Matrix_L2HasTallGlyphCE) {else} (L.$.Matrix_TerminusL2) (M.L.Matrix_HasDescender) (S.L.Matrix_L2HasDescender) {endif} {endif} (L.L.Matrix_L3XLimit) ! {if} (L.$.Matrix_TerminusL1) (S.$.Matrix_TerminusL3) (L.L.Matrix_L1HasDescenderCE) (S.L.Matrix_L3HasDescenderCE) {else} (L.$.Matrix_TerminusL3) (M.L.Matrix_HasDescenderCE) (S.L.Matrix_L3HasDescenderCE) {endif} {endif} (L.L.RBL_LinieSuffix) 97 = {if} (S.L.Matrix_L1HasDescenderCE) (S.L.Matrix_L3HasDescenderCE) (S.L.Matrix_NrDisabled) "*…" (S.$.Matrix_TerminusL1) (S.$.Matrix_TerminusL3) "" (S.$.Matrix_TerminusL2) (C.L.Matrix_Width) (L.L.Font_Icon) "…" (M.V.TextLength) - 2 / trunc (S.L.Matrix_IconXpos) -97 (S.L.RBL_TerminusIndex) (M.L.Matrix_ProcessTerminusL1) {endif} (L.L.RBL_LinieSuffix) 98 = {if} (L.S.Time) 0.5 + 86400 % s2 60 / trunc (L.L.Matrix_Clock) 60 / trunc > (L.S.Time) 43200 + (L.L.Matrix_Clock) < || (L.L.RBL_TerminusIndex) -98 = (L.L.RBL_TerminusIndex) -198 = || ! || (L.L.Matrix_Timer) 4 >= || {if} (L.S.Year) $IntToStr "-" $+ (L.S.Month) "02" $IntToStrEnh $+ "-" $+ (L.S.Day) "02" $IntToStrEnh $+ (M.V.GetTTBusstopIndex) s3 0 < s4 {if} (S.$.Matrix_TerminusL1) {else} " " $+ {endif} l2 (S.L.Matrix_Clock) 0.5 + 3600 / s0 trunc "02" $IntToStrEnh "." $+ l0 1 % 60 * s1 trunc "02" $IntToStrEnh $+ l4 ! {if} $+ (S.$.Matrix_TerminusL1) {else} " " $+ {endif} (L.S.Weather_Temperature) 99 min -99 max $IntToStr "C" $+ l4 {if} $+ (S.$.Matrix_TerminusL2) {else} " D " $+ l3 (M.V.GetTTBusstopDep) 60 / s1 60 / 24 % trunc "02" $IntToStrEnh $+ "." $+ l1 60 % trunc "02" $IntToStrEnh $+ (S.$.Matrix_TerminusL2) {endif} (L.L.RBL_TerminusIndex) -98 = {if} -198 (S.L.RBL_TerminusIndex) {else} -98 (S.L.RBL_TerminusIndex) {endif} 0 (S.L.Matrix_Timer) {endif} {endif} (L.L.IBIS_Linie_Complex) 97 < (L.L.IBIS_Linie_Complex) 98 > || (L.L.Matrix_TerminusIndex_Last) s1 -69 = l1 -70 = || l1 -170 = || l1 -97 = || l1 -98 = || l1 -198 = || && {if} "" (S.$.Matrix_Icon) (S.$.Matrix_TerminusL1) (S.$.Matrix_TerminusL2) -1 (S.L.RBL_TerminusIndex) {endif} (C.L.Matrix_AutoCapitalize) (L.L.RBL_TerminusIndex) (M.V.GetTerminusCode) 14900 < && (L.L.RBL_TerminusIndex) (M.V.GetTerminusCode) 0 > && {if} (L.$.Matrix_TerminusL1) (M.L.Matrix_CapitalizeString) (S.$.Matrix_TerminusL1) (L.$.Matrix_TerminusL2) (M.L.Matrix_CapitalizeString) (S.$.Matrix_TerminusL2) (L.$.Matrix_TerminusL3) (M.L.Matrix_CapitalizeString) (S.$.Matrix_TerminusL3) {endif} 'Dritter Schritt: Speicherbitmap schreiben: (L.L.IBIS_Linie_Complex) (L.L.Matrix_Nr_Last) = ! (L.L.RBL_TerminusIndex) s0 (L.L.Matrix_TerminusIndex_Last) s1 = ! || (L.L.elec_busbar_main) && {if} ' if-1-1 (L.L.Matrix_HideScrollingAnimation) {if} (L.L.Matrix_IsDrawing) {if} (M.L.Matrix_DrawingOff) 0 (M.V.STNewTex) {endif} (L.L.Matrix_RefreshCursor) 0 < {if} 0 (M.V.STNewTex) {endif} {endif} l0 (S.L.Matrix_TerminusAct) (L.L.IBIS_Linie_Complex) (S.L.Matrix_Nr_Last) (L.L.RBL_LinieSuffix) 69 = ! (L.L.RBL_LinieSuffix) 99 = ! && {if} ' if-1-2 0 (S.L.Matrix_BmpFullColour) l0 7 (M.V.GetTerminusString) $RemoveSpaces (M.L.Matrix_MonochromeAlt) (M.L.Matrix_MultiColourAlt) (M.L.Matrix_MonochromeAlt) (S.$.Matrix_Bitmapfilename) "" $= {if} ' if-1-3 '3.0 Initialisieren der Bitmap und setzen der Farbe: (L.L.Matrix_HideScrollingAnimation) ! {if} 0 (M.V.STNewTex) {endif} 0 (M.V.STLock) 0 0 255 0 0 (M.V.STSetColor) 'Ab hier gelten folgende Register-Zuordnungen: 'l0 = Fontindex 'l1 = Stringlänge (Pixel) 'l2 = Y-Offset 'l3 = Verfügbare Länge 'l4 = Einzeilig 'l5 = Zentrierungsaufschlag 'l6 = 'l7 = (max.) Sperrung (L.$.Matrix_Nr) "" $= (L.L.Matrix_SpecifyNr) 0 = && (L.$.Matrix_NrSpecified) "" $= (L.L.Matrix_SpecifyNr) 1 = && || (L.L.Matrix_NrDisabled) || {if} ' if-1-4 0 s1 (S.L.Matrix_Xpos) (S.L.Matrix_TerminusXpos) (S.L.Matrix_NrPixelLength) {else} ' else-1-4 '3.A.0 Inverted number margin: (L.L.Matrix_NrInvert) (L.L.Matrix_Invert) || (L.L.Matrix_NrBGBrightness) 0.05 >= || ' (L.L.Matrix_Res) * s6 '3.A.05 Setzen der Maximalbreite: (C.L.Matrix_NrFrontMaxWidth) l6 2 * - s3 '3.A.1 Bestimmen des Fonts der Linie (vorne): (L.L.Matrix_SpecifyNr) 1 = {if} (L.$.Matrix_NrSpecified) {else} (L.$.Matrix_Nr) {endif} (S.$.Matrix_NrDisplayed) (L.$.Matrix_NrDisplayed) 1 $SetLengthR $StrToFloat -1 = (L.$.Matrix_NrDisplayed) 2 $SetLengthR 1 $SetLengthL $StrToFloat -1 = ! && (C.L.Matrix_UseSmallNrSuffix) && {if} (L.$.Matrix_NrDisplayed) 1 $SetLengthR (M.L.Matrix_CharToLowerCase) (S.$.Matrix_Nr_Suffix) (L.$.Matrix_NrDisplayed) 1 $cutEnd (L.$.Matrix_Nr_Suffix) $+ (S.$.Matrix_NrDisplayed) {endif} (L.$.Matrix_NrDisplayed) 2 $SetLengthL "CE" $= {if} "{" (L.$.Matrix_NrDisplayed) 2 $cutBegin $+ (S.$.Matrix_NrDisplayed) {endif} (L.$.Matrix_NrDisplayed) 2 $SetLengthL "NE" $= {if} "|" (L.$.Matrix_NrDisplayed) 2 $cutBegin $+ (S.$.Matrix_NrDisplayed) {endif} (L.$.Matrix_NrDisplayed) 2 $SetLengthL "SB" $= {if} "}" (L.$.Matrix_NrDisplayed) 2 $cutBegin $+ (S.$.Matrix_NrDisplayed) {endif} (L.$.Matrix_NrDisplayed) "gh" $= {if} "†" (S.$.Matrix_NrDisplayed) {endif} (L.$.Matrix_NrDisplayed) "DB" $= {if} "–" (S.$.Matrix_NrDisplayed) {endif} (L.$.Matrix_NrDisplayed) "/^\" $= {if} "—" (S.$.Matrix_NrDisplayed) {endif} (L.$.Matrix_NrDisplayed) 5 $SetLengthR $RemoveSpaces (S.$.Matrix_NrDisplayed) (L.L.Font_CustomMode) 100 / trunc 1 >= {if} ' if-1-5 ' Custom font for route number 0 s7 (L.$.Matrix_NrDisplayed) (S.$.Matrix_InputLine) (L.L.Font_CustomNr1) (S.L.Matrix_FontSel1) (L.L.Font_CustomNr2) (S.L.Matrix_FontSel2) (L.L.Font_CustomNr3) (S.L.Matrix_FontSel3) (L.L.Font_CustomNr4) (S.L.Matrix_FontSel4) (L.L.Font_CustomNr5) (S.L.Matrix_FontSel5) (L.L.Font_CustomMode) 100 / trunc 1 = ! (S.L.Matrix_FontCond1) (L.L.Font_CustomMode) 100 / trunc 2 = ! (S.L.Matrix_FontCond2) (L.L.Font_CustomMode) 100 / trunc 3 = ! (S.L.Matrix_FontCond3) (L.L.Font_CustomMode) 100 / trunc 4 = ! (S.L.Matrix_FontCond4) 0 (M.L.matrix_getFontNrYpos) (S.L.Matrix_FontYPos1) 1 (M.L.matrix_getFontNrYpos) (S.L.Matrix_FontYPos2) 2 (M.L.matrix_getFontNrYpos) (S.L.Matrix_FontYPos3) 3 (M.L.matrix_getFontNrYpos) (S.L.Matrix_FontYPos4) 4 (M.L.matrix_getFontNrYpos) (S.L.Matrix_FontYPos5) 15 (M.L.Matrix_FontSel) {else} ' else-1-5 ' No custom font for route number (L.$.Matrix_NrDisplayed) (S.$.Matrix_InputLine) (L.L.Font_Nr_16x11/32x24) (S.L.Matrix_FontSel1) (L.L.Font_Nr_16x8/32x16) (S.L.Matrix_FontSel2) (L.L.Font_Nr_16x7/30x16) (S.L.Matrix_FontSel3) (L.L.Font_Nr_16x11/32x24) (L.$.Matrix_NrDisplayed) (M.V.TextLength) (L.L.Matrix_Res) sqr + (L.$.Matrix_Icon) "" $= {if} * {else} + (L.L.Matrix_UseCustomIcon) {if} * (L.L.Font_CustomIcon) {else} + (L.L.Font_Icon) {endif} (L.$.Matrix_Icon) (M.V.TextLength) + (L.L.Matrix_Res) + {endif} (L.$.Matrix_TerminusL2) "" $= {if} * (L.L.Matrix_L3XLimit) 0 > {if} * (L.L.Matrix_L1Bold) {if} * (L.L.Font_16x6/18x12B) {else} + (L.L.Font_16x5/18x10) {endif} {else} + (L.L.Font_16x8B/32x16B) {endif} (L.$.Matrix_TerminusL1) (M.V.TextLength) + {else} + (L.L.Matrix_L2SmallFont) (L.L.Matrix_L1SmallFont) ! && {if} * (L.L.Matrix_L1Bold) {if} * (L.L.Font_10x6B/18x12B) {else} + (L.L.Font_10x5/18x10) {endif} (L.$.Matrix_TerminusL1) (M.V.TextLength) {else} + (L.L.Matrix_L1SmallFont) (L.L.Matrix_L2SmallFont) ! && {if} * (L.L.Matrix_L2Bold) {if} * (L.L.Font_10x6B/18x12B) {else} + (L.L.Font_10x5/18x10) {endif} (L.$.Matrix_TerminusL2) (M.V.TextLength) {else} + (L.L.Matrix_L1SmallFont) (L.L.Matrix_L2SmallFont) && {if} * (L.L.Font_5x5/12x8B) (L.$.Matrix_TerminusL1) (M.V.TextLength) (L.L.Font_5x5/12x8B) (L.$.Matrix_TerminusL2) (M.V.TextLength) max {else} + (L.L.Matrix_L1Bold) {if} * (L.L.Font_8x6B/14x10H) {else} + (L.L.Font_8x5/14x8B) {endif} (L.$.Matrix_TerminusL1) (M.V.TextLength) (L.L.Matrix_L2Bold) {if} * (L.L.Font_8x6B/14x10H) {else} + (L.L.Font_8x5/14x8B) {endif} (L.$.Matrix_TerminusL2) (M.V.TextLength) max {endif} {endif} {endif} {endif} (L.L.Matrix_L3XLimit) 0 > {if} * (L.L.Font_16x8B/32x16B) (L.$.Matrix_TerminusL3) (M.V.TextLength) {endif} + (L.L.Matrix_TerminusAct) (M.V.GetTerminusCode) (L.L.Matrix_TerminusIndex_Last) (M.V.GetTerminusCode) - 1000 % {if} d - + (S.L.Matrix_TerminusMaxLength) {else} + (L.L.Matrix_TerminusMaxLength) max (S.L.Matrix_TerminusMaxLength) {endif} (C.L.Matrix_Width) >= (L.L.Matrix_NrMaxStdGlyphWidth) 13 (L.L.Matrix_Res) * 2 - < || (L.L.Matrix_NrForceLargeFont) ! && (S.L.Matrix_FontCond1) (L.L.Matrix_NrMaxStdGlyphWidth) 8 (L.L.Matrix_Res) * < (S.L.Matrix_FontCond2) 3 (M.L.Matrix_FontSel) (L.L.Matrix_NrYpos) s2 {endif} ' endifelse-1-5 ' l0: Schriftart, l1: Länge in Pixeln '3.A.2 Schreiben: l6 {if} l6 2 * l1 + (C.L.Matrix_NrFrontMinWidth) < {if} (C.L.Matrix_NrFrontMinWidth) l1 - 2 / trunc s6 {endif} l6 2 * l1 + s1 {endif} l1 5 + s1 (S.L.Matrix_NrPixelLength) (L.L.Matrix_NrRightAlign) {if} (C.L.Matrix_Width) l1 - (L.L.Matrix_Res) - (C.L.Matrix_Width) (C.L.Matrix_NrFrontMinWidth) - min 2 - (S.L.Matrix_TerminusXLimit) {else} (C.L.Matrix_Width) (S.L.Matrix_TerminusXLimit) {endif} (L.L.Matrix_Res) 2 = {if} 0 s2 {endif} 0 (L.L.Matrix_TerminusXLimit) (L.L.Matrix_Res) + (L.L.Matrix_NrRightAlign) * l6 + (L.L.Matrix_NrRightAlign) ! 5 * + l2 l0 1 0 (L.$.Matrix_NrDisplayed) (M.V.STTextOut) '3.A.3 Bestimmen des Startpunktes des Zieles (Matrix_Xpos): (L.L.Matrix_NrRightAlign) {if} 0 {else} l1 (L.L.Matrix_Res) sqr + (C.L.Matrix_NrFrontMinWidth) max {endif} (S.L.Matrix_Xpos) (S.L.Matrix_TerminusXpos) '3.A.4 Bestimmen des Fonts der Linie (seite/hinten): (C.L.Matrix_NrSideMaxWidth) s3 (L.L.Font_CustomMode) 100 / trunc 1 >= {if} ' if-1-6 ' Custom font for route number 0 s7 (L.$.Matrix_NrDisplayed) (S.$.Matrix_InputLine) (L.L.Font_CustomNr1) (S.L.Matrix_FontSel1) (L.L.Font_CustomNr2) (S.L.Matrix_FontSel2) (L.L.Font_CustomNr3) (S.L.Matrix_FontSel3) (L.L.Font_CustomNr4) (S.L.Matrix_FontSel4) (L.L.Font_CustomNr5) (S.L.Matrix_FontSel5) (L.L.Font_CustomMode) 100 / trunc 1 = ! (S.L.Matrix_FontCond1) (L.L.Font_CustomMode) 100 / trunc 2 = ! (S.L.Matrix_FontCond2) (L.L.Font_CustomMode) 100 / trunc 3 = ! (S.L.Matrix_FontCond3) (L.L.Font_CustomMode) 100 / trunc 4 = ! (S.L.Matrix_FontCond4) 0 (M.L.matrix_getFontNrYpos) (S.L.Matrix_FontYPos1) 1 (M.L.matrix_getFontNrYpos) (S.L.Matrix_FontYPos2) 2 (M.L.matrix_getFontNrYpos) (S.L.Matrix_FontYPos3) 3 (M.L.matrix_getFontNrYpos) (S.L.Matrix_FontYPos4) 4 (M.L.matrix_getFontNrYpos) (S.L.Matrix_FontYPos5) 15 (M.L.Matrix_FontSel) {else} ' else-1-6 ' No custom font for route number 0 s7 (L.$.Matrix_NrDisplayed) (S.$.Matrix_InputLine) (L.L.Font_Nr_16x11/32x24) (S.L.Matrix_FontSel1) (L.L.Font_Nr_16x8/32x16) (S.L.Matrix_FontSel2) (L.L.Font_Nr_16x7/30x16) (S.L.Matrix_FontSel3) (L.L.Font_Nr_16x6/26x11) (S.L.Matrix_FontSel4) (L.L.Font_Nr_16x5/20x9) (S.L.Matrix_FontSel5) (L.L.Font_Nr_16x4/20x9) (S.L.Matrix_FontSel6) (L.L.Matrix_NrMaxStdGlyphWidth) 13 (L.L.Matrix_Res) * 2 - < (S.L.Matrix_FontCond1) (L.L.Matrix_NrMaxStdGlyphWidth) 8 (L.L.Matrix_Res) * < (S.L.Matrix_FontCond2) (L.L.Matrix_NrMaxStdGlyphWidth) 9 (L.L.Matrix_Res) * 2 - < (S.L.Matrix_FontCond3) (L.L.Matrix_NrMaxStdGlyphWidth) 5 (L.L.Matrix_Res) * 1 + < (S.L.Matrix_FontCond4) (L.L.Matrix_NrMaxStdGlyphWidth) 4 (L.L.Matrix_Res) * 1 + < (S.L.Matrix_FontCond5) 6 (M.L.Matrix_FontSel) (L.L.Matrix_NrYpos) s2 {endif} ' l0: Schriftart, l1: Länge in Pixeln '3.A.5 Berechnen der Sperrung: l3 l1 - l6 / trunc 0 min s7 l1 l6 l7 * + s1 '3.A.6 Berechnen des Zentrierungsaufschlages (l5): l3 l1 - 2 / trunc s5 '3.A.7 Schreiben: (L.L.Matrix_Res) 2 = {if} 0 s2 {endif} 0 l5 (C.L.Matrix_Height) l2 (L.L.Matrix_Res) * + l0 1 0 (L.$.Matrix_NrDisplayed) (M.V.STTextOut) {endif} ' endifelse-1-4 'Schreiben des Zieles Front-Anzeige: 0 (S.L.Matrix_Ypos) (M.L.Matrix_DrawIcon) (L.L.Matrix_Xpos) (L.L.Matrix_FrontTerminusXpos) + (S.L.Matrix_Xpos) (M.L.Matrix_WriteTerminus) (L.L.Matrix_Xpos) (S.L.Matrix_TerminusXpos) 'Und Schreiben des Zieles Seitenanzeige: (C.L.Matrix_ZielSideStartX) (S.L.Matrix_Xpos) (C.L.Matrix_Height) (S.L.Matrix_Ypos) (M.L.Matrix_DrawIcon) (C.L.Matrix_ZielSideStartX) (L.L.Matrix_IconPixelLength) + (S.L.Matrix_Xpos) (M.L.Matrix_WriteTerminus) 'Fertig: Unlocken 0 (M.V.STUnlock) {else} ' else-1-3 "..\..\Anzeigen\Krueger\" (L.L.Matrix_Res) 2 = {if} "230x32\" $+ {endif} (L.$.Matrix_Bitmapfilename) $+ 0 (M.V.STLoadTex) $msg (L.L.Matrix_Res) 2 = {if} 0 (M.V.STLock) 0 251 3 (M.V.STReadPixel) 0 (M.V.STGetR) 128 >= (S.L.Matrix_BmpFullColour) 0 (M.V.STUnlock) {endif} {endif} ' endifelse-1-3 (L.L.Matrix_TerminusAct) (S.L.Matrix_TerminusIndex_Last) (M.L.matrix_refreshIntIndex) {endif} ' endif-1-2 'RefreshCursor zurücksetzen: 0 (S.L.Matrix_RefreshCursor) {endif} ' endif-1-1 ...