//------moczniki---------


node -1 0 odjazd_01_wav sound -60.0 2.0 1250.0 gwizdek2.wav endsound  //-x z y
node -1 0 odjazd_02_wav sound -60.0 2.0 1250.0 rp14_420.WAV endsound  //-x z y

event odjazd_01 sound 1.0 odjazd_01_wav 1 endevent
event odjazd_02 sound 4.0 odjazd_02_wav 1 endevent

event sygnal_odjazd_01 multiple 30.0 none
      odjazd_01
      odjazd_02
endevent

//-----stacja B----------

node -1 0 odjazd_03_wav sound -1870.0 2.0 -24900.0 gwizdek2.wav endsound  //-x z y
node -1 0 odjazd_04_wav sound -1870.0 2.0 -24900.0 rp14_420.WAV endsound  //-x z y

event odjazd_03 sound 1.0 odjazd_03_wav 1 endevent
event odjazd_04 sound 4.0 odjazd_04_wav 1 endevent

event sygnal_odjazd_02 multiple 30.0 none
      odjazd_03
      odjazd_04
endevent

//-----stacja B do mocznikow - przystanek ----------

//node -1 0 memcell_temp_sound memcell 1.0 1.0 0.0 sound 0 1 none endmemcell

//node -1 0 odjazd_05_wav sound -2650.0 2.0 -18300.0 gwizdek2.wav endsound  //-x z y
node -1 0 odjazd_06_wav sound -2650.0 2.0 -18300.0 rp14_420.WAV endsound  //-x z y

//event odjazd_05 sound 1.0 odjazd_05_wav 1 endevent
event odjazd_06 sound 0.0 odjazd_06_wav 1 endevent

event sygnal_odjazd_03 multiple 55.0 none
//      odjazd_05
      odjazd_06
endevent

//--------mala stacja-------------
node -1 0 odjazd_07_wav sound -3115.0 2.0 -12350.0 gwizdek2.wav endsound  //-x z y
node -1 0 odjazd_08_wav sound -3115.0 2.0 -12350.0 rp14_420.WAV endsound  //-x z y

event odjazd_07 sound 1.0 odjazd_07_wav 1 endevent
event odjazd_08 sound 4.0 odjazd_08_wav 1 endevent

event sygnal_odjazd_04 multiple 30.0 none
      odjazd_07
      odjazd_08
endevent


//-----przystanej przed mocznikami---------
//node -1 0 odjazd_09_wav sound -600.0 2.0 -7000.0 gwizdek2.wav endsound  //-x z y
node -1 0 odjazd_10_wav sound -600.0 2.0 -7000.0 rp14_420.WAV endsound  //-x z y

//event odjazd_09 sound 1.0 odjazd_09_wav 1 endevent
event odjazd_10 sound 4.0 odjazd_10_wav 1 endevent

event sygnal_odjazd_05 multiple 60.0 memcell_trasa_a
//      odjazd_09
      odjazd_10
condition memcompare a 0 17 endevent


//====================================================================================================

//--------moczniki-------
node -1 0 odjazd_11_wav sound -40.0 2.0 1100.0 rp12a.WAV endsound  //-x z y

event odjazd_11 sound 0.0 odjazd_11_wav 1 endevent

event sygnal_odjazd_06 multiple 90.0 none
      odjazd_11
endevent


//--------przystanek----------
node -1 0 odjazd_12_wav sound 1650.0 40.0 -4800.0 rp12.WAV endsound  //-x z y

event odjazd_12 sound 0.0 odjazd_12_wav 1 endevent

event sygnal_odjazd_07 multiple 20.0 none
      odjazd_12
endevent

node -1 0 otwarcie_odjazd_07 eventlauncher 1670.0 40.0 -4900.0 300.0 . 0.0 none sygnal_odjazd_07 end   //-x z y

//-----mijanka--------
node -1 0 odjazd_12b_wav sound 3735.0 40.0 -3550.0 rp12.WAV endsound  //-x z y

event odjazd_12b sound 0.0 odjazd_12b_wav 1 endevent

event sygnal_odjazd_07b multiple 20.0 none
      odjazd_12b
endevent


//--------przystanek-------------
node -1 0 odjazd_13_wav sound 4950.0 90.0 -10400.0 rp12.WAV endsound  //-x z y

event odjazd_13 sound 0.0 odjazd_13_wav 1 endevent

event sygnal_odjazd_08 multiple 15.0 none
      odjazd_13
endevent

