Plik scenerii: Różnice pomiędzy wersjami

Z MaSzyna
Skocz do: nawigacja, szukaj
 
(Nie pokazano 186 wersji utworzonych przez 5 użytkowników)
Linia 1: Linia 1:
<&#33;DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML><HEAD><META HTTP-EQUIV="CONTENT-TYPE" CONTENT="text/html; charset=windows-1250"><TITLE></TITLE><META NAME="GENERATOR" CONTENT="OpenOffice 4.1.1  (Win32)"><META NAME="AUTHOR" CONTENT="Igor Puchalski"><META NAME="CREATED" CONTENT="20150328;21315390"><META NAME="CHANGEDBY" CONTENT="Igor Puchalski"><META NAME="CHANGED" CONTENT="20150330;18572873"><STYLE TYPE="text/css"><&#33;-- @page { size: 21cm 29.7cm; margin-left: 0.53cm; margin-right: 0.54cm; margin-top: 2cm; margin-bottom: 2cm } P { margin-bottom: 0.21cm } TH P { font-weight: bold; text-align: center } H3 { margin-bottom: 0.11cm; page-break-after: avoid } H3.western { font-family: "Arial", sans-serif; font-size: 13pt; font-weight: bold } H3.cjk { font-size: 13pt; font-weight: bold } H3.ctl { font-family: "Arial", sans-serif; font-size: 13pt; font-weight: bold } PRE.western { font-family: "Courier New", monospace; font-size: 10pt } PRE.cjk { font-family: "NSimSun", monospace; font-size: 10pt } PRE.ctl { font-family: "Courier New", monospace; font-size: 10pt } A:link { color: #000080; so-language: zxx; text-decoration: underline } A:visited { color: #800000; so-language: zxx; text-decoration: underline } --></STYLE></HEAD><BODY LANG="pl-PL" LINK="#000080" VLINK="#800000" BACKGROUND="qscenerydox_html_m7349981e.png" DIR="LTR"><P ALIGN=CENTER STYLE="margin-bottom: 0cm; border-top: none; border-bottom: 1px solid #000000; border-left: none; border-right: none; padding-top: 0cm; padding-bottom: 0.07cm; padding-left: 0cm; padding-right: 0cm; font-style: normal; font-weight: normal"><BR></P><P ALIGN=CENTER STYLE="margin-bottom: 0cm; background: #dddddd; font-style: normal; font-weight: normal"><BR></P><P ALIGN=CENTER STYLE="margin-bottom: 0cm; background: #dddddd"><FONT FACE="Arial Black, sans-serif"><FONT SIZE=5><B><SPAN STYLE="background: transparent">OPIS FORMATU PLIKU SCENERII</SPAN></B></FONT></FONT></P><P ALIGN=CENTER STYLE="margin-bottom: 0cm; background: #dddddd; font-style: normal; font-weight: normal"><FONT COLOR="#666666"><FONT FACE="Arial Black, sans-serif"><FONT SIZE=2 STYLE="font-size: 10pt"><SPAN STYLE="background: transparent">Opracowanie na podstawie dokumentu scenery.doc autorstwa</SPAN></FONT></FONT></FONT></P><P ALIGN=CENTER STYLE="margin-bottom: 0cm; background: #dddddd; font-style: normal; font-weight: normal"><FONT COLOR="#666666"><FONT FACE="Arial Black, sans-serif"><FONT SIZE=2 STYLE="font-size: 10pt"><SPAN STYLE="background: transparent">Marcina Woźniaka i Macieja Czapkiewicza</SPAN></FONT></FONT></FONT></P><P ALIGN=CENTER STYLE="margin-bottom: 0cm; background: #dddddd; font-style: normal; font-weight: normal"><FONT COLOR="#666666"><FONT FACE="Arial Black, sans-serif"><FONT SIZE=2 STYLE="font-size: 10pt"><SPAN STYLE="background: transparent">Aktualizacja wg stanu na rok 2015</SPAN></FONT></FONT></FONT></P><P ALIGN=CENTER STYLE="margin-bottom: 0cm; background: #dddddd; font-style: normal; font-weight: normal"><FONT COLOR="#666666"><FONT FACE="Arial Black, sans-serif"><FONT SIZE=2 STYLE="font-size: 10pt"><SPAN STYLE="background: transparent">Igor Q Puchalsku</SPAN></FONT></FONT></FONT></P><P ALIGN=CENTER STYLE="margin-bottom: 0cm; background: #dddddd; border-top: none; border-bottom: 1px solid #000000; border-left: none; border-right: none; padding-top: 0cm; padding-bottom: 0.07cm; padding-left: 0cm; padding-right: 0cm; font-style: normal; font-weight: normal"><BR></P><P ALIGN=CENTER STYLE="margin-bottom: 0cm; font-style: normal; font-weight: normal"><BR></P><P ALIGN=CENTER STYLE="margin-bottom: 0cm; font-style: normal; font-weight: normal"><BR></P><P ALIGN=CENTER STYLE="margin-bottom: 0cm; font-style: normal; font-weight: normal"><FONT FACE="Lucida Console, monospace"><FONT SIZE=2 STYLE="font-size: 10pt">Na zebranych tu informacjach oparte zostały skrypty eksporterów</FONT></FONT></P><P ALIGN=CENTER STYLE="margin-bottom: 0cm; font-style: normal; font-weight: normal"><FONT FACE="Lucida Console, monospace"><FONT SIZE=2 STYLE="font-size: 10pt">jaki i importerów scenerii dla środowiska 3DS Max Studio oraz </FONT></FONT></P><P ALIGN=CENTER STYLE="margin-bottom: 0cm; font-style: normal; font-weight: normal"><FONT FACE="Lucida Console, monospace"><FONT SIZE=2 STYLE="font-size: 10pt">parser przetwarzajacy dane z plików scenerii wbudowany w programie EU07.EXE</FONT></FONT></P><P ALIGN=CENTER STYLE="margin-bottom: 0cm; font-style: normal; font-weight: normal"><BR></P><P ALIGN=CENTER STYLE="margin-bottom: 0cm; font-style: normal; font-weight: normal"></P><P STYLE="margin-bottom: 0cm">Domyślny plik trasy powinien nazywać się <B>scene.scn</B>, możliwe jest wgranie innego pliku poprzez podanie jego nazwy jako parametr w skrócie lub w konsoli polecen, np. </P><P STYLE="margin-bottom: 0cm"><FONT COLOR="#3333ff"><FONT FACE="Courier New, monospace"><SPAN LANG="en-US">eu07.exe &ndash;s scenery/testowo.scn</SPAN></FONT><SPAN LANG="en-US">.</SPAN></FONT></P><P LANG="en-US" STYLE="margin-bottom: 0cm"><BR></P><P STYLE="margin-bottom: 0cm; page-break-before: auto">Można również zdefiniować domyślną nazwę scenerii w pliku <FONT COLOR="#990000"><FONT FACE="Arial, sans-serif"><FONT SIZE=2><B>eu07.ini </B></FONT></FONT></FONT><FONT COLOR="#000000"><FONT FACE="Times New Roman, serif"><FONT SIZE=3><SPAN STYLE="font-weight: normal">podajac parametr w kluczu </SPAN></FONT></FONT></FONT><FONT COLOR="#3333ff"><FONT FACE="Times New Roman, serif"><FONT SIZE=3><SPAN STYLE="font-weight: normal">sceneryfile np.:</SPAN></FONT></FONT></FONT></P><P STYLE="margin-bottom: 0cm; font-weight: normal"><FONT COLOR="#3333ff"><FONT FACE="Times New Roman, serif"><FONT SIZE=3>sceneryfile testowo.scn</FONT></FONT></FONT></P><P ALIGN=CENTER STYLE="margin-bottom: 0cm; font-style: normal; font-weight: normal"><BR></P><P ALIGN=LEFT STYLE="margin-bottom: 0cm; font-style: normal; font-weight: normal"><FONT FACE="Times New Roman, serif"><FONT SIZE=2 STYLE="font-size: 10pt">Parametry obiektów w scenerii mogą być oddzielane spacjami, przecinkami, średnikami, tabulatorami lub końcami linii, jednak dla lepszej czytelności dla człowieka zaleca się oddzielanie ich wyłącznie spacją.</FONT></FONT></P><P ALIGN=CENTER STYLE="margin-bottom: 0cm; font-style: normal; font-weight: normal"><BR></P><P ALIGN=LEFT STYLE="margin-bottom: 0cm; font-style: normal"><FONT FACE="Times New Roman, serif"><FONT SIZE=2 STYLE="font-size: 10pt"><B>Przykłady:</B></FONT></FONT></P><P ALIGN=LEFT STYLE="margin-bottom: 0.2cm; font-style: normal; font-weight: normal"><FONT FACE="Times New Roman, serif"><FONT SIZE=2 STYLE="font-size: 10pt">include;tree.inc;l61_plants/drzewo1024f;-3947.2;-4.0;2401.17;56.0;8.3;4.2;end</FONT></FONT></P><P ALIGN=LEFT STYLE="margin-bottom: 0.2cm; font-style: normal; font-weight: normal"><FONT FACE="Times New Roman, serif"><FONT SIZE=2 STYLE="font-size: 10pt">include,tree.inc,l61_plants/drzewo1024f,-3947.2,-4.0,2401.17,56.0,8.3,4.2,end</FONT></FONT></P><P ALIGN=LEFT STYLE="margin-bottom: 0.2cm; font-style: normal; font-weight: normal"><FONT FACE="Times New Roman, serif"><FONT SIZE=2 STYLE="font-size: 10pt">include tree.inc l61_plants/drzewo1024f -3947.2 -4.0 2401.17 56.0 8.3 4.2 end</FONT></FONT></P><P ALIGN=LEFT STYLE="margin-bottom: 0cm; font-style: normal; font-weight: normal"><BR></P><P ALIGN=LEFT STYLE="margin-bottom: 0cm; font-style: normal; font-weight: normal"><FONT FACE="Times New Roman, serif"><FONT SIZE=2 STYLE="font-size: 10pt">W pliku scenerii rozróżniamy 11 typów obiektów, są to: </FONT></FONT></P><P ALIGN=LEFT STYLE="margin-bottom: 0cm; font-style: normal; font-weight: normal"><FONT FACE="Times New Roman, serif"><FONT SIZE=2 STYLE="font-size: 10pt"><B>node</B>, <B>event</B>,<B> include</B>, <B>trainset</B>,<B> rotate</B>, <B>orgin</B>,<B> description</B>, <B>atmo</B>, <B>light</B>, <B>camera</B>, <B>config</B></FONT></FONT></P><P ALIGN=LEFT STYLE="margin-bottom: 0cm; font-style: normal"><BR></P><P ALIGN=LEFT STYLE="margin-right: -0.24cm; margin-bottom: 0cm; font-style: normal; font-weight: normal; page-break-before: auto"><FONT FACE="Times New Roman, serif"><FONT SIZE=2 STYLE="font-size: 10pt">Dwa z wymienionych typow, tj. <B>node</B> i <B>event</B> dziela się na podtypy. Wpis typu <B>node</B> posiada 13 podtypów zaś wpis <B>event</B> 8.</FONT></FONT></P><P ALIGN=LEFT STYLE="margin-bottom: 0cm; font-style: normal; font-weight: normal"><BR></P><P ALIGN=LEFT STYLE="margin-bottom: 0cm; background: #cccccc; font-style: normal; font-weight: normal"><FONT FACE="Times New Roman, serif"><FONT SIZE=3 STYLE="font-size: 13pt"><SPAN STYLE="background: #ccccff">1 Wpis NODE</SPAN></FONT></FONT></P><P ALIGN=LEFT STYLE="margin-bottom: 0cm; font-style: normal; font-weight: normal"><BR></P><P ALIGN=LEFT STYLE="margin-bottom: 0cm; font-style: normal; font-weight: normal"><FONT FACE="Times New Roman, serif"><FONT SIZE=2 STYLE="font-size: 10pt">Typ <B>NODE</B> definiuje obiekty widoczne (a ogólniej: obiekty które bierze pod uwagę funkcja Render).</FONT></FONT></P><P ALIGN=LEFT STYLE="margin-bottom: 0cm; font-style: normal; font-weight: normal"><FONT FACE="Times New Roman, serif"><FONT SIZE=2 STYLE="font-size: 10pt">Obiekty tego typu mogą być rysowalne lub niewidoczne. Parametry podstawowe wspólne dla wszystkich podtypów to: </FONT></FONT></P><P ALIGN=LEFT STYLE="margin-bottom: 0cm; font-style: normal; font-weight: normal"><BR></P><UL><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2><FONT FACE="Arial, sans-serif">MaxDistance</FONT> &ndash; maksymalna odległość z jakiej obiekt będzie widoczny</FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2><FONT FACE="Arial, sans-serif">MinDistance</FONT> &ndash; minimalna odległość z jakiej obiekt będzie widoczny</FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2><FONT FACE="Arial, sans-serif">Name</FONT> &ndash; nazwa obiektu, jeśli nie potrzebujemy należy wpisać <B>none</B></FONT></P><LI><P ALIGN=LEFT STYLE="margin-bottom: 0cm; font-style: normal; font-weight: normal"><FONT FACE="Times New Roman, serif"><FONT SIZE=2><FONT FACE="Arial, sans-serif">Type</FONT> - rodzaj obiektu</FONT></FONT></P></UL><P ALIGN=LEFT STYLE="margin-bottom: 0cm; font-style: normal; font-weight: normal"><BR></P><P ALIGN=LEFT STYLE="margin-bottom: 0cm; font-style: normal; font-weight: normal"><FONT FACE="Times New Roman, serif"><FONT SIZE=2 STYLE="font-size: 10pt">Poniżej tabela opisująca poszczególne podtypy wpisu NODE</FONT></FONT></P>
+
[[Category:Formaty plików symulatora]]
{|  WIDTH=802 BORDER=1 CELLPADDING=4 CELLSPACING=0<COL WIDTH=105><COL WIDTH=620><COL WIDTH=51>
+
Plik scenerii jest [[Plik_tekstowy|plikiem tekstowym]], zawierającym definicje obiektów, zdarzeń, pojazdów znajdujących się w scenerii. Aby plik scenerii mógł zostać uruchomiony przez symulator, należy umieścić go bezpośrednio w folderze ''scenery''.  
|  VALIGN=TOP
+
 
!  WIDTH=105 | <P ALIGN=LEFT><FONT COLOR="#000000"><FONT FACE="Times New Roman, serif"><FONT SIZE=2 STYLE="font-size: 9pt">track</FONT></FONT></FONT></P> !!  WIDTH=620 | <P ALIGN=LEFT STYLE="font-weight: normal"><FONT FACE="Times New Roman, serif"><FONT SIZE=2 STYLE="font-size: 9pt">Definiuje trajektorię, po której może poruszać się obiekt dynamic. Kształt trajektorii definiujemy za pomocą krzywej Beziera </FONT></FONT></P> !!  WIDTH=51 | <P><BR></P>
+
== Przygotowanie ==
|  VALIGN=TOP ||  WIDTH=105 | <P ALIGN=LEFT><FONT COLOR="#000000"><FONT FACE="Times New Roman, serif"><FONT SIZE=2 STYLE="font-size: 9pt">traction</FONT></FONT></FONT></P> ||  WIDTH=620 | <P ALIGN=LEFT><FONT COLOR="#333333"><FONT FACE="Times New Roman, serif"><FONT SIZE=2 STYLE="font-size: 9pt">Definiuje obiekt odcinka drutu sieci trakcyjnej</FONT></FONT></FONT></P> ||  WIDTH=51 | <P ALIGN=LEFT><BR></P> ||  VALIGN=TOP ||  WIDTH=105 | <P ALIGN=LEFT><FONT COLOR="#000000"><FONT FACE="Times New Roman, serif"><FONT SIZE=2 STYLE="font-size: 9pt">dynamic</FONT></FONT></FONT></P> ||  WIDTH=620 | <P ALIGN=LEFT><FONT COLOR="#333333"><FONT FACE="Times New Roman, serif"><FONT SIZE=2 STYLE="font-size: 9pt">Definiuje obiekt poruszający się po ścieżkach typu <B>track</B> lub<B> road</B></FONT></FONT></FONT></P> ||  WIDTH=51 | <P ALIGN=LEFT><BR></P> ||  VALIGN=TOP ||  WIDTH=105 | <P ALIGN=LEFT><FONT COLOR="#000000"><FONT FACE="Times New Roman, serif"><FONT SIZE=2 STYLE="font-size: 9pt">model</FONT></FONT></FONT></P> ||  WIDTH=620 | <P ALIGN=LEFT><FONT COLOR="#333333"><FONT FACE="Times New Roman, serif"><FONT SIZE=2 STYLE="font-size: 9pt">Wstawia obiekt modelu 3d statyczny lub z możliwością animacji</FONT></FONT></FONT></P> ||  WIDTH=51 | <P ALIGN=LEFT><BR></P> ||  VALIGN=TOP ||  WIDTH=105 | <P ALIGN=LEFT><FONT COLOR="#000000"><FONT FACE="Times New Roman, serif"><FONT SIZE=2 STYLE="font-size: 9pt">triangles</FONT></FONT></FONT></P> ||  WIDTH=620 | <P ALIGN=LEFT><FONT COLOR="#333333"><FONT FACE="Times New Roman, serif"><FONT SIZE=2 STYLE="font-size: 9pt">Definiuje jeden trójkąt składajacy się z trzech wierzchołków jako element składowy terenu</FONT></FONT></FONT></P> ||  WIDTH=51 | <P ALIGN=LEFT><BR></P> ||  VALIGN=TOP ||  WIDTH=105 | <P ALIGN=LEFT STYLE="font-style: normal; font-weight: normal"><FONT COLOR="#000000"><FONT FACE="Times New Roman, serif"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">riangle_strip</SPAN></FONT></FONT></FONT></P> ||  WIDTH=620 | <P ALIGN=LEFT><FONT COLOR="#333333"><FONT FACE="Times New Roman, serif"><FONT SIZE=2 STYLE="font-size: 9pt">Definiuje wielokąt jako element składowy terenu</FONT></FONT></FONT></P> ||  WIDTH=51 | <P ALIGN=LEFT><BR></P> ||  VALIGN=TOP ||  WIDTH=105 | <P ALIGN=LEFT STYLE="font-style: normal; font-weight: normal"><FONT COLOR="#000000"><FONT FACE="Times New Roman, serif"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">triangle_fan</SPAN></FONT></FONT></FONT></P> ||  WIDTH=620 | <P ALIGN=LEFT><BR></P> ||  WIDTH=51 | <P ALIGN=LEFT><BR></P> ||  VALIGN=TOP ||  WIDTH=105 | <P ALIGN=LEFT STYLE="font-style: normal; font-weight: normal"><FONT COLOR="#000000"><FONT FACE="Times New Roman, serif"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">lines</SPAN></FONT></FONT></FONT></P> ||  WIDTH=620 | <P ALIGN=LEFT><FONT COLOR="#333333"><FONT FACE="Times New Roman, serif"><FONT SIZE=2 STYLE="font-size: 9pt">Definiuje linię &ndash; pojedynczy odcinek od punktu A do punktu B</FONT></FONT></FONT></P> ||  WIDTH=51 | <P ALIGN=LEFT><BR></P> ||  VALIGN=TOP ||  WIDTH=105 | <P ALIGN=LEFT STYLE="font-style: normal; font-weight: normal"><FONT COLOR="#000000"><FONT FACE="Times New Roman, serif"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">line_strip</SPAN></FONT></FONT></FONT></P> ||  WIDTH=620 | <P ALIGN=LEFT><BR></P> ||  WIDTH=51 | <P ALIGN=LEFT><BR></P> ||  VALIGN=TOP ||  WIDTH=105 | <P ALIGN=LEFT STYLE="font-style: normal; font-weight: normal"><FONT COLOR="#000000"><FONT FACE="Times New Roman, serif"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">line_loop</SPAN></FONT></FONT></FONT></P> ||  WIDTH=620 | <P ALIGN=LEFT><BR></P> ||  WIDTH=51 | <P ALIGN=LEFT><BR></P> ||  VALIGN=TOP ||  WIDTH=105 | <P ALIGN=LEFT STYLE="font-style: normal; font-weight: normal"><FONT COLOR="#000000"><FONT FACE="Times New Roman, serif"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">memcell</SPAN></FONT></FONT></FONT></P> ||  WIDTH=620 | <P ALIGN=LEFT><FONT COLOR="#333333"><FONT FACE="Times New Roman, serif"><FONT SIZE=2 STYLE="font-size: 9pt">Komórka pamięci, nie jest rysowana ale ma współrzędne X, Y, Z, które np. są przekazywane do AI jako pozycja semafora. </FONT></FONT></FONT></P> ||  WIDTH=51 | <P ALIGN=LEFT><BR></P> ||  VALIGN=TOP ||  WIDTH=105 | <P ALIGN=LEFT STYLE="font-style: normal; font-weight: normal"><FONT COLOR="#000000"><FONT FACE="Times New Roman, serif"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">eventlauncher</SPAN></FONT></FONT></FONT></P> ||  WIDTH=620 | <P ALIGN=LEFT><FONT COLOR="#333333"><FONT FACE="Times New Roman, serif"><FONT SIZE=2 STYLE="font-size: 9pt">Obiekt wyzwalany naciśnięciem klawisza albo o określonej godzinie lub raz na jakiś czas. Nie jest rysowany ale ma współrzędne X, Y, Z, istotne przy wyzwalaniu klawiszem. </FONT></FONT></FONT></P> ||  WIDTH=51 | <P ALIGN=LEFT><BR></P>
+
Scenerię można uruchomić za pomocą startera, wiersza poleceń lub bezpośrednio przez plik wykonywalny symulatora.
|}
+
 
