Plik scenerii: Różnice pomiędzy wersjami

Z MaSzyna
Skocz do: nawigacja, szukaj
Linia 1: Linia 1:
Plik scenerii (*.scn) opisuje wygląd i strukturę symulowanego świata.
 
  
 
<P ALIGN=CENTER STYLE="margin-bottom: 0cm"><FONT FACE="Arial Black, sans-serif"><FONT SIZE=5><B>OPIS
 
<P ALIGN=CENTER STYLE="margin-bottom: 0cm"><FONT FACE="Arial Black, sans-serif"><FONT SIZE=5><B>OPIS
Linia 14: Linia 13:
 
</P>
 
</P>
 
<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">
 
<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; font-style: normal; font-weight: normal">
 
 
<BR>
 
<BR>
 
</P>
 
</P>
Linia 36: Linia 32:
 
<P ALIGN=CENTER STYLE="margin-bottom: 0cm; font-style: normal; font-weight: normal">
 
<P ALIGN=CENTER STYLE="margin-bottom: 0cm; font-style: normal; font-weight: normal">
 
   
 
   
</P>
 
<P ALIGN=CENTER STYLE="margin-bottom: 0cm; font-style: normal; font-weight: normal">
 
<BR>
 
 
</P>
 
</P>
 
<P STYLE="margin-bottom: 0cm">Domyślny plik trasy powinien nazywać
 
<P STYLE="margin-bottom: 0cm">Domyślny plik trasy powinien nazywać
Linia 48: Linia 41:
 
<P STYLE="margin-bottom: 0cm"><BR>
 
<P STYLE="margin-bottom: 0cm"><BR>
 
</P>
 
</P>
<P STYLE="margin-bottom: 0cm">Można również zdefiniować domyślną
+
<P STYLE="margin-bottom: 0cm; page-break-before: auto">Można również
nazwę scenerii w pliku <FONT COLOR="#990000"><FONT FACE="Arial, sans-serif"><FONT SIZE=2><B>eu07.ini
+
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
 
</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></P>
+
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
<P STYLE="margin-bottom: 0cm"><FONT COLOR="#3333ff"><FONT FACE="Times New Roman, serif"><FONT SIZE=3><SPAN STYLE="font-weight: normal">sceneryfile
 
 
np.:</SPAN></FONT></FONT></FONT></P>
 
np.:</SPAN></FONT></FONT></FONT></P>
 
<P STYLE="margin-bottom: 0cm"><BR>
 
<P STYLE="margin-bottom: 0cm"><BR>
Linia 68: Linia 60:
 
<BR>
 
<BR>
 
</P>
 
</P>
<P ALIGN=CENTER 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: 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=CENTER STYLE="margin-bottom: 0cm; font-style: normal; font-weight: normal">
+
<P ALIGN=LEFT STYLE="margin-bottom: 0.2cm; 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">include;tree.inc;l61_plants/drzewo1024f;-3947.2;-4.0;2401.17;56.0;8.3;4.2;end</FONT></FONT></P>
 
<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">
+
<P ALIGN=LEFT STYLE="margin-bottom: 0.2cm; 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">include,tree.inc,l61_plants/drzewo1024f,-3947.2,-4.0,2401.17,56.0,8.3,4.2,end</FONT></FONT></P>
 
<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">
+
<P ALIGN=LEFT STYLE="margin-bottom: 0.2cm; 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">include
 
<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>
 
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">
 
<P ALIGN=LEFT STYLE="margin-bottom: 0cm; font-style: normal; font-weight: normal">
 
<BR>
 
<BR>
Linia 103: Linia 83:
 
<BR>
 
<BR>
 
</P>
 
</P>
<P ALIGN=LEFT STYLE="margin-bottom: 0cm; font-style: normal; font-weight: normal">
+
<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
 
<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
 
