johnmckenzie wrote:Hi guys
Any ideas how to do this? I've seen it done on some older rolling stock
You can add the lights to any locomotive, as they are child objects. The SD40-2 has the lights, as does our UPY588 GP15-1. The safe way would be to use the Kuju lights folder as the source, that way it wouldn't require adding a second folder, and everyone would have the files to use.
There is a sample code block for the front and back headlights here:
http://railworksamerica.com/forum/viewtopic.php?p=47562#p47562