Day Time Headlights?

Discuss almost anything about RailWorks.

Day Time Headlights?

Unread postby JohnS » Mon Apr 16, 2018 3:29 pm

Is there a way to stop the projected light during the day? I've been running Pacific Surfliner and during a bright summer day the headlights are projecting bright light on all the track side objects and it washes out speed signs and many details. Is there a way to stop that besides turning the headlights off?
User avatar
JohnS
 
Posts: 1116
Joined: Sun Dec 29, 2013 6:48 am
Location: Portage IN

Re: Day Time Headlights?

Unread postby buzz456 » Mon Apr 16, 2018 3:45 pm

I don't think searchlight Simulations do that. You might look at what VRC did also since they have a bright and a dim setting on some stuff.
Buzz
39 and holding.
"Some people find fault like there's a reward for it."- Zig Ziglar
"If you can dream it you can do it."- Walt Disney
Image
User avatar
buzz456
Site Admin
 
Posts: 21004
Joined: Sun Mar 21, 2010 8:30 am
Location: SW Florida

Re: Day Time Headlights?

Unread postby JohnS » Mon Apr 16, 2018 3:48 pm

The new Caltran Add-on they mention that it can tell between night and day but I'm not sure if that is a scripted feature.
User avatar
JohnS
 
Posts: 1116
Joined: Sun Dec 29, 2013 6:48 am
Location: Portage IN

Re: Day Time Headlights?

Unread postby bnsfsubdivision » Mon Apr 16, 2018 4:09 pm

The casting vs none-casting lights were already introduced with our 645E pack. Requires a simple script and obviously two child entries per light (one casting and the other none-casting).
Kevin Schulz
Artist - Searchlight Simulations
User avatar
bnsfsubdivision
 
Posts: 822
Joined: Sun Feb 20, 2011 5:27 am

Re: Day Time Headlights?

Unread postby JohnS » Mon Apr 16, 2018 4:13 pm

bnsfsubdivision wrote:The casting vs none-casting lights were already introduced with our 645E pack. Requires a simple script and obviously two child entries per light (one casting and the other none-casting).

Is there a way to shut the casting on other loco's off? The default equipment I'm most interested in right now. It's bad on the Surfline and the Miami routes
User avatar
JohnS
 
Posts: 1116
Joined: Sun Dec 29, 2013 6:48 am
Location: Portage IN

Re: Day Time Headlights?

Unread postby buzz456 » Mon Apr 16, 2018 4:19 pm

If you turn off the dynamic lighting doesn't that get rid of the headlight cast?
Buzz
39 and holding.
"Some people find fault like there's a reward for it."- Zig Ziglar
"If you can dream it you can do it."- Walt Disney
Image
User avatar
buzz456
Site Admin
 
Posts: 21004
Joined: Sun Mar 21, 2010 8:30 am
Location: SW Florida

Re: Day Time Headlights?

Unread postby bnsfsubdivision » Mon Apr 16, 2018 4:23 pm

JohnS wrote:Is there a way to shut the casting on other loco's off? The default equipment I'm most interested in right now. It's bad on the Surfline and the Miami routes

Not directly. You still have to edit the engine.bin file to add entries for the none-casting lights. Unfortunately there's no way of just turning the casting lights off whilst remaining the visual headlights on.
Kevin Schulz
Artist - Searchlight Simulations
User avatar
bnsfsubdivision
 
Posts: 822
Joined: Sun Feb 20, 2011 5:27 am

Re: Day Time Headlights?

Unread postby JohnS » Mon Apr 16, 2018 4:26 pm

bnsfsubdivision wrote:
JohnS wrote:Is there a way to shut the casting on other loco's off? The default equipment I'm most interested in right now. It's bad on the Surfline and the Miami routes

Not directly. You still have to edit the engine.bin file to add entries for the none-casting lights. Unfortunately there's no way of just turning the casting lights off whilst remaining the visual headlights on.

Bummer. I thought if I find the light entries with the shadcast in them and just remove or rename to a non shadcast light that might work. I'll experiment a little. Thanks guys for the info.
User avatar
JohnS
 