{|  WIDTH=753 BORDER=1 BORDERCOLOR="#666666" CELLPADDING=4 CELLSPACING=0<COL WIDTH=104><COL WIDTH=621><COL WIDTH=2>
+
* Komenda wiersza poleceń, uruchamiająca scenerię scene.scn:
|  VALIGN=TOP ||  WIDTH=104 | <P ALIGN=LEFT><FONT FACE="Times New Roman, serif"><FONT SIZE=2 STYLE="font-size: 9pt">sound</FONT></FONT></P> ||  WIDTH=621 | <P ALIGN=LEFT><BR></P> ||  WIDTH=2 | <P ALIGN=LEFT><BR></P>
+
    eu07.exe –s scenery/scene.scn
|}<P ALIGN=LEFT STYLE="margin-bottom: 0cm; font-style: normal; font-weight: normal"><BR></P><P ALIGN=LEFT STYLE="margin-bottom: 0cm; background: #cccccc; font-style: normal; font-weight: normal"><FONT FACE="Times New Roman, serif"><FONT SIZE=3><SPAN STYLE="background: transparent">NODE::Track</SPAN></FONT></FONT></P><P STYLE="margin-bottom: 0cm">Definiuje tor, po którym możemy puścić obiekt <B>dynamic</B>. Kształt toru definiujemy za pomocą krzywej Beziera.</P><P STYLE="margin-bottom: 0cm">Parametry: <FONT COLOR="#008000">na zielono wartości domyślne (default) które powinny być w skrypcie tworzącym</FONT></P><P STYLE="margin-bottom: 0cm; font-weight: normal"><BR></P><UL><LI><P><FONT COLOR="#000000"><SPAN STYLE="text-decoration: none"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="font-weight: normal">TrackType</SPAN></FONT></SPAN></FONT><FONT COLOR="#008000"><SPAN STYLE="text-decoration: none"><FONT SIZE=2 STYLE="font-size: 9pt"><B> normal</B></FONT></SPAN></FONT><FONT COLOR="#008000"><SPAN STYLE="text-decoration: none"><FONT SIZE=2 STYLE="font-size: 9pt"> (tor kolejowy prosty), </FONT></SPAN></FONT><FONT SIZE=2 STYLE="font-size: 9pt"><B>switch</B></FONT><FONT SIZE=2 STYLE="font-size: 9pt"> &mdash; zwrotnica,  </FONT><FONT SIZE=2 STYLE="font-size: 9pt"><B>table</B></FONT><FONT SIZE=2 STYLE="font-size: 9pt"> &mdash; obrotnica, przesuwnica, wywrotnica, </FONT><FONT SIZE=2 STYLE="font-size: 9pt"><B>road</B></FONT><FONT SIZE=2 STYLE="font-size: 9pt"> &mdash; droga lądowa, </FONT><FONT SIZE=2 STYLE="font-size: 9pt"><B>cross</B></FONT><FONT SIZE=2 STYLE="font-size: 9pt"> &mdash; skrzyżowanie dróg (ma dwa odcinki), </FONT><FONT SIZE=2 STYLE="font-size: 9pt"><B>river</B></FONT><FONT SIZE=2 STYLE="font-size: 9pt"> &mdash; rzeka, kanał, ciek wodny, droga wodna, </FONT><FONT SIZE=2 STYLE="font-size: 9pt"><B>tributary</B></FONT><FONT SIZE=2 STYLE="font-size: 9pt"> &mdash; połączenie dróg wodnych </FONT></P></UL><UL><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">TrackLength &ndash; długość odcinka toru </SPAN></FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">TrackWidth &ndash; szerokość toru (potrzebne w wielu sprawach) <FONT COLOR="#008000">1.435</FONT></SPAN></FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">Friction &ndash; statyczny współczynnik tarcia 0<FONT COLOR="#008000">.15 </FONT><FONT COLOR="#0000ff">czy ta wielkość jest prawidłowa?</FONT></SPAN></FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">SoundDist &ndash; co ile metrów będzie odgrywany dźwięk stukotu <FONT COLOR="#008000">20</FONT></SPAN></FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">Quality &ndash; pierwsze 4 bity &ndash; ile ton/oś, pozostałe &ndash; rezerwa <FONT COLOR="#008000">20</FONT></SPAN></FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">DamageFlag &ndash; kombinacja stałych dtrack_* z mover.pas, np 128 oznacza brak szyn <FONT COLOR="#008000"><B>0</B></FONT><FONT COLOR="#008000"></FONT>dla normal, <FONT COLOR="#008000"><B>2</B></FONT> dla switch</SPAN></FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">Environment &ndash; słowo kluczowe oznaczające otoczenie toru: <FONT FACE="Courier New, monospace">flat, mountains, canyon, tunnel</FONT>  (w zależności od tego będzie się zmieniać oświetlenie i/lub echo dźwięków</SPAN></FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">Visibility &ndash; jeśli tor ma być niewidoczny wpisujemy <B>unvis </B>ale normalnie powinno być <B>vis</B> i wtedy należy podać: </SPAN></FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">Tex1 &ndash; tekstura szyn (jeśli <B>none</B> to szyny nie są rysowane) <FONT COLOR="#008000">Rail_screw_used1</FONT></SPAN></FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">TexLength &ndash; długość w [m] odpowiadająca teksturze szyny <FONT COLOR="#008000">4.0</FONT></SPAN></FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">Tex2 &ndash; dla <B>track normal</B> tekstura podsypki z podkładami (gdy none to nie jest automatycznie rysowana) a w przypadku zwrotnicy tekstura szyn drugiego toru (dla zwrotnicy podkłady trzeba zdefiniować jako oddzielny obiekt&#33;) <FONT COLOR="#008000">TpD.tex</FONT></SPAN></FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">TexHeight &ndash; wysokość rysowanej podsypki (w przypadku zwrotnicy odstęp iglicy od szyny) <FONT COLOR="#008000">0.2</FONT></SPAN></FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">TexWidth &ndash; szerokość rysowanej podsypki od szyny do początku nachylenia (w przypadku zwrotnicy długość odbojnicy) <FONT COLOR="#008000">0.5</FONT></SPAN></FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">TexSlope &ndash; szerokość rysowanej podsypki w obszarze pochylenia  (w przypadku zwrotnicy odległość środka odbojnicy od końca rozjazdu) <FONT COLOR="#008000">1.1</FONT></SPAN></FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">Point1 &ndash; punkt początkowy toru [x,y,z]</SPAN></FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">Roll1 &ndash; przechyłka początku toru [deg]</SPAN></FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">CVec1 &ndash; wektor  [x,y,z] </SPAN></FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">CVec2 &ndash; wektor  [x,y,z]</SPAN></FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">Point2 &ndash; punkt końcowy toru [x,y,z]</SPAN></FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">Roll2 &ndash; przechyłka końca toru [deg]</SPAN></FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">Radius1 &ndash; najmniejszy promień toru </SPAN></FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">Point3 &ndash; <FONT COLOR="#0000ff">(tylko w przypadku zwrotnicy)</FONT> punkt początkowy toru [x,y,z]</SPAN></FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">Roll3 &ndash; <FONT COLOR="#0000ff">(tylko w przypadku zwrotnicy)</FONT> przechyłka toru [deg]</SPAN></FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">CVec3 &ndash; <FONT COLOR="#0000ff">(tylko w przypadku zwrotnicy)</FONT> wektor  [x,y,z]</SPAN></FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">CVec4 &ndash; <FONT COLOR="#0000ff">(tylko w przypadku zwrotnicy)</FONT> wektor  [x,y,z]</SPAN></FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt">Point4 &ndash; <FONT COLOR="#0000ff">(tylko w przypadku zwrotnicy)</FONT> punkt końcowy toru [x,y,z]</FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt">Roll4 &ndash; <FONT COLOR="#0000ff">(tylko w przypadku zwrotnicy)</FONT> przechyłka toru [deg]</FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt">Radius2 &ndash; najmniejszy promień toru <FONT COLOR="#0000ff">(tylko w przypadku zwrotnicy)</FONT></FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt">Velocity (opcjonalny) &ndash; prędkość jakiej będzie się starał nie przekroczyć jadący przez ten tor obiekt <B>dynamic </B>jeśli jest sterowany przez AI</FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt">Event0 (opcjonalny) &ndash; zdarzenie zostanie uruchomione gdy <B>obsadzony załogą</B><I>dynamic</I> stoi na torze.</FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt">Event1 (opcjonalny) &ndash; zdarzenie zostanie uruchomione gdy <B>obsadzony załogą</B><I> dynamic</I> wjedzie na tor w kierunku punktu początkowego (Point1) </FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt">Event2 (opcjonalny) &ndash; zdarzenie zostanie uruchomione gdy <B>obsadzony załogą</B><I> dynamic</I> wjedzie na tor w kierunku punktu końcowego (Point2)</FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt">Eventall0 (opcjonalny) &ndash; zdarzenie które zostanie uruchomione gdy <B>jakikolwiek</B><I>dynamic</I> stoi na torze.</FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt">Event1 (opcjonalny) &ndash; zdarzenie zostanie uruchomione gdy <B>jakikolwiek</B><I>dynamic</I> wjedzie na tor w kierunku punktu początkowego (Point1) </FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt">Event2 (opcjonalny) &ndash; zdarzenie które zostanie uruchomione gdy </FONT><FONT SIZE=2 STYLE="font-size: 9pt"><B>jakikolwiek</B></FONT><FONT SIZE=2 STYLE="font-size: 9pt"></FONT><FONT SIZE=2 STYLE="font-size: 9pt"><I>dynamic</I></FONT><FONT SIZE=2 STYLE="font-size: 9pt"> wjedzie na tor w kierunku punktu końcowego (Point2)</FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt">Isolated (opcjonalny) &ndash; nazwa odcinka izolowanego, do którego należy tor </FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt">Overhead (opcjonalny) &ndash; podać parametr 0, jeśli AI ma przejeżdżać bezprądowo </FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt">Angle1 (opcjonalny) &ndash; ścięcie końca 1 pod innym kątem </FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt">Angle2 (opcjonalny) &ndash; ścięcie końca 2 pod innym kątem </FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt">Fouling1 (opcjonalny) &ndash; wskazanie modelu ukresu od strony 1 </FONT></P><LI><P><FONT SIZE=2 STYLE="font-size: 9pt">Fouling2 (opcjonalny) &ndash; wskazanie modelu ukresu od strony 2 </FONT></P></UL><P STYLE="margin-bottom: 0cm">Jeśli chcemy otrzymać tor prosty należy oba wektory CVec wyzerować oraz dać Radius1=0.</P><P STYLE="margin-bottom: 0cm">Nazwa toru jest potrzebna tylko gdy chcemy na ten tor jakoś oddziaływać (np. przełożyć zwrotnicę) albo ustawić na nim obiekt <FONT FACE="Arial, sans-serif">dynamic</FONT>. Zwykły tor nie musi mieć konkretnej nazwy tzn. można go nazwać <FONT FACE="Arial, sans-serif"><B>none</B></FONT>.</P><P STYLE="margin-bottom: 0cm">Przykład  toru prostego o nazwie track_sbl02, o długości 100m, z ograniczeniem szlakowym 40km/h:</P><P STYLE="margin-bottom: 0cm; background: transparent"><BR></P><P STYLE="text-indent: 0.64cm; margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><FONT SIZE=1 STYLE="font-size: 8pt"><SPAN STYLE="background: transparent"><FONT FACE="Courier New, monospace"><SPAN LANG="en-US">node -1 0 track_sbl02 track normal 100.0</SPAN></FONT><FONT FACE="Courier New, monospace"><SPAN LANG="en-US"> 1.435</SPAN></FONT><FONT FACE="Courier New, monospace"><SPAN LANG="en-US"> 20.0 19 4 flat vis </SPAN></FONT></SPAN></FONT></FONT></P><P LANG="en-US" STYLE="text-indent: 0.64cm; margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><FONT FACE="Courier New, monospace"><FONT SIZE=1 STYLE="font-size: 8pt"><SPAN STYLE="background: transparent">Rail_screw_used1 4.0 TpB-old1.tex 0.2 0.5 1.1</SPAN></FONT></FONT></FONT></P><P LANG="en-US" STYLE="text-indent: 1.25cm; margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><FONT FACE="Courier New, monospace"><FONT SIZE=1 STYLE="font-size: 8pt"><SPAN STYLE="background: transparent">-646.0 0.2 169.0  0.0 </SPAN></FONT></FONT></FONT></P><P LANG="en-US" STYLE="text-indent: 1.25cm; margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><FONT FACE="Courier New, monospace"><FONT SIZE=1 STYLE="font-size: 8pt"><SPAN STYLE="background: transparent">0.0 0.0 0.0  </SPAN></FONT></FONT></FONT></P><P LANG="en-US" STYLE="text-indent: 1.25cm; margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><FONT FACE="Courier New, monospace"><FONT SIZE=1 STYLE="font-size: 8pt"><SPAN STYLE="background: transparent">0.0 0.0 0.0  </SPAN></FONT></FONT></FONT></P><P LANG="en-US" STYLE="text-indent: 1.25cm; margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><FONT FACE="Courier New, monospace"><FONT SIZE=1 STYLE="font-size: 8pt"><SPAN STYLE="background: transparent">-646.0 0.2 69.0  0.0  </SPAN></FONT></FONT></FONT></P><P LANG="en-US" STYLE="text-indent: 1.25cm; margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><FONT FACE="Courier New, monospace"><FONT SIZE=1 STYLE="font-size: 8pt"><SPAN STYLE="background: transparent">0</SPAN></FONT></FONT></FONT></P><P LANG="en-US" STYLE="text-indent: 1.25cm; margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><FONT FACE="Courier New, monospace"><FONT SIZE=1 STYLE="font-size: 8pt"><SPAN STYLE="background: transparent">event1 test_sbl02_s1 </SPAN></FONT></FONT></FONT></P><P LANG="en-US" STYLE="text-indent: 1.25cm; margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><FONT FACE="Courier New, monospace"><FONT SIZE=1 STYLE="font-size: 8pt"><SPAN STYLE="background: transparent">event2 test_sbl02_s1 </SPAN></FONT></FONT></FONT></P><P STYLE="text-indent: 1.25cm; margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><FONT FACE="Courier New, monospace"><FONT SIZE=1 STYLE="font-size: 8pt"><SPAN STYLE="background: transparent">velocity 40 </SPAN></FONT></FONT></FONT></P><P STYLE="text-indent: 0.64cm; margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><FONT FACE="Courier New, monospace"><FONT SIZE=1 STYLE="font-size: 8pt"><SPAN STYLE="background: transparent">endtrack</SPAN></FONT></FONT></FONT></P><P STYLE="text-indent: 0.64cm; margin-bottom: 0cm; background: transparent"><BR></P><P STYLE="margin-bottom: 0cm; background: transparent"><FONT COLOR="#333333"><SPAN STYLE="background: transparent">Przykład anonimowego zakrętu w wykopie</SPAN></FONT></P><P STYLE="text-indent: 0.64cm; margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><FONT SIZE=1 STYLE="font-size: 8pt"><SPAN STYLE="background: transparent"><FONT FACE="Courier New, monospace"><SPAN LANG="en-US">node -1 0 none track normal 100.0</SPAN></FONT><FONT FACE="Courier New, monospace"><SPAN LANG="en-US"> 1.435</SPAN></FONT><FONT FACE="Courier New, monospace"><SPAN LANG="en-US"> 25.0 20 0 canyon vis</SPAN></FONT></SPAN></FONT></FONT></P><P LANG="en-US" STYLE="text-indent: 0.64cm; margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><FONT FACE="Courier New, monospace"><FONT SIZE=1 STYLE="font-size: 8pt"><SPAN STYLE="background: transparent">Rail_screw_used1 4.0 TpD.tex 0.3 0.6 0.9</SPAN></FONT></FONT></FONT></P><P STYLE="text-indent: 1.25cm; margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><FONT FACE="Courier New, monospace"><FONT SIZE=1 STYLE="font-size: 8pt"><SPAN STYLE="background: transparent">-46.0 0.2 -65.0001  0.0  </SPAN></FONT></FONT></FONT></P><P STYLE="text-indent: 1.25cm; margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><FONT FACE="Courier New, monospace"><FONT SIZE=1 STYLE="font-size: 8pt"><SPAN STYLE="background: transparent">0.0 0.0 -11.3351  </SPAN></FONT></FONT></FONT></P><P STYLE="text-indent: 1.25cm; margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><FONT FACE="Courier New, monospace"><FONT SIZE=1 STYLE="font-size: 8pt"><SPAN STYLE="background: transparent">1.28189 0.0 11.2623  </SPAN></FONT></FONT></FONT></P><P STYLE="text-indent: 1.25cm; margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><FONT FACE="Courier New, monospace"><FONT SIZE=1 STYLE="font-size: 8pt"><SPAN STYLE="background: transparent">-47.9246 0.2 -98.9273  0.0  </SPAN></FONT></FONT></FONT></P><P STYLE="text-indent: 1.25cm; margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><FONT FACE="Courier New, monospace"><FONT SIZE=1 STYLE="font-size: 8pt"><SPAN STYLE="background: transparent">300.0</SPAN></FONT></FONT></FONT></P><P STYLE="text-indent: 0.64cm; margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><FONT FACE="Courier New, monospace"><FONT SIZE=1 STYLE="font-size: 8pt"><SPAN STYLE="background: transparent">endtrack</SPAN></FONT></FONT></FONT></P><P STYLE="margin-bottom: 0cm; background: #999999"><BR></P><P STYLE="margin-bottom: 0cm; background: transparent"><FONT COLOR="#1c1c1c">Przykład zwrotnicy:</FONT></P><P STYLE="text-indent: 0.64cm; margin-bottom: 0cm; background: #999999"><FONT COLOR="#ffffcc"><FONT SIZE=1 STYLE="font-size: 8pt"><FONT FACE="Courier New, monospace"><SPAN LANG="en-US">node -1 0 Testowo_zwr1 track switch </SPAN></FONT><FONT FACE="Courier New, monospace"><SPAN LANG="en-US">34.0 1.435</SPAN></FONT><FONT FACE="Courier New, monospace"><SPAN LANG="en-US"> 25.0 20 2 flat vis </SPAN></FONT></FONT></FONT></P><P LANG="en-US" STYLE="text-indent: 0.64cm; margin-bottom: 0cm; background: #999999"><FONT COLOR="#ffffcc"><FONT FACE="Courier New, monospace"><FONT SIZE=1 STYLE="font-size: 8pt">Rail_screw_used1 4.0 Rail_screw_uNused1 0.2 1.5 2.5</FONT></FONT></FONT></P><P LANG="en-US" STYLE="text-indent: 1.25cm; margin-bottom: 0cm; background: #999999"><FONT COLOR="#ffffcc"><FONT FACE="Courier New, monospace"><FONT SIZE=1 STYLE="font-size: 8pt">-46.0 0.2 269.0  0  //point 1</FONT></FONT></FONT></P><P LANG="en-US" STYLE="text-indent: 1.25cm; margin-bottom: 0cm; background: #999999"><FONT COLOR="#ffffcc"><FONT FACE="Courier New, monospace"><FONT SIZE=1 STYLE="font-size: 8pt">0.0 0.0 0.0  //control vector 1</FONT></FONT></FONT></P><P LANG="en-US" STYLE="text-indent: 1.25cm; margin-bottom: 0cm; background: #999999"><FONT COLOR="#ffffcc"><FONT FACE="Courier New, monospace"><FONT SIZE=1 STYLE="font-size: 8pt">0.0 0.0 0.0  //control vector 2</FONT></FONT></FONT></P><P LANG="en-US" STYLE="text-indent: 1.25cm; margin-bottom: 0cm; background: #999999"><FONT COLOR="#ffffcc"><FONT FACE="Courier New, monospace"><FONT SIZE=1 STYLE="font-size: 8pt">-46.0 0.2 235.0  0  //point 2</FONT></FONT></FONT></P><P LANG="en-US" STYLE="text-indent: 1.25cm; margin-bottom: 0cm; background: #999999"><FONT COLOR="#ffffcc"><FONT FACE="Courier New, monospace"><FONT SIZE=1 STYLE="font-size: 8pt">0</FONT></FONT></FONT></P><P LANG="en-US" STYLE="text-indent: 1.25cm; margin-bottom: 0cm; background: #999999"><FONT COLOR="#ffffcc"><FONT FACE="Courier New, monospace"><FONT SIZE=1 STYLE="font-size: 8pt">-46.0 0.2 269.0  0  //point 1</FONT></FONT></FONT></P><P LANG="en-US" STYLE="text-indent: 1.25cm; margin-bottom: 0cm; background: #999999"><FONT COLOR="#ffffcc"><FONT FACE="Courier New, monospace"><FONT SIZE=1 STYLE="font-size: 8pt">0.0 0.0 -11.3351  //control vector 1</FONT></FONT></FONT></P><P LANG="en-US" STYLE="text-indent: 1.25cm; margin-bottom: 0cm; background: #999999"><FONT COLOR="#ffffcc"><FONT FACE="Courier New, monospace"><FONT SIZE=1 STYLE="font-size: 8pt">1.28189 0.0 11.2623  //control vector 2</FONT></FONT></FONT></P><P LANG="en-US" STYLE="text-indent: 1.25cm; margin-bottom: 0cm; background: #999999"><FONT COLOR="#ffffcc"><FONT FACE="Courier New, monospace"><FONT SIZE=1 STYLE="font-size: 8pt">-47.9246 0.2 235.073  0  //point 2</FONT></FONT></FONT></P><P STYLE="text-indent: 1.25cm; margin-bottom: 0cm; background: #999999"><FONT COLOR="#ffffcc"><FONT FACE="Courier New, monospace"><FONT SIZE=1 STYLE="font-size: 8pt">-100</FONT></FONT></FONT></P><P ALIGN=LEFT STYLE="text-indent: 0.64cm; margin-bottom: 0cm; background: #999999; font-style: normal; font-weight: normal; text-decoration: none"><FONT COLOR="#ffffcc"><FONT FACE="Courier New, monospace"><FONT SIZE=1 STYLE="font-size: 8pt"><SPAN STYLE="background: transparent">endtrack</SPAN></FONT></FONT></FONT></P><P ALIGN=LEFT STYLE="text-indent: 0.64cm; margin-bottom: 0cm; background: transparent; font-style: normal; font-weight: normal"><BR></P><P ALIGN=LEFT STYLE="margin-bottom: 0cm; background: transparent; font-style: normal; font-weight: normal"><BR></P><P ALIGN=LEFT STYLE="margin-bottom: 0cm; background: #cccccc; font-style: normal; font-weight: normal"><FONT FACE="Times New Roman, serif"><FONT SIZE=3><SPAN STYLE="background: transparent">NODE::Traction</SPAN></FONT></FONT></P><P STYLE="margin-bottom: 0cm">Definiuje odcinek drutu sieci trakcyjnej</P><P STYLE="margin-bottom: 0cm">Parametry: <FONT COLOR="#008000">na zielono wartości domyślne (default) które są w skrypcie tworzącym</FONT></P><P STYLE="margin-bottom: 0cm"><BR></P><UL><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt">PowerSourceName &ndash; nazwa źródła zasilania, tak sama dla każdego odcinka zasilania </FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt">NominalVoltage &ndash; napięcie w sieci trakcyjnej bez obciążenia <FONT COLOR="#008000">3500</FONT></FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt">MaxCurrent &ndash; prąd przy którym napięcie w sieci spadłoby o połowę <FONT COLOR="#008000">4500</FONT></FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt">Resistivity &ndash; rezystancja styku ślizgacz-przewód <FONT COLOR="#008000">0.01 </FONT></FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt">Material &ndash; z czego zrobiony jest drut [Cu, Al] <FONT COLOR="#008000">Cu</FONT></FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt">WireThickness &ndash; grubość drutu w mm <FONT COLOR="#008000">3</FONT></FONT></P><LI><P STYLE="margin-bottom: 0cm; page-break-before: auto"><FONT SIZE=2 STYLE="font-size: 9pt">DamageFlag &ndash; flaga bitowa uszkodzeń, 1 oznacza patynę, 128 oznacza zerwanie  <FONT COLOR="#008000">1</FONT></FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt">Point1 [x,y,z] &ndash; punkt początkowy dolnego przewodu (jezdnego)</FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt">Point2 [x,y,z] &ndash; punkt końcowy dolnego przewodu (jezdnego)</FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt">Point3 [x,y,z] &ndash; punkt początkowy górnego przewodu (nośnego)</FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt">Point4 [x,y,z] &ndash; punkt końcowy górnego przewodu (nośnego)</FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt">Hmin &ndash; najniższa wysokość górnego przewodu nad dolnym  <FONT COLOR="#008000">0.4</FONT></FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt">DeltaL &ndash; odstęp pomiędzy kolejnymi wieszakami</FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt">Wires &ndash;<FONT COLOR="#0000ff"></FONT>ilość przewodów (0,1,2,3 a w przyszłości 4)  <FONT COLOR="#008000">2</FONT></FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt">WireOffset &ndash;<FONT COLOR="#0000ff"></FONT>odstep między przewodami jezdnymi gdy Wires=3  <FONT COLOR="#008000">0.04</FONT></FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt">Visibility &ndash; jeśli trakcja ma być niewidoczna, wpisujemy <B>unvis  </B><FONT COLOR="#008000">vis</FONT></FONT></P></UL><UL><LI><P ALIGN=LEFT STYLE="margin-bottom: 0cm; page-break-before: auto"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">CurrentEvent (opcjonalny) &ndash; zdarzenie które zostanie uruchomione gdy <B>dynamic</B> pobiera prąd z sieci. </SPAN></FONT></P></UL><P ALIGN=LEFT STYLE="margin-left: 0.64cm; margin-bottom: 0cm"><BR></P><P ALIGN=LEFT STYLE="margin-left: 0.64cm; margin-bottom: 0cm"><BR></P><P ALIGN=LEFT STYLE="margin-bottom: 0cm"><SPAN STYLE="background: transparent">Przykład:</SPAN></P><P ALIGN=LEFT STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#dddddd"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">include tra/sb165-3d.inc tra/betonrelief1 -2.313 5.8 100.247 0 end</SPAN></FONT></FONT></P><P ALIGN=LEFT STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#dddddd"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">node -1 0  none traction pwr01 3500 4500 0.01 cu 3.0 1</SPAN></FONT></FONT></P><P ALIGN=LEFT STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#dddddd"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">0.687223 5.8 100.247</SPAN></FONT></FONT></P><P ALIGN=LEFT STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#dddddd"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">0.087223 5.8 170.247</SPAN></FONT></FONT></P><P ALIGN=LEFT STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#dddddd"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">0.687223 7.5 100.247</SPAN></FONT></FONT></P><P ALIGN=LEFT STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#dddddd"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">0.087223 7.5 170.247</SPAN></FONT></FONT></P><P ALIGN=LEFT STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#dddddd"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">0.4 4.0 3 0.04 vis </SPAN></FONT></FONT></P><P ALIGN=LEFT STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#dddddd"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">endtraction</SPAN></FONT></FONT></P><UL><P ALIGN=LEFT STYLE="margin-bottom: 0cm; background: transparent"></P><P ALIGN=LEFT STYLE="margin-bottom: 0cm; background: transparent"></P><P ALIGN=LEFT STYLE="margin-bottom: 0cm"><FONT COLOR="#0084d1"><FONT SIZE=2 STYLE="font-size: 9pt">(skrypt oblicza P3 i P4 dodając do P1 i P2 zmienne h1 i h2 czyli wysokości zaczepu górnego nad dolnym, defaultowo wynoszą one 1.65 m)</FONT></FONT></P></UL><P STYLE="margin-bottom: 0cm"><FONT COLOR="#cc0000"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">Uwaga &ndash; słupy/wysięgniki są odrębnymi obiektami (skrypt 3dsmax umożliwia dołączanie słupów .inc do każdego wezła linii typu Traction)</SPAN></FONT></FONT></P><P STYLE="text-indent: 0.64cm; margin-bottom: 0cm"><BR></P><P STYLE="text-indent: 0.64cm; margin-bottom: 0cm"><BR></P><P ALIGN=LEFT STYLE="margin-bottom: 0cm; background: #cccccc; font-style: normal; font-weight: normal; page-break-before: auto"><FONT COLOR="#000000"><FONT FACE="Times New Roman, serif"><FONT SIZE=3><SPAN STYLE="background: transparent">NODE::TractionPowerSource </SPAN></FONT></FONT></FONT></P><P ALIGN=LEFT STYLE="margin-bottom: 0cm; font-style: normal; font-weight: normal"><FONT COLOR="#000000"><FONT FACE="Times New Roman, serif"><FONT SIZE=3><SPAN STYLE="background: transparent">Definiuje zasilacz trakcji elektrycznej</SPAN></FONT></FONT></FONT></P><P STYLE="margin-bottom: 0cm"><FONT SIZE=2>Parametry:</FONT></P><UL><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2>Origin [x,y,z] &ndash; położenie źródła prądu</FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2>NominalVoltage &ndash; napięcie w sieci trakcyjnej bez obciążenia </FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2>VoltageFrequency &ndash; częstotliwość prądu (0 dla stałego)</FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2>InternalRes &ndash; rezystancja wewnętrzna podstacji</FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2>MaxOutputCurrent &ndash; prąd przy którym uruchamia się bezpiecznik nadmiarowy szybki</FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2>FastFuseTimeOut &ndash; czas po którym obwód się uruchamia ponownie po przeciążeniu</FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2>FastFuseRepetition &ndash; ilość prób wznowienia pracy obwodu</FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2>SlowFuseTimeOut &ndash; czas po jakim zostanie uruchomiony obwód jeśli zostanie przekroczona ilość wznowień (załączeń bezpiecznika szybkiego)</FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT COLOR="#000000"><FONT SIZE=2><SPAN STYLE="background: transparent">Recuperation &ndash; czy jest odzysk prądu z sieci (jeśli nie to dać NoRecuperation)</SPAN></FONT></FONT></P></UL><P ALIGN=LEFT STYLE="text-indent: 0.64cm; margin-bottom: 0cm; font-style: normal; font-weight: normal"><BR></P><H3 CLASS="western" STYLE="margin-top: 0cm; margin-bottom: 0cm; font-weight: normal"><FONT FACE="Courier New, monospace"><FONT SIZE=1 STYLE="font-size: 8pt"><SPAN STYLE="background: transparent">składnia: </SPAN></FONT></FONT></H3><H3 CLASS="western" STYLE="margin-top: 0cm; margin-bottom: 0.11cm; background: #999999; font-weight: normal"><FONT COLOR="#eeeeee"><FONT FACE="Courier New, monospace"><FONT SIZE=1 STYLE="font-size: 8pt"><SPAN STYLE="background: transparent">TractionPowerSource (p2) (p3) (p4) (p7) 0 (p8) (p9) 1.0 3 60.0 norecuperation end</SPAN></FONT></FONT></FONT></H3><P STYLE="margin-bottom: 0cm; page-break-before: auto"><FONT COLOR="#000000"><FONT FACE="Courier New, monospace"><FONT SIZE=1 STYLE="font-size: 8pt"><SPAN STYLE="background: transparent">przykład: </SPAN></FONT></FONT></FONT></P><P STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><FONT FACE="Courier New, monospace"><FONT SIZE=1 STYLE="font-size: 8pt"><SPAN STYLE="background: transparent">node -1 0 pwr01 tractionpowersource 0 0 0 3400 0 0.01 2000 1.0 3 60.0 section end</SPAN></FONT></FONT></FONT></P><P STYLE="text-indent: 0.64cm; margin-bottom: 0cm"><BR></P><P STYLE="margin-bottom: 0cm"><FONT COLOR="#cc3300"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">UWAGA &ndash; nazwa tego obiektu informuje program że wszystkie obiekty typu Traction które mają taką samą nazwę w polu PowerSourceName należą do tego samego odcinka zasilania.</SPAN></FONT></FONT></P><UL><P STYLE="margin-bottom: 0cm"></P></UL><P STYLE="text-indent: 0.64cm; margin-bottom: 0cm"><BR></P><P ALIGN=LEFT STYLE="margin-bottom: 0cm; background: #cccccc; font-style: normal; font-weight: normal; page-break-before: auto"><FONT COLOR="#000000"><FONT FACE="Times New Roman, serif"><FONT SIZE=3><SPAN STYLE="background: transparent">NODE::Dynamic</SPAN></FONT></FONT></FONT></P><P STYLE="margin-bottom: 0cm">Obiekt poruszający się po torach.</P><P STYLE="margin-bottom: 0cm">Parametry:</P><UL><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2>Dir &ndash; katalog bazowy obiektu <FONT COLOR="#000000">np.</FONT><FONT COLOR="#ff0000"> PKP/EU07</FONT></FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2>ReplacableSkin &ndash; tekstura która zostanie podmieniona (na ogół nadwozie) &ndash; patrz model </FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2>Type &ndash; plik (bez rozszerzenia .chk) z charakterystyką techniczną obiektu <FONT COLOR="#000000">np.</FONT><FONT COLOR="#ff0000"> 303E</FONT></FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2>Track (<B>tylko</B> jeśli nie jest częścią <B>TrainSet</B>) &ndash; nazwa toru na którym ustawiamy obiekt</FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2>Dist &ndash; odległość początkowa (w/m pocz. Toru) jeśli jest -1 to pojazd będzie wstawiony odwrotnie</FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2>CabOccupanc<SPAN STYLE="background: transparent">y &ndash; obsługa pojazdu, możliwe wartości: headdriver, reardriver, nobody, passenger, conductor</SPAN></FONT></P></UL><UL><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2><SPAN STYLE="background: transparent">Vel (tylko jeśli <U>NIE JEST</U> częścią <B>TrainSet</B>) &ndash; prędkość początkowa</SPAN></FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2><SPAN STYLE="background: transparent">Coupler &ndash; (tylko jeśli <U>JEST</U> częścią <B>TrainSet</B>) &ndash; typ sprzęgu łączącego z poprzednikiem</SPAN></FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2><SPAN STYLE="background: transparent">Loadquantity &ndash; ilość ładunku</SPAN></FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2><SPAN STYLE="background: transparent">LoadType &ndash; nazwa ładunku &ndash; <U>TYLKO gdy Loadquantity &gt; 0</U></SPAN></FONT></P></UL><P STYLE="margin-left: 0.64cm; margin-bottom: 0cm"><BR></P><H3 CLASS="western" STYLE="margin-top: 0cm; margin-bottom: 0.1cm; font-weight: normal"><FONT FACE="Times New Roman, serif"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent"><FONT FACE="Courier New, monospace"><FONT SIZE=1 STYLE="font-size: 8pt">składnia:</FONT></FONT><FONT SIZE=1 STYLE="font-size: 8pt"></FONT></SPAN></FONT></FONT></H3><H3 CLASS="western" STYLE="margin-top: 0cm; margin-bottom: 0.1cm; background: #999999; font-weight: normal"><FONT COLOR="#eeeeee"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">node mindist maxdist name type dir replacableskin chktype dist cabocupancy coupler loadquantity loadtype enddynamic</SPAN></FONT></FONT></FONT></H3><P STYLE="margin-bottom: 0cm"><SPAN STYLE="background: transparent"><FONT COLOR="#000000"><FONT FACE="Courier New, monospace"><FONT SIZE=1 STYLE="font-size: 8pt">przykład: </FONT></FONT></FONT></SPAN></P><P STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><FONT FACE="Courier New, monospace"><SPAN STYLE="background: transparent"><FONT SIZE=2 STYLE="font-size: 9pt">node -1 0 505126-08109-8 dynamic pkp\bdhpumn_v2 505126-08109-8 bdhpumn 0.0 nobody 0 0 enddynamic</FONT></SPAN></FONT></FONT></P><P STYLE="margin-bottom: 0cm"><FONT COLOR="#000000"><FONT FACE="Courier New, monospace"><FONT SIZE=1 STYLE="font-size: 8pt"><SPAN STYLE="background: transparent">przykład: </SPAN></FONT></FONT></FONT></P><P STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt">node -1 0 eamos dynamic pkp\eams_v1 eams3 401zl 0.0 nobody 3 1 sand enddynamic</FONT></FONT></FONT></P><P STYLE="margin-bottom: 0cm"><BR></P><P STYLE="margin-bottom: 0cm"><FONT SIZE=2><SPAN STYLE="background: transparent">Komentarz: typ sprzęgu definiowany jest jako kombinacja bitowa flag: 1=sprzęg rzeczywisty, 2=sprzęg pneumatyczny, 4=sprzęg sterowania ukrotnionego itp. Zero oznacza brak fizycznego połączenia.    </SPAN></FONT></P><P STYLE="margin-bottom: 0cm"><BR></P><P LANG="de-DE" STYLE="margin-bottom: 0cm"><BR></P><P ALIGN=LEFT STYLE="margin-bottom: 0cm; background: #cccccc; font-style: normal; font-weight: normal; page-break-before: auto"><FONT COLOR="#000000"><FONT FACE="Times New Roman, serif"><FONT SIZE=3><SPAN STYLE="background: transparent">NODE::Model </SPAN></FONT></FONT></FONT></P><P STYLE="margin-bottom: 0cm">Wstawia model nieruchomy ale z możliwością animacji, np. semafor.</P><P STYLE="margin-bottom: 0cm">Parametry:</P><UL><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt">Position &ndash; pozycja [x,y,z] </FONT></P><LI><P LANG="en-US" STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt">Angle &ndash; kąt [deg]</FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt">Model &ndash; model obiektu</FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt">texture &ndash; jeśli w modelu istnieje tekstura o takiej nazwie to zostanie ona podmieniona</FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt">Lights (opcjonalny) &ndash; stany świateł obiektu 0-wył, 1-wł, 2-migające</FONT></P><P STYLE="margin-bottom: 0cm"></P></UL><P LANG="en-US" STYLE="margin-bottom: 0cm"><FONT COLOR="#0084d1"><FONT SIZE=2>w modelu trzeba je nazwać Light_On01, Light_Off01, Light_On02, Light_Off02 itd. </FONT></FONT></P><P STYLE="margin-bottom: 0cm"><FONT COLOR="#0084d1"><FONT SIZE=2>Light_On01 to światło włączone, Light_Off01 to wyłączone</FONT></FONT></P><P STYLE="margin-bottom: 0cm"><FONT COLOR="#000000"><FONT SIZE=2>składnia: <FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN LANG="en-US">node &ndash;1 0 none model pos.x pos.y pos.z angle model </SPAN></FONT></FONT><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN LANG="en-US"><SPAN STYLE="background: transparent">texture</SPAN></SPAN></FONT></FONT><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN LANG="en-US"> lights 0 0 1 0 0 0 endmodel</SPAN></FONT></FONT></FONT></FONT></P><P LANG="en-US" STYLE="margin-left: 0.64cm; margin-bottom: 0cm"><BR></P><P STYLE="margin-bottom: 0cm">Przykład osadzenia modelu semafora świetlnego z napisem A na tabliczce:</P><P STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#dddddd"><SPAN STYLE="background: transparent"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN LANG="en-US">node &ndash;1 0 none model 10 20 4 90 SS5zpcpbY.t3d </SPAN></FONT></FONT><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN LANG="en-US">A</SPAN></FONT></FONT><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN LANG="en-US"> Lights 0 0 1 0 0 0 endmodel</SPAN></FONT></FONT></SPAN></FONT></P><P STYLE="margin-bottom: 0cm">Przykład osadzenia modelu latarni zwrotnicowej:</P><P LANG="en-US" STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#dddddd"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">node -1 0 Testowo_zwr1_Wz model &ndash;44.0 0.2 234.5 0.0 WzL.t3d none endmodel</SPAN></FONT></FONT></FONT></P><P LANG="en-US" STYLE="text-indent: 0.64cm; margin-bottom: 0cm"><BR></P><P LANG="en-US" STYLE="text-indent: 0.64cm; margin-bottom: 0cm"><BR></P><P LANG="en-US" ALIGN=LEFT STYLE="margin-bottom: 0cm; background: #cccccc; font-style: normal; font-weight: normal; page-break-before: auto"><FONT COLOR="#000000"><FONT FACE="Times New Roman, serif"><FONT SIZE=3><SPAN STYLE="background: transparent">NODE::Triangles</SPAN></FONT></FONT></FONT></P><P STYLE="margin-bottom: 0cm">Definiuje trojkąt jako element skladowy terenu:</P><P STYLE="margin-bottom: 0cm">Parametry:</P><UL><LI><P STYLE="margin-bottom: 0cm; background: transparent"><SPAN STYLE="background: transparent">ambient, diffuse, specular </SPAN>&ndash; podatność materiału na oświetlenie tymi 3ma składowymi światła<FONT COLOR="#0000ff"><FONT SIZE=2></FONT></FONT></P><LI><P STYLE="margin-bottom: 0cm">Texture &ndash; nazwa pliku z tekstura obiektu</P><LI><P STYLE="margin-bottom: 0cm">Vertices &ndash; lista wierzchołków w formacie [x,y,z,nx,ny,nz,tu,tv], ich ilość musi być podzielna przez 3</P></UL><P STYLE="margin-bottom: 0cm"><BR></P><P STYLE="margin-bottom: 0cm">x, y, z &ndash; współrzędne wierzchołka</P><P STYLE="margin-bottom: 0cm">nx, ny, nz &ndash; wektor normalny do płaszczyzny o długości 1</P><P STYLE="margin-bottom: 0cm">tu, tv &ndash; współrzędne tekstury w danym wierzchołku</P><P STYLE="margin-bottom: 0cm"><BR></P><P STYLE="margin-bottom: 0cm; background: transparent"><FONT COLOR="#0066cc"><FONT SIZE=2>info: materiał błyszczący powinien mieć wysoką składową </FONT><FONT SIZE=2><I>specular</I></FONT><FONT SIZE=2>, ściany tunelu powinny mieć wysoką składową ambient i bardzo niskie </FONT><FONT SIZE=2><I>diffuse</I></FONT><FONT SIZE=2> i </FONT><FONT SIZE=2><I>specular</I></FONT><FONT SIZE=2> aby światło słoneczne na nie nie padało, itp</FONT></FONT></P><P STYLE="margin-bottom: 0cm; background: transparent"><BR></P><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">składnia: <FONT FACE="Courier New, monospace"><SPAN LANG="en-US">node 1000 0 none triangles material ambient: r g b diffuse: r g b specular: r g b endmaterial texture</SPAN></FONT></SPAN></FONT></P><P LANG="en-US" STYLE="text-indent: 1.25cm; margin-bottom: 0cm"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt">x y z nx ny nz tu tv end</FONT></FONT></P><P LANG="en-US" STYLE="text-indent: 1.25cm; margin-bottom: 0cm"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt">x y z nx ny nz tu tv end</FONT></FONT></P><P LANG="en-US" STYLE="text-indent: 1.25cm; margin-bottom: 0cm"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt">x y z nx ny nz tu tv  </FONT></FONT></P><P LANG="en-US" STYLE="margin-bottom: 0cm"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">endtri</SPAN></FONT></FONT></P><P LANG="en-US" STYLE="margin-bottom: 0cm"><BR></P><P STYLE="margin-bottom: 0cm">Przykład trójkąta, który będzie widoczny z odległości mniejszej niż 1km, z teksturą grass:</P><P LANG="en-US" STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#dddddd"><FONT FACE="Courier New, monospace"><FONT SIZE=1 STYLE="font-size: 8pt"><SPAN STYLE="background: transparent">node 1000 0 none triangles material ambient: 100 100 100 diffuse: 255 255 255 specular: 200 200 200 endmaterial grass</SPAN></FONT></FONT></FONT></P><P LANG="en-US" STYLE="text-indent: 1.25cm; margin-bottom: 0cm; background: #999999"><FONT COLOR="#dddddd"><FONT FACE="Courier New, monospace"><FONT SIZE=1 STYLE="font-size: 8pt"><SPAN STYLE="background: transparent">-51.4 0.2 0.0 -1.1094 1.6641 0.0 0.15 0.0 end</SPAN></FONT></FONT></FONT></P><P LANG="en-US" STYLE="text-indent: 1.25cm; margin-bottom: 0cm; background: #999999"><FONT COLOR="#dddddd"><FONT FACE="Courier New, monospace"><FONT SIZE=1 STYLE="font-size: 8pt"><SPAN STYLE="background: transparent">-51.4 0.2 100.0 -0.554701 0.83205 0.0 0.15 25.0 end</SPAN></FONT></FONT></FONT></P><P LANG="en-US" STYLE="text-indent: 1.25cm; margin-bottom: 0cm; background: #999999"><FONT COLOR="#dddddd"><FONT FACE="Courier New, monospace"><FONT SIZE=1 STYLE="font-size: 8pt"><SPAN STYLE="background: transparent">-48.6 0.2 0.0 0.0 2.0 0.0 0.85 0.0 </SPAN></FONT></FONT></FONT></P><P LANG="en-US" STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#dddddd"><FONT FACE="Courier New, monospace"><FONT SIZE=1 STYLE="font-size: 8pt"><SPAN STYLE="background: transparent">endtri</SPAN></FONT></FONT></FONT></P><P LANG="en-US" STYLE="text-indent: 0.64cm; margin-bottom: 0cm; background: transparent"><BR></P><P LANG="en-US" STYLE="text-indent: 0.64cm; margin-bottom: 0cm"><BR></P><P LANG="en-US" STYLE="text-indent: 0.64cm; margin-bottom: 0cm"><BR></P><P LANG="en-US" ALIGN=LEFT STYLE="margin-bottom: 0cm; background: #cccccc; font-style: normal; font-weight: normal; page-break-before: auto"><FONT COLOR="#000000"><FONT FACE="Times New Roman, serif"><FONT SIZE=3><SPAN STYLE="background: transparent">NODE::Triangle_Strip</SPAN></FONT></FONT></FONT></P><P STYLE="margin-bottom: 0cm">Definiuje wielokąt:</P><P STYLE="margin-bottom: 0cm">Parametry:</P><UL><LI><P ALIGN=LEFT STYLE="margin-bottom: 0cm">Texture &ndash; nazwa pliku z tekstura obiektu</P><LI><P ALIGN=LEFT STYLE="margin-bottom: 0cm">Vertices &ndash; lista wierzchołków w formacie [x,y,z,nx,ny,nz,tu,tv]  </P></UL><P STYLE="margin-bottom: 0cm"><BR></P><P LANG="en-US" ALIGN=LEFT STYLE="margin-bottom: 0cm; background: #cccccc; font-style: normal; font-weight: normal; page-break-before: auto"><FONT COLOR="#000000"><FONT FACE="Times New Roman, serif"><FONT SIZE=3><SPAN STYLE="background: transparent">NODE::Triangle_Fan</SPAN></FONT></FONT></FONT></P><P STYLE="margin-bottom: 0cm">Definiuje wielokąt:</P><P STYLE="margin-bottom: 0cm">Parametry:</P><UL><LI><P ALIGN=LEFT STYLE="margin-bottom: 0cm">Texture &ndash; nazwa pliku z tekstura obiektu</P><LI><P ALIGN=LEFT STYLE="margin-bottom: 0cm">Vertices &ndash; lista wierzchołków w formacie [x,y,z,nx,ny,nz,tu,tv]  </P></UL><P ALIGN=LEFT STYLE="margin-bottom: 0cm"><BR></P><P LANG="en-US" ALIGN=LEFT STYLE="margin-bottom: 0cm; background: #cccccc; font-style: normal; font-weight: normal; page-break-before: auto"><FONT COLOR="#000000"><FONT FACE="Times New Roman, serif"><FONT SIZE=3><SPAN STYLE="background: transparent">NODE::Lines</SPAN></FONT></FONT></FONT></P><P STYLE="margin-bottom: 0cm">Definiuje listę linii:</P><P LANG="en-US" STYLE="margin-bottom: 0cm">Parametry:</P><UL><LI><P LANG="en-US" STYLE="margin-bottom: 0cm">Color &ndash; [r,g,b]</P><LI><P STYLE="margin-bottom: 0cm"><SPAN STYLE="background: transparent">Thickness &ndash; grubość linii</SPAN></P><LI><P STYLE="margin-bottom: 0cm">Points &ndash; lista wierzchołków w formacie [x,y,z], ich ilość musi być podzielna przez 2</P></UL><P STYLE="margin-left: 0.64cm; margin-bottom: 0cm"><BR></P><P STYLE="margin-bottom: 0cm"><FONT COLOR="#0084d1"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">Jeśli grubość linii (liczona w pierwszym wierzchołku) odwzorowana na ekran jest mniejsza niż jeden piksel to linia rysowana jest jako częściowo przeźroczysta (chyba że przeźroczystość jst mniejsza niż 4%,  wtedy w ogóle nie rysuje).</SPAN></FONT></FONT></P><P STYLE="margin-bottom: 0cm"><BR></P><P STYLE="margin-bottom: 0cm"><FONT COLOR="#000000">Przykład czarnych linii o grubości 3mm:</FONT></P><P LANG="en-US" STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#dddddd"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt">node 300 0 none lines 0 0 0 3</FONT></FONT></FONT></P><P LANG="en-US" STYLE="text-indent: 1.25cm; margin-bottom: 0cm; background: #999999"><FONT COLOR="#dddddd"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt">-638.0 0.0 -89.0 -638.0 1.7 -89.0 </FONT></FONT></FONT></P><P LANG="en-US" STYLE="text-indent: 1.25cm; margin-bottom: 0cm; background: #999999"><FONT COLOR="#dddddd"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt">-638.0 1.7 -89.0 -630.5 1.5 -86.0 </FONT></FONT></FONT></P><P LANG="en-US" STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#dddddd"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt">endline</FONT></FONT></FONT></P><P LANG="en-US" STYLE="text-indent: 0.64cm; margin-bottom: 0cm; background: transparent"><BR></P><P LANG="en-US" ALIGN=LEFT STYLE="margin-bottom: 0cm; background: #cccccc; font-style: normal; font-weight: normal; page-break-before: auto"><FONT COLOR="#000000"><FONT FACE="Times New Roman, serif"><FONT SIZE=3><SPAN STYLE="background: transparent">NODE::Line_Strip</SPAN></FONT></FONT></FONT></P><P LANG="en-US" STYLE="margin-bottom: 0cm">Definiuje łamaną:</P><P LANG="en-US" STYLE="margin-bottom: 0cm">Parametry:</P><UL><LI><P LANG="en-US" STYLE="margin-bottom: 0cm">Color &ndash; [r,g,b]</P><LI><P STYLE="margin-bottom: 0cm">Points &ndash; lista wierzchołków w formacie [x,y,z]</P></UL><P STYLE="margin-bottom: 0cm; background: transparent"><FONT COLOR="#111111">Przykład zielonej łamanej o grubości 1mm:</FONT></P><P LANG="en-US" STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#dddddd"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt">node 300 0 none lines 0 255 0 1</FONT></FONT></FONT></P><P STYLE="text-indent: 1.25cm; margin-bottom: 0cm; background: #999999"><FONT COLOR="#dddddd"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt">-638.0 0.0 -89.0 </FONT></FONT></FONT></P><P STYLE="text-indent: 1.25cm; margin-bottom: 0cm; background: #999999"><FONT COLOR="#dddddd"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt">-638.0 1.7 -89.0 </FONT></FONT></FONT></P><P STYLE="text-indent: 1.25cm; margin-bottom: 0cm; background: #999999"><FONT COLOR="#dddddd"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt">-630.5 1.5 -86.0 </FONT></FONT></FONT></P><P STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#dddddd"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt">endline</FONT></FONT></FONT></P><P LANG="en-US" ALIGN=LEFT STYLE="margin-bottom: 0cm; background: transparent; font-style: normal; font-weight: normal; page-break-before: auto"><BR></P><P LANG="en-US" ALIGN=LEFT STYLE="margin-bottom: 0cm; background: #cccccc; font-style: normal; font-weight: normal"><FONT COLOR="#000000"><FONT FACE="Times New Roman, serif"><FONT SIZE=3><SPAN STYLE="background: transparent">NODE::Line_Loop</SPAN></FONT></FONT></FONT></P><P STYLE="margin-bottom: 0cm">Definiuje łamaną zamkniętą:</P><P LANG="en-US" STYLE="margin-bottom: 0cm">Parametry:</P><UL><LI><P LANG="en-US" STYLE="margin-bottom: 0cm">Color &ndash; [r,g,b]</P><LI><P STYLE="margin-bottom: 0cm">Points &ndash; lista wierzchołków w formacie [x,y,z]</P></UL><P STYLE="margin-bottom: 0cm"><FONT COLOR="#111111">Przykład niebieskozielonej linii zamkniętej nigdy nie przeźroczystej:</FONT></P><P STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#dddddd"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN LANG="en-US">node 300 0 none lines 0 255 128 </SPAN></FONT></FONT><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN LANG="en-US">-1</SPAN></FONT></FONT></FONT></P><P STYLE="text-indent: 1.25cm; margin-bottom: 0cm; background: #999999"><FONT COLOR="#dddddd"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt">-638.0 0.0 -89.0 </FONT></FONT></FONT></P><P STYLE="text-indent: 1.25cm; margin-bottom: 0cm; background: #999999"><FONT COLOR="#dddddd"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt">-638.0 1.7 -89.0 </FONT></FONT></FONT></P><P STYLE="text-indent: 1.25cm; margin-bottom: 0cm; background: #999999"><FONT COLOR="#dddddd"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt">-630.5 1.5 -86.0 </FONT></FONT></FONT></P><P ALIGN=LEFT STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#dddddd"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt">endline</FONT></FONT></FONT></P><P ALIGN=LEFT STYLE="margin-bottom: 0cm; background: transparent"><BR></P><P LANG="en-US" ALIGN=LEFT STYLE="margin-bottom: 0cm; background: #cccccc; font-style: normal; font-weight: normal"><FONT COLOR="#000000"><FONT FACE="Times New Roman, serif"><FONT SIZE=3><SPAN STYLE="background: transparent">NODE::MemCell</SPAN></FONT></FONT></FONT></P><P STYLE="margin-bottom: 0cm">Komórka pamięci, nie jest rysowana ale ma współrzędne X,Y,Z</P><P STYLE="margin-bottom: 0cm">Parametry:</P><UL><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2>Position X,Y,Z: współrzędne komórki pamięci</FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2>Command: początkowa wartość parametru (informacji) tekstowego</FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2>Value1: początkowa wartość parametru liczbowego</FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2>Value2: początkowa wartość drugiego parametru liczbowego</FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2>TrackName: nazwa toru na który oddziałowywuje w przypadku zmiany parametrów (można dać <B>none</B>)</FONT></P></UL><P STYLE="margin-bottom: 0cm"><BR></P><P LANG="en-US" STYLE="margin-bottom: 0cm">Przykład:</P><P LANG="en-US" STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#dddddd"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt">node -1 0 memcell_train3 memcell 1.0 1.0 1.0 Wait_for_orders 0 0 StatAStatC_trk415 endmemcell</FONT></FONT></FONT></P><P LANG="en-US" STYLE="margin-bottom: 0cm; background: transparent"><BR></P><P LANG="en-US" ALIGN=LEFT STYLE="margin-bottom: 0cm; background: #cccccc; font-style: normal; font-weight: normal"><FONT COLOR="#000000"><FONT FACE="Times New Roman, serif"><FONT SIZE=3><SPAN STYLE="background: transparent">NODE::EventLauncher</SPAN></FONT></FONT></FONT></P><P STYLE="margin-bottom: 0cm">Obiekt wyzwalany naciśnięciem klawisza albo o określonej godzinie lub raz na jakiś czas. Nie jest rysowany ale ma współrzędne X,Y,Z</P><P STYLE="margin-bottom: 0cm">Parametry:</P><UL><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2>Position X,Y,Z: współrzędne wyzwalacza</FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2>Radius: maksymalna odległość obserwatora od obiektu, -1 oznacza brak sprawdzania odległości </FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2>Key: kod klawisza (tylko literowe, none= brak reakcji na klawisze)</FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2>Time: </FONT><FONT SIZE=2><SPAN STYLE="background: transparent">godzina w formacie </SPAN></FONT><FONT SIZE=2><B><SPAN STYLE="background: transparent">hh:mm</SPAN></B></FONT><FONT SIZE=2><SPAN STYLE="background: transparent"> albo</SPAN></FONT><FONT SIZE=2> ze znakiem minus: okresowość wyzwalania w sekundach, zero</FONT> -brak reakcji <FONT SIZE=2>czasowej</FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2>Event1: zdarzenie wyzwalane przy naciśnięciu klawisza gdy SHIFT nie jest naciśnięty albo gdy upłynął określony czas</FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2>Event2: zdarzenie wyzwalane przy naciśnięciu klawisza gdy SHIFT jest naciśnięty opcjonalnie, po słowie <FONT FACE="Courier New, monospace">condition</FONT></FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2>MemCell: nazwa komórki pamięciowej</FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2>Parameters &ndash; String, Val1,  Val2 &ndash; wartości którym się muszą równać wartości komórki pamięciowej żeby zdarzenia zostały wysłane do kolejkowania </FONT></P></UL><P STYLE="margin-bottom: 0cm"><BR></P><P STYLE="margin-bottom: 0cm">Przykład z pliku <FONT SIZE=2 STYLE="font-size: 9pt">scenery/ zwrL34R300M.inc:</FONT></P><P STYLE="margin-bottom: 0cm; background: transparent"><FONT COLOR="#111111"><FONT SIZE=2 STYLE="font-size: 9pt">//sterowanie zwrotnica za pomoca klawiszy t,t</FONT></FONT></P><P STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#dddddd"><FONT SIZE=2 STYLE="font-size: 9pt">node -1 0 (p1) eventlauncher (p2) (p3) (p4) 3.0 t 0 (p1)+ (p1)- end </FONT></FONT></P><P ALIGN=LEFT STYLE="margin-bottom: 0cm; background: transparent"><BR></P><P LANG="en-US" ALIGN=LEFT STYLE="margin-bottom: 0cm; background: #cccccc; font-style: normal; font-weight: normal"><FONT COLOR="#000000"><FONT FACE="Times New Roman, serif"><FONT SIZE=3><SPAN STYLE="background: transparent">NODE::Sound</SPAN></FONT></FONT></FONT></P><P LANG="en-US" ALIGN=LEFT STYLE="margin-bottom: 0cm; background: transparent; font-style: normal; font-weight: normal"><FONT COLOR="#000000"><FONT FACE="Times New Roman, serif"><FONT SIZE=3><SPAN STYLE="background: transparent">Definiuje dzwiek umieszczony w okreslonej pozycji</SPAN></FONT></FONT></FONT></P><P LANG="en-US" ALIGN=LEFT STYLE="margin-bottom: 0cm; background: transparent; font-style: normal; font-weight: normal"><FONT COLOR="#000000"><FONT FACE="Times New Roman, serif"><FONT SIZE=3><SPAN STYLE="background: transparent">przykład:</SPAN></FONT></FONT></FONT></P><P LANG="en-US" ALIGN=LEFT STYLE="margin-bottom: 0cm; background: #999999; font-style: normal; font-weight: normal"><FONT COLOR="#eeeeee"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">node 400 0 kierpoc4_wav sound -12320.0 1.5 29468.0 rp14_22.wav endsound</SPAN></FONT></FONT></FONT></P><P ALIGN=LEFT STYLE="margin-bottom: 0cm; background: transparent"><BR></P><P ALIGN=LEFT STYLE="margin-bottom: 0cm; background: transparent"><BR></P><P ALIGN=LEFT STYLE="margin-bottom: 0cm; background: #cccccc; font-style: normal; font-weight: normal"><FONT FACE="Times New Roman, serif"><FONT SIZE=3 STYLE="font-size: 13pt"><SPAN STYLE="background: #ccccff">2 Wpis EVENT</SPAN></FONT></FONT></P><P STYLE="margin-bottom: 0cm">Definiuje zdarzenia które służą do sterowania obiektami, np. zmienić sygnał na semaforze czy przełożyć zwrotnice.</P><P LANG="en-US" STYLE="margin-bottom: 0cm">Parametry:</P><UL><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt">Name &ndash; nazwa zdarzenia</FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt">EventType &ndash; typ zdarzenia</FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt">Delay &ndash; opóźnienie przy uruchamianiu zdarzenia  <FONT COLOR="#0000ff">może byc ujemne, wtedy wywoływane jest cyklicznie, ale to jest nieprzetestowane</FONT></FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt">ObjectName &ndash; nazwa obiektu do którego odnosi się zdarzenie</FONT></P><LI><P ALIGN=LEFT STYLE="margin-bottom: 0cm; background: transparent; font-style: normal; font-weight: normal; page-break-before: auto"><FONT COLOR="#000000"><FONT FACE="Times New Roman, serif"><FONT SIZE=2 STYLE="font-size: 9pt">dodatkowe parametry zależne od EventType:</FONT></FONT></FONT></P></UL><P ALIGN=LEFT STYLE="margin-bottom: 0cm; background: transparent; font-style: normal; font-weight: normal"><BR></P><P STYLE="margin-bottom: 0cm"><FONT COLOR="#0000ff"><FONT SIZE=2 STYLE="font-size: 9pt">Część nazwy może być parametrem, np. </FONT></FONT></P><P STYLE="margin-bottom: 0cm"><FONT COLOR="#0000ff"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt">event;(P1)_sem_anim12 animation 0 kszt2.t3d rotate Ramie01 0 45 0 80 endevent</FONT></FONT></FONT></P><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt"><FONT COLOR="#0000ff">oznacza, jeśli taka deklaracja jest w pliku semkszt2.inc, że jak damy w scenerii wywołanie </FONT><FONT COLOR="#0000ff"><FONT FACE="Courier New, monospace">semkszt2 Raba_A</FONT></FONT></FONT></P><P ALIGN=LEFT STYLE="margin-bottom: 0cm; background: transparent; font-style: normal; font-weight: normal"><FONT COLOR="#ff0000"><FONT FACE="Times New Roman, serif"><FONT SIZE=2 STYLE="font-size: 9pt"><FONT COLOR="#0000ff">to zdarzenie będzie miało nazwę </FONT><FONT COLOR="#0000ff"><FONT FACE="Courier New, monospace">Raba_A_sem_anim11</FONT></FONT><FONT COLOR="#0000ff">. </FONT></FONT></FONT></FONT></P><P ALIGN=LEFT STYLE="margin-bottom: 0cm; background: transparent; font-style: normal; font-weight: normal"><BR></P><P ALIGN=LEFT STYLE="margin-bottom: 0cm; background: transparent; font-style: normal; font-weight: normal"><FONT COLOR="#111111"><FONT FACE="Times New Roman, serif"><FONT SIZE=2 STYLE="font-size: 9pt">Rozróżnia się 9 typów zdarzeń:</FONT></FONT></FONT></P>
+
 
