Bug in MB O305 front shield script (Solved)

Das Forum befindet sich im reduzierten Betrieb. Die Addon- und Supportforen bleiben weiterhin verfügbar.
Bitte beachte, dass OMSI nicht mehr weiterentwickelt wird. Ein Teil der Entwickler widmet sich inzwischen der Entwicklung eines neuen Simulators. Weitere Informationen zum LOTUS-Simulator findest Du hier.
Ein communitybetriebenes Nachfolge-Forum wird hier verlinkt, sobald es gegründet und bereit ist.
  • Hi,


    I wonder if someone could help me to fix a bug in the front shield script (in the Rollband script to be exact) of the MB O305.
    I noticed that when an AI bus uses a front shield, the shield becomes visible, but the destination of the bus is empty. That causes the AI bus not to take passengers.


    Here the rollband or front shield (Steckschild) is determined for AI:


    I am not good enough to change the script. Obviously some settings should be made in the first "if" section to really set the destination if the front shield is used (terminus code > 1000).
    But how is that done? Does the rlbnd_ziel set the destination in the rollband only (i mean visble destination only) or also the real destination of the bus?


    Sorry, if this has been solved two years ago, but i just don't know what to search for.

    :rolleyes:


    -Welbus



    Edit1:


    It seems that the change in the last line fixed the issue (instead of setting rlbnd_ziel as 0, i set it as l0):


    '****************************************************************
    '** MCQ 24.5.2009 - Trigger für AI-Scheduled-Initialisierung: **
    '****************************************************************


    {trigger:ai_scheduled_settarget}


    'Hier wird das automatische Rollband eingestellt:
    (L.L.AI_target_index) s0 (M.V.GetTerminusCode) s1
    'Wenn der Terminus-Code größer als 1000 ist, dann bitte Steckschild verwenden:
    1000 >
    {if}
    l1 1000 - (S.L.rlbnd_steckschild_index)
    l0 (S.L.rlbnd_steckschild_Termindex)


    'Rollband auf 0:
    ' 0 (S.L.rlbnd_ziel)
    l0 (S.L.rlbnd_ziel)