//$n Dębica - Sandomierz
//$d LINIA53 v1.0 by Driver24                       copyright 2006/2007
//$d--------------------------------------------------------------------------------------------------
//$d Mamy do dyspozycji lokomotywe EU07
//$d Startujemy z lokomotywowni Dębica Osobowa.
//$d
//$d Pociąg ekspresowy nr58223 Dębica-Sandomierz przez stacje Turów.
//$d 
//$d 
//$d
//$d
//$d
//$i linia053.JPG

sky skj_night.t3d endsky
atmo 0.004 0.004 0.012 0 300 0 0.012 0.012 endatmo
light -500 1000 -1000 0.027 0.027 0.027 0.078 0.133 0.196 0 0 0 endlight

include linia053/linia053-sluzba-6.scm end
include linia053/lampy_L053-sluzba-3-night.scm 1 end
include linia053/L053_rezonatory.scm end

node 500 0 radio1_wav sound -57.0 1.5 920.0 radio1.wav endsound
node 500 0 radio1a_wav sound -57.0 1.5 920.0 radio34.wav endsound
node 500 0 radio1b_wav sound -57.0 1.5 920.0 radio32.wav endsound
node 900 0 radio2_wav sound -57.0 1.5 500.0 radio36.wav endsound
node 900 0 radio2a_wav sound -57.0 1.5 234.0 radio37.wav endsound
node 500 0 radio3_wav sound -26.0 1.5 234.0 radio33.wav endsound
node 2500 0 deszcze_wav sound -57.0 1.5 0.0 deszcz1.wav endsound
node 2000 0 burza_wav sound -57.0 1.5 234.0 burza1.wav endsound
node 500 0 kierownik_wav sound -31.0 1.5 -1268.0 58-223odjazd.wav endsound
node 500 0 kierownik1_wav sound -5322.0 1.5 21971.0 58-223odjazd.wav endsound
node 500 0 gwizdek053_wav sound -31.0 1.5 -1268.0 gwizdek053.wav endsound
node 500 0 gwizdek054_wav sound -5322.0 1.5 21971.0 gwizdek053.wav endsound
node 500 0 zapowiedz4_wav sound -31.0 1.5 -1268.0 zapowiedz4.wav endsound
node 500 0 zapowiedz5_wav sound -5322.0 1.5 21971.0 zapowiedz4.wav endsound
node 500 0 testradia_wav sound -31.0 1.0 -780.0 radio38.wav endsound
node 500 0 zapowiedz6_wav sound -18446.8 1.5 52479.6 zapowiedz6.wav endsound

event gwizdek053 sound 1.0 gwizdek053_wav 1 endevent
event gwizdek054 sound 1.0 gwizdek054_wav 1 endevent
event deszcze sound 1.0 deszcze_wav -1 endevent
event burza sound 1.0 burza_wav 1 endevent
event kierownik sound 1.0 kierownik_wav 1 endevent
event kierownik1 sound 1.0 kierownik1_wav 1 endevent
event zapowiedz4 sound 1.0 zapowiedz4_wav 1 endevent
event zapowiedz5 sound 1.0 zapowiedz5_wav 1 endevent
event zapowiedz6 sound 1.0 zapowiedz6_wav 1 endevent
event testradia sound 1.0 testradia_wav 1 endevent
event radio1a sound 1.0 radio1a_wav 1 endevent
event radio1 sound 1.0 radio1_wav 1 endevent
event radio1b sound 1.0 radio1b_wav 1 endevent
event radio2 sound 1.0 radio2_wav 1 endevent
event radio2a sound 1.0 radio2a_wav 1 endevent
event radio3 sound 1.0 radio3_wav 1 endevent

event CabSignal_SHP putvalues 1.0 none (p2) (p3) (p4) CabSignal -1 -1 endevent
event deszcz multiple 0.0 none deszcze endevent