z wymienionych typow, tj. <B>node</B> i <B>event</B> dziela się na
podtypy. Wpis typu <B>node</B> posiada 12 podtypów</FONT></FONT></P>
+
podtypy. Wpis typu <B>node</B> posiada 12 podtypów zaś wpis <B>event</B>
<P ALIGN=LEFT STYLE="margin-bottom: 0cm; font-style: normal; font-weight: normal">
+
8.</FONT></FONT></P>
<FONT FACE="Times New Roman, serif"><FONT SIZE=2 STYLE="font-size: 10pt">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; font-style: normal; font-weight: normal">
 
<P ALIGN=LEFT STYLE="margin-bottom: 0cm; font-style: normal; font-weight: normal">
 
<BR>
 
<BR>
 
</P>
 
</P>
 
<P ALIGN=LEFT STYLE="margin-bottom: 0cm; font-style: normal; font-weight: normal">
 
<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">1
+
<FONT FACE="Times New Roman, serif"><FONT SIZE=3 STYLE="font-size: 13pt"><SPAN STYLE="background: #ccccff">1
Wpis node </FONT></FONT>
+
Wpis node                                                          
 +
                                                                   
 +
  </SPAN></FONT></FONT>
 
</P>
 
</P>
 
<P ALIGN=LEFT STYLE="margin-bottom: 0cm; font-style: normal; font-weight: normal">
 
<P ALIGN=LEFT STYLE="margin-bottom: 0cm; font-style: normal; font-weight: normal">
Linia 148: Linia 125:
 
</P>
 
</P>
 
<P ALIGN=LEFT STYLE="margin-bottom: 0cm; font-style: normal; font-weight: normal">
 
<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">Ponizej
+
<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>
 
tabela opisująca poszczególne podtypy wpisu NODE</FONT></FONT></P>
<P ALIGN=LEFT STYLE="margin-bottom: 0cm; font-style: normal; font-weight: normal">
+
<TABLE WIDTH=885 BORDER=1 BORDERCOLOR="#000000" CELLPADDING=4 CELLSPACING=0>
<BR>
 
</P>
 
<TABLE WIDTH=891 BORDER=1 BORDERCOLOR="#000000" CELLPADDING=4 CELLSPACING=0>
 
  
 
<TR VALIGN=TOP>
 
<TR VALIGN=TOP>
<TH WIDTH=89 BGCOLOR="#dddddd">
+
<TH WIDTH=102 BGCOLOR="#dddddd">
 
<P ALIGN=LEFT><FONT COLOR="#000000"><FONT FACE="Times New Roman, serif"><FONT SIZE=2 STYLE="font-size: 10pt">track</FONT></FONT></FONT></P>
 
<P ALIGN=LEFT><FONT COLOR="#000000"><FONT FACE="Times New Roman, serif"><FONT SIZE=2 STYLE="font-size: 10pt">track</FONT></FONT></FONT></P>
 
</TH>
 
</TH>
<TH WIDTH=538>
+
<TH WIDTH=613>
<P STYLE="font-weight: normal"><FONT FACE="Times New Roman, serif"><FONT SIZE=1 STYLE="font-size: 8pt">Definiuje
+
<P ALIGN=LEFT STYLE="font-weight: normal"><FONT FACE="Times New Roman, serif"><FONT SIZE=1 STYLE="font-size: 8pt">Definiuje
 
trajektorię, po której może poruszać się obiekt dynamic. Kształt
 
trajektorię, po której może poruszać się obiekt dynamic. Kształt
 
trajektorii definiujemy za pomocą krzywej Beziera </FONT></FONT>
 
trajektorii definiujemy za pomocą krzywej Beziera </FONT></FONT>
 
</P>
 
</P>
 
</TH>
 
</TH>
<TH WIDTH=38>
+
<TH WIDTH=44>
 
<P><BR>
 
<P><BR>
 
</P>
 
</P>
Linia 171: Linia 145:
 
</TR>
 
</TR>
 
<TR VALIGN=TOP>
 
