On my SD75s, the lights in positions one and three are on externally but not projecting ahead. In position two, they project for night driving, but the lights in the external view are off.

if Call("*:GetControlValue", "Headlights", 0) == 0 then
Call( "Fwd_Headlight_01:Activate", 0)
Call( "Fwd_Headlight_02:Activate", 0)
Call( "Fwd_Headlight_03:Activate", 0)
Call( "Bwd_Headlight_01:Activate", 0)
Call ( "ActivateNode", "lights_front", 0 )
Call ( "ActivateNode", "lights_rear", 0 )
elseif Call("*:GetControlValue", "Headlights", 0) == 1 then
Call( "Fwd_Headlight_01:Activate", 1)
Call( "Fwd_Headlight_02:Activate", 1)
Call( "Fwd_Headlight_03:Activate", 1)
Call( "Bwd_Headlight_01:Activate", 0)
Call ( "ActivateNode", "lights_front", 1 )
Call ( "ActivateNode", "lights_rear", 0 )
elseif Call("*:GetControlValue", "Headlights", 0) == 2 then
Call( "Fwd_Headlight_01:Activate", 0)
Call( "Fwd_Headlight_02:Activate", 0)
Call( "Fwd_Headlight_03:Activate", 0)
Call( "Bwd_Headlight_01:Activate", 1)
Call ( "ActivateNode", "lights_front", 0 )
Call ( "ActivateNode", "lights_rear", 1 )
elseif Call("*:GetControlValue", "Headlights", 0) == 3 then
Call( "Fwd_Headlight_01:Activate", 1)
Call( "Fwd_Headlight_02:Activate", 1)
Call( "Fwd_Headlight_03:Activate", 1)
Call( "Bwd_Headlight_01:Activate", 1)
Call ( "ActivateNode", "lights_front", 1 )
Call ( "ActivateNode", "lights_rear", 1 )
end
_o_OOOO_oo-Kanawha wrote:The SD75 engine script is thankfully still in cleartext lua
RSMattP wrote:Hi Eric
Can you confirm exactly which locomotive(s) you're experiencing problems with and whether they are Steam DLC or downloads from elsewhere?
Thanks
Matt Peddlesden
Dovetail Games
Ericmopar wrote:I know now what's causing the headlight hiccup on the SD75Pack01.![]()
There are three variations of the engine.
SD75I
SD75M Default
SD75M BNSF
Of those there are a total of 3 "Engine" folders with a total of 6 ".bin" files.
There are 2 .bins in each "Engine" folder. 1 for the driver version and 1 for the ND version.
The problems are in those .bins.
The notched setting in the Headlight "ControlValue" has one too many notches added.
The first section for the Headlight control blueprint, shows a "MaximumValue" of "3" for a three notch interior headlight switch. The maximum value should be set to "2" , 0-1-2 being the three positions.
The second section Headlight "InteriorNotchedLever" has a value of "4" for a three position switch. It should be set to a value of "3" for the number of actual notches.
Someone accidentally set it up for a engine with a running light position, the F40PH pack being a good example, in which the 4 position system works correctly.
I'm just going to post a fix for that and the brakes, but that is enough info for someone familiar with engine blueprints to fix theirs in the mean time.
Return to Problems and Peculiarities
Users browsing this forum: No registered users and 2 guests