{|  WIDTH=753 BORDER=1 CELLPADDING=4 CELLSPACING=0<COL WIDTH=141><COL WIDTH=563><COL WIDTH=23>
+
* Wpis w eu07.ini, powodujący uruchomienie scene.scn przez plik wykonywalny
|  VALIGN=TOP ||  WIDTH=141 | <H3 CLASS="western" ALIGN=LEFT STYLE="margin-top: 0cm"><FONT COLOR="#333333"><FONT FACE="Times New Roman, serif"><FONT SIZE=1 STYLE="font-size: 8pt"><SPAN STYLE="background: transparent">Lights</SPAN></FONT></FONT></FONT></H3> ||  WIDTH=563 | <P><FONT FACE="Times New Roman, serif"><FONT SIZE=2 STYLE="font-size: 9pt">Zmienia światła w danym przez ObjectName modelu</FONT></FONT></P>
+
    sceneryfile scene.scn
!  WIDTH=23 | <P><BR></P>
+
 
|  VALIGN=TOP ||  WIDTH=141 | <H3 CLASS="western" ALIGN=LEFT STYLE="margin-top: 0cm; text-decoration: none"><FONT COLOR="#333333"><FONT FACE="Times New Roman, serif"><FONT SIZE=1 STYLE="font-size: 8pt"><SPAN STYLE="background: transparent">Animation</SPAN></FONT></FONT></FONT></H3> ||  WIDTH=563 | <P ALIGN=LEFT><FONT FACE="Times New Roman, serif"><FONT SIZE=2 STYLE="font-size: 9pt">dokonuje rotacji lub translacji fragmentu modelu, nazwa modelu jest w ObjectName</FONT></FONT></P> ||  WIDTH=23 | <P ALIGN=LEFT><BR></P> ||  VALIGN=TOP ||  WIDTH=141 | <H3 LANG="en-US" CLASS="western" ALIGN=LEFT STYLE="margin-top: 0cm"><FONT COLOR="#333333"><FONT FACE="Times New Roman, serif"><FONT SIZE=1 STYLE="font-size: 8pt"><SPAN STYLE="background: transparent">TrackVel</SPAN></FONT></FONT></FONT></H3> ||  WIDTH=563 | <P ALIGN=LEFT><FONT FACE="Times New Roman, serif"><FONT SIZE=2 STYLE="font-size: 9pt">Zmienia przypisaną prędkość do toru.</FONT></FONT></P> ||  WIDTH=23 | <P ALIGN=LEFT><BR></P> ||  VALIGN=TOP ||  WIDTH=141 | <H3 LANG="en-US" CLASS="western" ALIGN=LEFT STYLE="margin-top: 0cm"><FONT COLOR="#333333"><FONT FACE="Times New Roman, serif"><FONT SIZE=1 STYLE="font-size: 8pt"><SPAN STYLE="background: transparent">UpdateValues</SPAN></FONT></FONT></FONT></H3> ||  WIDTH=563 | <P ALIGN=LEFT><FONT FACE="Times New Roman, serif"><FONT SIZE=2 STYLE="font-size: 9pt">Ładuje informacje do komórki pamięci.</FONT></FONT></P> ||  WIDTH=23 | <P ALIGN=LEFT><BR></P> ||  VALIGN=TOP ||  WIDTH=141 | <H3 LANG="en-US" CLASS="western" ALIGN=LEFT STYLE="margin-top: 0cm"><FONT COLOR="#333333"><FONT FACE="Times New Roman, serif"><FONT SIZE=1 STYLE="font-size: 8pt"><SPAN STYLE="background: transparent">GetValues</SPAN></FONT></FONT></FONT></H3> ||  WIDTH=563 | <P ALIGN=LEFT><FONT FACE="Times New Roman, serif"><FONT SIZE=2 STYLE="font-size: 9pt">Pobiera informacje z komórki pamięci i wysyła do obiektu <I>dynamic</I>.</FONT></FONT></P> ||  WIDTH=23 | <P ALIGN=LEFT><BR></P> ||  VALIGN=TOP ||  WIDTH=141 | <H3 CLASS="western" ALIGN=LEFT STYLE="margin-top: 0cm"><FONT COLOR="#333333"><FONT FACE="Times New Roman, serif"><FONT SIZE=1 STYLE="font-size: 8pt"><SPAN STYLE="background: transparent">Multiple</SPAN></FONT></FONT></FONT></H3> ||  WIDTH=563 | <P ALIGN=LEFT><FONT FACE="Times New Roman, serif"><FONT SIZE=2 STYLE="font-size: 9pt">Pozwala wywołać więcej zdarzeń.</FONT></FONT></P> ||  WIDTH=23 | <P ALIGN=LEFT><BR></P> ||  VALIGN=TOP ||  WIDTH=141 | <H3 CLASS="western" ALIGN=LEFT STYLE="margin-top: 0cm"><FONT COLOR="#333333"><FONT FACE="Times New Roman, serif"><FONT SIZE=1 STYLE="font-size: 8pt"><SPAN STYLE="background: transparent">Switch</SPAN></FONT></FONT></FONT></H3> ||  WIDTH=563 | <P ALIGN=LEFT><FONT FACE="Times New Roman, serif"><FONT SIZE=2 STYLE="font-size: 9pt">Zmienia przełożenie zwrotnicy.</FONT></FONT></P> ||  WIDTH=23 | <P ALIGN=LEFT><BR></P> ||  VALIGN=TOP ||  WIDTH=141 | <H3 CLASS="western" ALIGN=LEFT STYLE="margin-top: 0cm"><FONT COLOR="#333333"><FONT FACE="Times New Roman, serif"><FONT SIZE=1 STYLE="font-size: 8pt"><SPAN STYLE="background: transparent">Sound</SPAN></FONT></FONT></FONT></H3> ||  WIDTH=563 | <P ALIGN=LEFT><FONT FACE="Times New Roman, serif"><FONT SIZE=2 STYLE="font-size: 9pt">Odtwarza dźwięk z pliku .wav o nazwie określonej jako ObjectName</FONT></FONT></P> ||  WIDTH=23 | <P ALIGN=LEFT><BR></P> ||  VALIGN=TOP ||  WIDTH=141 | <H3 LANG="en-US" CLASS="western" ALIGN=LEFT STYLE="margin-top: 0cm; font-weight: normal"><FONT FACE="Times New Roman, serif"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">PutValues</SPAN></FONT></FONT></H3> ||  WIDTH=563 | <P ALIGN=LEFT><FONT FACE="Times New Roman, serif"><FONT SIZE=2 STYLE="font-size: 9pt">Wysyła statyczne informacje do obiektu <I>dynamic</I> (z pominięciem komórki pamięci)</FONT></FONT></P> ||  WIDTH=23 | <P ALIGN=LEFT><BR></P>
+
Scenerie używają prawoskrętnego ukłądu współrzędnych:
|}<P ALIGN=LEFT STYLE="margin-bottom: 0cm; background: transparent; font-style: normal; font-weight: normal"><BR></P><P LANG="en-US" ALIGN=LEFT STYLE="margin-bottom: 0cm; background: #cccccc; font-style: normal; font-weight: normal"><FONT COLOR="#c5000b"><FONT FACE="Times New Roman, serif"><FONT SIZE=3><SPAN STYLE="background: transparent">EVENT::Lights</SPAN></FONT></FONT></FONT></P><P STYLE="margin-bottom: 0cm">Zmienia światła w danym przez ObjectName modelu</P><P STYLE="margin-bottom: 0cm"><SPAN STYLE="background: transparent">Parametry:</SPAN></P><UL><LI><P STYLE="margin-bottom: 0cm"><SPAN STYLE="background: transparent">eventname &ndash; nazwa zdarzenia</SPAN></P><LI><P STYLE="margin-bottom: 0cm"><SPAN STYLE="background: transparent">delay &ndash; opóźnienie wykonania</SPAN></P><LI><P STYLE="margin-bottom: 0cm"><SPAN STYLE="background: transparent">objname &ndash; nazwa node'a który ma swiatla</SPAN></P><LI><P STYLE="margin-bottom: 0cm"><SPAN STYLE="background: transparent">Lights &ndash; stany świateł obiektu 0-wył, 1-wł, 2-migające</SPAN></P></UL><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">składnia:</SPAN></FONT></P><P LANG="en-US" STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">event eventname lights delay objname 2 0 0 1 0 endevent</SPAN></FONT></FONT></FONT></P><P LANG="en-US" STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">przykład:</SPAN></FONT></P><P LANG="en-US" STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">event</SPAN> sem10_light11 lights 0.0 sem10 2 0 0 1 0 endevent</FONT></FONT></FONT></P><P LANG="en-US" STYLE="margin-bottom: 0cm; font-style: normal; font-weight: normal"><BR></P><P LANG="en-US" ALIGN=LEFT STYLE="margin-bottom: 0cm; background: #cccccc; font-style: normal; font-weight: normal"><FONT COLOR="#c5000b"><FONT FACE="Times New Roman, serif"><FONT SIZE=3><SPAN STYLE="background: transparent">EVENT::Animation</SPAN></FONT></FONT></FONT></P><P STYLE="margin-bottom: 0cm">dokonuje rotacji lub translacji fragmentu modelu, nazwa modelu jest w ObjectName</P><P STYLE="margin-bottom: 0cm; background: transparent">P<SPAN STYLE="background: transparent">arametry:</SPAN></P><UL><LI><P STYLE="margin-bottom: 0cm; background: transparent"><SPAN STYLE="background: transparent">AnimationType &ndash; rodzaj animacji: rotate/translate</SPAN></P><LI><P STYLE="margin-bottom: 0cm; background: transparent"><SPAN STYLE="background: transparent">SubModel &ndash; nazwa fragmentu modelu podlegającego animacji</SPAN></P><LI><P STYLE="margin-bottom: 0cm; background: transparent"><SPAN STYLE="background: transparent">X, Y, Z &ndash; wartości kątów lub przesunięć</SPAN></P><LI><P STYLE="margin-bottom: 0cm; background: transparent"><SPAN STYLE="background: transparent">AnimationSpeed &ndash; prędkość animacji</SPAN></P></UL><P LANG="en-US" STYLE="margin-bottom: 0cm; background: transparent"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">przykład:</SPAN></FONT></P><P STYLE="margin-bottom: 0cm"><FONT COLOR="#000000"><FONT SIZE=2 STYLE="font-size: 9pt">jeśli model jest osadzony (patrz 1.1.3) w ten sposób:</FONT></FONT></P><P LANG="en-US" STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt">node -1 0 Testowo_A model 100.0 0.2 20.0 180 sem_kszt2.t3d endmodel</FONT></FONT></FONT></P><P STYLE="margin-bottom: 0cm"><FONT COLOR="#111111"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN LANG="en-US">i jego fragment nazwany jest </SPAN></FONT><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN LANG="en-US">Ramie01</SPAN></FONT></FONT><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN LANG="en-US"> to </SPAN></FONT><FONT SIZE=2 STYLE="font-size: 9pt">rotacja tego ramienia o 45deg wokół osi Y z prędkością 40deg/s definiuje się</FONT><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN LANG="en-US">:</SPAN></FONT></FONT></P><P LANG="en-US" STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt">event Testowo_A_sem_anim21 animation 0 Testowo_A rotate Ramie01 0 -45 0 40 endevent</FONT></FONT></FONT></P><H3 LANG="en-US" CLASS="western" ALIGN=LEFT STYLE="background: transparent; font-style: normal; font-weight: normal"></H3><P LANG="en-US" ALIGN=LEFT STYLE="margin-bottom: 0cm; background: #cccccc; font-style: normal; font-weight: normal"><FONT COLOR="#c5000b"><FONT FACE="Times New Roman, serif"><FONT SIZE=3><SPAN STYLE="background: transparent">EVENT::TrackVel</SPAN></FONT></FONT></FONT></P><P STYLE="margin-bottom: 0cm">Parametry:</P><UL><LI><P STYLE="margin-bottom: 0cm">eventname &ndash; nazwa zdarzenia. </P><LI><P STYLE="margin-bottom: 0cm">Delay &ndash; opóźnienie wykonania</P><LI><P STYLE="margin-bottom: 0cm">TrackName &ndash; tor ktoremu zostanie ustawiona predkość</P><LI><P STYLE="margin-bottom: 0cm">Velocity &ndash; prędkość która zostanie przypisana do toru.  </P></UL><P STYLE="margin-bottom: 0cm"><BR></P><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt">składnia:</FONT></P><P LANG="en-US" STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt">event eventname trackvel delay trackname velocity endevent</FONT></FONT></FONT></P><P LANG="en-US" STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt">przykład:</FONT></P><P LANG="en-US" STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt">event zwr_1_wbok trackvel 0.0 t_zwr_1 40.0 endevent</FONT></FONT></FONT></P><P LANG="en-US" STYLE="margin-bottom: 0cm"><BR></P><P LANG="en-US" ALIGN=LEFT STYLE="margin-bottom: 0cm; background: #cccccc; font-style: normal; font-weight: normal"><FONT COLOR="#c5000b"><FONT FACE="Times New Roman, serif"><FONT SIZE=3><SPAN STYLE="background: transparent">EVENT::UpdateValues</SPAN></FONT></FONT></FONT></P><P STYLE="margin-bottom: 0cm">Ładuje informacje do komórki pamięci.</P><P STYLE="margin-bottom: 0cm">Parametry:</P><UL><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt">eventname &ndash; nazwa zdarzenia</FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt">Delay &ndash; opóźnienie wykonania</FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt">Command &ndash; łańcuch znaków</FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt">Value1 &ndash; jakaś liczba </FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt">Value2 &ndash; jakaś druga liczba </FONT></P></UL><P STYLE="margin-bottom: 0cm"><FONT COLOR="#c5000b"><FONT SIZE=2 STYLE="font-size: 9pt">Uwaga &ndash; jeśli któryś z 3 powyższych parametrów jest * to dany parametr komórki pamięciowej nie zostanie uaktualniony (można selektywnie uaktualniać)</FONT></FONT></P><P STYLE="margin-bottom: 0cm"><BR></P><P STYLE="margin-bottom: 0cm">składnia:</P><P LANG="en-US" STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt">event eventname updatevalues delay memcell_train3 command value1 value2 endevent</FONT></FONT></FONT></P><P LANG="en-US" STYLE="margin-bottom: 0cm">Przykłady:</P><P LANG="en-US" STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt">event start3b updatevalues 30.0 memcell_train3 SetVelocity 50 -1 endevent</FONT></FONT></FONT></P><P STYLE="margin-bottom: 0cm"><FONT SIZE=2>(po 30 sekundach wpisze komendę SetVelocity(50,-1) do komórki memcell_train3)</FONT></P><P LANG="en-US" STYLE="margin-bottom: 0cm"><FONT SIZE=2>albo w pliku .inc:</FONT></P><P LANG="en-US" STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt">event (p1)_sem_info_shunt2 updatevalues 1.0 (p1)_sem_mem ShuntVelocity 40 0</FONT></FONT></FONT></P><P STYLE="margin-bottom: 0cm"><FONT SIZE=2>(po 1 sekundzie wpisze komendę </FONT><FONT SIZE=2><SPAN LANG="en-US">ShuntVelocity(40,0) do komórki o nazwie (p1)_sem_mem gdzie P1 jest nazwą semafora definiowaną na zewnątrz pliku .inc</SPAN></FONT></P><P STYLE="margin-bottom: 0cm"><FONT SIZE=2>a może wykolejnica?</FONT></P><P STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><FONT SIZE=2 STYLE="font-size: 9pt"><FONT FACE="Courier New, monospace"><SPAN LANG="en-US">event Wk1_1 </SPAN></FONT><FONT FACE="Courier New, monospace"><SPAN LANG="en-US">updatevalues 0</SPAN></FONT><FONT FACE="Courier New, monospace"><SPAN LANG="en-US"> Wk1_status DamageFlag 128 1 endevent</SPAN></FONT></FONT></FONT></P><P STYLE="margin-bottom: 0cm"><FONT SIZE=2>wykorzystanie komórki pamięciowej do informacji o drodze przebiegu:</FONT></P><P STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><SPAN STYLE="background: transparent"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN LANG="en-US">event Testowo_Wjazd1-Zaczynek updatevalues 0.0 Testowo_status1 Wjechal 1 </SPAN></FONT></FONT><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN LANG="en-US">*</SPAN></FONT></FONT><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN LANG="en-US"> endevent</SPAN></FONT></FONT></SPAN></FONT></P><P LANG="en-US" ALIGN=LEFT STYLE="margin-bottom: 0cm; background: transparent; font-style: normal; font-weight: normal"><BR></P><P LANG="en-US" ALIGN=LEFT STYLE="margin-bottom: 0cm; background: #cccccc; font-style: normal; font-weight: normal"><FONT COLOR="#c5000b"><FONT FACE="Times New Roman, serif"><FONT SIZE=3><SPAN STYLE="background: transparent">EVENT::GetValues</SPAN></FONT></FONT></FONT></P><P STYLE="margin-bottom: 0cm">Pobiera informacje z komórki pamięci i wysyła do obiektu <I>dynamic</I>.</P><P STYLE="margin-bottom: 0cm">ObjectName w tym przypadku to nazwa komórki pamięci.</P><P><FONT COLOR="#000000">Parametry Command, Value1, Value2 oraz współrzędne komórki pamięci X,Y,Z są przekazywane obiektowi który wywołuje zdarzenie GetValues</FONT></P><P LANG="en-US" STYLE="margin-bottom: 0cm">Przykłady:</P><P LANG="en-US" STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt">event StatAStatC_szlak getvalues 1.0 StatAStatC_szlak_mem endevent</FONT></FONT></FONT></P><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt">(z komórki o nazwie </FONT><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt">StatAStatC_szlak_mem </FONT></FONT><FONT SIZE=2 STYLE="font-size: 9pt">wysyłana jest jej zawartość do obiektu który wjechał na tor w którym była deklaracja </FONT><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt">event1 </FONT></FONT><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN LANG="en-US">StatAStatC_szlak</SPAN></FONT></FONT></P><P LANG="en-US" STYLE="margin-bottom: 0cm"><BR></P><P LANG="en-US" STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt">albo w pliku .inc definiujacym semafor:</FONT></P><P LANG="en-US" STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt">event (p1)_sem_info getvalues 1.0 (p1)_sem_mem endevent</FONT></FONT></FONT></P><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN LANG="en-US">(z komórki o nazwie </SPAN></FONT><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN LANG="en-US">(p1)_sem_mem wysyła informacje o aktualnej prędkości tego semafora)</SPAN></FONT></FONT></P><P LANG="en-US" STYLE="margin-bottom: 0cm; font-style: normal; font-weight: normal"><BR></P><P LANG="en-US" ALIGN=LEFT STYLE="margin-bottom: 0cm; background: #cccccc; font-style: normal; font-weight: normal"><FONT COLOR="#c5000b"><FONT FACE="Times New Roman, serif"><FONT SIZE=3><SPAN STYLE="background: transparent">EVENT::PutValues</SPAN></FONT></FONT></FONT></P><P STYLE="margin-bottom: 0cm">Wysyła statyczne informacje do obiektu <I>dynamic</I> (z pominięciem komórki pamięci)</P><P LANG="en-US" STYLE="margin-bottom: 0cm">Przykłady:</P><P LANG="en-US" STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt">event odpalciecia putvalues 10.0 none 0.1 0.1 0.1 Jump_to_order 0 0 endevent</FONT></FONT></FONT></P><P LANG="en-US" STYLE="margin-bottom: 0cm"><FONT COLOR="#ff0000"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt">W9-start.inc</FONT></FONT></FONT></P><P LANG="en-US" ALIGN=LEFT STYLE="margin-bottom: 0cm; background: transparent; font-style: normal; font-weight: normal"><FONT COLOR="#ff0000"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">W9-stop.inc itp</SPAN></FONT></FONT></FONT></P><P LANG="en-US" ALIGN=LEFT STYLE="margin-bottom: 0cm; background: transparent; font-style: normal; font-weight: normal"><BR></P><P LANG="en-US" ALIGN=LEFT STYLE="margin-bottom: 0cm; background: transparent; font-style: normal; font-weight: normal"><BR></P><P LANG="en-US" ALIGN=LEFT STYLE="margin-bottom: 0cm; background: transparent; font-style: normal; font-weight: normal"><BR></P><P LANG="en-US" ALIGN=LEFT STYLE="margin-bottom: 0cm; background: #cccccc; font-style: normal; font-weight: normal"><FONT COLOR="#c5000b"><FONT FACE="Times New Roman, serif"><FONT SIZE=3><SPAN STYLE="background: transparent">EVENT::Multiple</SPAN></FONT></FONT></FONT></P><P STYLE="margin-bottom: 0cm">Pozwala wywołać więcej zdarzeń. ObjectName jest na ogół nieużywane, chyba że na końcu listy zdarzeń będzie parametr <FONT FACE="Courier New, monospace">condition</FONT></P><P STYLE="margin-bottom: 0cm">Parametry:</P><UL><LI><P STYLE="margin-bottom: 0cm">Events &ndash; lista zdarzeń do wywołania</P></UL><P STYLE="margin-left: 0.64cm; margin-bottom: 0cm">opcjonalnie po słowie kluczowym condition:</P><UL><LI><P STYLE="margin-bottom: 0cm">ConditionType &ndash; typ warunku: </P></UL><P STYLE="margin-left: 0.64cm; margin-bottom: 0cm"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 11pt">trackoccupied trackfree propability memcompare</FONT></FONT></P><P STYLE="margin-left: 0.64cm; margin-bottom: 0cm"><FONT SIZE=2>dwa pierwsze: wyzwalane są gdy tor określony w ObjectName jest zajęty lub wolny, propability wyzwalane jest jeśli wylosowana liczba jest mniejsza niz parametr z zakresu 0...1,</FONT></P><P STYLE="margin-left: 0.64cm; margin-bottom: 0cm"><FONT SIZE=2>memcompare wyzwalane jest gdy zawartości komórki pamięciowej określonej w ObjectName równe są podanej liście parametrów:</FONT></P><UL><LI><P STYLE="margin-bottom: 0cm">Parameters &ndash; String, Val1,  Val2 <FONT SIZE=2>(tylko w przypadku memcompare &ndash; wszystkie 3 wartości muszą być równe wartościom komórki pamięciowej, chyba że któreś z nich jest *)</FONT></P></UL><P STYLE="margin-left: 0.64cm; margin-bottom: 0cm"><BR></P><P LANG="en-US" STYLE="margin-bottom: 0cm">Przykład:</P><P STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN LANG="en-US">event semA_S13 multiple 0 none semA_light13 semA_S13set</SPAN></FONT></FONT><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN LANG="en-US"></SPAN></FONT></FONT><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN LANG="en-US">endevent</SPAN></FONT></FONT></FONT></P><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt">(wywołuje dwa zdarzenia, jedno ustawia światła na semaforze, drugie definiuje jego prędkość)</FONT></P><P LANG="en-US" STYLE="margin-bottom: 0cm"><BR></P><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt">albo zdarzenia warunkowe:</FONT></P><P LANG="en-US" STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt">event przejazd_otwieraj multiple 2.0 tornaprzejezdzie przejazd_1_sygn1 przejazd_1_sygn2 condition trackfree</FONT></FONT></FONT></P><P STYLE="margin-bottom: 0cm"><FONT FACE="Times New Roman, serif"><FONT SIZE=2 STYLE="font-size: 9pt">wyzwalane jest gdy tor o nazwie tornaprzejezdzie jest wolny;</FONT></FONT></P><P LANG="en-US" STYLE="margin-bottom: 0cm"><BR></P><P LANG="en-US" STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt">event Zaczynek-Testowo1 multiple 3.0 Testowo-status Testowo-Zatwierdz Testowo-zwr1+ Testowo_ToA_os2 Testowo_A_S5 Testowo_D_S1 condition memcompare Rozwiazany * *</FONT></FONT></FONT></P><P LANG="en-US" STYLE="margin-bottom: 0cm; background: transparent"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt"><FONT FACE="Times New Roman, serif"><SPAN LANG="pl-PL">wyzwalane jest jeśli pierwszy parametr komórki pamięciowej Testowo-status jest słowem </SPAN></FONT><FONT FACE="Arial, sans-serif"><SPAN LANG="pl-PL">Rozwiazany</SPAN></FONT></FONT></FONT></P><P LANG="en-US" STYLE="margin-bottom: 0cm; font-style: normal; font-weight: normal"><BR></P><P LANG="en-US" ALIGN=LEFT STYLE="margin-bottom: 0cm; background: #cccccc; font-style: normal; font-weight: normal"><FONT COLOR="#c5000b"><FONT FACE="Times New Roman, serif"><FONT SIZE=3><SPAN STYLE="background: transparent">EVENT::Switch</SPAN></FONT></FONT></FONT></P><P STYLE="margin-bottom: 0cm">Parametry:</P><UL><LI><P ALIGN=LEFT STYLE="margin-bottom: 0cm; font-weight: normal"><FONT SIZE=2 STYLE="font-size: 9pt">delay &ndash; opoznienie wykonania</FONT></P><LI><P ALIGN=LEFT STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt"><B>switchname - </B><SPAN STYLE="font-weight: normal">Nazwa zwrotnicy</SPAN></FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt">State &ndash; stan na który należy przełączyć zwrotnice <B>0</B> lub <B>1</B></FONT></P></UL><P STYLE="margin-bottom: 0cm"><BR></P><P STYLE="margin-bottom: 0cm; font-weight: normal"><FONT SIZE=2 STYLE="font-size: 9pt">składnia:</FONT></P><P LANG="en-US" STYLE="margin-bottom: 0cm; background: #999999; font-weight: normal"><FONT COLOR="#eeeeee"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt">event eventname switch delay switchname state endevent</FONT></FONT></FONT></P><P LANG="en-US" STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt">przykład:</FONT></P><P LANG="en-US" STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt">event Testowo_zwr1+ switch 0.0 Testowo_zwr1 1 endevent</FONT></FONT></FONT></P><P LANG="en-US" ALIGN=LEFT STYLE="margin-bottom: 0cm; background: transparent; font-style: normal; font-weight: normal"><BR></P><P LANG="en-US" ALIGN=LEFT STYLE="margin-bottom: 0cm; background: #cccccc; font-style: normal; font-weight: normal"><FONT COLOR="#c5000b"><FONT FACE="Times New Roman, serif"><FONT SIZE=3><SPAN STYLE="background: transparent">EVENT::Sound</SPAN></FONT></FONT></FONT></P><P STYLE="margin-bottom: 0cm">Odtwarza dźwięk z pliku .wav o nazwie określonej jako ObjectName</P><P STYLE="margin-bottom: 0cm">Parametry:</P><UL><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">Attenuation &ndash; odległość połowicznego zaniku natężenia dźwięku  (-1 - brak zależności natężenia od odległości obserwatora od źródła, np. radio)</SPAN></FONT></P></UL><UL><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">SndNode &ndash; nazwa obiektu NODE</SPAN></FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">X,Y,Z &ndash; położenie dźwięku </SPAN></FONT></P><LI><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">PlayStatus &ndash; czy dźwięk ma być wyłączony (0) czy włączony (1)  (-1 oznacza brak zaniku, np. radio)</SPAN></FONT></P><P STYLE="margin-bottom: 0cm"></P></UL><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">składnia:</SPAN></FONT></P><P LANG="en-US" ALIGN=LEFT STYLE="margin-bottom: 0cm; background: #999999; font-style: normal; font-weight: normal"><FONT COLOR="#eeeeee"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">event name sound attenuation sndnode playstatus endevent</SPAN></FONT></FONT></FONT></P><P LANG="en-US" STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">przykład:</SPAN></FONT></P><P LANG="en-US" ALIGN=LEFT STYLE="margin-bottom: 0cm; background: #999999; font-style: normal; font-weight: normal"><FONT COLOR="#eeeeee"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">event kierpoc2 sound 1.0 kierpoc2_wav 1 endevent</SPAN></FONT></FONT></FONT></P><P LANG="en-US" ALIGN=LEFT STYLE="margin-bottom: 0cm; background: transparent; font-style: normal; font-weight: normal"><FONT COLOR="#3333ff"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">przykład definicji dzwieku wywolywanego przez ten event w opisie NODE::Sound</SPAN></FONT></FONT></FONT></P><P LANG="en-US" ALIGN=LEFT STYLE="margin-bottom: 0cm; background: transparent; font-style: normal; font-weight: normal"><BR></P><P LANG="en-US" ALIGN=LEFT STYLE="margin-bottom: 0cm; background: #cccccc; font-style: normal; font-weight: normal"><FONT COLOR="#1c1c1c"><FONT FACE="Times New Roman, serif"><FONT SIZE=3 STYLE="font-size: 13pt"><SPAN STYLE="background: #ccccff">3 Wpis TRAINSET</SPAN></FONT></FONT></FONT></P><P STYLE="margin-bottom: 0cm">Służy do ustawiania składów. Patrz też: NODE::D<FONT FACE="Arial, sans-serif"><FONT SIZE=2 STYLE="font-size: 11pt">ynamic</FONT></FONT>.</P><P STYLE="margin-bottom: 0cm">Parametry:</P><UL><LI><P STYLE="margin-bottom: 0cm"><SPAN STYLE="background: transparent">TrainName &ndash; nazwa pociągu (taka sama jak nazwa pliku *.txt z rozkładem jazdy)</SPAN></P><LI><P STYLE="margin-bottom: 0cm"><SPAN STYLE="background: transparent">Track &ndash; nazwa toru na którym ustawiamy skład</SPAN></P><LI><P STYLE="margin-bottom: 0cm"><SPAN STYLE="background: transparent">Dist &ndash; odległość początkowa</SPAN></P><LI><P STYLE="margin-bottom: 0cm"><SPAN STYLE="background: transparent">Vel &ndash; prędkość początkowa</SPAN></P></UL><P STYLE="margin-bottom: 0cm"><BR></P><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">składnia:</SPAN></FONT></P><P STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent"><FONT FACE="Courier New, monospace"><FONT SIZE=1 STYLE="font-size: 8pt">trainset trainname track dist vel </FONT></FONT></SPAN></FONT></FONT></P><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">przykład pociągu ciągniętego przez dwie EU07 w trakcji ukrotnionej:</SPAN></FONT></P><P STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><SPAN STYLE="background: transparent"><FONT FACE="Courier New, monospace"><FONT SIZE=1 STYLE="font-size: 8pt">trainset </FONT></FONT><FONT FACE="Courier New, monospace"><FONT SIZE=1 STYLE="font-size: 8pt">PE2307</FONT></FONT><FONT FACE="Courier New, monospace"><FONT SIZE=1 STYLE="font-size: 8pt"> StatB_track03 170.0 0.0 </FONT></FONT></SPAN></FONT></P><P STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><SPAN STYLE="background: transparent"><FONT FACE="Courier New, monospace"><FONT SIZE=1 STYLE="font-size: 8pt">node -1 0 player_train dynamic PKP\EU07 4E 0.0 1 7 </FONT></FONT><FONT FACE="Courier New, monospace"><FONT SIZE=1 STYLE="font-size: 8pt">0</FONT></FONT><FONT FACE="Courier New, monospace"><FONT SIZE=1 STYLE="font-size: 8pt"> enddynamic</FONT></FONT></SPAN></FONT></P><P STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><SPAN STYLE="background: transparent"><FONT FACE="Courier New, monospace"><FONT SIZE=1 STYLE="font-size: 8pt">node -1 0 player_train dynamic PKP\EU07 4E 0.0 0 3 </FONT></FONT><FONT FACE="Courier New, monospace"><FONT SIZE=1 STYLE="font-size: 8pt">0</FONT></FONT><FONT FACE="Courier New, monospace"><FONT SIZE=1 STYLE="font-size: 8pt"> enddynamic</FONT></FONT></SPAN></FONT></P><P STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><SPAN STYLE="background: transparent"><FONT FACE="Courier New, monospace"><FONT SIZE=1 STYLE="font-size: 8pt">node -1 0 5051-503320-2 dynamic PKP\Bipa  Bipa-A 0.0 0 3 </FONT></FONT><FONT FACE="Courier New, monospace"><FONT SIZE=1 STYLE="font-size: 8pt">10 Passengers</FONT></FONT><FONT FACE="Courier New, monospace"><FONT SIZE=1 STYLE="font-size: 8pt"> enddynamic</FONT></FONT></SPAN></FONT></P><P STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><SPAN STYLE="background: transparent"><FONT FACE="Courier New, monospace"><FONT SIZE=1 STYLE="font-size: 8pt">node -1 0 5051-503321-7 dynamic PKP\Bipa  Bipa-CD 0.0 0 3 </FONT></FONT><FONT FACE="Courier New, monospace"><FONT SIZE=1 STYLE="font-size: 8pt">25 Passengers</FONT></FONT><FONT FACE="Courier New, monospace"><FONT SIZE=1 STYLE="font-size: 8pt"> enddynamic</FONT></FONT></SPAN></FONT></P><P STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><SPAN STYLE="background: transparent"><FONT FACE="Courier New, monospace"><FONT SIZE=1 STYLE="font-size: 8pt">node -1 0 5051-503322-1 dynamic PKP\Bipa  Bipa-CD 0.0 0 3 </FONT></FONT><FONT FACE="Courier New, monospace"><FONT SIZE=1 STYLE="font-size: 8pt">8 Passengers</FONT></FONT><FONT FACE="Courier New, monospace"><FONT SIZE=1 STYLE="font-size: 8pt"> enddynamic</FONT></FONT></SPAN></FONT></P><P STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><SPAN STYLE="background: transparent"><FONT FACE="Courier New, monospace"><FONT SIZE=1 STYLE="font-size: 8pt">node -1 0 5051-503323-5 dynamic PKP\Bipa  Bipa-B 0.0 0 0 </FONT></FONT><FONT FACE="Courier New, monospace"><FONT SIZE=1 STYLE="font-size: 8pt">9 Passengers</FONT></FONT><FONT FACE="Courier New, monospace"><FONT SIZE=1 STYLE="font-size: 8pt"> enddynamic</FONT></FONT></SPAN></FONT></P><P LANG="en-US" ALIGN=LEFT STYLE="margin-bottom: 0cm; background: #999999; font-style: normal; font-weight: normal"><FONT COLOR="#eeeeee"><FONT FACE="Courier New, monospace"><FONT SIZE=1 STYLE="font-size: 8pt"><SPAN STYLE="background: transparent">endtrainset</SPAN></FONT></FONT></FONT></P><P LANG="en-US" ALIGN=LEFT STYLE="margin-bottom: 0cm; background: transparent; font-style: normal; font-weight: normal"><BR></P><P LANG="en-US" ALIGN=LEFT STYLE="margin-bottom: 0cm; background: transparent; font-style: normal; font-weight: normal"><BR></P><P LANG="en-US" ALIGN=LEFT STYLE="margin-bottom: 0cm; background: #cccccc; font-style: normal; font-weight: normal"><FONT COLOR="#1c1c1c"><FONT FACE="Times New Roman, serif"><FONT SIZE=3 STYLE="font-size: 13pt"><SPAN STYLE="background: #ccccff"><FONT COLOR="#1c1c1c"><FONT FACE="Times New Roman, serif"><FONT SIZE=3 STYLE="font-size: 13pt"><SPAN LANG="en-US"><SPAN STYLE="font-style: normal"><SPAN STYLE="font-weight: normal"><SPAN STYLE="background: #ccccff">4 Wpis INCLUDE</SPAN></SPAN></SPAN></SPAN></FONT></FONT></FONT></SPAN></FONT></FONT></FONT></P><P STYLE="margin-bottom: 0cm">Dołącza plik z opcjonalnymi parametrami</P><P STYLE="margin-bottom: 0cm">Parametry:</P><UL><LI><P STYLE="margin-bottom: 0cm">FileName &ndash; nazwa pliku do dołączenia</P><LI><P STYLE="margin-bottom: 0cm">Parameters &ndash; lista parametrów</P></UL><P STYLE="margin-bottom: 0cm">Ciągi znaków <B>(p1)</B>, <B>(p2)</B>, <B>(p3)</B> ... w pliku dołączanym zostanie zastąpiony odpowiednimi parametrami.</P><P STYLE="margin-bottom: 0cm"><BR></P><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt">Składnia:</FONT></P><P STYLE="margin-bottom: 0cm"><FONT SIZE=2 STYLE="font-size: 9pt">przykład:</FONT></P><P STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN LANG="en-US">include drzewo.inc Pine1.tga 42.0 0.0 5.0 45 5 2 end</SPAN></FONT></FONT></FONT></P><P LANG="en-US" STYLE="margin-bottom: 0cm"><BR></P><P STYLE="margin-bottom: 0cm">Plik drzewo.inc wygląda tak:</P><P STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">//---------------drzewo---------------</SPAN></FONT></FONT></FONT></P><P STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">//param: tekstura, x, y, z, kat, wysokosc, rozpietosc </SPAN></FONT></FONT></FONT></P><P LANG="en-US" STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">origin (p2) (p3) (p4)</SPAN></FONT></FONT></FONT></P><P LANG="en-US" STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent"> rotate 0 (p5) 0</SPAN></FONT></FONT></FONT></P><P LANG="en-US" STYLE="margin-bottom: 0cm; background: #999999"><BR></P><P LANG="en-US" STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent"> node 500 0 none triangle_strip (p1) </SPAN></FONT></FONT></FONT></P><P LANG="en-US" STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent"> 0,0,(p7) 0,0,0 1,1 end</SPAN></FONT></FONT></FONT></P><P STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><SPAN STYLE="background: transparent"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN LANG="en-US"> 0,(p6),(p7) 0,0,0 1,0 end</SPAN></FONT></FONT></SPAN></FONT></P><P LANG="en-US" STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent"> 0,0,-(p7) 0,0,0 0,1 end</SPAN></FONT></FONT></FONT></P><P LANG="en-US" STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent"> 0,(p6),-(p7) 0,0,0 0,0 end</SPAN></FONT></FONT></FONT></P><P LANG="en-US" STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent"> 0,0,(p7) 0,0,0 1,1 end</SPAN></FONT></FONT></FONT></P><P LANG="en-US" STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent"> 0,(p6),(p7) 0,0,0 1,0</SPAN></FONT></FONT></FONT></P><P LANG="en-US" STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent"> endtri</SPAN></FONT></FONT></FONT></P><P LANG="en-US" STYLE="margin-bottom: 0cm; background: #999999"><BR></P><P LANG="en-US" STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent"> node 500 0 none triangle_strip (p7) </SPAN></FONT></FONT></FONT></P><P LANG="en-US" STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent"> -(p7),0,0 0,0,0 1,1 end</SPAN></FONT></FONT></FONT></P><P LANG="en-US" STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent"> -(p7),(p6),0 0,0,0 1,0 end</SPAN></FONT></FONT></FONT></P><P LANG="en-US" STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent"> (p7),0,0 0,0,0 0,1 end</SPAN></FONT></FONT></FONT></P><P LANG="en-US" STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent"> (p7),(p6),0 0,0,0 0,0 end</SPAN></FONT></FONT></FONT></P><P LANG="en-US" STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent"> -(p7),0,0 0,0,0 1,1 end</SPAN></FONT></FONT></FONT></P><P LANG="en-US" STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent"> -(p7),(p6),0 0,0,0 1,0</SPAN></FONT></FONT></FONT></P><P LANG="en-US" STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent"> endtri</SPAN></FONT></FONT></FONT></P><P LANG="en-US" STYLE="margin-bottom: 0cm; background: #999999"><BR></P><P LANG="en-US" STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent"> rotate 0 0 0</SPAN></FONT></FONT></FONT></P><P LANG="en-US" ALIGN=LEFT STYLE="margin-bottom: 0cm; background: #999999; font-style: normal; font-weight: normal"><FONT COLOR="#eeeeee"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">endorigin</SPAN></FONT></FONT></FONT></P><P LANG="en-US" ALIGN=LEFT STYLE="margin-bottom: 0cm; background: transparent; font-style: normal; font-weight: normal"><BR></P><P LANG="en-US" ALIGN=LEFT STYLE="margin-bottom: 0cm; background: transparent; font-style: normal; font-weight: normal"><BR></P><P LANG="en-US" ALIGN=LEFT STYLE="margin-bottom: 0cm; background: #cccccc; font-style: normal; font-weight: normal"><FONT COLOR="#1c1c1c"><FONT FACE="Times New Roman, serif"><FONT SIZE=3 STYLE="font-size: 13pt"><SPAN STYLE="background: #ccccff"><FONT COLOR="#1c1c1c"><FONT FACE="Times New Roman, serif"><FONT SIZE=3 STYLE="font-size: 13pt"><SPAN LANG="en-US"><SPAN STYLE="font-style: normal"><SPAN STYLE="font-weight: normal"><SPAN STYLE="background: #ccccff">5 Wpis ORIGIN</SPAN></SPAN></SPAN></SPAN></FONT></FONT></FONT></SPAN></FONT></FONT></FONT></P><P STYLE="margin-bottom: 0cm">Przesuwa obiekty o wektor, przykład powyżej.</P><P STYLE="margin-bottom: 0cm"><BR></P><P LANG="en-US" ALIGN=LEFT STYLE="margin-bottom: 0cm; background: #cccccc; font-style: normal; font-weight: normal"><FONT COLOR="#1c1c1c"><FONT FACE="Times New Roman, serif"><FONT SIZE=3 STYLE="font-size: 13pt"><SPAN STYLE="background: #ccccff"><FONT COLOR="#1c1c1c"><FONT FACE="Times New Roman, serif"><FONT SIZE=3 STYLE="font-size: 13pt"><SPAN LANG="en-US"><SPAN STYLE="font-style: normal"><SPAN STYLE="font-weight: normal"><SPAN STYLE="background: #ccccff">6 Wpis ROTATE</SPAN></SPAN></SPAN></SPAN></FONT></FONT></FONT></SPAN></FONT></FONT></FONT></P><P STYLE="margin-bottom: 0cm">Obraca obiekty o zadane kąty, przykład powyżej.</P><P STYLE="margin-bottom: 0cm"><BR></P><P LANG="en-US" ALIGN=LEFT STYLE="margin-bottom: 0cm; background: #cccccc; font-style: normal; font-weight: normal"><FONT COLOR="#1c1c1c"><FONT FACE="Times New Roman, serif"><FONT SIZE=3 STYLE="font-size: 13pt"><SPAN STYLE="background: #ccccff"><FONT COLOR="#1c1c1c"><FONT FACE="Times New Roman, serif"><FONT SIZE=3 STYLE="font-size: 13pt"><SPAN LANG="en-US"><SPAN STYLE="font-style: normal"><SPAN STYLE="font-weight: normal"><SPAN STYLE="background: #ccccff">7 Wpis DESCRIPTION</SPAN></SPAN></SPAN></SPAN></FONT></FONT></FONT></SPAN></FONT></FONT></FONT></P><P LANG="en-US" ALIGN=LEFT STYLE="margin-bottom: 0cm; background: transparent; font-style: normal; font-weight: normal"><FONT COLOR="#000000"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt"><SPAN STYLE="background: transparent">Opis scenerii, tekst pomiędzy Description a EndDescription jest ignorowany przez program eu07.exe, ale przydatny dla innych programów typu loader scenerii itp.</SPAN></FONT></FONT></FONT></P><P LANG="en-US" ALIGN=LEFT STYLE="margin-bottom: 0cm; background: transparent; font-style: normal; font-weight: normal"><BR></P><P ALIGN=LEFT STYLE="margin-bottom: 0cm; background: #cccccc; font-weight: normal"><FONT FACE="Times New Roman, serif"><FONT SIZE=3 STYLE="font-size: 13pt"><FONT COLOR="#1c1c1c"><SPAN LANG="en-US"><SPAN STYLE="font-style: normal"><SPAN STYLE="background: #ccccff">8 Wpis ATMO</SPAN></SPAN></SPAN></FONT></FONT></FONT></P><P ALIGN=LEFT STYLE="margin-bottom: 0cm; background: transparent; font-weight: normal"><FONT FACE="Times New Roman, serif"><FONT SIZE=3 STYLE="font-size: 13pt"><FONT FACE="Times New Roman, serif"><FONT SIZE=3>Definiuje kolor tła (R,G,B 0...1) oraz mgłę: początek, koniec, kolory R,G, B mgły.</FONT></FONT></FONT></FONT></P><P ALIGN=LEFT STYLE="margin-bottom: 0cm; background: transparent; font-weight: normal"><FONT FACE="Times New Roman, serif"><FONT SIZE=2 STYLE="font-size: 9pt"><FONT FACE="Times New Roman, serif">przykład:</FONT></FONT></FONT></P><P STYLE="margin-bottom: 0cm; background: #999999"><FONT COLOR="#eeeeee"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt">atmo 0.5 0.6 1.0 300 1200 0.7 0.8 1.0 endatmo</FONT></FONT></FONT></P><H3 CLASS="western" STYLE="font-weight: normal"><FONT FACE="Times New Roman, serif"><FONT SIZE=3>Kolory R,G, B mają być z zakresu 0...1.</FONT></FONT></H3><P STYLE="margin-bottom: 0cm"><BR></P><P ALIGN=LEFT STYLE="margin-bottom: 0cm; background: #cccccc; font-weight: normal"><FONT FACE="Times New Roman, serif"><FONT SIZE=3 STYLE="font-size: 13pt"><FONT COLOR="#1c1c1c"><SPAN LANG="en-US"><SPAN STYLE="font-style: normal"><SPAN STYLE="background: #ccccff">9 Wpis LIGHT</SPAN></SPAN></SPAN></FONT></FONT></FONT></P><P ALIGN=LEFT STYLE="background: transparent"><FONT FACE="Courier New, monospace"><FONT SIZE=2><FONT FACE="Times New Roman, serif"><FONT SIZE=3>Definiuje pozycję XYZ oraz kolor RGB &lt;0;1&gt; składowej ambient (rozproszone), diffuse (kierunkowe) i specular (zajączki) światła dziennego. </FONT></FONT></FONT></FONT></P><P ALIGN=LEFT STYLE="margin-bottom: 0cm; background: transparent"><FONT FACE="Courier New, monospace"><FONT SIZE=2 STYLE="font-size: 9pt"><FONT FACE="Times New Roman, serif">przykład:</FONT></FONT></FONT></P><PRE CLASS="western" STYLE="margin-bottom: 0.5cm; background: #999999"><FONT COLOR="#eeeeee"><FONT SIZE=2 STYLE="font-size: 9pt">light &ndash;500 500 200  0.5 0.45 0.45  0.50 0.55 0.54  0.95 0.94 0.90  endlight</FONT></FONT></PRE><P> Pierwsze 3 liczby określają kierunek padania światła. Wektor ten zawsze jest przeliczany na jednostkowy, dlatego nie ma znaczenia, czy będzie &ndash;<B>500 500 200</B>, czy &ndash;<B>5 5 2</B>. Kolejne liczby są składowymi RGB składowych światła.  </P><P>We wcześniejszych wersjach EXE definiowane były dwa światła ambient, co powodowało, że znaczenie światła diffuse (tworzącego cienie) było niewielkie. Ponieważ po wyłączeniu jednego światła ambient robiło się zbyt ciemno, dla zachowania zgodności wstecz został wprowadzony parametr <B>doubleambient yes</B>. Docelowo należy używać <B>doubleambient no</B> i przy takim ustawieniu testować wpisy światła, a także jasność modeli i tekstur.  </P><P STYLE="margin-bottom: 0cm"><BR></P><P ALIGN=LEFT STYLE="margin-bottom: 0cm; background: #cccccc; font-weight: normal"><FONT FACE="Times New Roman, serif"><FONT SIZE=3 STYLE="font-size: 13pt"><FONT COLOR="#1c1c1c"><SPAN LANG="en-US"><SPAN STYLE="font-style: normal"><SPAN STYLE="background: #ccccff">10 Wpis CAMERA</SPAN></SPAN></SPAN></FONT></FONT></FONT></P><P ALIGN=LEFT STYLE="margin-bottom: 0cm; background: transparent; font-weight: normal"><FONT FACE="Times New Roman, serif"><FONT SIZE=3 STYLE="font-size: 13pt"><FONT COLOR="#000000"><FONT FACE="Times New Roman, serif"><FONT SIZE=3><SPAN LANG="en-US"><SPAN STYLE="font-style: normal"><SPAN STYLE="background: transparent">Definiuje pozycję kamery w przypadku trybu freefly, parametry: X,Y,Z,</SPAN></SPAN></SPAN></FONT></FONT></FONT></FONT></FONT></P><P ALIGN=LEFT STYLE="margin-bottom: 0cm; background: transparent; font-weight: normal"><BR></P><P ALIGN=LEFT STYLE="margin-bottom: 0cm; background: #cccccc; font-weight: normal"><FONT FACE="Times New Roman, serif"><FONT SIZE=3 STYLE="font-size: 13pt"><FONT COLOR="#1c1c1c"><SPAN LANG="en-US"><SPAN STYLE="font-style: normal"><SPAN STYLE="background: #ccccff">11 Wpis CONFIG</SPAN></SPAN></SPAN></FONT></FONT></FONT></P><P ALIGN=LEFT STYLE="margin-bottom: 0cm; background: transparent; font-weight: normal"><FONT FACE="Times New Roman, serif"><FONT SIZE=3 STYLE="font-size: 13pt"><FONT COLOR="#000000"><FONT FACE="Times New Roman, serif"><FONT SIZE=3><SPAN LANG="en-US"><SPAN STYLE="font-style: normal"><SPAN STYLE="background: transparent">Pozwala na wpisanie pomiędzy </SPAN></SPAN></SPAN></FONT></FONT></FONT><FONT COLOR="#000000"><FONT FACE="Times New Roman, serif"><FONT SIZE=3><SPAN LANG="en-US"><SPAN STYLE="font-style: normal"><B><SPAN STYLE="background: transparent">config</SPAN></B></SPAN></SPAN></FONT></FONT></FONT><FONT COLOR="#000000"><FONT FACE="Times New Roman, serif"><FONT SIZE=3><SPAN LANG="en-US"><SPAN STYLE="font-style: normal"><SPAN STYLE="background: transparent"> a </SPAN></SPAN></SPAN></FONT></FONT></FONT><FONT COLOR="#000000"><FONT FACE="Times New Roman, serif"><FONT SIZE=3><SPAN LANG="en-US"><SPAN STYLE="font-style: normal"><B><SPAN STYLE="background: transparent">endconfig</SPAN></B></SPAN></SPAN></FONT></FONT></FONT><FONT COLOR="#000000"><FONT FACE="Times New Roman, serif"><FONT SIZE=3><SPAN LANG="en-US"><SPAN STYLE="font-style: normal"><SPAN STYLE="background: transparent"> dodatkowych parametrów konfiguracji (specyficznych dla scenerii), podobnie jak w <A HREF="http://rainsted.com/pl/Symulator/MaSzyna/EU07.INI">EU07.INI</A>. Nie wszystkie parametry dadzą się ustawić na tym etapie, np. nie da się zmienić rozmiaru okna, czy nazwy wczytywanej scenerii. </SPAN></SPAN></SPAN></FONT></FONT></FONT></FONT></FONT></P></BODY></HTML>
+
 
 +