<TR VALIGN=TOP>
<TD WIDTH=89 BGCOLOR="#dddddd">
+
<TD WIDTH=102 BGCOLOR="#dddddd">
 
<P ALIGN=LEFT><FONT COLOR="#000000"><FONT FACE="Times New Roman, serif"><FONT SIZE=2 STYLE="font-size: 10pt">traction</FONT></FONT></FONT></P>
 
<P ALIGN=LEFT><FONT COLOR="#000000"><FONT FACE="Times New Roman, serif"><FONT SIZE=2 STYLE="font-size: 10pt">traction</FONT></FONT></FONT></P>
 
</TD>
 
</TD>
<TD WIDTH=538>
+
<TD WIDTH=613>
 
<P ALIGN=LEFT><FONT COLOR="#333333"><FONT FACE="Times New Roman, serif"><FONT SIZE=2 STYLE="font-size: 9pt">Definiuje
 
<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>
 
obiekt odcinka drutu sieci trakcyjnej</FONT></FONT></FONT></P>
 
</TD>
 
</TD>
<TD WIDTH=38>
+
<TD WIDTH=44>
 
<P ALIGN=LEFT><BR>
 
<P ALIGN=LEFT><BR>
 
</P>
 
</P>
Linia 184: Linia 158:
 
</TR>
 
</TR>
 
<TR VALIGN=TOP>
 
<TR VALIGN=TOP>
<TD WIDTH=89 BGCOLOR="#dddddd">
+
<TD WIDTH=102 BGCOLOR="#dddddd">
 
<P ALIGN=LEFT><FONT COLOR="#000000"><FONT FACE="Times New Roman, serif"><FONT SIZE=2 STYLE="font-size: 10pt">dynamic</FONT></FONT></FONT></P>
 
<P ALIGN=LEFT><FONT COLOR="#000000"><FONT FACE="Times New Roman, serif"><FONT SIZE=2 STYLE="font-size: 10pt">dynamic</FONT></FONT></FONT></P>
 
</TD>
 
</TD>
<TD WIDTH=538>
+
<TD WIDTH=613>
 
<P ALIGN=LEFT><FONT COLOR="#333333"><FONT FACE="Times New Roman, serif"><FONT SIZE=2 STYLE="font-size: 9pt">Definiuje
 
<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>
 
obiekt poruszający się po ścieżkach typu <B>track</B> lub<B> road</B></FONT></FONT></FONT></P>
 
</TD>
 
</TD>
<TD WIDTH=38>
+
<TD WIDTH=44>
 
<P ALIGN=LEFT><BR>
 
<P ALIGN=LEFT><BR>
 
</P>
 
</P>
Linia 197: Linia 171:
 
</TR>
 
</TR>
 
<TR VALIGN=TOP>
 
<TR VALIGN=TOP>
<TD WIDTH=89 BGCOLOR="#dddddd">
+
<TD WIDTH=102 BGCOLOR="#dddddd">
 
<P ALIGN=LEFT><FONT COLOR="#000000"><FONT FACE="Times New Roman, serif"><FONT SIZE=2 STYLE="font-size: 10pt">model</FONT></FONT></FONT></P>
 
<P ALIGN=LEFT><FONT COLOR="#000000"><FONT FACE="Times New Roman, serif"><FONT SIZE=2 STYLE="font-size: 10pt">model</FONT></FONT></FONT></P>
 
</TD>
 
</TD>
<TD WIDTH=538>
+
<TD WIDTH=613>
 
<P ALIGN=LEFT><FONT COLOR="#333333"><FONT FACE="Times New Roman, serif"><FONT SIZE=2 STYLE="font-size: 9pt">Wstawia
 
<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>
 
obiekt modelu 3d statyczny lub z możliwością animacji</FONT></FONT></FONT></P>
 
</TD>
 
</TD>
<TD WIDTH=38>
+
<TD WIDTH=44>
 
<P ALIGN=LEFT><BR>
 
<P ALIGN=LEFT><BR>
 
</P>
 
