Jouzzy: Karosy majú zle nastavené chovanie dverí. Opravená časť skriptu pre CX34 (skript
dveri.osc) a pre dvojdverovú B732.1652 (skript
dveri1652.osc) bude vyzerať nasledovne:
- Kód: Vybrat vše
'----------------------
' AI-Ablauf:
(L.L.AI_Scheduled_AtStation) s0
1 =
{if}
'Wenn Türen geöffnet werden sollen:
(L.L.Velocity) (C.L.Door_Bremse_Halte_MaxKMH) <
{if}
'Nur, wenn v < maxkmh, sonst warten
'Taster jeweils nur betätigen, falls noch nicht an
(L.L.doorTarget_0) ! (L.L.door_AI_timer) 0.3 > &&
{if}
(M.L.trg_bus_doorfront0)
(M.L.trg_bus_doorfront1)
{endif}
(L.L.doorTarget_2L) ! (L.L.door_AI_timer) 0.6 > &&
{if}
(M.L.trg_bus_doorback2)
{endif}
{else}
0 (S.L.door_AI_timer)
{endif}
(L.L.door_AI_timer) (L.S.Timegap) + (S.L.door_AI_timer)
{else}
l0 -1 =
{if}
'Wenn Türen geschlossen werden sollen:
'Taster jeweils nur betätigen, falls noch nicht aus:
(L.L.doorTarget_1)
{if}
(M.L.trg_bus_doorfront1)
0 (S.L.door_AI_timer)
{endif}
(L.L.doorTarget_0) (L.L.door_AI_timer) 0.3 > &&
{if}
(M.L.trg_bus_doorfront0)
{endif}
(L.L.doorTarget_2L) (L.L.door_AI_timer) 0.3 > &&
{if}
(M.L.trg_bus_doorback2)
{endif}
'Haltestellenbremse erst wegnehmen, wenn alle Türen zu. Dann auch erst den Bus AI-mäßig freigeben:
(L.L.door_0) 0.1 <
(L.L.door_1) 0.1 < &&
(L.L.door_2L) 0.1 < &&
(L.L.door_2R) 0.1 < &&
{if}
0 (S.L.AI_Scheduled_AtStation)
{endif}
{else}
'Sollte eine der Türen auf sein und die Haltestellenbremse aus, dann sofort diese einlegen
(L.L.doorTarget_0) !
(L.L.doorTarget_1) ! &&
(L.L.doorTarget_2L) ! &&
(L.L.doorTarget_2R) ! &&
{if}
0 (S.L.door_AI_timer)
{endif}
{endif}
(L.L.door_AI_timer) (L.S.Timegap) + (S.L.door_AI_timer)
{endif}
{endif}
Kto by chcel v AI aj B732, skript dverí
dveri732.osc treba upraviť nasledovne:
- Kód: Vybrat vše
'----------------------
' AI-Ablauf:
(L.L.AI_Scheduled_AtStation) s0
1 =
{if}
'Wenn Türen geöffnet werden sollen:
(L.L.Velocity) (C.L.Door_Bremse_Halte_MaxKMH) <
{if}
'Nur, wenn v < maxkmh, sonst warten
'Taster jeweils nur betätigen, falls noch nicht an
(L.L.doorTarget_0) ! (L.L.door_AI_timer) 0.3 > &&
{if}
(M.L.trg_bus_doorfront0)
(M.L.trg_bus_doorfront1)
{endif}
(L.L.doorTarget_2L) ! (L.L.door_AI_timer) 0.6 > &&
{if}
(M.L.trg_bus_doorback2)
{endif}
(L.L.doorTarget_3L) ! (L.L.door_AI_timer) 0.6 > &&
{if}
(M.L.trg_bus_doorback3)
{endif}
{else}
0 (S.L.door_AI_timer)
{endif}
(L.L.door_AI_timer) (L.S.Timegap) + (S.L.door_AI_timer)
{else}
l0 -1 =
{if}
'Wenn Türen geschlossen werden sollen:
'Taster jeweils nur betätigen, falls noch nicht aus:
(L.L.doorTarget_1)
{if}
(M.L.trg_bus_doorfront1)
0 (S.L.door_AI_timer)
{endif}
(L.L.doorTarget_0) (L.L.door_AI_timer) 0.3 > &&
{if}
(M.L.trg_bus_doorfront0)
{endif}
(L.L.doorTarget_2L) (L.L.door_AI_timer) 0.3 > &&
{if}
(M.L.trg_bus_doorback2)
{endif}
(L.L.doorTarget_3L) (L.L.door_AI_timer) 0.3 > &&
{if}
(M.L.trg_bus_doorback3)
{endif}
'Haltestellenbremse erst wegnehmen, wenn alle Türen zu. Dann auch erst den Bus AI-mäßig freigeben:
(L.L.door_0) 0.1 <
(L.L.door_1) 0.1 < &&
(L.L.door_2L) 0.1 < &&
(L.L.door_2R) 0.1 < &&
(L.L.door_3L) 0.1 < &&
(L.L.door_3R) 0.1 < &&
{if}
0 (S.L.AI_Scheduled_AtStation)
{endif}
{else}
'Sollte eine der Türen auf sein und die Haltestellenbremse aus, dann sofort diese einlegen
(L.L.doorTarget_0) !
(L.L.doorTarget_1) ! &&
(L.L.doorTarget_2L) ! &&
(L.L.doorTarget_2R) ! &&
(L.L.doorTarget_3L) ! &&
(L.L.doorTarget_3R) ! &&
{if}
0 (S.L.door_AI_timer)
{endif}
{endif}
(L.L.door_AI_timer) (L.S.Timegap) + (S.L.door_AI_timer)
{endif}
{endif}
Inak, do AI je možné nasadiť len niektoré vozy s manuálom, ktoré používajú novší skript prevodovky, ktorý má pre AI naskriptované automatizované preraďovanie, napr. C954E, CX34, MB O307, MAN UL, u Setry 319UL a 313UL som si nie istý, či tam tiež netreba niečo doladiť. SOR-ky C10.5 a XN12 síce pôjdu, ale ostávajú zaseknuté na prvom prevodovom stupni.