[[Plik:Swspol.png]]
 +
 
 +
== Rodzaje plików składowych scenerii ==
 +
Poniższe rodzaje plików nie różnią się składnią, a jedynie pomagają zachować ład w plikach wchodzących w skład scenerii. Są one dołączane do głównego pliku scenerii za pomocą dyrektywy [[Dyrektywa_include|include]].
 +
* SCN - główny plik scenerii, zawiera zazwyczaj [[Dyrektywa_trainset|definicje składów]] i polecenia [[Dyrektywa_include|include]], dołączające obiekty z innego pliku do scenerii.
 +
* SCM - plik z elementami składowymi scenerii. Zazwyczaj używa się tych plików do podziału obiektów scenerii na tory, drogi, drzewa, wskaźniki...
 +
* CTR - plik ze zdarzeniami tworzącymi scenariusz
 +
* [[Plik_INC|INC]] - plik pozwalający na wstawienie parametryzowanego zbioru obiektów scenerii.
 +
 
 +
== Składnia ==
 +
Scenerię konfiguruje się za pomocą dyrektyw i wpisów przedstawionych w poniższym rozdziale:
 +
 
 +
=== Dyrektywy scenariusza ===
 +
* [[Dyrektywa_atmo|atmo]] - ustawienia mgły.
 +
