Interiorr LIghts & Rain

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 there why my interior lights don't all work ?
    Only the lights_fahrerlicht works ;/ and the untenrechts I think



    -------------------------------------------------------------------------------------------------------
    the Main


    [interiorlight]
    lights_fahrerlicht
    1
    187
    235
    255
    0.00948
    3.6335
    2.85


    [interiorlight]
    lights_beleuchtung_untenrechts
    1
    187
    235
    255
    0
    1.41231
    2.85


    z
    [interiorlight]
    lights_beleuchtung_oberdeck
    1
    187
    235
    255
    0
    0.30557
    2.85



    [interiorlight]
    lights_beleuchtung_unterdeck
    1
    187
    235
    255
    0
    -1.97965
    2.85
    -----------------------------------------------------------------------


    the trail


    ----------------------------------------------------------------------------------------



    [interiorlight]
    lights_beleuchtung_untenrechts
    1
    187
    235
    255
    0
    1.56614
    2.85




    [interiorlight]
    lights_beleuchtung_oberdeck
    1
    187
    235
    255
    0
    -1.6346
    2.85


    -------------------------------------------------------------------------------
    The bus should be all iilluminated

    :/


    ------------------------------------------------------------------------------



    And Other Question How can I make the effect off the Glass getting clean when it's raining ?

    I don't understand German so please try it to speak in english !!!

    3 Mal editiert, zuletzt von ToshiEd. ()

  • Hello


    Zitat


    Deu:
    Sein Innenlicht arbeitet nicht richtig. Nur das Fahrerlicht arbeitet und er denkt auch das Licht unten rechts. Es sollten aber alle Lichter leuchten.


    ENG:
    The indoor light consisting essentially of two parts. On the one hand there are the objects inside light, each need a specific command to a light texture, so that the objects really shine the light shining on the bus also set up and. First you create the objects for the interior light so that you can then assign the light textures in Omsi. This then passes through the appropriate light command:
    [mesh]
    Bus\Interiourlight_1.o3d


    [matl_change]
    Texture_without_lighton.bmp
    0
    light_beleuchtung_unterdeck


    [matl_item]


    [matl_nightmap]
    light_with_lightoff.bmp


    When the light object then looks switches and lights, then continue. Now we come to you glow. So only the glow of the light, without the source to see, you only see the effect.
    Driverlight
    [interiourlight]
    light command
    reach
    lightcolor red
    lightcolor dreen
    lightcolor blue
    Position left/right
    Position forward/back
    Position up/down


    This light you have already registered. Important in these entries is the order, just like you have entered this model file in. The first entry is the Light 0, the second the light 1, the third light. 2. Now you have the lights nor the objects on the bus assign.
    Objects that no light should be assigned to get the entry:
    [interiour_lights]
    -1
    -1
    -1
    -1


    Objects that are to react only to the high beam, get the entry:
    [interoiur_lights]
    0
    -1
    -1
    -1



    All objects that are intended to be forward and respond to the front light, will receive:
    [interoiur_lights]
    0
    1
    2
    3


    This is always the order of the light entries from the Model.cfg. You can assign a maximum of 4 lights each object. In addition, only the polygons of an object to be illuminated, which are located in the direction of the light spot. And this glow goes through by objects, whether transparent or not. And they also produce no shadows. An entry with a light allocation applies in Model.cfg for all objects which are under the assigned object. This applies until the same command other values gets registered.


    This statement you must then also for the seats in the conduct passenger cabin, so that the passengers are illuminated on the bus on its seating and standing areas. As long as the passengers to move the bus, they respond to the 4 close lie beautiful light entries. Nothing has to be separately added to the path file.


    I hope you can begin what.




    DEU:
    Innenlicht besteht aus zwei Teilen, die das Licht im Bus erzeugen. Die Lichttexturen für die Lampen und die Lichtquellen die das Licht erzeugen, damit die Bauteile im Bus beleuchtet werden. Ersteinmal werden die Lichttexturen erstellt und mit dem Lichtbefehl gekoppelt:
    [mesh]
    Bus\Innenlicht_1.o3d


    [matl_change]
    Licht_an.bmp
    0
    light_beleuchtung_unterdeck


    [matl_item]


    [matl_nightmap]
    Licht_aus.bmp


    Damit sollte das Innenlicht funktionieren und auch sichtbar umschalten, wenn das Script richtig geschrieben wurde. Im nächsten Schritt kommen man dann zu Lichtschein, wo man die Quelle nicht sieht.
    Fahrerlicht
    [interiourlight]
    Lichtbefehl
    Reichweite in meter
    Farbwert Rot
    Farbwert Grün
    Farbwert Blau
    Position links/recht
    Position vorn/hinten
    Position oben/unten


    Diese wurden bereits eingetragen. Wichtig ist die Reihenfolge, wie das Licht eingetragen wurde. Der erste Eintrag (bei ihm das Fahrerlicht) ist das Licht Null, dann folgt Licht 1 und Licht 2. Somit braucht man nurnoch die Objektzuweisungen vornehmen.


    Soll ein Objekt nicht vom Licht beleuchtet werden, dann schreibt man:
    [interiour_lights]
    -1
    -1
    -1
    -1


    Soll ein Objekt nur auf ein einziges Licht reagieren, dann schreibt man:
    [interoiur_lights]
    0
    -1
    -1
    -1



    befindet sich ein Licht vorn und soll nur auf die vorderen Lichter reagieren, dann schreibt man:
    [interoiur_lights]
    0
    1
    2
    3


    Hierbei gibt es einige wichtiges zu beachten. Ein Objekt kann nur maximal von 4 Lichtpunkten angeleuchtet werden, die sich in der Reichweite des Lichtes befinden, daß Licht geht durch alle Objekte durch und erzeugt keinerlei Schatten oder Lichtkonturen. Eine Lichtzuweisung gilt für alle Objekte die unter einem Eintrag stehen, bis diese Befehl mit anderen Werten verändert wird.


    Dieser Befehl wird auch in der Passengercabin eingetragen, damit die Fahrkunden auch auf ihren Sitz- und Stehplätzen von dem Licht angestrahlt werden. Wenn die Fahrkunden durch den Bus laufen, reagieren sie automatisch auf die 4 naheligendsten Lichteinträge.