Moin,
ich möchte mir für einen Bus die Matrixfont von einem anderen übernehmen. Reicht das wenn ich die Fontdateien des anderen Busses einfach umbenenne?
Du bist in Begriff, OMSI WebDisk & Community zu verlassen, um auf die folgende Adresse weitergeleitet zu werden:
Bitte beachte, dass wir für den Inhalt der Zielseite nicht verantwortlich sind und unsere Datenschutzbestimmungen dort keine Anwendung finden.
Moin,
ich möchte mir für einen Bus die Matrixfont von einem anderen übernehmen. Reicht das wenn ich die Fontdateien des anderen Busses einfach umbenenne?
Deine Frage hat keinen wirklichen Zusammenhang. "Fontdateien" - also die Fonts selber - befinden sich im gleichnamigen Ordner. Die definieren jedes einzelne Zeichen und sind nicht fest für einen Bus definiert. Das ist wie ein Buffet, da kann sich jedes Fahrzeug bedienen, sofern vorhanden.
Wenn es speziell um eine Matrix geht, dann ist im Matrixscript selbst (*.osc) die Font definiert, welche verwendet werden soll.
Normalerweise brauchst du also nur diese Einträge ändern. Die stehen normalerweise ganz simpel in Anführungszeichen dort irgendwo drin. Das bereits geschriebene Script bastelt sich daraus dann den Rest.
Natürlich sollte man darauf achten, dass die Schriftgröße gleich bleibt. Eine 16px Anzeige kann zwar auch 26px Schriften anzeigen, jedoch unvollständig.
Wenn du sowas vor hast, musst du die Matrixobjekte (*.o3d) mit tauschen.
Wenn der Bus eine K++ hat, ist das relativ simpel. Einfach Copy&Paste.
Such dazu in dem Bus, aus dem du die Fonts nehmen willst, (gewöhnlich in der VMatrix.osc) - nachdem du in der .bus geschaut hast, welches Script er nutzt - nach:
(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 Bold 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 Bold 16x6" (M.V.GetFontIndex) (S.L.Font_16x6B/32x10B)
"churafont CE Bold 16x7" (M.V.GetFontIndex) (S.L.Font_16x7B/32x12B)
"churafont CE Bold 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++ 12x8 Bold" (M.V.GetFontIndex) (S.L.Font_5x5/12x8B)
"churafont++ 14x6" (M.V.GetFontIndex) (S.L.Font_7x3/14x6) (S.L.Font_8x3/14x6)
(S.L.Font_(8-1)x3/14x6)
"churafont++ 14x8 Bold" (M.V.GetFontIndex) (S.L.Font_7x4/14x8B) (S.L.Font_8x4/14x8B)
(S.L.Font_(8-1)x4/14x8B)
"churafont++ 14x8 Bold" (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" (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" (M.V.GetFontIndex) (S.L.Font_15x4/32x8)
"churafont++ 32x10" (M.V.GetFontIndex) (S.L.Font_16x5/32x10)
"churafont++ 32x14" (M.V.GetFontIndex) (S.L.Font_16x6/32x14)
"churafont++ 32x10 Bold" (M.V.GetFontIndex) (S.L.Font_16x6B/32x10B)
"churafont++ 32x12 Bold" (M.V.GetFontIndex) (S.L.Font_16x7B/32x12B)
"churafont++ 32x16 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" (M.V.GetFontIndex) (S.L.Font_Nr_16x6/26x11)
"churafont++ Numeric 26x11" (M.V.GetFontIndex) (S.L.Font_Nr_16x7/30x16)
"churafont++ Numeric 26x11" (M.V.GetFontIndex) (S.L.Font_Nr_16x8/32x16)
"churafont++ Numeric 26x11" (M.V.GetFontIndex) (S.L.Font_Nr_16x11/32x24)
"churafont++ Pictogram 32" (M.V.GetFontIndex) (S.L.Font_Icon)
{endif}
Alles anzeigen
Da sind die Fonts die das Fahrzeug für die Matrixfont benutzt. Den Abschnitt kopierst du dann einfach an die gleiche Stelle in dem anderen Bus. Eigentlich gar nicht schwierig. Mache ich tatsächlich öfter, weshalb bei mir alle Busse mit K++ Matrix die Fonts vom NLC verwenden. Damit es einheitlich aussieht.