Traductions possibles :

Différences

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

en:tutosignal [2011/01/22 13:06]
127.0.0.1 édition externe
en:tutosignal [2020/04/02 17:39] (version actuelle)
gauthier
Ligne 1: Ligne 1:
-<WRAP box>[[:en:tutomakeobj3#objects|Come back to   objects]] </WRAP> +<WRAP box>[[en:tutomakeobj3#objects|Come back to   objects]] </WRAP>
====== Signals ====== ====== Signals ======
- 
===== Graphics ===== ===== Graphics =====
- 
Signals need a few graphics and are very easy to place. Here is the pattern :\\   Signals need a few graphics and are very easy to place. Here is the pattern :\\  
- +{{  fr:tuto:dat:trame_signal.png  }}Lthe pattern shows the place, the direction and the position of the signals. At the top line are the red signals and at the second line are the green ones, at the right is the icon and the cursor. Blue stands for the tile which the signal is placed on, you have to remove it of course.
-{{  :fr:trame_signal.png  }}Lthe pattern shows the place, the direction and the position of the signals. At the top line are the red signals and at the second line are the green ones, at the right is the icon and the cursor. Blue stands for the tile which the signal is placed on, you have to remove it of course. +
This is the graphical part of the .dat file pattern according to the graphical pattern : This is the graphical part of the .dat file pattern according to the graphical pattern :
- 
<WRAP box>Icon= > image.0.4\\  Cursor=image.1.4\\  \\  Image[0]=image.0.0\\  Image[1]=image.0.1\\  Image[2]=image.0.2\\  Image[3]=image.0.3\\  Image[4]=image.1.0\\  Image[5]=image.1.1\\  Image[6]=image.1.2\\  Image[7]=image.1.3</WRAP> <WRAP box>Icon= > image.0.4\\  Cursor=image.1.4\\  \\  Image[0]=image.0.0\\  Image[1]=image.0.1\\  Image[2]=image.0.2\\  Image[3]=image.0.3\\  Image[4]=image.1.0\\  Image[5]=image.1.1\\  Image[6]=image.1.2\\  Image[7]=image.1.3</WRAP>
- 
===== Essential parameters ===== ===== Essential parameters =====
- 
|**Parameter **  |**Description  **  |**Content  **  |**Example **  | |**Parameter **  |**Description  **  |**Content  **  |**Example **  |
|obj |object type |roadsign || |obj |object type |roadsign ||
-|waytype |way type |internal name |maglev_track |+|[[en:tutowaytype|waytype]] |way type |internal name |maglev_track |
|name |name |text |ground_SNFOS_signal | |name |name |text |ground_SNFOS_signal |
|cost |price (%%*%%100c) |number |500 | |cost |price (%%*%%100c) |number |500 |
Ligne 33: Ligne 25:
|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 |
- 
- 
-==== waytype ==== 
- 
- 
-[[:en:tutowaytype|Possible   waytypes]] 
- 
===== Road signs parameters ===== ===== Road signs parameters =====
- 
|**Parameter(s) **  |**Description   **  | |**Parameter(s) **  |**Description   **  |
Ligne 49: Ligne 33:
|free_route = 1 |stop choosing signal (vehicles go to a free stop) | |free_route = 1 |stop choosing signal (vehicles go to a free stop) |
|min_speed = x |Only x speed vehicles can pass | |min_speed = x |Only x speed vehicles can pass |
- 
===== Parameters for tracks/monorails/maglevs signals ===== ===== Parameters for tracks/monorails/maglevs signals =====
- 
|**Parameter(s) **  |**Description   **  | |**Parameter(s) **  |**Description   **  |
|is_signal = 1 |normal signal | |is_signal = 1 |normal signal |
|is_presignal = 1 |presignal | |is_presignal = 1 |presignal |
 +|is_prioritysignal = 1 |priority signal |
|is_signal = 1  \\ free_route = 1 |choose signal | |is_signal = 1  \\ free_route = 1 |choose signal |
-|is_signal = 1  \\ end_of_choose = 1 |end of choose signal |+|end_of_choose = 1 |end of choose signal |
|is_signal = 1  \\ is_longblocksignal = 1 |long block signal | |is_signal = 1  \\ is_longblocksignal = 1 |long block signal |
|single_way = 1 |one way signal | |single_way = 1 |one way signal |
 +<WRAP box>[[en:tutomakeobj3#objects|Come back to objects]] </WRAP>
-===== Example files ===== 
- 
- 
-<WRAP download>You'll find here maglev's signals'source files. 
- 
- 
-{{:fr:signaux.rar|Signaux.rar}}</WRAP> 
- 
- 
-<WRAP box>[[:en:tutomakeobj3#objects|Come back to   objects]] </WRAP> 
- 
- 
-\\