That's fantastic, thank you! I know some Lua but... this whole reverse notation thing really messes with my understanding. Thank you again
Beiträge von Benjamin Cook
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.
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.
-
-
Thank you! Sorry to be a bit needy, but could you possibly explain to me how that works? I'd like to be able to use it later, if I need to
-
Hello!
I'd really like to have two separate commands for "door open" and "door close" - though I'm not quite sure how to do it! I can make a door open command, and then a door close command, but they both seem to do the same thing - if I press "door open" twice, the doors open and then close. If I press "door close" twice, the doors also open and then close.
I was wondering if someone could give me a hand? Here's the script I have...
{trigger:bus_doorfrontopen}
(M.L.trg_bus_doorfront0)
1 (S.L.cockpit_tuertaster1)
(T.L.ev_tuertaster_ein)
{end}{trigger:bus_doorfrontopen_off}
0 (S.L.cockpit_tuertaster1)
(T.L.ev_tuertaster_aus)
{end}{trigger:bus_doorfrontclose}
(M.L.trg_bus_doorfront0) !
1 (S.L.cockpit_tuertaster1)
(T.L.ev_tuertaster_ein)
{end}{trigger:bus_doorfrontclose_off}
0 (S.L.cockpit_tuertaster1)
(T.L.ev_tuertaster_aus)
{end}Where the macro is:
{macro:trg_bus_doorfront0}
(L.L.doorTarget_0) (L.L.Velocity) 2 <
(L.L.elec_busbar_main) &&
(L.L.vdv_error_door_active) ! &&
{if}
(L.L.doorTarget_0) ! (S.L.doorTarget_0)
{if}
(T.L.ev_doortriggeropen_0)
{else}
(C.L.tuerverzoegerung) 0 >
{if}
(T.L.ev_doorwarn1)
{else}
(T.L.ev_doortriggerclose_0)
{endif}
{endif}
(C.L.door_druckluft)
{if}
(L.L.bremse_p_Tank04) 100000 - 0.98 * 100000 + (S.L.bremse_p_Tank04)
{endif}
{endif}
{end}Any help is appreciated! Thank you
-
Can anyone make a manual mod for this bus? I will love you forever if you do.
-
Well that's a damn shame
Is there no way to take the required files from the O305 and upload them with the bus? I understand the concept of payware busses, but it's a bit of a disappointment when it keeps me from getting freeware busses as well!
-
So just to confirm...
If I have not purchased the O305 then there is no way I can use these busses?
Thanks,
-Ben -
Grr! I want this map but the download link is down!
-
Omsi 2! Although technically it *should* work in Omsi 1. Haven't tested it myself though! I'll add that to the post
-
This is a mod (nothing special) I made for the MAN NL202 (http://omnibussimulator.de/for…page=Thread&threadID=1066)
It takes the regular German IBIS and magically transforms it into an English one, complete with useless buttons and error messages! Simply paste the "vehicles" folder included into your OMSI directory. Allow merging of folders and replacement of files - the next time you load your bus, you should have an English IBIS! You may want to back up your files first! I assume no responsibility for lost or damaged files resulting from use of this mod!
EDIT: This mod is for OMSI 2! It should work in OMSI 1, though.Participating users: Me, FRENZYMAX for making the NL202!
Download: https://www.dropbox.com/s/5lf0…L202%20English%20IBIS.zip
Screens!
If you have any bugs to report, requests, or need help with something, go ahead! I'll see if I can help
You have permission to redistribute this package as long as the files are intact and in their original condition. The included README.txt is NOT to be modified or deleted if you post the mod somewhere else.
-
MAN NL202 Manual.
.bus file:
Programmiersprache funktioniert wie folgt: Man kann reinschreiben, was man will, das Programm ignoriert
alles AUßER die Schlüsselwörter wie [mesh], wenn sie am Anfang der Zeile stehen! Die Schlüsselwörter müssen
außerdem alleine in ihrer Zeile stehen, nur dann werden sie erkannt. Ist dem so, werden die entsprechenden folgenden Zeilen
ausgelesen, um die Parameter zu finden, d.h. diese müssen dann direkt im Anschluss und zeilenweise alleine folgen! Wurde
die Anzahl der Zeilen abgearbeitet, sucht das Programm wieder nach Schlüsselwörtern.Im Allgemeinen spielt die Reihenfolge keine Rolle, außer bei der Beschreibung von Arrays, wie den Gängen oder den Meshs.
Es folgt nun der SD200 von Rüdiger H. aus B.:
[friendlyname] ist der Abschnitt, wo
{Hersteller} und
{Typ} genannt wird.
{Anstrich} ist der Name des Standardanstrichs (wenn der Texturtausch nicht aktiv ist)[friendlyname]
MAN
NL202 Manual
White[description]
MAN NL202 ManualMod by Bocskor3 and GMI
- Technical Specifications -
Length: 11675 mm
Width: 2500 mm
Height: 2872 mmEngine: MAN D0826 LUH, 157 kW ( 213 HP)
Empty weight: 10200 kg
Gross weight: 18600 kgSeats: 39
[end]
[number] aktiviert die Zuweisung von Nummern
{colorscheme specific numbers path} Pfad zu den *.org-(Omsi-Registration)-Dateien, welche für die Vergabe von Nummern zuständig sind.Aufbau einer Nummernliste: in der ersten Zeile kommt der Name des Anstrichs (wie er auch im CTC angegeben wird), dann beliebig viele zulässige Nummern.
Steht in der ersten Zeile nichts, dann handelt es sich um die "Hauptliste", welche für alle Anstriche gilt, für welche keine Nummern spezifiziert werden.[registration_automatic] aktiviert die Zuweisung der Kennzeichen im automatischen Modus
{regPrefix} Präfix vor Nummer am Kennzeichen. Soll bspw. Nr 2000 das Kennzeichen "D-A 2000H" bekommen, ist der Präfix "D-A "
{regPostfix} Postfix hinter Nummer am Kennzeichen. Im obigen Beispiel "H".[registration_list] öffnet die angegebene Datei, um die Kennzeichenzuweisung nach den Nummern vorzunehmen. Der Index läuft hierbei parallel zu jener *.org-Datei, welche die Hauptliste enthält.
{filename}[registration_free] aktiviert die freie Kennzeichenzuweisung. Im AI-Modus wird ein Kennzeichen der Map-Registrations-Datei verwendet, der User kann es für sein Fahrzeug frei wählen.
[number]
Regs_NL202.org[registration_free]
[registration_automatic]
B-V[kmcounter_init]
1992
60000[sound]
sound\sound_NL202.cfg[sound_ai]
sound\sound_NL202.cfg[model]
model\model_NL202.cfg[paths]
model\paths.cfg[passengercabin]
model\passengercabin_NL202.cfg////////////////////////////////////////////////////////
Scripts
////////////////////////////////////////////////////////[varnamelist]
19
script\AI_varlist.txt
script\collision_varlist.txt
script\Gearbox_Standard_varlist.txt
script\engine_varlist.txt
script\elec_varlist.txt
script\bremse_varlist.txt
script\auspuff_varlist.txt
script\lights_varlist.txt
script\door_varlist.txt
script\wiper_varlist.txt
script\cockpit_varlist.txt
script\klappern_varlist.txt
script\heizung_varlist.txt
script\rain_varlist.txt
script\dirt_varlist.txt
script\IBIS_varlist.txt
script\Matrix_varlist.txt
script\cashdesk_varlist.txt
script\ticketprinter_varlist.txt[stringvarnamelist]
4
script\IBIS_stringvarlist.txt
script\Matrix_stringvarlist.txt
script\ticketprinter_stringvarlist.txt
script\cockpit_stringvarlist.txt[script]
22
script\main.osc
script\main_AI.osc
script\collision.osc
script\cockpit.osc
script\antrieb_manual.osc
script\engine.osc
script\elec.osc
script\bremse.osc
script\auspuff.osc
script\lights.osc
script\door.osc
script\wiper.osc
script\klappern.osc
script\forcefeedback.osc
script\rain.osc
script\dirt.osc
script\sound_volume.osc
script\heizung.osc
script\IBIS-2.osc
script\matrix_D.osc
script\cashdesk.osc
script\ticketprinter.osc[constfile]
17
script\AI_constfile.txt
script\collision_constfile.txt
script\antrieb_constfile_ZF_S6_90U.txt
script\engine_constfile.txt
script\elec_constfile.txt
script\bremse_constfile.txt
script\lights_constfile.txt
script\door_constfile.txt
script\auspuff_constfile.txt
script\cockpit_constfile.txt
script\klappern_constfile.txt
script\forcefeedback_constfile.txt
script\wiper_constfile.txt
script\dirt_constfile.txt
script\heizung_constfile.txt
script\IBIS_constfile.txt
script\matrix_constfile.txt////////////////////////////////////////////////////////
Kameras *NEU01*
////////////////////////////////////////////////////////Folgender Befehl fügt eine Kamera hinzu. Die Reihenfolge entscheidet darüber,
in welcher selbigen die Kameras später erscheinen. _fahrer heißt, dass es sich
um eine Fahrersicht handelt. Später wird dem _fahrgast hinzugefügt werden, welcher
erst durch einen grundsätzlichen Wechsel der Perspektive aktiviert wird und welcher
nicht die Ehre hat, auf einem Isri 200 zu sitzen...* x (lateral)
* y (longitudinal)
* z (vertikal)
* dist, d.h. wie weit befindet sich das Auge vor dem Halsgelenkvgl. Außensicht:
hier ist die Distanz variabel und normalerweise einige Dekameter positiv, sodass
der Mittelpunkt (durch x,y,z) in Form des Busses sichtbar und zentriert ist.
Beim Fahrer sollte der Wert ein wenig negativ sein, da sich der Kopf nicht ums Auge sondern
um eine Punkt, ca. 6cm dahinter dreht
* sichtwinkel: Bildausschnitt in Grad, für Fahrer normalerweise 52°, normal ist jedoch 45°.
* Normale Sichtausrichtung in Querrichtung in °
* Normale Sichtausrichtung in vertikale Richtung in °0: Blick nach ganz links
[add_camera_driver]
-0.9
4.452
1.89
-0.06
48
-120
-5
1: Blick nach schräg links
[add_camera_driver]
-0.683
4.452
1.89
-0.06
48
-60
-5
2: Blick in den linken Spiegel
[add_camera_driver]
-0.683
4.452
1.89
-0.06
48
-20
-53: Blick nach vorne (std)
[add_camera_driver]
-0.683
4.452
1.89
-0.06
50
0
-102.13
4: Blick in den rechten Spiegel
[add_camera_driver]
-0.683
4.452
1.89
-0.06
48
33
05: Blick zur Tür
[add_camera_driver]
-0.683
4.452
1.89
-0.06
55
85
-105: Blick nach ganz rechts
[add_camera_driver]
-0.683
4.452
1.89
-0.06
55
115
-106: Panel-Zoom
[add_camera_driver]
-0.683
4.452
2.25
-0.06
50
0
-407: Fahrplan-Sicht
[add_camera_driver]
-0.683
4.452
2.13
-0.06
30
17
10
[view_schedule]8: Fahrscheinverkauf-Sicht
[add_camera_driver]
-0.683
4.700
1.89
-0.06
44
60
-35[view_ticketselling]
################
Passagiersichten
################0: Hinten mittig sitzend
[add_camera_pax]
-0.7
-5.3
2.3
-0.06
45
0
01: Stehplatz an der Hintertür
[add_camera_pax]
-0.3
-0.5
2.2
-0.06
45
90
0
2: vorne auf dem "Beifahrersitz"
[add_camera_pax]
0.9
3.6
2.1
-0.06
45
0
0Folgender Befehl setzt die Standardfahrerkamera:
[set_camera_std]
3Folgender Befehl setzt den Zentrierpunkt der Außenkamera:
[set_camera_outside_center]
0
0
1.2////////////////////////////////////////////////////////
Reflexionskameras *NEU01*
////////////////////////////////////////////////////////In dieser Sektion werden die Reflexionkameras gesetzt. Ist dieses Fahrzeug das eigene, wird aus einer jeden Kamera Perspektive
die Szene gerendert und dann entsprechend aufsteigend in die Texturen mit den Namen "reflexion0.bmp", "reflexion1.bmp" usw. gespeichert,
von wo aus dann auf die Textur zwecks eigentlichen Rendervorgang zurückgegriffen werden kann.[add_camera_reflexion]
-1.288
5.431
1.76
0
52
169
0[add_camera_reflexion]
1.255
5.86
2.227
0
52
201
-5[add_camera_reflexion]
0.138
5.336
2.531
0
52
200
-20[add_camera_reflexion]
0.63
5.295
2.499
0
52
220
-20////////////////////////////////////////////////////////
ticket block attach points
////////////////////////////////////////////////////////Please mind: Nr.0 = ticket type 0, Nr.1 = ticket type 1 and so on.
ticket type 0:
[new_attachment]
attach_rot_y
0attach_trans
-0.211
5.642
1.078ticket type 1:
[new_attachment]
attach_rot_y
0attach_trans
-0.153
5.642
1.078ticket type 2:
[new_attachment]
attach_rot_y
0attach_trans
-0.068
5.642
1.078ticket type 3:
[new_attachment]
attach_rot_y
0attach_trans
0
5.642
1.078ticket type 4:
[new_attachment]
attach_rot_y
0attach_trans
0.108
5.642
1.078////////////////////////////////////////////////////////
Physikalische und geometrische Grunddaten
////////////////////////////////////////////////////////Masse in t:
[mass]
10.20Trägheitsmomente um x, y und z-Achse, also Quer-, Längs- und Hochachse um den Schwerpunkt in dieser Reihenfolge in t*m^2:
500
200
500[momentofintertia]
300
80
300Boundingbox des Busses *NEU01*
[boundingbox]
2.5
11.37
2.7
0
-0.05
2.28Höhe d. Schwerpunktes überm Boden:
[schwerpunkt]
1.2Rollwiderstand (konstant, wird demnächst eventuell geändert) als Kraft in N
[rollwiderstand]
1000Längskoordinate des Drehpunktes, wenn der Bus eine Kurve beschreibt:
[rot_pnt_long]
-2.681Kehrwert des minimalen Lenkradiuses: (Berechenbar über die Formel: inv_turnradius = tan(alpha)/s,
wobei alpha der maximale Winkel bspw. der Vorderachse und s deren Abstand zum Drehpunkt in Längsrichtung ist:[inv_min_turnradius]
0.13[ai_deltaheight]
-0.10Folgende Sektion erzeugt nacheinander die Busachsen mit ihren Parametern. ACHTUNG: bei einem Fahrzeug mit
unterschiedlich großen Rädern sollte zunächst die angetriebene Achse eingegeben werden, da die zuerst ein-
gegebene Achse den Antriebsraddurchmesser vorgibt, d.h. das Getriebeübersetzungsverhältnis zur Ge-
schwindigkeit ist in Bezug auf die 0. Achse gemessen.Vorderachse:
[newachse]
Koordinate:
achse_long
3.201Breite der Auflagefläche beider Reifen, also ungefähr die Busbreite
achse_maxwidth
2.4achse_minwidth
1.76Raddurchmesser der Räder dieser Achse
achse_raddurchmesser
1.069Federkonstante der Federung PRO SEITE in kN/m
achse_feder
180Höchstbelastung in kN
achse_maxforce
80Dämpferkonstante in kNs/m
achse_daempfer
25
Ist diese Achse angetrieben?achse_antrieb
0Hinterachse:
[newachse]
achse_long
-2.681
achse_maxwidth
2.4
achse_minwidth
1.2
achse_raddurchmesser
0.94
achse_feder
220
achse_maxforce
106
achse_daempfer
25
achse_antrieb
1Door file:
'##############
'Door Script
'##############'Controls Doors
'(c) 2007-2009 Rüdiger Hülsmann
'(c) 2007-2009 Marcel Kuhnt'Script Version: 1.1
'Omsi release: 1.0'Needs:
'- elec'Revision History:
'- Marcel Kuhnt 13.06.2009 Batterietrennschalter => elec_busbar_main
'- Marcel Kuhnt 21.06.2009 AI-Unterstützung hinzugefügt
'- Rüdiger Hülsmann 24.10.2009 Ansteuerung des Kinderwagenwunsches modifiziert
'- Rüdiger Hülsmann 19.12.2009 Timer für Ausstiegstür jetzt Timegap-basiert, Bugfix: Tür schließt jetzt nur bei elec_busbar=1
'- RÜdiger Hülsmann 22.09.2010 Door light trigger value set to 0.1
'- RÜdiger Hülsmann 07.11.2010 Door speed based on reservoir pressure, air-operated doors made an option
'- Marcel Kuhnt 08.11.2010 AI procedure closing doors debugged
'- Rüdiger Hülsmann 21.11.2010 Front doors only operable when busbar on
'- Rüdiger Hülsmann 23.12.2010 External front door operation included, option: doors only operable with actual stop brake
'-Rüdiger Hülsmann 31.12.2010 Electric door function debugged
'-Rüdiger Hülsmann 05.01.2011 20h-switch
'-Rüdiger Hülsmann 07.01.2011 Backdoor manual switch sound debugged, 20h switch depending on bus type
'-Rickard Karlsson 31.01.2012 Removed automatic backdoor, added manual back door'--------------------------------------------------------------------------------
{trigger:bus_doorfront0}
(L.L.elec_busbar_main) (L.L.bremse_halte_sw) (C.L.door_needs_stopbrake) ! && &&
(L.L.elec_busbar_main) (L.L.bremse_halte) (C.L.door_needs_stopbrake) && &&
{if}
(M.L.trg_bus_doorfront0)
(M.L.trg_bus_doorfront1)
{endif}
1 (S.L.cockpit_tuertaster1)
1 (S.L.cockpit_tuertaster2)
{end}{trigger:bus_doorfront0_off}
0 (S.L.cockpit_tuertaster1)
0 (S.L.cockpit_tuertaster2)
{end}{trigger:bus_doorfront0_external}
(L.L.elec_busbar_avail)
{if}
(M.L.trg_bus_doorfront0)
{endif}
{end}{trigger:bus_doorback23}
(L.L.elec_busbar_main) (L.L.bremse_halte_sw) (C.L.door_needs_stopbrake) ! && &&
(L.L.elec_busbar_main) (L.L.bremse_halte) (C.L.door_needs_stopbrake) && &&
{if}
(M.L.trg_bus_doorback23)
{endif}
1 (S.L.cockpit_doorback23)
{end}{trigger:bus_doorback23_off}
0 (S.L.cockpit_doorback23)
{end}{trigger:bus_dooraft}
(M.L.trg_bus_dooraft){trigger:bus_20h-switch}
(C.L.cockpit_has_20h_switch)
{if}
(M.L.trg_bus_20h-switch)
{endif}
{end}{trigger:int_haltewunsch}
1 (S.L.haltewunsch)
{end}{trigger:door_haltewunsch}
1 (S.L.haltewunsch) (S.L.door_haltewunsch_knopfdruck)
{end}{trigger:door_haltewunsch_off}
0 (S.L.door_haltewunsch_knopfdruck)
{end}{trigger:cp_schalter_kinderwagen}
(L.L.door_handsteuerung) ! (S.L.door_handsteuerung)
{if}
0 (S.L.door_kinderwagenwunsch)
(T.L.ev_kippschalter_ein)
{else}
(T.L.ev_kippschalter_aus)
{endif}{end}
{trigger:door_kinderwagenwunsch}
(L.L.bremse_halte) (L.L.door_handsteuerung) ! &&
{if}
1 (S.L.door_kinderwagenwunsch)
{endif}
{end}{macro:Door_Init}
1000 random 500 / 1 - (C.L.door_acc_var) * (C.L.fdoor_acc) + (S.L.doorAcc_0)
1000 random 500 / 1 - (C.L.door_acc_var) * (C.L.fdoor_acc) + (S.L.doorAcc_1)
1000 random 500 / 1 - (C.L.door_acc_var) * (C.L.bdoor_acc) + (S.L.doorAcc_2)
1000 random 500 / 1 - (C.L.door_acc_var) * (C.L.bdoor_acc) + (S.L.doorAcc_3)1000 random 500 / 1 - (C.L.door_maxspeed_var) * (C.L.fdoor_maxspeed) + (S.L.doorMaxSpeed_0_norm)
1000 random 500 / 1 - (C.L.door_maxspeed_var) * (C.L.fdoor_maxspeed) + (S.L.doorMaxSpeed_1_norm)
1000 random 500 / 1 - (C.L.door_maxspeed_var) * (C.L.bdoor_maxspeed) + (S.L.doorMaxSpeed_2_norm)
1000 random 500 / 1 - (C.L.door_maxspeed_var) * (C.L.bdoor_maxspeed) + (S.L.doorMaxSpeed_3_norm)(C.L.door_refl) (S.L.doorRefl_0)
(C.L.door_refl) (S.L.doorRefl_1)
(C.L.door_refl) (S.L.doorRefl_2)
(C.L.door_refl) (S.L.doorRefl_3)
{end}{macro:Door_Frame}
(M.L.Door0_Calc)
(M.L.Door1_Calc)
(M.L.DoorAftCalc)
(M.L.Door2_Calc)
(M.L.Door3_Calc)(L.L.door_0) 0.9 > (S.L.PAX_Entry0_Open)
(L.L.door_1) 0.9 > (S.L.PAX_Entry1_Open)
(L.L.door_2) 0.9 > (L.L.door_3) 0.9 > && (S.L.PAX_Exit0_Open) (S.L.PAX_Exit1_Open)' "Dauerfeuer"-Haltewunsch über Kinderwagenschalter (macht genau dasselbe wie der "trigger:int_haltewunsch"):
(L.L.door_handsteuerung) (L.L.door_haltewunsch_knopfdruck)
{if}
1 (S.L.haltewunsch)
{endif}' Setzen der Haltestellenbremse erst bei Stillstand des Busses:
(L.L.bremse_halte_sw) (L.L.door_20h_sw)
(L.L.bremse_halte) ! (L.L.Velocity) (C.L.Door_Bremse_Halte_MaxKMH) < && &&
{if}
(L.L.elec_busbar_main)
{if}
(T.L.ev_haltebremse_an)
1 (S.L.bremse_halte)
{endif}
{endif}' Anhand dieser Bedingungen kann nun die Automatiktür geöffnet werden:
' Türfreigabekriterium
(L.L.bremse_halte_sw) (L.L.bremse_halte) && (S.L.door_freigabe)
' Haltewunschlampe:
(L.L.haltewunsch) (L.L.door_2) 0.2 < (L.L.elec_busbar_main) && &&
{if}
1 (S.L.haltewunschlampe)
{else}
0 (S.L.haltewunschlampe) (S.L.haltewunsch)
{endif}' Abfall des Kinderwagenwunsch-Relais bei fehlender Stromversorgung:
(L.L.elec_busbar_main) 0 =
{if}
0 (S.L.door_kinderwagenwunsch)
{endif}' Beleuchtung der Einstiege
(L.L.elec_busbar_main)
{if}
(L.L.door_0) 0.1 > (L.L.door_1) 0.1 >(S.L.door_light_1)
(L.L.door_2) 0.1 > (L.L.door_3) 0.1 >(S.L.door_light_2)
{else}
0 (S.L.door_light_1) (S.L.door_light_2)
{endif}' Druckabhängige Türgeschwindigkeit
(C.L.door_druckluft)
{if}
(L.L.doorMaxSpeed_0_norm) (L.L.bremse_p_Tank04) 100000 - 850000 / (S.L.doorMaxSpeed_0)
(L.L.doorMaxSpeed_1_norm) (L.L.bremse_p_Tank04) 100000 - 850000 / (S.L.doorMaxSpeed_1)
(L.L.doorMaxSpeed_2_norm) (L.L.bremse_p_Tank04) 100000 - 850000 / (S.L.doorMaxSpeed_2)
(L.L.doorMaxSpeed_3_norm) (L.L.bremse_p_Tank04) 100000 - 850000 / (S.L.doorMaxSpeed_3)
{endif}
'----------------------
' 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.bremse_halte_sw) !
{if}
(M.L.trg_bus_dooraft)
{endif}
(L.L.doorTarget_0) ! (L.L.door_AI_timer) 0.3 > &&
{if}
(M.L.trg_bus_doorfront0)
{endif}
(L.L.doorTarget_1) ! (L.L.door_AI_timer) 0.6 > &&
{if}
(M.L.trg_bus_doorfront1)
{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}
'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_2) 0.1 < &&
{if}
(L.L.bremse_halte_sw) (L.L.door_AI_timer) 0.3 > &&
{if}
(M.L.trg_bus_dooraft)
{endif}
(L.L.bremse_halte_sw) !
{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.bremse_halte_sw) !
{if}
(M.L.trg_bus_dooraft)
{endif}
(L.L.doorTarget_0) !
(L.L.doorTarget_1) ! &&
{if}
0 (S.L.door_AI_timer)
{endif}
{endif}
(L.L.door_AI_timer) (L.S.Timegap) + (S.L.door_AI_timer)
{endif}
{endif}{end}
{macro:Door0_Calc}
(C.L.electric_doors)
{if}
(L.L.doorTarget_0)
{if}
(L.L.door_0) (F.L.door_0_opn_speed) (S.L.doorMaxSpeed_0)
{else}
(L.L.door_0) (F.L.door_0_cls_speed) (S.L.doorMaxSpeed_0)
{endif}(C.L.fdoor_acc) (S.L.doorAcc_0)
(L.L.doorTarget_0) ! (L.L.doorSpeed_0) s0 abs 0.05 > (L.L.door_0) 0 >
&&
{if}
l0 /-/ (L.L.doorMaxSpeed_0) <
{if}
(L.L.doorSpeed_0) (L.L.doorAcc_0) (L.S.Timegap) * - (S.L.doorSpeed_0)
{else}
(L.L.doorSpeed_0) (L.L.doorAcc_0) (L.S.Timegap) * + (S.L.doorSpeed_0)
{endif}
(L.L.door_0) (L.L.doorSpeed_0) (L.S.Timegap) * + (S.L.door_0)
{else}
(L.L.doorSpeed_0) abs 0.05 > (L.L.door_0) 1 <(L.L.doorTarget_0) &&
{if}
l0 (L.L.doorMaxSpeed_0) <
{if}
(L.L.doorSpeed_0) (L.L.doorAcc_0) (L.S.Timegap) * + (S.L.doorSpeed_0)
{else}
(L.L.doorSpeed_0) (L.L.doorAcc_0) (L.S.Timegap) * - (S.L.doorSpeed_0)
{endif}
(L.L.door_0) (L.L.doorSpeed_0) (L.S.Timegap) * + (S.L.door_0)
{else}
0 (S.L.doorSpeed_0)
{endif}
{endif}
{else}
(L.L.doorTarget_0) ! (L.L.doorSpeed_0) s0 abs 0.05 > (L.L.door_0) 0 >&&
{if}
l0 /-/ (L.L.doorMaxSpeed_0) <
{if}
(L.L.doorSpeed_0) (L.L.doorAcc_0) (L.S.Timegap) * - (S.L.doorSpeed_0)
{endif}
(L.L.door_0) (L.L.doorSpeed_0) (L.S.Timegap) * + (S.L.door_0)
{else}
(L.L.doorSpeed_0) abs 0.05 > (L.L.door_0) 1 <(L.L.doorTarget_0) &&
{if}
l0 (L.L.doorMaxSpeed_0) <
{if}
(L.L.doorSpeed_0) (L.L.doorAcc_0) (L.S.Timegap) * + (S.L.doorSpeed_0)
{endif}
(L.L.door_0) (L.L.doorSpeed_0) (L.S.Timegap) * + (S.L.door_0)
{else}
0 (S.L.doorSpeed_0)
{endif}
{endif}
{endif}(L.L.door_0) 1 >
{if}
(T.L.ev_doorhitopen_0)
1 (S.L.door_0)
(L.L.doorSpeed_0) /-/ (L.L.doorRefl_0) * (S.L.doorSpeed_0)
{else}
(L.L.door_0) 0 <
{if}
(T.L.ev_doorhitclose_0)
0 (S.L.door_0)
(L.L.doorSpeed_0) /-/ (L.L.doorRefl_0) * (S.L.doorSpeed_0)
{endif}
{endif}
{end}{macro:Door1_Calc}
(C.L.electric_doors)
{if}
(L.L.doorTarget_1)
{if}
(L.L.door_1) (F.L.door_1_opn_speed) (S.L.doorMaxSpeed_1)
{else}
(L.L.door_1) (F.L.door_1_cls_speed) (S.L.doorMaxSpeed_1)
{endif}(C.L.fdoor_acc) (S.L.doorAcc_1)
(L.L.doorTarget_1) ! (L.L.doorSpeed_1) s0 abs 0.05 > (L.L.door_1) 0 >
&&
{if}
l0 /-/ (L.L.doorMaxSpeed_1) <
{if}
(L.L.doorSpeed_1) (L.L.doorAcc_1) (L.S.Timegap) * - (S.L.doorSpeed_1)
{else}
(L.L.doorSpeed_1) (L.L.doorAcc_1) (L.S.Timegap) * + (S.L.doorSpeed_1)
{endif}
(L.L.door_1) (L.L.doorSpeed_1) (L.S.Timegap) * + (S.L.door_1)
{else}
(L.L.doorSpeed_1) abs 0.05 > (L.L.door_1) 1 <(L.L.doorTarget_1) &&
{if}
l0 (L.L.doorMaxSpeed_1) <
{if}
(L.L.doorSpeed_1) (L.L.doorAcc_1) (L.S.Timegap) * + (S.L.doorSpeed_1)
{else}
(L.L.doorSpeed_1) (L.L.doorAcc_1) (L.S.Timegap) * - (S.L.doorSpeed_1)
{endif}
(L.L.door_1) (L.L.doorSpeed_1) (L.S.Timegap) * + (S.L.door_1)
{else}
0 (S.L.doorSpeed_1)
{endif}
{endif}
{else}
(L.L.doorTarget_1) ! (L.L.doorSpeed_1) s0 abs 0.05 > (L.L.door_1) 0 >&&
{if}
l0 /-/ (L.L.doorMaxSpeed_1) <
{if}
(L.L.doorSpeed_1) (L.L.doorAcc_1) (L.S.Timegap) * - (S.L.doorSpeed_1)
{endif}
(L.L.door_1) (L.L.doorSpeed_1) (L.S.Timegap) * + (S.L.door_1)
{else}
(L.L.doorSpeed_1) abs 0.05 > (L.L.door_1) 1 <(L.L.doorTarget_1) &&
{if}
l0 (L.L.doorMaxSpeed_1) <
{if}
(L.L.doorSpeed_1) (L.L.doorAcc_1) (L.S.Timegap) * + (S.L.doorSpeed_1)
{endif}
(L.L.door_1) (L.L.doorSpeed_1) (L.S.Timegap) * + (S.L.door_1)
{else}
0 (S.L.doorSpeed_1)
{endif}
{endif}
{endif}
(L.L.door_1) 1 >
{if}
(T.L.ev_doorhitopen_1)
1 (S.L.door_1)
(L.L.doorSpeed_1) /-/ (L.L.doorRefl_1) * (S.L.doorSpeed_1)
{else}
(L.L.door_1) 0 <
{if}
(T.L.ev_doorhitclose_1)
0 (S.L.door_1)
(L.L.doorSpeed_1) /-/ (L.L.doorRefl_1) * (S.L.doorSpeed_1)
{endif}
{endif}
{end}{macro:DoorAftCalc}
(L.L.bremse_halte_sw) !
(L.L.door_20h_sw) ! &&
(L.L.door_2) 0 = &&
(L.L.door_3) 0 = &&
(L.L.elec_busbar_main) !
(L.L.bremse_halte) &&
{if}
0 (S.L.bremse_halte)
(T.L.ev_haltebremse_aus)
{endif}{end}
{macro:Door2_Calc}
(C.L.electric_doors)
{if}
(L.L.doorTarget_23)
{if}
(L.L.door_2) (F.L.door_2_opn_speed) (S.L.doorMaxSpeed_2)
{else}
(L.L.door_2) (F.L.door_2_cls_speed) (S.L.doorMaxSpeed_2)
{endif}(C.L.bdoor_acc) (S.L.doorAcc_2)
(L.L.doorTarget_23) ! (L.L.doorSpeed_2) s0 abs 0.05 > (L.L.door_2) 0 >
&&
{if}
l0 /-/ (L.L.doorMaxSpeed_2) <
{if}
(L.L.doorSpeed_2) (L.L.doorAcc_2) (L.S.Timegap) * - (S.L.doorSpeed_2)
{else}
(L.L.doorSpeed_2) (L.L.doorAcc_2) (L.S.Timegap) * + (S.L.doorSpeed_2)
{endif}
(L.L.door_2) (L.L.doorSpeed_2) (L.S.Timegap) * + (S.L.door_2)
{else}
(L.L.doorSpeed_2) abs 0.05 > (L.L.door_2) 1 <(L.L.doorTarget_23) &&
{if}
l0 (L.L.doorMaxSpeed_2) <
{if}
(L.L.doorSpeed_2) (L.L.doorAcc_2) (L.S.Timegap) * + (S.L.doorSpeed_2)
{else}
(L.L.doorSpeed_2) (L.L.doorAcc_2) (L.S.Timegap) * - (S.L.doorSpeed_2)
{endif}
(L.L.door_2) (L.L.doorSpeed_2) (L.S.Timegap) * + (S.L.door_2)
{else}
0 (S.L.doorSpeed_2)
{endif}
{endif}
{else}
(L.L.doorTarget_23) ! (L.L.doorSpeed_2) s0 abs 0.05 > (L.L.door_2) 0 >&&
{if}
l0 /-/ (L.L.doorMaxSpeed_2) <
{if}
(L.L.doorSpeed_2) (L.L.doorAcc_2) (L.S.Timegap) * - (S.L.doorSpeed_2)
{endif}
(L.L.door_2) (L.L.doorSpeed_2) (L.S.Timegap) * + (S.L.door_2)
{else}
(L.L.doorSpeed_2) abs 0.05 > (L.L.door_2) 1 <(L.L.doorTarget_23) &&
{if}
l0 (L.L.doorMaxSpeed_2) <
{if}
(L.L.doorSpeed_2) (L.L.doorAcc_2) (L.S.Timegap) * + (S.L.doorSpeed_2)
{endif}
(L.L.door_2) (L.L.doorSpeed_2) (L.S.Timegap) * + (S.L.door_2)
{else}
0 (S.L.doorSpeed_2)
{endif}
{endif}
{endif}(L.L.door_2) 1 >
{if}
(T.L.ev_doorhitopen_2)
1 (S.L.door_2)
(L.L.doorSpeed_2) /-/ (L.L.doorRefl_2) * (S.L.doorSpeed_2)
{else}
(L.L.door_2) 0 <
{if}
(T.L.ev_doorhitclose_2)
0 (S.L.door_2)
(L.L.doorSpeed_2) /-/ (L.L.doorRefl_2) * (S.L.doorSpeed_2)
{endif}
{endif}
{end}{macro:Door3_Calc}
(C.L.electric_doors)
{if}
(L.L.doorTarget_23)
{if}
(L.L.door_3) (F.L.door_3_opn_speed) (S.L.doorMaxSpeed_3)
{else}
(L.L.door_3) (F.L.door_3_cls_speed) (S.L.doorMaxSpeed_3)
{endif}(C.L.bdoor_acc) (S.L.doorAcc_3)
(L.L.doorTarget_23) ! (L.L.doorSpeed_3) s0 abs 0.05 > (L.L.door_3) 0 >
&&
{if}
l0 /-/ (L.L.doorMaxSpeed_3) <
{if}
(L.L.doorSpeed_3) (L.L.doorAcc_3) (L.S.Timegap) * - (S.L.doorSpeed_3)
{else}
(L.L.doorSpeed_3) (L.L.doorAcc_3) (L.S.Timegap) * + (S.L.doorSpeed_3)
{endif}
(L.L.door_3) (L.L.doorSpeed_3) (L.S.Timegap) * + (S.L.door_3)
{else}
(L.L.doorSpeed_3) abs 0.05 > (L.L.door_3) 1 <(L.L.doorTarget_23) &&
{if}
l0 (L.L.doorMaxSpeed_3) <
{if}
(L.L.doorSpeed_3) (L.L.doorAcc_3) (L.S.Timegap) * + (S.L.doorSpeed_3)
{else}
(L.L.doorSpeed_3) (L.L.doorAcc_3) (L.S.Timegap) * - (S.L.doorSpeed_3)
{endif}
(L.L.door_3) (L.L.doorSpeed_3) (L.S.Timegap) * + (S.L.door_3)
{else}
0 (S.L.doorSpeed_3)
{endif}
{endif}
{else}
(L.L.doorTarget_23) ! (L.L.doorSpeed_3) s0 abs 0.05 > (L.L.door_3) 0 >&&
{if}
l0 /-/ (L.L.doorMaxSpeed_3) <
{if}
(L.L.doorSpeed_3) (L.L.doorAcc_3) (L.S.Timegap) * - (S.L.doorSpeed_3)
{endif}
(L.L.door_3) (L.L.doorSpeed_3) (L.S.Timegap) * + (S.L.door_3)
{else}
(L.L.doorSpeed_3) abs 0.05 > (L.L.door_3) 1 <(L.L.doorTarget_23) &&
{if}
l0 (L.L.doorMaxSpeed_3) <
{if}
(L.L.doorSpeed_3) (L.L.doorAcc_3) (L.S.Timegap) * + (S.L.doorSpeed_3)
{endif}
(L.L.door_3) (L.L.doorSpeed_3) (L.S.Timegap) * + (S.L.door_3)
{else}
0 (S.L.doorSpeed_3)
{endif}
{endif}
{endif}(L.L.door_3) 1 >
{if}
(T.L.ev_doorhitopen_3)
1 (S.L.door_3)
(L.L.doorSpeed_3) /-/ (L.L.doorRefl_3) * (S.L.doorSpeed_3)
{else}
(L.L.door_3) 0 <
{if}
(T.L.ev_doorhitclose_3)
0 (S.L.door_3)
(L.L.doorSpeed_3) /-/ (L.L.doorRefl_3) * (S.L.doorSpeed_3)
{endif}
{endif}{end}
{macro:trg_bus_doorfront0}
(L.L.doorTarget_0) ! (S.L.doorTarget_0)
{if}
(T.L.ev_doortriggeropen_0)
{else}
(T.L.ev_doortriggerclose_0)
{endif}
(C.L.door_druckluft)
{if}
(L.L.bremse_p_Tank04) 100000 - 0.98 * 100000 + (S.L.bremse_p_Tank04)
{endif}
{end}{macro:trg_bus_doorfront1}
(L.L.doorTarget_1) ! (S.L.doorTarget_1)
{if}
(T.L.ev_doortriggeropen_1)
{else}
(T.L.ev_doortriggerclose_1)
{endif}
(C.L.door_druckluft)
{if}
(L.L.bremse_p_Tank04) 100000 - 0.98 * 100000 + (S.L.bremse_p_Tank04)
{endif}
{end}{macro:trg_bus_doorback23}
(L.L.doorTarget_23) ! (S.L.doorTarget_23)
{if}
(T.L.ev_doortriggeropen_2)
{else}
(T.L.ev_doortriggerclose_2)
{endif}
(C.L.door_druckluft)
{if}
(L.L.bremse_p_Tank04) 100000 - 0.96 * 100000 + (S.L.bremse_p_Tank04)
{endif}
{end}{macro:trg_bus_dooraft}
(L.L.bremse_halte_sw) ! (S.L.bremse_halte_sw)
(L.L.bremse_halte_sw)
{if}
(T.L.ev_haltebremse_sw_an)
{else}
(T.L.ev_haltebremse_sw_aus)
{endif}
{end}{macro:trg_bus_20h-switch}
(L.L.door_20h_sw) ! (S.L.door_20h_sw)
(L.L.door_20h_sw)
{if}
(T.L.ev_haltebremse_sw_an)
{else}
(T.L.ev_haltebremse_sw_aus)
{endif}
{end}Paths file:
---------------------------
Soundsets:0 - Normal:
[stepsoundpack]
5
Step_01.wav
Step_02.wav
Step_03.wav
Step_04.wav
Step_05.wav---------------------------
Pathpoints:0
[pathpnt]
1.131
5.097
0.471
[pathpnt]
0.203
5.043
0.472
[pathpnt]
1.131
4.594
0.473
[pathpnt]
0.456
4.509
0.474
[pathpnt]
-0.026
3.99
0.475
[pathpnt]
-0.154
3.497
0.476
[pathpnt]
-0.047
2.823
0.477
[pathpnt]
-0.047
2.054
0.478
[pathpnt]
-0.047
1.389
0.479
[pathpnt]
0
0.686
0.4710
[pathpnt]
0
-0.077
0.4711
[pathpnt]
0
-0.7
0.4712
[pathpnt]
0
-1.564
0.50613
[pathpnt]
0
-2.293
0.55314
[pathpnt]
0
-2.998
0.59715
[pathpnt]
0
-3.854
0.64916
[pathpnt]
0.051
-4.579
0.69317
[pathpnt]
0.058
-4.843
0.7118
[pathpnt]
-0.731
-0.067
0.4719
[pathpnt]
-0.745
-0.701
0.4720
[pathpnt]
-0.746
-0.067
0.4721
[pathpnt]
0.746
-0.701
0.4722
[pathpnt]
1.066
-0.231
0.4723
[pathpnt]
1.066
-0.738
0.4724
[pathpnt]
0.141
3.497
0.4725
[pathpnt]
-0.405
3.497
0.4726
[pathpnt]
-0.41
2.823
0.4727
[pathpnt]
0.146
2.823
0.4728
[pathpnt]
-0.396
2.054
0.4729
[pathpnt]
0.146
2.054
0.4730
[pathpnt]
-0.396
1.389
0.4731
[pathpnt]
0.146
1.389
0.4732
[pathpnt]
-0.396
0.686
0.4733
[pathpnt]
0.146
0.686
0.4734
[pathpnt]
-0.199
-1.564
0.50635
[pathpnt]
0.191
-1.564
0.50636
[pathpnt]
-0.25
-2.293
0.55337
[pathpnt]
0.257
-2.293
0.55338
[pathpnt]
-0.226
-2.998
0.59739
[pathpnt]
0.23
-2.998
0.59740
[pathpnt]
-0.156
-3.854
0.64941
[pathpnt]
0.191
-3.854
0.64942
[pathpnt]
-0.073
-4.579
0.69343
[pathpnt]
0.199
-4.579
0.693--------------------------
Pathlinks:[next_stepsound]
0[next_roomheight]
2[next_roomheight]
1.85[pathlink]
0
1[pathlink]
2
3[pathlink]
3
4[pathlink]
1
4[pathlink]
4
5[pathlink]
5
24[pathlink]
5
25[pathlink]
5
6[pathlink]
6
26[pathlink]
6
27[pathlink]
6
7[pathlink]
7
28[pathlink]
7
29[pathlink]
7
8[pathlink]
8
30[pathlink]
8
31[pathlink]
8
9[pathlink]
9
32[pathlink]
9
33[pathlink]
9
10[pathlink]
10
18[pathlink]
10
20[pathlink]
20
22[pathlink]
10
11[pathlink]
11
19[pathlink]
11
21[pathlink]
21
23[pathlink]
11
12[pathlink]
12
34[pathlink]
12
35[pathlink]
12
13[pathlink]
13
36[pathlink]
13
37[pathlink]
13
14[pathlink]
14
38[pathlink]
14
39[pathlink]
14
15[pathlink]
15
40[pathlink]
15
41[pathlink]
15
16[pathlink]
16
42[pathlink]
16
43[pathlink]
16
17 -
Hello everyone!
I have the MAN NL202 Manual (I LOVE IT :D) but I'd like the passengers to enter through the rear door as well as the front door, and to have them exit through both doors. Since both doors have two "paths" I would like to have one path for each door occupied by an outbound passenger and the other for an inbound passenger. I was wondering if someone could give me some help scripting this, as my knowledge is limited.
Thanks!
-
Hi there, I was wondering if at some point you guys could add in a fully manual version? I prefer manual busses to automatic busses, but if you can't do it or are too busy that's okay too. If possible, please make it somewhat like this here:
[Alpha 0.30] More Realistic Manual Gearbox
Of course, you may want to ask him first, but I think (hope) he'll agree. It's a great script!
-
Hey krtz07, I was wondering what you did with those dummy files? I want to decrease my load times as much as possible, and I think you're on the right track. Could you please explain so I can... yknow... steal your hard work?
-
Hey it's all good, we all get busy sometimes and as long as you keep your priorities straight I have no problem waiting. School always comes first!
-
That is pretty much how the busses already work! When you put the brake on, the doors open if any passengers want to get off. The only thing that's missing is the button! All you need to do is put a light on it and model it into the bus.
-
GTA, if you don't want people to request things then don't speak about them or submit them to the public. Are you not making this bus for the community? Yes, it can get irritating, but that is something you'll have to deal with unless you quit. You can't expect everyone else to change just because you don't like what they're doing.
-
Can you guys not be such jerks to this guy? He said it's his first redesign and it may not be good. Okay, if you don't like it then you are entitled to your opinion but come on!
It is HORRIBLE !! I hâte !!!!!
One way to destroy original MAN SD202, congratulations you managed to do it...
BOTH of those replies, as well as a few others were completely unnecessary, not to mention extremely EXTREMELY rude. I'm sure he put plenty of work into this, and being bashed and insulted for it can seriously hurt someone.
Think about what you say before you say it.
-
Awesome! Thank you
About how far in is this project? Also, how long has it taken you guys so far? -
Man, this looks great. I want to do a map of Kitchener/Waterloo/Cambridge, maybe an Elmira sub-map addon, but I can't seem to get my head around the whole map creation thing.
Regardless, I can't wait for this map to be released. The busses are perfect too! I have a bunch of plans for repaints... With your permission of course.
Is this map FPS friendly? If not, would you mind either creating a more FPS-friendly map, or allowing someone else to?
Thanks!
-
I'm not artistically inclined either
It just takes time and patience!