Results 1 to 8 of 8

Thread: Steady burning end of train light?

  1. #1

    Default Steady burning end of train light?

    Not sure if this is the right section, but here goes - What exactly would I need to do to attain a steady burning red tail light on a standard passenger car? Growing up, I never saw any round end observations, just a coach or sleeper with a red light hung on the rear door. I know there are certain perimeters to doing this - just have no clue where to start. I have several cars chosen for this particular option (not the entire fleet).

    Thanks in advance,
    Dave

  2. #2
    Join Date
    Nov 1999
    Location
    Cumming Ga
    Posts
    2,708

    Default

    You would add a light "clause" to the car's "WAG" file that looks similar to this. BUT... the position is dependent on the dimensions of the car.

    Code:
    	Lights	( 2			
    		Light	(
    			comment( Rear red light flashing bright )
    			Type		( 0 )
    			Conditions	(
    				Headlight ( 3 )
    				Unit ( 3 )
    			)
    			FadeIn	( 0.5 )
    			FadeOut	( 0.5 )
    			Cycle		( 0 )
    			States	(	2
    				State	(
    					Duration ( 0.35 )
    					LightColour ( 80ff0000 )
    					Position ( 1 3.228 -13.859 )
    					Azimuth ( -180 -180 -180 )
    					Transition ( 0 )
    					Radius ( 1.0 )
    				)
    				State	(
    					Duration ( 0.35 )
    					LightColour ( 00000000 )
    					Position ( 1 3.228 -13.859 )
    					Azimuth ( -180 -180 -180 )
    					Transition ( 0 )
    					Radius ( 1.0 )
    				)
    			)
    		)
    		Light	(
    			comment( Rear red light flashing dim )
    			Type		( 0 )
    			Conditions	(
    				Headlight ( 2 )
    				Unit ( 3 )
    			)
    			FadeIn	( 0.5 )
    			FadeOut	( 0.5 )
    			Cycle		( 0 )
    			States	(	2
    				State	(
    					Duration ( 0.35 )
    					LightColour ( 40ff0000 )
    					Position ( 1 3.228 -13.859 )
    					Azimuth ( -180 -180 -180 )
    					Transition ( 0 )
    					Radius ( 1.0 )
    				)
    				State	(
    					Duration ( 0.35 )
    					LightColour ( 00000000 )
    					Position ( 1 3.228 -13.859 )
    					Azimuth ( -180 -180 -180 )
    					Transition ( 0 )
    					Radius ( 1.0 )
    				)
    
    			)
    		)
    
    	)
    Also note: This is for a flashing light... just making a single light is easier.
    http://www.railsimstuff.com
    3D Canvas/Crafter and Blender User
    formerly The Keystone Works (All Permissions Granted)
    In IRC at freenode #msts

  3. #3
    Join Date
    Aug 2010
    Location
    Boise, Idaho
    Posts
    28

    Default

    Thank you! I'll play around with this and see what happens.
    Dave

  4. #4
    Join Date
    May 2010
    Location
    Port Melbourne, Victoria, AU
    Posts
    222

    Default

    Code:
    comment ( ===== lighting for last unit in train )
        Lights    (    1
                    
            Light    (
                comment( solid Rear red light )
                Type        ( 0 )
                Conditions    (
                    Service ( 2 #in service player or AI )
                                    Unit ( 3 #last unit in train )
                )
                FadeIn    ( 0.5 )
                FadeOut    ( 0.5 )
                Cycle        ( 0 )
                States    (    1
                    State    (
                        Duration ( 0.0 )
                        LightColour ( ffff0000 # red colour ff for full bright, 80 for half bright )
                        Position ( 1.10 2.5 -5.00 #  x y z = left-/right+  up+/down- forward+/backward- from model origin )
                        Azimuth ( -180 -180 -180 # 180 degrees points backwards)
                        Transition ( 0 )
                        Radius ( 5.0 # diameter of light in meters)
                    )
                )
            )
        )
    
    comment ( ====== end lighting ====)
    Paste the above into your .wag file (include comment lines to ensure your brackets are correct).
    Light diameter is a ridiculous 5.0m to enable you to see it in sim whilst setting it up - change to 1.0 or less once you've settled on position (see below).
    z dimension - start with half the third parameter in Size line and make sure it's negative.
    # means everything from hash to closing bracket is a comment.

    HTH.

    tail light.jpg
    Yuri, Former Charter Member
    Webmaster, The steam4me site MSTS Tutorials & AU Add-Ons
    http://msts.steam4me.net

  5. #5
    Join Date
    May 2010
    Location
    Port Melbourne, Victoria, AU
    Posts
    222

    Default

    Yuri, Former Charter Member
    Webmaster, The steam4me site MSTS Tutorials & AU Add-Ons
    http://msts.steam4me.net

  6. #6

    Default

    Good to see you're still around Yuri!

    best regards,
    ............Vince ..............
    ...... Author NECv4 .......
    .... LIRR BUILD PHOTOS ....
    .............LIRR VIDEO.............
    ...... Eschew Obsfucation ......

    On the The Statue of Liberty in New York Harbor there is a Tablet. On it is written:
    "Give me your tired, your poor, your huddled masses yearning to breathe free,
    the wretched refuse of your teeming shore, send these, the homeless, tempest-tossed to me,
    I lift my lamp beside the golden door!"

  7. #7
    Join Date
    Jun 2004
    Location
    Perth, WA, Australia.
    Posts
    568

    Default

    Quote Originally Posted by Vince View Post
    Good to see you're still around Yuri!

    best regards,
    I'll second that.

  8. #8
    Join Date
    Feb 2013
    Location
    known universe
    Posts
    2,244

    Default

    Yes, I'll add a third voice...THANK YOU for creating and maintaining a most valuable resource for this hobby! People should visit the Steam4Me web site >>> https://msts.steam4me.net/index.html --- click on the donate button and use PayPal to give just whatever they can afford.
    The Tutorials >> https://msts.steam4me.net/tutorials/index.html alone are worth a donation.

    ThumbsUp_Big.jpg
    Last edited by R. Steele; 03-03-2021 at 11:41 AM.
    Cheers, Gerry
    It's my railroad and I'll do what I want! Historically accurate attitude of US Railroad Barons.
    Forever, ridin' drag in railroad knowledge.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
-->