Ich implementiere eine Setvar-Funktion per .cti-Datei für die Darstellung der Klimatisierung (sowohl extern als auch intern) im Irisbus-Übergang (oberes Stockwerk).
Für den Außenbereich ist mir das gelungen, mit Ausnahme des Teils der Klimaanlagensteuerung im Fahrzeug, der immer angezeigt wird, auch wenn ich die Klimaanlage nicht in die spezifische Setvar eingefügt habe.
Ich habe versucht, es aus der „Twin“-Datei der Irisbus Crossway LE-Version zu sehen, aber das Problem ist, dass es nur funktioniert, weil es die Tablet-Setvar gibt, die damals im Irisbus Interurban DLC nicht implementiert war.
Den Codeauszug lasse ich unten stehen.
(Hinweis: „bus_modelID_7“ ist die CW, an der ich für die Implementierung der Klimaanlage und der doppelten Hecktür arbeite.)
{macro:klappern_frame}
(L.L.A_Trans_X) sqr (L.L.A_Trans_Y) sqr + 0.01 * (L.L.A_Trans_Z) sqr + sqrt s0 (L.L.Klappern_LastA) -
(C.L.klappern_faktor) * s1
(L.S.timegap) -1 * exp
(L.L.klappern_vol) *
l1
max
1 min
(S.L.klappern_vol)
l0 (S.L.Klappern_LastA)
(L.L.shake_random_timer) (L.S.Timegap) + (S.L.shake_random_timer) 4 >
{if}
' 1 4 random (S.L.shake_random)
1 (S.L.shake_random)
0 (S.L.shake_random_timer)
{endif}
(C.L.bus_modelId) 0 =
(C.L.bus_modelId) 2 = ||
(C.L.bus_modelId) 3 = ||
(C.L.bus_modelId) 4 = ||
{if}
1 (S.L.cockpit_has_disabled_service)
{endif}
(C.L.bus_modelId) 1 =
(C.L.bus_modelId) 6 = ||
(C.L.bus_modelId) 7 = ||
{if}
0 (S.L.cockpit_has_disabled_service)
{endif}
(C.L.bus_modelId) 3 =
{if}
1 (S.L.cockpit_has_18_option)
1 (S.L.cockpit_has_18bis_option)
{endif}
(C.L.bus_modelId) 6 =
{if}
1 (S.L.cockpit_has_18bis_option) (S.L.cockpit_has_ac_option)
{else}
0 (S.L.cockpit_has_ac_option)
{endif}
(C.L.bus_modelId) 0 =
(C.L.bus_modelId) 1 = ||
(C.L.bus_modelId) 2 = ||
(C.L.bus_modelId) 4 = ||
(C.L.bus_modelId) 5 = ||
{if}
0 (S.L.cockpit_has_18_option)
0 (S.L.cockpit_has_18bis_option)
{endif}
(C.L.bus_modelID) 7 = ||
{if}
1 (S.L.cockpit_has_ac_option)
{else}
0 (S.L.cockpit_has_ac_option)
{endif}
{end}
Alles anzeigen