* [[Dyrektywa_sky|sky]] - ustawienie modelu nieba.
 +
* [[Dyrektywa_time|time]] - ustawienie czasu symulacji.
 +
* [[Dyrektywa_FirstInit|FirstInit]] - polecenie inicjalizacji wczytanych obiektów.
 +
* [[Dyrektywa_trainset|trainset]] - definicja składu.
 +
* [[Obiekt_event|event]] - zdarzenie, np. polecenie zmiany sygnału na semaforze.
 +
* [[Dyrektywa_include|include]] - dołączanie zawartości innych plików do pliku scenerii.
 +
* [[Dyrektywa_camera|camera]] - ustawienia predefiniowanych pozycji kamer w trybie ''freefly''.
 +
* [[Dyrektywa_config|config]] - ustawienia aplikacji specyficzne dla scenerii.
 +
* [[Dyrektywa_lua|lua]] - dołączenie skryptu sterującego scenariuszem w języku LUA.
 +
* [[Obiekt_node|node]] - definicja obiektów widocznych: tory, rzeki, modele.
 +
* [[Dyrektywa_origin|origin]] - polecenie przesunięcia obiektów o wektor.
 +
* [[Dyrektywa_rotate|rotate]] - polecenie obrotu obiektów o kąty.
 +
* [[Dyrektywa_group|group]] - grupowanie obiektów
 +