event KeyCtrl01 multiple 2.0 none radio1 szopawyjazd1 nexta endevent
event nexta multiple 11.0 none radio1b nextb grzmot1 endevent
event grzmot1 multiple 13.0 none piorun1_blysk burza endevent
event nextb multiple 22.0 none radio1a endevent
event szopawyjazd1 multiple 25.0 none szopa_wyjazd_2_A_ms2 szopa_Tm06_A_ms2 zwrm02- zwrm04- nextaa endevent
event nextaa multiple 30.0 none radio2 endevent
event kontrola multiple 45.0 none piorun2_blysk burza CabSignal_SHP grzmot2 endevent
event grzmot2 multiple 40.0 none burza grzmot3 endevent
event grzmot3 multiple 50.0 none piorun3_blysk burza endevent
event jedziem multiple 0.0 none radio3 next1 endevent
event next1 multiple 16.0 none wyjazdszopa2Tm03_ms2 anglik02bd zwr019- zwr020- zwr015- endevent
event next1a multiple 0.0 none zwr030- zwr033- debica_Tm21_Aa_ms2 burza debicawyjazd_a_s1 deaktywacja_ai05 endevent
event kasuj1 multiple 0.0 none szopa_Tm06_A_ms1 wyjazdszopa2Tm03_ms1 wyjazd_z_szopy_Tm01_ms1 debica_Tm21_Aa_ms1 expzapowiedz burza endevent
event expzapowiedz multiple 200.0 none zapowiedz4 expodjazd endevent
event expodjazd multiple 15.0 none Debicawyjazd_A_s10 zwr020+ gwizdek dalej_exp endevent
event gwizdek multiple 15.0 none gwizdek053 odjazd endevent
event odjazd multiple 6.0 none kierownik grzmot4 endevent
event grzmot4 multiple 20.0 none burza endevent
event Odstep_A3 multiple 0.0 none odstep_C_S2 odstep_C_ToC_os2 swoszowice_A_S2 swoszowice_K_S2 przejazd44_zamykaj endevent
event kasuje1 multiple 0.0 none Debicawyjazd_A_s1 odstep_C_S1 endevent

//dorobione
event dalej_exp multiple 1.0 none 
//swoszowice_o_too_os2
psiepole_we1_toa_os2
psiepole_we1_a_s2
//psiepole_wy3_e_s2
//g-powt
dalej_exp1
endevent

event dalej_exp1 multiple 1.0 none
psiepole_g_s2
//psiepole_we4_k_s2
//psiepole_we4_tok_os2
tunel_too_os2
tunel_o_s5
endevent

event turodjazd multiple 180.0 none Tunel_E_S10 anglik12bc anglik15ad wjazdbrzez2 kasuj_exp wjazdbrzez2 gwizdek1 endevent
event gwizdek1 multiple 15.0 none gwizdek054 odjazd1 endevent
event odjazd1 multiple 6.0 none kierownik1 endevent
event wjazdbrzez2 multiple 1.0 none Brzeziny_A_S7 Brzeziny_E_S6 odstep2B_S2 Odstep2_ToB_os2 wjazdrudawa1 endevent
event wjazdrudawa1 multiple 1.0 none Rudawa_B_S5 endevent
event pospiechgo2 multiple 80.0 none Rudawa_J_S10 Rudawa_J_W24 zwr58- zwr59a- dalej10 endevent
event dalej10 multiple 0.0 none Rudawa_L_S1 Posterunek1_B_S6 test_zwr31- test_zwr32- Posterunek1_C_S2 Posterunek1_ToC_os2 wjazdzer endevent
event wjazdzer multiple 10.0 none Zerniki_A_S2 Zerniki_L1_S2 wjazdskwarki2 wjazdskwarki3 endevent
event wjazdskwarki2 multiple 1.0 none Skwarki_A_S2 Sandomierz_A_S8 anglik99ac zwr105+ Sandomierz_C_S13 anglik95bc zwr124- zwr129- endevent
event wjazdskwarki3 multiple 1.0 none Skwarki_A_S2 Skwarki_A_ToA_os2 endevent
event wjazdsand multiple 1.0 none zapowiedz6 wjazdsand1 start_ai06 endevent
event wjazdsand1 multiple 180.0 none sandomierz_j2m_ms2 zwr135- endevent


