Here is my admittedly trial and error method for positioning lights.
1. Open the .eng file (not the .s file) in ShapeViewer.
2. On the "View" Tab select Axes/Attachments. This will show the position of the lights on the model.
3. When you click on the written description of the light, it will highlight it on the model in pink.
4. Then you can go back to the .eng file (leave SViewer open in the background) and adjust the position of the light to where you think it should be. Save the .eng file.
5. Return to SViewer, go to the file tab and click "Reload File."
6. Repeat select Axes/Attachments. This should show you the modified position of the light.
7. Modify as necessary.
8. Repeat the steps until you are satisfied with the position of the light or lights.
9. Open either MSTS or OpenRails using a consist with the engine in it. See how the light(s) look within the sim.
10. Repeat all the steps as necessary until you are satisfied with the results.
NOTE: If a light is specified in the Axes/Attachments tab, but does not show on the model, chances are good that it is mis-positioned and "buried" somewhere inside the model. Also, cabout position and exhaust positions are also shown in Axes/Attachments and can also be repositioned as necessary using the above method.
This seems and can be time consuming, but will go much faster as you practice. Also, many lights have the same position, just on opposite sides of the locomotive. So, in such cases, one can often get, say, the engineer's side light correctly positioned, then use the same position (with x-axis with the +/- sign changed) to modify the fireman/conductor side light.
Along with positioning, one can change the light diameter, azimuth, and color to make the lights look better. For example, the truck and step lights on many locomotives are specified in "stock" models with too large a diameter. Easily fixed. Similarly, for example, most current generation locomotives use LED lights for truck and step lights that have a much "bluer" cast than incandescent lights. Modifying the light color can modify that.
Finally, the MSTS various light parameters listed in posts above are accurate, however, MSTSBin added several more and OpenRails does recognize those. Those Bin parameters are listed here on Goku's MSTSBin site:
http://mstsbin.uktra...om/eng/eng.html .