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.
 
Something happens to the headlights when reentering a session. Check the first and second image. The third image shows how I have to turn them off and back on again.
nCY4ZBE.jpeg

t0paIem.jpeg
yfCoMiS.jpeg
 
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:
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.



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.
So, the ditchlights turning off when going into surveyor mode isn't something you've been able to find a remedy for, or will that change in your newest TFX?
 
No because it is an intended feature for them to go dim when they sit still for a while. Everything returns to normal after they begin to move again. This isn't something that needs a fix it is intentional.
 
No because it is an intended feature for them to go dim when they sit still for a while. Everything returns to normal after they begin to move again. This isn't something that needs a fix it is intentional.
The train is actively moving when I switch over to surveyor as shown your initial response, but they don't go out. Unless it's because I didn't pause the game beforehand. Edit: I tried manually controlling the trains and pausing the game and the ditchlights still went out upon switching over to surveyor.
 
The train is actively moving when I switch over to surveyor as shown your initial response, but they don't go out.

That is correct. As long as it is moving they cannot time out.

Unless it's because I didn't pause the game beforehand. Edit: I tried manually controlling the trains and pausing the game and the ditchlights still went out upon switching over to surveyor.

I do not know what you mean, if you pause the sim obviously nothing will time out as no sim 'clock' is running. For me, if I go from an active session to surveyor the sim pauses on it's own.

If you move to surveyor, and for whatever reason have to unpause to work on something in an active session, the sim 'clock' starts running, and you as the player are no longer in control of any trains in the world. If the JR locos are not moving and the bright and ditchlights are on, then they will eventually time out and go to dim headlight with no ditchlights. The only thing they have to do to go back to bright lights with ditchlights on is begin to move.


Again, the only thing that has to be done to restore the lights to what they were before time out is move the locomotive or you as the player controlling it, toggle the switch to your preference.
 
Back
Top