Train-Sim.Com
MSTS Locomotive Design

Positioning headlights

Notice to all visitors and members of the Train-Sim.Com message forums:
If you plan on using a signature banner in your posts, we would like to remind you that there is a maximum size for banners. That maximum is 450 pixels wide by 120 pixels high, and not to exceed 25k. Your compliance is appreciated. FORUM RULES Problems? There are two common reasons for problems with logging in and posting messages. The first is that you are running a firewall that prevents your messages from being sent to the server. The other is that you have cookies disabled; the DCForum software requires cookies to work properly.

Previous Topic | Next Topic

Printer-friendly copy Email this topic to a friend

Reading Topic #8650

Member since Jun-18-04 · 876 posts

I am trying to position the headlights on the supertrain eng but I can't figure out which number moves the light in which directionI know from the gmax coodoriates that the four front lights arex 1.297 y 0.0 z 1.609
x .978 y 0.0 z 1.609
x -1.297 y 0.0 z 1.609
x -.978 y 0.0 z 1.609 Duration ( 0.0 )
LightColour ( 80ffffff )
Position ( 1.609 2.25 9.45208 )
Azimuth ( 0.0 0.0 0.0 )
Transition ( 0 )
Radius ( 0.40 )
Elevation ( -50 -50 -50 )also what is lightcolour for white and what is elevation for?

Riding on Supertrain.

Alert | IP

Printer-friendly page | Edit | Reply | Reply With Quote | Top

Member since Jun-18-04 · 876 posts

RE: positioning headlights

Found it by why bother seems people would rather have the other supertrain and not mine.

Riding on Supertrain.

Alert | IP

Printer-friendly page | Edit | Reply | Reply With Quote | Top

Member since Jul-7-02 · 359 posts

RE: positioning headlights

Positioning headlights – image 2

I have moved the lights on a couple of models. As I remember, the values for the ligh positions are (x,y,z)where:
x = distance from rail centerline. For a headlight that is centered on an engine this value would be 0 (zero). If there were lights like marker lights, one value would be positive and the other negative One light might be "1" and the other "-1" and would be equally spaced from the center of the front (or rear, as the case may be) of the model.
y = height from rail head. This will be a positive number, like "1.5".
(These two values could be thought of as "front view".)
z = distance forward or back from the center of the model. This will be a positive value for lights on the front of the engine, and a negative value for lights on the rear of the engine.
(This value could be thought of as "side view".) Your front headlight might be "3" and the rear headlight might be "-3".You might want to take a look at the .eng file from an existing engine to see how the numbers are set up. You can always experiment with the values on your own model until the lights are in the correct positions. Hope this helps.Mark

Alert | IP


[ Home | MSTS Forum | MSTS FAQ | How To... | File Library ] Copyright © 2004 by Nels Anderson. All Rights Reserved.

Restored from the Train-Sim.Com archive, captured March 13, 2005. About this archive.