Traductions possibles :

Différences

Cette page vous donne les différences entre la révision choisie et la version actuelle de la page.

en:tutostation [2014/11/29 20:01]
gauthier
en:tutostation [2015/02/18 11:05] (version actuelle)
Ligne 1: Ligne 1:
-<WRAP box>[[:en:tutomakeobj3#objects|Come back to   objects]] </WRAP> +<WRAP box>[[en:tutomakeobj3#objects|Come back to   objects]] </WRAP>
====== Stations ====== ====== Stations ======
- 
Stations'graphical complexity is variable. There are two pictures station, eight pictures station or sixteen pictures station and four pictures stations made for way extremities (like planes tarmacs). Plus stations'graphics depend of the way type which the station is made for. These are some basic graphics for some waytypes which you can draw on. Stations'graphical complexity is variable. There are two pictures station, eight pictures station or sixteen pictures station and four pictures stations made for way extremities (like planes tarmacs). Plus stations'graphics depend of the way type which the station is made for. These are some basic graphics for some waytypes which you can draw on.
- 
===== Graphics ===== ===== Graphics =====
- 
==== Parameter Dims ==== ==== Parameter Dims ====
- 
LThe parameter “dims” which is in the .dat defines the number of pictures the station has. It's of the pattern dims=x,y,z LThe parameter “dims” which is in the .dat defines the number of pictures the station has. It's of the pattern dims=x,y,z
- 
x et y defines the size of the station, they're always equal to 1 because a station can't be more of one tile big. z defines the number of pictures of the station, it can be 2, 4, 8 or 16. x et y defines the size of the station, they're always equal to 1 because a station can't be more of one tile big. z defines the number of pictures of the station, it can be 2, 4, 8 or 16.
- 
|**dims**  |**directions**  |**possible sides for the platform**  |**possible configurations of one station**  |**backimage and frontimage**  |**total number of pictures**  | |**dims**  |**directions**  |**possible sides for the platform**  |**possible configurations of one station**  |**backimage and frontimage**  |**total number of pictures**  |
Ligne 25: Ligne 18:
|1,1,8 |2 (North-South et East-West) |%%*%%1 ( on each side) |%%*%%4   (single station, extremity1, extremity2, central part) |%%*%%2 |16 | |1,1,8 |2 (North-South et East-West) |%%*%%1 ( on each side) |%%*%%4   (single station, extremity1, extremity2, central part) |%%*%%2 |16 |
|1,1,16 |2 (North-South et East-West) |%%*%%2 (behind and before the way) |%%*%%4   (single station, extremity1, extremity2, central part) |%%*%%2 |32 | |1,1,16 |2 (North-South et East-West) |%%*%%2 (behind and before the way) |%%*%%4   (single station, extremity1, extremity2, central part) |%%*%%2 |32 |
- 
** 1,1,2 :{{  fr:tuto:dat:stations01.png  }}** 1,1,4 :{{  fr:tuto:dat:stations02.png  }}1,1,8 :{{  fr:tuto:dat:stations03.png  }}1,1,16 :{{  fr:tuto:dat:stations04.png  }}This is the graphican part of the .dat file   <WRAP   box>icon= > image.x.y\\  cursor=image.x.y\\  \\  backimage[0][0][0][0][0]=image.x.y\\  backimage[1][0][0][0][0]=image.x.y\\  backimage[2][0][0][0][0]=image.x.y\\  backimage[3][0][0][0][0]=image.x.y\\  backimage[4][0][0][0][0]=image.x.y\\  backimage[5][0][0][0][0]=image.x.y\\  backimage[6][0][0][0][0]=image.x.y\\  backimage[7][0][0][0][0]=image.x.y\\  backimage[8][0][0][0][0]=image.x.y\\  backimage[9][0][0][0][0]=image.x.y\\  backimage[10][0][0][0][0]=image.x.y\\  backimage[11][0][0][0][0]=image.x.y\\  backimage[12][0][0][0][0]=image.x.y\\  backimage[13][0][0][0][0]=image.x.y\\  backimage[14][0][0][0][0]=image.x.y\\  backimage[15][0][0][0][0]=image.x.y\\  \\  frontimage[0][0][0][0][0]=image.x.y\\  frontimage[1][0][0][0][0]=image.x.y\\  frontimage[2][0][0][0][0]=image.x.y\\  frontimage[3][0][0][0][0]=image.x.y\\  frontimage[4][0][0][0][0]=image.x.y\\  frontimage[5][0][0][0][0]=image.x.y\\  frontimage[6][0][0][0][0]=image.x.y\\  frontimage[7][0][0][0][0]=image.x.y\\  frontimage[8][0][0][0][0]=image.x.y\\  frontimage[9][0][0][0][0]=image.x.y\\  frontimage[10][0][0][0][0]=image.x.y\\  frontimage[11][0][0][0][0]=image.x.y\\  frontimage[12][0][0][0][0]=image.x.y\\  frontimage[13][0][0][0][0]=image.x.y\\  frontimage[14][0][0][0][0]=image.x.y\\  frontimage[15][0][0][0][0]=image.x.y</WRAP> ** 1,1,2 :{{  fr:tuto:dat:stations01.png  }}** 1,1,4 :{{  fr:tuto:dat:stations02.png  }}1,1,8 :{{  fr:tuto:dat:stations03.png  }}1,1,16 :{{  fr:tuto:dat:stations04.png  }}This is the graphican part of the .dat file   <WRAP   box>icon= > image.x.y\\  cursor=image.x.y\\  \\  backimage[0][0][0][0][0]=image.x.y\\  backimage[1][0][0][0][0]=image.x.y\\  backimage[2][0][0][0][0]=image.x.y\\  backimage[3][0][0][0][0]=image.x.y\\  backimage[4][0][0][0][0]=image.x.y\\  backimage[5][0][0][0][0]=image.x.y\\  backimage[6][0][0][0][0]=image.x.y\\  backimage[7][0][0][0][0]=image.x.y\\  backimage[8][0][0][0][0]=image.x.y\\  backimage[9][0][0][0][0]=image.x.y\\  backimage[10][0][0][0][0]=image.x.y\\  backimage[11][0][0][0][0]=image.x.y\\  backimage[12][0][0][0][0]=image.x.y\\  backimage[13][0][0][0][0]=image.x.y\\  backimage[14][0][0][0][0]=image.x.y\\  backimage[15][0][0][0][0]=image.x.y\\  \\  frontimage[0][0][0][0][0]=image.x.y\\  frontimage[1][0][0][0][0]=image.x.y\\  frontimage[2][0][0][0][0]=image.x.y\\  frontimage[3][0][0][0][0]=image.x.y\\  frontimage[4][0][0][0][0]=image.x.y\\  frontimage[5][0][0][0][0]=image.x.y\\  frontimage[6][0][0][0][0]=image.x.y\\  frontimage[7][0][0][0][0]=image.x.y\\  frontimage[8][0][0][0][0]=image.x.y\\  frontimage[9][0][0][0][0]=image.x.y\\  frontimage[10][0][0][0][0]=image.x.y\\  frontimage[11][0][0][0][0]=image.x.y\\  frontimage[12][0][0][0][0]=image.x.y\\  frontimage[13][0][0][0][0]=image.x.y\\  frontimage[14][0][0][0][0]=image.x.y\\  frontimage[15][0][0][0][0]=image.x.y</WRAP>
Ligne 32: Ligne 24:
==== Patterns ==== ==== Patterns ====
- 
Here are the patterns for the most difficult stations to draw : track/monorail/maglev and road/tram. River ports are easy to draw and airports'tarmacs aren't complex since the size of planes is very variable, ports fill a complete tile so they're not complex too. Here are the patterns for the most difficult stations to draw : track/monorail/maglev and road/tram. River ports are easy to draw and airports'tarmacs aren't complex since the size of planes is very variable, ports fill a complete tile so they're not complex too.
- 
=== Track/monorail/maglev === === Track/monorail/maglev ===
Ligne 137: Ligne 127:
=== Road/tram === === Road/tram ===
- 
{{  fr:tuto:dat:stations1.png  }} {{  fr:tuto:dat:stations1.png  }}
- 
This is the .dat file's pattern : This is the .dat file's pattern :
- 
<WRAP box>Dims=1,1,8\\  \\  icon= > image.0.8\\  cursor=image.1.8\\  \\  backimage[0][0][0][0][0]=image.0.0\\  backimage[1][0][0][0][0]=image.0.1\\  backimage[2][0][0][0][0]=image.0.2\\  backimage[3][0][0][0][0]=image.0.3\\  backimage[4][0][0][0][0]=image.0.4\\  backimage[5][0][0][0][0]=image.0.5\\  backimage[6][0][0][0][0]=image.0.6\\  backimage[7][0][0][0][0]=image.0.7\\  \\  frontimage[0][0][0][0][0]=image.1.0\\  frontimage[1][0][0][0][0]=image.1.1\\  frontimage[2][0][0][0][0]=image.1.2\\  frontimage[3][0][0][0][0]=image.1.3\\  frontimage[4][0][0][0][0]=image.1.4\\  frontimage[5][0][0][0][0]=image.1.5\\  frontimage[6][0][0][0][0]=image.1.6\\  frontimage[7][0][0][0][0]=image.1.7</WRAP> <WRAP box>Dims=1,1,8\\  \\  icon= > image.0.8\\  cursor=image.1.8\\  \\  backimage[0][0][0][0][0]=image.0.0\\  backimage[1][0][0][0][0]=image.0.1\\  backimage[2][0][0][0][0]=image.0.2\\  backimage[3][0][0][0][0]=image.0.3\\  backimage[4][0][0][0][0]=image.0.4\\  backimage[5][0][0][0][0]=image.0.5\\  backimage[6][0][0][0][0]=image.0.6\\  backimage[7][0][0][0][0]=image.0.7\\  \\  frontimage[0][0][0][0][0]=image.1.0\\  frontimage[1][0][0][0][0]=image.1.1\\  frontimage[2][0][0][0][0]=image.1.2\\  frontimage[3][0][0][0][0]=image.1.3\\  frontimage[4][0][0][0][0]=image.1.4\\  frontimage[5][0][0][0][0]=image.1.5\\  frontimage[6][0][0][0][0]=image.1.6\\  frontimage[7][0][0][0][0]=image.1.7</WRAP>
Ligne 161: Ligne 148:
===== Essential parameters ===== ===== Essential parameters =====
- 
|**Parameter**  |**Description**  |**Content**  |**Example**  | |**Parameter**  |**Description**  |**Content**  |**Example**  |
|obj |object type |building || |obj |object type |building ||
|type |building type |stop || |type |building type |stop ||
-|waytype |way type |internal_name |track |+|[[en:tutowaytype|waytype]] |way type |internal_name |track |
|name |name |text |SNFOS_trainstation_simple | |name |name |text |SNFOS_trainstation_simple |
|intro_year |introduction year |number |1990 | |intro_year |introduction year |number |1990 |
Ligne 173: Ligne 159:
|retire_month |retire month |number |1 | |retire_month |retire month |number |1 |
|copyright |name of the creator |text |Gauthier | |copyright |name of the creator |text |Gauthier |
-|NoInfo |don't display a window when click on the object |boolean |1 |+|NoInfo |don't display a window when click on the object \\ <wrap warning>This won't prevent station's content window from displaying !</wrap>|boolean |1 |
|noconstruction |don't display the construction picture |boolean |0 | |noconstruction |don't display the construction picture |boolean |0 |
|enables_pax |station can accept passengers |boolean |0 | |enables_pax |station can accept passengers |boolean |0 |
Ligne 179: Ligne 165:
|enables_ware |station can accept goods |boolean |1 | |enables_ware |station can accept goods |boolean |1 |
|level |number of passengers/mails/goods that the station can stock (%%*%%32 units) |number | \\ 2 | |level |number of passengers/mails/goods that the station can stock (%%*%%32 units) |number | \\ 2 |
- 
- 
-\\ 
==== type ==== ==== type ====
- 
type=habour is used for ports and type=stop is used for every other stations. type=habour is used for ports and type=stop is used for every other stations.
-==== waytype ==== +<WRAP box>[[en:tutomakeobj3#objects|Come back to objects]] </WRAP>
- +
- +
-[[:en:tutowaytype|Possible   waytypes]] +
- +
-<WRAP box>[[:en:tutomakeobj3#objects|Come back to  objects]] </WRAP>+