* [[Dyrektywa_isolated|isolated]] - definiowanie odcinków izolowanych
 +
* [[Dyrektywa_area|area]] - grupowanie odcinków izolowanych
 +
 
 +
Wycofane:
 +
* <s>[[Dyrektywa_description|description]] - opis scenerii na potrzeby starterów.</s>
 +
* <s>[[Dyrektywa_light|light]] - ustawienie źródła oświetlenia scenerii.</s>  
 +
* <s>[[Dyrektywa_test|test]] - testowanie poprawności dyrektyw.</s>        
 +
 
 +
=== Dyrektywy startera ===
 +
 
 +
Dyrektywy startera to zestaw parametrów (według składni komentarzy) pełniących rolę wprowadzenia do danego startera symulatora MaSzyna dodatkowych informacji oraz konfiguracji.
 +
Nie mają wpływu na działanie symulacji!
 +
 
 +
:'''//$n''' – nazwa scenerii:
 +
::*Rainsted.exe wyświetlana w głównym oknie wyboru scenerii w polu z żółtym tłem;
 +
::*Starter.exe wyświetlana w głównym oknie wyboru scenerii w zakładce ''Opis służby'';
 +
:::''Rozpoznawana przez: Starter.exe, Rainsted.exe''
 +
 
 +
:'''//$d''' – opis scenerii:
 +
