function Initialise ()
-- Activate particle emitters
Call( "DieselExhaust:SetEmitterActive", 1 );
gSmokeColourR, gSmokeColourG, gSmokeColourB = Call( "DieselExhaust:GetEmitterColour" )
Call( "CabLight_R:Activate", 0 )
Call( "CabLight_L:Activate", 0 )
Call( "CabLight_M:Activate", 0 )
Call( "TaskLight_R:Activate", 0 )
Call( "TaskLight_L:Activate", 0 )
Call( "DitchLight_R:Activate", 0 )
Call( "DitchLight_L:Activate", 0 )
-- Set Road Number in Cab
SetCabRoadNumber()
-- Reset the alerter ****** Add this part
ALresetAlerter(1)
Call ( "*:BeginUpdate" )
end --Initialise function
UPSD70ACe wrote:What is it under I cannot find the fix?
UPSD70ACe wrote:I DID IT I DID IT YAAAAAAAAAA,I solved the problem guy's I had went into the Engine Script an had deleted the text below,That stops the train from going into emergency.So now I can resume a scenario without the P42 shutting down.I would back yup your P42 Engine Script.
-- Emergency Engine Shutdown
if name == "EngineStop" then
Call( "*:SetControlValue", "Startup", 0, -1 )
Call( "*:SetControlValue", "EmergencyBrake", 0, 1 )
Call( "*:SetControlValue", "ThrottleAndBrake", 0, 0.5 )
end


BNSFdude wrote:Or you could pay attention like an engineer should.
-- Emergency Engine Shutdown
if name == "EngineStop" then
if (value == 1) then
Call( "*:SetControlValue", "Startup", 0, -1 )
Call( "*:SetControlValue", "EmergencyBrake", 0, 1 )
Call( "*:SetControlValue", "ThrottleAndBrake", 0, 0.5 )
end
endReturn to Rolling-Stock Design
Users browsing this forum: No registered users and 3 guests