Static engine headlights - not lit

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • qballbandit
    6500 Post Veteran

    • Jan 2006
    • 6522
    • Elgin Il., USA.
    • MSOR

    #1

    Static engine headlights - not lit

    Hello,
    For many years, I have made copies of all player engines into "static" engines using Route Riter. These are placed on sidings, yard tracks, industry tracks, etc.
    I would have to add my own lights to these static engine files, and mostly kept it simple, just adding dim lights to the front and back, as well as any walkway/step/truck lights.
    All is fine on the MSTS side, but none of these engines have their dim headlights on in OR - front or rear. Interesting thing is, all the walkway/step/truck lights are on as expected.

    Here is a sample of coding for the headlights - is there something else I should be doing in order for OR to show these lights?
    Lights ( 14
    Light (
    comment( Head light Top dim )
    Type ( 0 )
    Conditions (
    Headlight ( 0 )
    Unit ( 2 )
    )
    FadeIn ( 1.5 )
    FadeOut ( 0.75 )
    Cycle ( 0 )
    States ( 1
    State (
    Duration ( 0.0 )
    LightColour ( ffffef8f )
    Position ( 0.0 4.35 6.87 )
    Transition ( 0 )
    Radius ( 0.35 )
    )
    )
    )
    Light (
    comment( Head light Bottom dim )
    Type ( 0 )
    Conditions (
    Headlight ( 0 )
    Unit ( 2 )
    )
    FadeIn ( 1.5 )
    FadeOut ( 0.75 )
    Cycle ( 0 )
    States ( 1
    State (
    Duration ( 0.0 )
    LightColour ( ffffef8f )
    Position ( 0.0 4.15 6.85 )
    Transition ( 0 )
    Radius ( 0.35 )
    )
    )
    )
    Light (
    comment( Rear Head light ENGR dim )
    Type ( 0 )
    Conditions (
    Headlight ( 0 )
    Unit ( 3 )
    )
    FadeIn ( 1.5 )
    FadeOut ( 0.75 )
    Cycle ( 0 )
    States ( 1
    State (
    Duration ( 0.0 )
    LightColour ( ffffef8f )
    Position ( 0.12 3.94 -7.91 )
    Azimuth ( -180 -180 -180 )
    Transition ( 0 )
    Radius ( 0.24 )
    )
    )
    )
    Light (
    comment( Rear Head light CNDR dim )
    Type ( 0 )
    Conditions (
    Headlight ( 0 )
    Unit ( 3 )
    )
    FadeIn ( 1.5 )
    FadeOut ( 0.75 )
    Cycle ( 0 )
    States ( 1
    State (
    Duration ( 0.0 )
    LightColour ( ffffef8f )
    Position ( -0.09 3.94 -7.89 )
    Azimuth ( -180 -180 -180 )
    Transition ( 0 )
    Radius ( 0.24 )
    )
    )
    )

    Thank you for any information provided.
    Last edited by qballbandit; 02-13-2017, 09:53.
    Neil

    Chicago Railroading Fan
  • crstagg
    4500 Post Veteran


    • Nov 1999
    • 4885
    • Huntsville, AL
    • Texan
    • MSOR

    #2
    No Service lines
    From Lights manual:
    Service (1) (the unit is not in service e.g. a failed train lying in a siding)
    Charles

    Comment

    • qballbandit
      6500 Post Veteran

      • Jan 2006
      • 6522
      • Elgin Il., USA.
      • MSOR

      #3
      Hello Charles,
      I assume when you state "From Lights manual", you mean from the main OR screen under "Documents"?
      Mine is greyed out, and it's because I have been using daily test versions. I'll try reloading 1.2 so I can look that up.

      Thanks very much!
      Neil

      Chicago Railroading Fan

      Comment

      • crstagg
        4500 Post Veteran


        • Nov 1999
        • 4885
        • Huntsville, AL
        • Texan
        • MSOR

        #4
        Originally posted by qballbandit
        Hello Charles,
        I assume when you state "From Lights manual", you mean from the main OR screen under "Documents"?
        Mine is greyed out, and it's because I have been using daily test versions. I'll try reloading 1.2 so I can look that up.

        Thanks very much!
        No I mean the MSTS lights manual "How_To_Specify_Lights.doc". All the OR manual says is "OR supports the whole set of lights accepted by MSTS."
        Charles

        Comment

        • qballbandit
          6500 Post Veteran

          • Jan 2006
          • 6522
          • Elgin Il., USA.
          • MSOR

          #5
          Ah, ok - I am looking at that now. Rather vague though. Does the statement get added as it's own line, or to the "Conditions" section?

          edit: no luck seeing the lights when adding into conditions section, or as it's own line.
          Also, why would the safety lights all show without having a "Service ( 1 )" entry?

          A snip-it of safety lights:

          Light (
          comment( Rear ENGR Walkway light )
          Type ( 0 )
          Conditions (
          Headlight ( 0 )
          Unit ( 0 )
          )
          Cycle ( 0 )
          FadeIn ( 0.5 )
          FadeOut ( 0.5 )
          States ( 1
          State (
          Duration ( 0.0 )
          LightColour ( ffe5eeff )
          Position ( 0.09 1.83 -7.8 )
          Azimuth ( -180 -180 -180 )
          Transition ( 0 )
          Radius ( 0.1 )
          )
          )
          )
          Comment ( Step Lights )
          Light (
          comment( CNDR Side Front Step Light )
          Type ( 0 )
          Conditions (
          Headlight ( 0 )
          Unit ( 0 )
          )
          Cycle ( 0 )
          FadeIn ( 0.5 )
          FadeOut ( 0.5 )
          States ( 1
          State (
          Duration ( 0.0 )
          LightColour ( ffe5eeff )
          Position ( -1.03 1.42 8.57 )
          Azimuth ( -90 -90 -90 )
          Transition ( 0 )
          Radius ( 0.2 )
          )
          )
          )
          Last edited by qballbandit; 02-13-2017, 11:26.
          Neil

          Chicago Railroading Fan

          Comment

          • solarnet
            Senior Member

            • Nov 2003
            • 157
            • LaVista, Nebraska, USA.
            • General

            #6
            Originally posted by qballbandit
            Hello,

            Lights ( 14
            Light (
            comment( Head light Top dim )
            Type ( 0 )
            Conditions (
            Headlight ( 0 )
            Unit ( 2 )
            )
            FadeIn ( 1.5 )
            FadeOut ( 0.75 )
            Cycle ( 0 )
            States ( 1
            State (
            Duration ( 0.0 )
            LightColour ( ffffef8f )
            Position ( 0.0 4.35 6.87 )
            Transition ( 0 )
            Radius ( 0.35 )
            )
            )
            )
            Light (
            comment( Head light Bottom dim )
            Type ( 0 )
            Conditions (
            Headlight ( 0 )
            Unit ( 2 )
            )
            FadeIn ( 1.5 )
            FadeOut ( 0.75 )
            Cycle ( 0 )
            States ( 1
            State (
            Duration ( 0.0 )
            LightColour ( ffffef8f )
            Position ( 0.0 4.15 6.85 )
            Transition ( 0 )
            Radius ( 0.35 )
            )
            )
            )
            Light (
            comment( Rear Head light ENGR dim )
            Type ( 0 )
            Conditions (
            Headlight ( 0 )
            Unit ( 3 )
            )
            FadeIn ( 1.5 )
            FadeOut ( 0.75 )
            Cycle ( 0 )
            States ( 1
            State (
            Duration ( 0.0 )
            LightColour ( ffffef8f )
            Position ( 0.12 3.94 -7.91 )
            Azimuth ( -180 -180 -180 )
            Transition ( 0 )
            Radius ( 0.24 )
            )
            )
            )
            Light (
            comment( Rear Head light CNDR dim )
            Type ( 0 )
            Conditions (
            Headlight ( 0 )
            Unit ( 3 )
            )
            FadeIn ( 1.5 )
            FadeOut ( 0.75 )
            Cycle ( 0 )
            States ( 1
            State (
            Duration ( 0.0 )
            LightColour ( ffffef8f )
            Position ( -0.09 3.94 -7.89 )
            Azimuth ( -180 -180 -180 )
            Transition ( 0 )
            Radius ( 0.24 )
            )
            )
            )
            Change the Unit to ( 0 )
            Richard Rasmussen
            The Locomotive Paintshop
            http://tlptrainsim.proboards.com/index.cgi

            Comment

            • crstagg
              4500 Post Veteran


              • Nov 1999
              • 4885
              • Huntsville, AL
              • Texan
              • MSOR

              #7
              Originally posted by qballbandit
              ...........
              Also, why would the safety lights all show without having a "Service ( 1 )" entry?
              I'm no expert on lights but I can read:

              Step 1: Setting requirements
              The first thing you must specify is when you want the light or lights in question to come on. This is done by setting a number of flags to define the requirements for the lights concerned to light – if no requirements are listed, the light will always be on.
              For your Safety lights all conditions listed are Zero. Same as if none listed.

              Originally posted by qballbandit
              Ah, ok - I am looking at that now. Rather vague though. Does the statement get added as it's own line, or to the "Conditions" section?
              ......
              Another MSTS "gotchya" In the Document they are listed as "requirements" but the Name of the sub-section of the Lights section is "Conditions".

              As too why the dim headlights are not on: maybe you need a Control (1) (the player is not control of the unit [i.e. it is a helper locomotive or wagon) line also.
              Charles

              Comment

              • crstagg
                4500 Post Veteran


                • Nov 1999
                • 4885
                • Huntsville, AL
                • Texan
                • MSOR

                #8
                Originally posted by solarnet
                Change the Unit to ( 0 )
                That will turn the light on dim when the ENG is a trail of player, AI or loose consist.
                Charles

                Comment

                • jrmeindl
                  Senior Member
                  • May 2006
                  • 187
                  • Elmwood Park, Illinois, USA.

                  #9
                  Neil,

                  Should be something along this order.

                  Light (
                  comment( Head light left bright )

                  Type ( 0 )

                  Conditions (

                  Control ( 0 )

                  Unit ( 2 )

                  Service ( 1 )

                  TimeOfDay ( 0 )
                  )

                  FadeIn ( 0.5 )
                  FadeOut ( 0.5 )

                  Cycle ( 0 )

                  States ( 1

                  State (

                  Duration ( 0.0 )

                  LightColour ( ffffef8f )

                  Position ( 0.1 3.653 6.5 )

                  Azimuth ( 0.0 0.0 0.0 )

                  Transition ( 0 )

                  Radius ( 0.9 )

                  )

                  )

                  )

                  Control, Unit and Service can be change to what you trying to accomplish per the MSTS Lights Document. Time of day is optional based on what you are trying to show at various times of the day.

                  Jim
                  Last edited by jrmeindl; 02-13-2017, 19:26.

                  Comment

                  • peterman
                    Senior Member

                    • May 2010
                    • 151
                    • Great White North
                    • ORTS

                    #10
                    Howdy boys.... this is the one I use for MLT's AC4400CW

                    Light (
                    comment( Head light Top Dim Not in Service )
                    Type ( 0 )
                    Conditions (
                    Unit ( 2 )
                    Service ( 1 )
                    Control ( 1 )
                    )
                    FadeIn ( 0.5 )
                    FadeOut ( 0.5 )
                    Cycle ( 0 )
                    States ( 1
                    State (
                    Duration ( 0.0 )
                    LightColour ( FFFFFFFF )
                    Position ( 0.0 3.43 10.14 )
                    Transition ( 0 )
                    Radius ( 0.6 )
                    )
                    )
                    )

                    as you can see, it's an extra light section in the .eng file.

                    Peter

                    Comment

                    • qballbandit
                      6500 Post Veteran

                      • Jan 2006
                      • 6522
                      • Elgin Il., USA.
                      • MSOR

                      #11
                      Peter, I see what you have, and assume you are adding that to a player engine. I may do that in the future, but for now, I have 50 or 60 Route Riter made $static engines I want to get working.

                      Jim, I thought I tried your version yesterday in OR, and still couldn't see the lights. Let me start fresh and try again, and I'll report back shortly.


                      EDIT: Still can't get them lit up. I appreciate the suggestions guys, but has anyone actually used a Route Riter created static engine with these values successfully - seeing the lights on them in an activity?
                      Last edited by qballbandit; 02-14-2017, 07:46.
                      Neil

                      Chicago Railroading Fan

                      Comment

                      • wwhall
                        Senior Member


                        • May 2010
                        • 652
                        • Kansas
                        • MSOR

                        #12
                        Neil,

                        The problem may be that $locomotives are actually .wag files. Do you have the same issue if the locomotive is built as a non-running engine in RouteRiter--an #engine_name.eng file?

                        Comment

                        • crstagg
                          4500 Post Veteran


                          • Nov 1999
                          • 4885
                          • Huntsville, AL
                          • Texan
                          • MSOR

                          #13
                          Originally posted by qballbandit
                          Peter, I see what you have, and assume you are adding that to a player engine. I may do that in the future, but for now, I have 50 or 60 Route Riter made $static engines I want to get working.

                          Jim, I thought I tried your version yesterday in OR, and still couldn't see the lights. Let me start fresh and try again, and I'll report back shortly.


                          EDIT: Still can't get them lit up. I appreciate the suggestions guys, but has anyone actually used a Route Riter created static engine with these values successfully - seeing the lights on them in an activity?
                          RR Static engines. Hmmm. Never used that feature. Thought I would create one to see what the ENG file looked like. BUT I cannot find that feature in RR. Could you post the ENG file of one here so we could look at the results?
                          Charles

                          Comment

                          • qballbandit
                            6500 Post Veteran

                            • Jan 2006
                            • 6522
                            • Elgin Il., USA.
                            • MSOR

                            #14
                            Wade, great point. I already planned to create a copy of a player engine, and just modify the light section. That I bet will work. I just wanted to avoid having to go through all my routes and activities, and the headache of substituting the bazillion static engines in use, needing to create new ones (or new .eng file entries) with just low beams.

                            Funny how the safety lights are accepted but headlights are not.
                            Neil

                            Chicago Railroading Fan

                            Comment

                            • crstagg
                              4500 Post Veteran


                              • Nov 1999
                              • 4885
                              • Huntsville, AL
                              • Texan
                              • MSOR

                              #15
                              Neil,

                              I assume from your conversation with Wade that what you are referring to as "Static" locos are created by using the RR feature "Make unpowered Loco". This does in fact create a WAG file for Diesel and Electric engines. And when RR creates this $engine.wag file it removes the Lights section. Have you added a Lights section to the WAG? The Lights section you posted in your OP shows 14 lights. Was it from the ENG file that the static WAG file was created from or from the $engine.wag?
                              Charles

                              Comment

                              Working...