Lights Not Fully Turning On

AdvancedApproach

Well-known member
For whatever reason, the headlights don't fully turn on when adding locomotives in surveyor mode after switching from session. Now @ZecMurphy has stated that it's an issue with the script not being setup correctly while @norfolksouthern37 has said it's a problem with the cache. In previous versions of Trainz this was never an issue and I'm getting a run around with this. In fact, my ticket from last month still hasn't been answered. Normally I'd not say anything and let the process play out but clearly that's not working. Both sides need to work together and figure this out. Having to constantly save, exit and resume my session just so the lights work properly is becoming very annoying. Not to mention having to stop the AI trains, turn off and turn the lights back on again and then resume their tasks. I too have to turn my lights off and turn them back on again.
 
I am certain Zec was just speculating as to what the issue could be as was I. I am almost certain that the missing corona or some kind of cache issue with a newly installed item that I was referring to is NOT the issue you are talking about here.

by your description, any time someone switches from an active session to add a new locomotive that some problem with the lights will occur, but this is just not the case.

Testing in a session with trains already running and leaving the session and adding more trains and coming back causes nothing to change. the trains that were driving are still driving, lights still on.


cannot reproduce your issue.


Here a driver controlled train is driving in a session.

TRS22_2OEesg9531.png


I leave the session without stopping and hop to surveyor and add another locomotive - note still no change with the lights of the already driving loco:

TRS22_l8v9NeF16s.jpg


I then go back into driver, simulation is unpaused. there is no change to the already driving train, it continues to drive:

TRS22_WDKBoGrguJ.jpg


newly added train also has no issue with lights, original train is still carrying on:

TRS22_Ak4WdfFSDX.png
 
Created a brand new session and upon starting everything was working perfectly fine.
W7vTlKk.jpeg

q9yyE3E.jpeg

I switch into surveyor mode and the ditchlights turn off.
OqHH1sF.jpeg

I add a new train and those lights turned on just fine but the ditchlights on the UP unit had to be reactivated manually.
XYPGw9E.jpeg

I decide to unpause the game while in surveyor mode and this is what happens. The headlights don't fully activate.
0qNNQse.jpeg

Tried it again while keeping the game paused and the lights worked as normal. The ditchlights still turn off but the lights still come on fully.
zpZBuOl.jpeg
 
I see what the issue is @norfolksouthern37. When you unpause the game while in surveyor mode it'll cause the headlights to act up. The ditchlights still turn off when switching between modes but that's somethign I'm sure you'll correct. Had to also test the waters with RRMODS and this held true for their units as well.
 
The cab lights, walkway lights and visors don't always retain their status. I have to turn the walkway and cab lights off and back on manually for them to work after exiting the session. The visors will be in a position other than what you originally had them in upon saving.
 
When the train is not under your player control and not moving, and the simulation is running, the ditchlights time out and the headlight will be set to dim. This is intended operation and no correction is needed. The lights will come back on when the train resumes movement. No other interaction is required than moving the locomotive. This was done in this way so that AI drivers will also be able to dim their lights when waiting and be able to return to full bright plus ditchlights when the train begins to move again, all without having to alter driver bahavior.

The cab lights, walkway lights and visors don't always retain their status. I have to turn the walkway and cab lights off and back on manually for them to work after exiting the session. The visors will be in a position other than what you originally had them in upon saving.

Idk what to say. Those values are all stored already so not much I can do. When I exit a running session and even exit the game entirely and come back, everyone still has their lights on.

edit: maybe there is some waiting time to load everything? (regarding external walkway light meshes and cablights etc.) These may have a slight delay on session load so it may depend on how much other stuff is loading. I tried 3 separate sessions and saved various states of visors and doors and all of them survive a session save, exit, and reload.

I still cant see any problems. I have a newer version of TFX about to go to the DLS, perhaps that will solve things. If there was a problem turning on xlights before I sure couldn't catch it.
 
Last edited:
Back
Top