::*Rainsted.exe wyświetlany w głównym oknie wyboru scenerii obok wybranego składu/scenariusza;
 +
::*Starter.exe wyświetlany w głównym oknie wyboru scenerii w zakładce ''Opis służby'';
 +
:::''Rozpoznawana przez: Starter.exe, Rainsted.exe''
 +
 
 +
:'''//$f''' – link do zewnętrznego pliku lub strony internetowej dotyczący scenerii albo pojedynczego scenariusza, możliwy do otwarcia z poziomu startera (wyświetlany jako dedykowany przycisk):
 +
::*Rainsted.exe wyświetla do trzech przycisków tego typu w głównym oknie wyboru scenerii;
 +
::*Starter.exe wyświetla przyciski tego typu w głównym oknie wyboru scenerii w zakładce ''Rozkład jazdy'';
 +
:::''Rozpoznawana przez: Starter.exe, Rainsted.exe''
 +
 
 +
:'''//$o''' – opis składu, pokazywany przez dany starter. Jeśli skład ma być ukryty, przed pierwszym znakiem opisu powinien znaleźć się znak minus '''-'''. Dyrektywa ta musi zostać wprowadzona do pliku po dyrektywie scenariusza '''FirstInit'''.
 +
:::''Rozpoznawana przez: Starter.exe, Rainsted.exe''
 +
 
 +