event kasuj_exp multiple 1.0 none
swoszowice_o_too_os1
psiepole_we1_toa_os1
psiepole_we1_a_s1
psiepole_wy3_e_s1
kasuj_exp1
endevent

event kasuj_exp1 multiple 1.0 none
psiepole_g_s1
psiepole_we4_k_s1
psiepole_we4_tok_os1
tunel_too_os1
tunel_o_s1
endevent

//AI
event bocznicago multiple 0.0 none aiwarning szopa_Tm03_A_ms2 debMsgo_s13 anglik02bc zwr011- nextb endevent
event aiwarning putvalues 10.0 none 1100 -12 -1000 Warning_signal 1 3 endevent
event nextb multiple 0.0 none wyjazd_z_szopy_Tm01_ms2 zwr018- anglik01ad kontrola endevent
event kasuj0 multiple 0.0 none szopa_Tm03_A_ms1 endevent
event radioai multiple 17.0 none radio2a endevent

//event ......  multiple 0.0 none debica_n03_S2 endevent
event kasuje2 multiple 0.0 none debica_n03_S1 endevent

//01
node 800 0 mem_ai01 memcell 0 0 0.3  SetVelocity 0 0  none endmemcell
event info_ai01 getvalues 1.0 mem_ai01 endevent
event start_ai01 updatevalues 0.0 mem_ai01 SetVelocity 60 * endevent

//02
node 800 0 mem_ai02 memcell 0 0 0.3  SetVelocity 0 0  none endmemcell
event info_ai02 getvalues 1.0 mem_ai02 endevent
event start_ai02 updatevalues 0.0 mem_ai02 SetVelocity 60 * endevent

//03
node 800 0 mem_ai03 memcell 0 0 0.3  SetVelocity 0 0  none endmemcell
event info_ai03 getvalues 1.0 mem_ai03 endevent
event start_ai03 updatevalues 0.0 mem_ai03 SetVelocity 60 * endevent

//04
node 800 0 mem_ai04 memcell 0 0 0.3  SetVelocity 0 0  none endmemcell
event info_ai04 getvalues 1.0 mem_ai04 endevent
event start_ai04 updatevalues 0.0 mem_ai04 SetVelocity 60 * endevent

//05
node 800 0 mem_ai05 memcell 0 0 0.3  SetVelocity 0 0  none endmemcell
event info_ai05 getvalues 1.0 mem_ai05 endevent
event ruszaj_ai05 multiple 0.0 none test_zwr44- test_zwr54- test_zwr43- start_ai05 endevent
event start_ai05 updatevalues 0.0 mem_ai05 SetVelocity 40 * endevent
event wpiszodczepianie_ai05 updatevalues 5.0 mem_ai05 Shunt 0 0 endevent
event odczep_wagony_ai05 getvalues 1.0 mem_ai05 endevent
event zjazd_bocznica_ai05 multiple 60.0 none debicawyjazd_a_ms2 endevent
event wpiszdeaktywacja_ai05 updatevalues 5.0 mem_ai05 Prepare_engine 0 0 endevent
event deaktywacja_ai05 getvalues 20.0 mem_ai05 endevent

//06
node 800 0 mem_ai06 memcell 0 0 0.3  SetVelocity 0 0  none endmemcell
event info_ai06 getvalues 1.0 mem_ai06 endevent
event start_ai06 updatevalues 0.0 mem_ai06 SetVelocity 20 * endevent

FirstInit

trainset rozklad lokstart_szopa2 20.0 0.0
//$o Po uruchomieniu włączyc RADIO  shift+1. Start z szopy, jechać zgodnie z sygnałami manewrowymi. Czekać na przyjazd SU, gdy odczepi wagony, jechać po nie. Podczepić i prowadzimy ekspres do Sandomierza. Zatrzymuje się tylko w Turowie. W Sandomierzu odczepić lokomotywę, czekać na sygnał manewrowy i odstawić lokomotywę na bocznicy.
node 800 0 EP07-187 dynamic PKP\4E_v1 4E-ep-187.dds 4E-ep 0.0 reardriver 0 0 enddynamic
endtrainset

include linia053/sklady_sl-6a.scm end
