Mod:McCarran Field Sign Lit All Night

The McCarran Field sign is scripted to be lit between 8 PM and 11 PM at night, this little mod changes NVMcCarranSignActivatorScript to allow the sign to be lit between 8 PM and 11 AM.

Description
Script update shown below scn NVMcCarranSignActivatorScript


 * Forward = Initial turn-on/warm-up state
 * SpecialIdle = Fully bright, occasional flicker
 * Backward = off

short bInitialized short bLit           ; 1 = Light is on. short bFlicker       ; 1 = Light is fully bright and occasionally flickering. float fTimer float fRandomDelay ref LinkedLight

begin OnLoad

if bInitialized == 0 PlayGroup Backward 1 set bInitialized to 1 endif end

begin GameMode

if bLit if GetCurrentTime > 11.0 && GetCurrentTime < 20.0 ; Updated schedule (between 11 AM and 8 PM, sign off) ;ShowWarning "Light turning off." ;set LinkedLight to GetLinkedRef PlayGroup Backward 1 set bLit to 0 set bFlicker to 0 ;LinkedLight.disable elseif bFlicker == 0 if fTimer < fRandomDelay set fTimer to fTimer + GetSecondsPassed else ;ShowWarning "Fully bright and flickering." set fTimer to 0 PlayGroup SpecialIdle 1 set bFlicker to 1 endif endif
 * if GetCurrentTime < 20.0 || GetCurrentTime > 23.0 ; Original schedule

else ;ShowWarning "Light turning on." if GetCurrentTime < 11.0 && GetCurrentTime > 20.0 ; Updated schedule (between 11 AM and 8 PM, sign on) ;set LinkedLight to GetLinkedRef PlayGroup Forward 1 ; Light slowly powers on. set bLit to 1 ;LinkedLight.enable set fRandomDelay to 15 + 10.0/99.0 * GetRandomPercent endif endif
 * if GetCurrentTime > 20.0 && GetCurrentTime < 23.0 ; Original schedule

end