Posts: 1116
Joined: Sun Dec 29, 2013 6:48 am
Location: Portage IN

Re: Day Time Headlights?

Unread postby bnsfsubdivision » Mon Apr 16, 2018 4:32 pm

Sure you can swap out the existing entries with none-casting lights but then you won't get any lights casted at all, even at night.
Kevin Schulz
Artist - Searchlight Simulations
User avatar
bnsfsubdivision
 
Posts: 822
Joined: Sun Feb 20, 2011 5:27 am

Re: Day Time Headlights?

Unread postby JohnS » Mon Apr 16, 2018 4:43 pm

bnsfsubdivision wrote:Sure you can swap out the existing entries with none-casting lights but then you won't get any lights casted at all, even at night.

I figured it out. Yes no lights at night but I can swap the bin files back if I'm going to run a night scenario.
User avatar
JohnS
 
Posts: 1116
Joined: Sun Dec 29, 2013 6:48 am
Location: Portage IN

Re: Day Time Headlights?

Unread postby JohnS » Mon Apr 16, 2018 4:56 pm

This works on Pacific Surfliner F59PHi and Cabcar. Rename/move these bin files from the Assets\RSC\PacificSurfliner\RailVehicles\Diesel\F59PHI\Default\Lights folder: Headlight_Glow, Headlight14_ditch, Headlight14_no, Headlight14_shadcast, Headlight14_Strobe, MiniLight. You'll have to copy/rename them back into the folder for the lights to project at night.
User avatar
JohnS
 
Posts: 1116
Joined: Sun Dec 29, 2013 6:48 am
Location: Portage IN

Re: Day Time Headlights?

Unread postby thegevo5k » Mon Apr 16, 2018 5:00 pm

Well, there is one way that would work (in theory). You'll notice in the light's bin file, there's this thing toward the bottom that says <DayNightCycle d:type="bool">0</DayNightCycle>. If you change that to <DayNightCycle d:type="bool">1</DayNightCycle>, it might do the job. However, this might remove the flare completely during the day time. It will illuminate at night though. Most of the time, this is used on scenery assets. I'll fill you in if I get it working.
thegevo5k
 

Re: Day Time Headlights?

Unread postby JohnS » Mon Apr 16, 2018 5:35 pm

thegevo5k wrote:Well, there is one way that would work (in theory). You'll notice in the light's bin file, there's this thing toward the bottom that says <DayNightCycle d:type="bool">0</DayNightCycle>. If you change that to <DayNightCycle d:type="bool">1</DayNightCycle>, it might do the job. However, this might remove the flare completely during the day time. It will illuminate at night though. Most of the time, this is used on scenery assets. I'll fill you in if I get it working.

I tried that first and nothing seemed to happen. I probably have to change it in every light.bin file and I didn't try that. I did try it on the light with the largest radius but it didn't do anything.
User avatar
JohnS
 
Posts: 1116
Joined: Sun Dec 29, 2013 6:48 am
Location: Portage IN

Re: Day Time Headlights?

Unread postby GERUNIMO625 » Mon Apr 16, 2018 5:38 pm

Howdy John,
What I do is copy the light to be edited geopcdx file and edit the lines with “Radius”, “Phi”, and “Theta” and set them all to zero. If you edit the .bin file certain engines will loose their lighting effects that you may want to keep. Such as glare and whatnot. As you mentioned, keep a backup to switch out for night runs. I don’t, it reminds me too much of work *!greengrin!*
Hope that helps.

Take care!
Jerry
User avatar
GERUNIMO625
 
Posts: 303
Joined: Fri Dec 18, 2015 9:54 pm
Location: Naperville, IL.

Re: Day Time Headlights?

Unread postby JohnS » Mon Apr 16, 2018 5:39 pm

Yea I'll check that out. I don't like working at night either. !*roll-laugh*!
User avatar
JohnS
 
Posts: 1116
Joined: Sun Dec 29, 2013 6:48 am
Location: Portage IN

Next

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest