This is an interesting effect and the author was ready to dive right in on it but, not for the first time, the IndianRailModeler had an answer for it. Apoorva always does. So lets jump into this and see how to accomplish it. We will be using the S0778 sound file so you can follow along but before we begin you must understand that the locomotive you are trying to do this with MUST have individually wired ditch lights. If not then this procedure will not work.
First, there are two brightness settings that need to be set up. This is done on the Function Outputs Sheet of the Decoder Pane. We will use both the AUX1[1] and AUX2[1] settings. Set the Output mode (effect) to Dimmable Headlight on both of these settings. Rename the AUX1[1] output to Ditch light 1 and check the dimmer checkbox. See figure 1.
Do the exact same thing for AUX2[1] and rename it to Ditch Light2. You could name these to Ditch Light Left/Right but it would be necessary to open the locomotive and determine which light is wired to which output. Using the 1/2 name makes it generic, your call.
Change to the Function Settings sheet and under the General Physical Output Settings look for 'Logical function dimmer will reduce brightness to' setting. This author changed the value to 32. It seemed to give a better contrast between dim and bright from the default value of 64. Play with it until you are satisfied.
Now to the sound slot. Switch to the Sound pane and open sound slot 2 which is not used. In the Sound Slot Properties define 2 variables named BrightTimer and DimTimer and assign the values 3 and 1 respectively. See figure 2. Make sure the unlimited checkbox is checked.If you have an idea for a blog post here, let me know. If I can comment on it, I will or I'll see if someone else can and post it.