</P>
Linia 210: Linia 184:
 
</TR>
 
</TR>
 
<TR VALIGN=TOP>
 
<TR VALIGN=TOP>
<TD WIDTH=89 BGCOLOR="#dddddd">
+
<TD WIDTH=102 BGCOLOR="#dddddd">
 
<P ALIGN=LEFT><FONT COLOR="#000000"><FONT FACE="Times New Roman, serif"><FONT SIZE=2 STYLE="font-size: 10pt">triangles</FONT></FONT></FONT></P>
 
<P ALIGN=LEFT><FONT COLOR="#000000"><FONT FACE="Times New Roman, serif"><FONT SIZE=2 STYLE="font-size: 10pt">triangles</FONT></FONT></FONT></P>
 
</TD>
 
</TD>
<TD WIDTH=538>
+
<TD WIDTH=613>
 
<P ALIGN=LEFT><FONT COLOR="#333333"><FONT FACE="Times New Roman, serif"><FONT SIZE=2 STYLE="font-size: 9pt">Definiuje
 
<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
 
jeden trójkąt składajacy się z trzech wierzchołków jako element
 
składowy terenu</FONT></FONT></FONT></P>
 
składowy terenu</FONT></FONT></FONT></P>
 
</TD>
 
</TD>
<TD WIDTH=38>
+
<TD WIDTH=44>
 
<P ALIGN=LEFT><BR>
 
<P ALIGN=LEFT><BR>
 
</P>
 
</P>
Linia 224: Linia 198:
 
</TR>
 
</TR>
 
<TR VALIGN=TOP>
 
<TR VALIGN=TOP>
<TD WIDTH=89 BGCOLOR="#dddddd">
+
<TD WIDTH=102 BGCOLOR="#dddddd">
 
<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: 10pt">riangle_strip</FONT></FONT></FONT></P>
 
<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: 10pt">riangle_strip</FONT></FONT></FONT></P>
 
</TD>
 
</TD>
<TD WIDTH=538>
+
<TD WIDTH=613>
 
<P ALIGN=LEFT><FONT COLOR="#333333"><FONT FACE="Times New Roman, serif"><FONT SIZE=2 STYLE="font-size: 9pt">Definiuje
 
<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>
 
wielokąt jako element składowy terenu</FONT></FONT></FONT></P>
 
</TD>
 
</TD>
<TD WIDTH=38>
+
<TD WIDTH=44>
 
<P ALIGN=LEFT><BR>
 
<P ALIGN=LEFT><BR>
 
</P>
 
</P>
Linia 237: Linia 211:
 
</TR>
 
</TR>
 
<TR VALIGN=TOP>
 
<TR VALIGN=TOP>
<TD WIDTH=89 BGCOLOR="#dddddd">
+
<TD WIDTH=102 BGCOLOR="#dddddd">
 
<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: 10pt">triangle_fan</FONT></FONT></FONT></P>
 
<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: 10pt">triangle_fan</FONT></FONT></FONT></P>
 
</TD>
 
</TD>
<TD WIDTH=538>
+
<TD WIDTH=613>
 
<P ALIGN=LEFT><BR>
 
<P ALIGN=LEFT><BR>
 
</P>
 
</P>
 
</TD>
 
</TD>
<TD WIDTH=38>
+
<TD WIDTH=44>
 
<P ALIGN=LEFT><BR>
 
<P ALIGN=LEFT><BR>
 
</P>
 
</P>
Linia 250: Linia 224:
 
</TR>
 
</TR>
 
<TR VALIGN=TOP>
 
<TR VALIGN=TOP>
<TD WIDTH=89 BGCOLOR="#dddddd">
+
<TD WIDTH=102 BGCOLOR="#dddddd">
 
<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: 10pt">lines</FONT></FONT></FONT></P>
 
<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: 10pt">lines</FONT></FONT></FONT></P>
 
</TD>
 
</TD>
<TD WIDTH=538>
+
<TD WIDTH=613>
 