:'''//$i''' – nazwa obrazka wyświetlanego przez dany starter w głównym oknie (miniaturka scenerii)
 +
:::''Rozpoznawana przez: Starter.exe, Rainsted.exe''
 +
 
 +
:'''//$it''' – definicja indywidualnego obrazka mini z katalogu scenery/images dla danego składu - deklaracja obrazka - nazwa bez rozszerzenia!
 +
:::''Rozpoznawana przez: Starter.exe''
 +
 
 +
:'''//$it''' – definicja indywidualnego logo startowego dla składu z katalogu textures/logo - deklaracja obrazka - nazwa bez rozszerzenia!
 +
:::''Rozpoznawana przez: Starter.exe''
 +
 
 +
:'''//$decor''' – pomijanie składów dekoracyjnych tj. nie wykonujących zadań scenariusza.
 +
:::''Rozpoznawana przez: Starter.exe''
 +
 
 +
:'''//$a''' – oznaczenie scenerii jako archiwalna. Nie wyświetla się domyślnie w głównym oknie Startera.
 +
:::''Rozpoznawana przez: Starter.exe''
 +
 
 +
:'''//$l''' – kategoria scenerii pozwalająca zwinąć wszystkie scenariusze do jednej grupie.
 +
:::''Rozpoznawana przez: Starter.exe''
 +
 
 +
:'''//$e''' – opis błędu
 +
:::''Rozpoznawana przez: Rainsted.exe''
 +
 
 +
:'''//$g''' – odnośnik do mapy
 +
:::''Rozpoznawana przez: Rainsted.exe''
 +
 
 +
:'''//$r''' – plik odniesienia
 +
:::''Rozpoznawana przez: Rainsted.exe''
 +
 
 +
:'''//$t''' – regeneracja plików terenu
 +
:::''Rozpoznawana przez: Rainsted.exe''
 +
 
 +
:'''//$w''' – parametry składu
 +
:::'''type''' - Rodzaj pociągu: p - pasażerski, t - towarowy, m - towarowo-osobowy;
 +
:::'''lmax''' - Maksymalna długość składu;
 +
:::'''vmin''' - Minimalna prędkość pojazdów w składzie;
 +
:::'''vmax''' - Maksymalna prędkość, jaką można rozwinąć na trasie przejazdu;
 +
:::'''d''' - Rozstaw toru. Domyślnie normalny (1435m).  
 +
:::''Rozpoznawana przez: Rainsted.exe''
 +
 
 +
:'''//$x''' – wymagana wersja pliku eu07.exe
 +
:::''Rozpoznawana przez: Rainsted.exe''
 +
 
 +
[[Kategoria:Scenerie]]

Aktualna wersja na dzień 07:55, 6 lip 2022

Plik scenerii jest plikiem tekstowym, zawierającym definicje obiektów, zdarzeń, pojazdów znajdujących się w scenerii. Aby plik scenerii mógł zostać uruchomiony przez symulator, należy umieścić go bezpośrednio w folderze scenery.

Przygotowanie

Scenerię można uruchomić za pomocą startera, wiersza poleceń lub bezpośrednio przez plik wykonywalny symulatora.

  • Komenda wiersza poleceń, uruchamiająca scenerię scene.scn:
   eu07.exe –s scenery/scene.scn
  • Wpis w eu07.ini, powodujący uruchomienie scene.scn przez plik wykonywalny
   sceneryfile scene.scn 

Scenerie używają prawoskrętnego ukłądu współrzędnych:

Swspol.png

Rodzaje plików składowych scenerii

Poniższe rodzaje plików nie różnią się składnią, a jedynie pomagają zachować ład w plikach wchodzących w skład scenerii. Są one dołączane do głównego pliku scenerii za pomocą dyrektywy include.

  • SCN - główny plik scenerii, zawiera zazwyczaj definicje składów i polecenia include, dołączające obiekty z innego pliku do scenerii.
  • SCM - plik z elementami składowymi scenerii. Zazwyczaj używa się tych plików do podziału obiektów scenerii na tory, drogi, drzewa, wskaźniki...
  • CTR - plik ze zdarzeniami tworzącymi scenariusz
  • INC - plik pozwalający na wstawienie parametryzowanego zbioru obiektów scenerii.

Składnia

Scenerię konfiguruje się za pomocą dyrektyw i wpisów przedstawionych w poniższym rozdziale:

Dyrektywy scenariusza

  • atmo - ustawienia mgły.
  • sky - ustawienie modelu nieba.
  • time - ustawienie czasu symulacji.
  • FirstInit - polecenie inicjalizacji wczytanych obiektów.
  • trainset - definicja składu.
  • event - zdarzenie, np. polecenie zmiany sygnału na semaforze.
  • include - dołączanie zawartości innych plików do pliku scenerii.
  • camera - ustawienia predefiniowanych pozycji kamer w trybie freefly.
  • config - ustawienia aplikacji specyficzne dla scenerii.
  • lua - dołączenie skryptu sterującego scenariuszem w języku LUA.
  • node - definicja obiektów widocznych: tory, rzeki, modele.
  • origin - polecenie przesunięcia obiektów o wektor.
  • rotate - polecenie obrotu obiektów o kąty.
  • group - grupowanie obiektów
  • isolated - definiowanie odcinków izolowanych
  • area - grupowanie odcinków izolowanych

Wycofane:

  • description - opis scenerii na potrzeby starterów.
  • light - ustawienie źródła oświetlenia scenerii.
  • test - testowanie poprawności dyrektyw.

Dyrektywy startera

Dyrektywy startera to zestaw parametrów (według składni komentarzy) pełniących rolę wprowadzenia do danego startera symulatora MaSzyna dodatkowych informacji oraz konfiguracji. Nie mają wpływu na działanie symulacji!

//$n – nazwa scenerii:
  • Rainsted.exe wyświetlana w głównym oknie wyboru scenerii w polu z żółtym tłem;
  • Starter.exe wyświetlana w głównym oknie wyboru scenerii w zakładce Opis służby;
Rozpoznawana przez: Starter.exe, Rainsted.exe
//$d – opis scenerii:
  • Rainsted.exe wyświetlany w głównym oknie wyboru scenerii obok wybranego składu/scenariusza;
  • Starter.exe wyświetlany w głównym oknie wyboru scenerii w zakładce Opis służby;
Rozpoznawana przez: Starter.exe, Rainsted.exe
//$f – link do zewnętrznego pliku lub strony internetowej dotyczący scenerii albo pojedynczego scenariusza, możliwy do otwarcia z poziomu startera (wyświetlany jako dedykowany przycisk):
  • Rainsted.exe wyświetla do trzech przycisków tego typu w głównym oknie wyboru scenerii;
  • Starter.exe wyświetla przyciski tego typu w głównym oknie wyboru scenerii w zakładce Rozkład jazdy;
Rozpoznawana przez: Starter.exe, Rainsted.exe
//$o – opis składu, pokazywany przez dany starter. Jeśli skład ma być ukryty, przed pierwszym znakiem opisu powinien znaleźć się znak minus -. Dyrektywa ta musi zostać wprowadzona do pliku po dyrektywie scenariusza FirstInit.
Rozpoznawana przez: Starter.exe, Rainsted.exe
//$i – nazwa obrazka wyświetlanego przez dany starter w głównym oknie (miniaturka scenerii)
Rozpoznawana przez: Starter.exe, Rainsted.exe
//$it – definicja indywidualnego obrazka mini z katalogu scenery/images dla danego składu - deklaracja obrazka - nazwa bez rozszerzenia!
Rozpoznawana przez: Starter.exe
//$it – definicja indywidualnego logo startowego dla składu z katalogu textures/logo - deklaracja obrazka - nazwa bez rozszerzenia!
Rozpoznawana przez: Starter.exe
//$decor – pomijanie składów dekoracyjnych tj. nie wykonujących zadań scenariusza.
Rozpoznawana przez: Starter.exe
//$a – oznaczenie scenerii jako archiwalna. Nie wyświetla się domyślnie w głównym oknie Startera.
Rozpoznawana przez: Starter.exe
//$l – kategoria scenerii pozwalająca zwinąć wszystkie scenariusze do jednej grupie.
Rozpoznawana przez: Starter.exe
//$e – opis błędu
Rozpoznawana przez: Rainsted.exe
//$g – odnośnik do mapy
Rozpoznawana przez: Rainsted.exe
//$r – plik odniesienia
Rozpoznawana przez: Rainsted.exe
//$t – regeneracja plików terenu
Rozpoznawana przez: Rainsted.exe
//$w – parametry składu
type - Rodzaj pociągu: p - pasażerski, t - towarowy, m - towarowo-osobowy;
lmax - Maksymalna długość składu;
vmin - Minimalna prędkość pojazdów w składzie;
vmax - Maksymalna prędkość, jaką można rozwinąć na trasie przejazdu;
d - Rozstaw toru. Domyślnie normalny (1435m).
Rozpoznawana przez: Rainsted.exe
//$x – wymagana wersja pliku eu07.exe
Rozpoznawana przez: Rainsted.exe