node -1 0 otwarcie_odjazd_08 eventlauncher 4950.0 90.0 -10400.0 500.0 . 0.0 none sygnal_odjazd_08 end   //-x z y

//--------stacja C-------------
node -1 0 odjazd_14_wav sound 5530.0 90.0 -16400.0 rp12.WAV endsound  //-x z y

event odjazd_14 sound 0.0 odjazd_14_wav 1 endevent

event sygnal_odjazd_09 multiple 20.0 none
      odjazd_14
endevent

//-------przystanek------
node -1 0 odjazd_15_wav sound 1200.0 50.0 -24180.0 rp12.WAV endsound  //-x z y

event odjazd_15 sound 0.0 odjazd_15_wav 1 endevent

event sygnal_odjazd_10 multiple 20.0 none
      odjazd_15
endevent

node -1 0 otwarcie_odjazd_10 eventlauncher 1200.0 90.0 -24180.0 500.0 . 0.0 none sygnal_odjazd_10 end   //-x z y


//==============================================================
node -1 0 odjazd_16_wav sound -1880.0 2.0 -24900.0 gwizdek.wav endsound  //-x z y
node -1 0 odjazd_17_wav sound -1880.0 2.0 -24900.0 rp14_711.WAV endsound  //-x z y

event odjazd_16 sound 1.0 odjazd_16_wav 1 endevent
event odjazd_17 sound 4.0 odjazd_17_wav 1 endevent

event sygnal_odjazd_11 multiple 30.0 none
      odjazd_16
      odjazd_17
endevent

//--------przystanek--------

node -1 0 odjazd_18_wav sound 1200.0 50.0 -24100.0 gwizdek.wav endsound  //-x z y
node -1 0 odjazd_19_wav sound 1200.0 50.0 -24100.0 rp14_711.WAV endsound  //-x z y

event odjazd_18 sound 1.0 odjazd_18_wav 1 endevent
event odjazd_19 sound 4.0 odjazd_19_wav 1 endevent

event sygnal_odjazd_12 multiple 70.0 memcell_trasa_e
      odjazd_18
      odjazd_19
condition memcompare e 0 3 endevent

//----------------st. C---------------

node -1 0 odjazd_20_wav sound 5500.0 90.0 -16300.0 gwizdek.wav endsound  //-x z y
node -1 0 odjazd_21_wav sound 5500.0 90.0 -16300.0 rp14_711.WAV endsound  //-x z y

event odjazd_20 sound 1.0 odjazd_20_wav 1 endevent
event odjazd_21 sound 4.0 odjazd_21_wav 1 endevent

event sygnal_odjazd_13 multiple 30.0 none
      odjazd_20
      odjazd_21
endevent


//------------przystanek-----------

node -1 0 odjazd_22_wav sound 4900.0 90.0 -10300.0 gwizdek.wav endsound  //-x z y
node -1 0 odjazd_23_wav sound 4900.0 90.0 -10300.0 rp14_711.WAV endsound  //-x z y

event odjazd_22 sound 1.0 odjazd_22_wav 1 endevent
event odjazd_23 sound 4.0 odjazd_23_wav 1 endevent

event sygnal_odjazd_14 multiple 70.0 memcell_trasa_e
      odjazd_22
      odjazd_23
condition memcompare e 0 6 endevent

//-----------------mijanka---------
node -1 0 odjazd_24_wav sound 3740.0 40.0 -3400.0 gwizdek.wav endsound  //-x z y
node -1 0 odjazd_25_wav sound 3740.0 40.0 -3400.0 rp14_711.WAV endsound  //-x z y

event odjazd_24 sound 1.0 odjazd_24_wav 1 endevent
event odjazd_25 sound 4.0 odjazd_25_wav 1 endevent

event sygnal_odjazd_15 multiple 15.0 none
      odjazd_24
      odjazd_25
endevent


//-----------przystanek---------------
node -1 0 odjazd_26_wav sound 1600.0 40.0 -5000.0 gwizdek.wav endsound  //-x z y
node -1 0 odjazd_27_wav sound 1600.0 40.0 -5000.0 rp14_711.WAV endsound  //-x z y

event odjazd_26 sound 1.0 odjazd_26_wav 1 endevent
event odjazd_27 sound 4.0 odjazd_27_wav 1 endevent

event sygnal_odjazd_16 multiple 75.0 memcell_trasa_e
      odjazd_26
      odjazd_27
condition memcompare e 0 9 endevent