<P ALIGN=LEFT><FONT COLOR="#333333"><FONT FACE="Times New Roman, serif"><FONT SIZE=2 STYLE="font-size: 9pt">Definiuje
 
<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>
 
linię &ndash; pojedynczy odcinek od punktu A do punktu B</FONT></FONT></FONT></P>
 
</TD>
 
</TD>
<TD WIDTH=38>
+
<TD WIDTH=44>
 
<P ALIGN=LEFT><BR>
 
<P ALIGN=LEFT><BR>
 
</P>
 
</P>
Linia 263: Linia 237:
 
</TR>
 
</TR>
 
<TR VALIGN=TOP>
 
<TR VALIGN=TOP>
<TD WIDTH=89 BGCOLOR="#dddddd">
+
<TD WIDTH=102 BGCOLOR="#dddddd">
 
<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: 10pt">line_strip</FONT></FONT></FONT></P>
 
<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: 10pt">line_strip</FONT></FONT></FONT></P>
 
</TD>
 
</TD>
<TD WIDTH=538>
+
<TD WIDTH=613>
 
<P ALIGN=LEFT><BR>
 
<P ALIGN=LEFT><BR>
 
</P>
 
</P>
 
</TD>
 
</TD>
<TD WIDTH=38>
+
<TD WIDTH=44>
 
<P ALIGN=LEFT><BR>
 
<P ALIGN=LEFT><BR>
 
</P>
 
</P>
Linia 276: Linia 250:
 
</TR>
 
</TR>
 
<TR VALIGN=TOP>
 
<TR VALIGN=TOP>
<TD WIDTH=89 BGCOLOR="#dddddd">
+
<TD WIDTH=102 BGCOLOR="#dddddd">
 
<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: 10pt">line_loop</FONT></FONT></FONT></P>
 
<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: 10pt">line_loop</FONT></FONT></FONT></P>
 
</TD>
 
</TD>
<TD WIDTH=538>
+
<TD WIDTH=613>
 
<P ALIGN=LEFT><BR>
 
<P ALIGN=LEFT><BR>
 
</P>
 
</P>
 
</TD>
 
</TD>
<TD WIDTH=38>
+
<TD WIDTH=44>
 
<P ALIGN=LEFT><BR>
 
<P ALIGN=LEFT><BR>
 
</P>
 
</P>
Linia 289: Linia 263:
 
</TR>
 
</TR>
 
<TR VALIGN=TOP>
 
<TR VALIGN=TOP>
<TD WIDTH=89 BGCOLOR="#dddddd">
+
<TD WIDTH=102 BGCOLOR="#dddddd">
 
<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: 10pt">memcell</FONT></FONT></FONT></P>
 
<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: 10pt">memcell</FONT></FONT></FONT></P>
 
</TD>
 
</TD>
<TD WIDTH=538>
+
<TD WIDTH=613>
 
<P ALIGN=LEFT><FONT COLOR="#333333"><FONT FACE="Times New Roman, serif"><FONT SIZE=1 STYLE="font-size: 8pt">Komórka
 
<P ALIGN=LEFT><FONT COLOR="#333333"><FONT FACE="Times New Roman, serif"><FONT SIZE=1 STYLE="font-size: 8pt">Komórka
 
pamięci, nie jest rysowana ale ma współrzędne X, Y, Z, które np.
 
pamięci, nie jest rysowana ale ma współrzędne X, Y, Z, które np.
Linia 298: Linia 272:
 
</P>
 
</P>
 
</TD>
 
</TD>
<TD WIDTH=38>
+
<TD WIDTH=44>
 
<P ALIGN=LEFT><BR>
 
<P ALIGN=LEFT><BR>
 
</P>
 
</P>
Linia 304: Linia 278:
 
</TR>
 
</TR>
 
<TR VALIGN=TOP>
 
<TR VALIGN=TOP>
<TD WIDTH=89 BGCOLOR="#dddddd">
+
<TD WIDTH=102 BGCOLOR="#dddddd">
 
<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: 10pt">eventlauncher</FONT></FONT></FONT></P>
 
<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: 10pt">eventlauncher</FONT></FONT></FONT></P>
 
</TD>
 
</TD>
<TD WIDTH=538>
+
<TD WIDTH=613>
 
<P ALIGN=LEFT><FONT COLOR="#333333"><FONT FACE="Times New Roman, serif"><FONT SIZE=2 STYLE="font-size: 9pt">Obiekt
 
<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
 
wyzwalany naciśnięciem klawisza albo o określonej godzinie lub raz
Linia 314: Linia 288:
 
</P>
 
</P>
 
</TD>
 
</TD>
<TD WIDTH=38>
+
<TD WIDTH=44>
 
<P ALIGN=LEFT><BR>
 
<P ALIGN=LEFT><BR>
 
</P>
 
</P>

Wersja z 01:11, 29 mar 2015

OPIS FORMATU PLIKU SCENERII

Opracowanie na podstawie dokumentu scenery.doc autorstwa

Marcina Woźniaka i Macieja Czapkiewicza

Aktualizacja wg stanu na rok 2015



Na zebranych tu informacjach oparte zostały skrypty eksporterów

jaki i importerów scenerii dla środowiska 3DS Max Studio

oraz parser przetwarzajacy dane z plików scenerii wbudowany

w programie EU07.EXE

Domyślny plik trasy powinien nazywać się scene.scn, możliwe jest wgranie innego pliku poprzez podanie jego nazwy jako parametr w skrócie lub w konsoli polecen, np.

eu07.exe –s scenery/testowo.scn.


Można również zdefiniować domyślną nazwę scenerii w pliku eu07.ini podajac parametr w kluczu sceneryfile np.:


sceneryfile testowo.scn


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ą.


Przykłady:

include;tree.inc;l61_plants/drzewo1024f;-3947.2;-4.0;2401.17;56.0;8.3;4.2;end

include,tree.inc,l61_plants/drzewo1024f,-3947.2,-4.0,2401.17,56.0,8.3,4.2,end

include tree.inc l61_plants/drzewo1024f -3947.2 -4.0 2401.17 56.0 8.3 4.2 end


W pliku scenerii rozróżniamy 12 typów obiektów, są to:

node, event, include, trainset, rotate, orgin, description, fog, atmo, light, camera, config


Dwa z wymienionych typow, tj. node i event dziela się na podtypy. Wpis typu node posiada 12 podtypów zaś wpis event 8.


1 Wpis node


Typ NODE definiuje obiekty widoczne (a ogólniej: obiekty które bierze pod uwagę funkcja Render).

Obiekty tego typu mogą być rysowalne lub niewidoczne. Parametry podstawowe wspólne dla wszystkich podtypów to:


  • MaxDistance – maksymalna odległość z jakiej obiekt będzie widoczny

  • MinDistance – minimalna odległość z jakiej obiekt będzie widoczny

  • Name – nazwa obiektu, jeśli nie potrzebujemy należy wpisać none

  • Type - rodzaj obiektu


Poniżej tabela opisująca poszczególne podtypy wpisu NODE

track

Definiuje trajektorię, po której może poruszać się obiekt dynamic. Kształt trajektorii definiujemy za pomocą krzywej Beziera


traction

Definiuje obiekt odcinka drutu sieci trakcyjnej


dynamic

Definiuje obiekt poruszający się po ścieżkach typu track lub road


model

Wstawia obiekt modelu 3d statyczny lub z możliwością animacji


triangles

Definiuje jeden trójkąt składajacy się z trzech wierzchołków jako element składowy terenu


riangle_strip

Definiuje wielokąt jako element składowy terenu


triangle_fan



lines

Definiuje linię – pojedynczy odcinek od punktu A do punktu B


line_strip



line_loop



memcell

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.


eventlauncher

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.



</BODY> </HTML>