[[en:tutomakeobj3#objects|Come back to objects]] ====== Signals ====== ===== Graphics ===== 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. This is the graphical part of the .dat file pattern according to the graphical pattern : 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 ===== Essential parameters ===== |**Parameter ** |**Description ** |**Content ** |**Example ** | |obj |object type |roadsign || |[[en:tutowaytype|waytype]] |way type |internal name |maglev_track | |name |name |text |ground_SNFOS_signal | |cost |price (%%*%%100c) |number |500 | |intro_year |introduction year |number |2003 | |intro_month |introduction month |number |1 | |retire_year |retire year |number |2100 | |retire_month |retire month |number |1 | |copyright |name of the creator |text |Gauthier | ===== Road signs parameters ===== |**Parameter(s) ** |**Description ** | |is_private = 1 |Only player vehicles can pass | |single_way = 1 \\ min_speed = 0 |One way signal (possibility to have a min speed) | |free_route = 1 |stop choosing signal (vehicles go to a free stop) | |min_speed = x |Only x speed vehicles can pass | ===== Parameters for tracks/monorails/maglevs signals ===== |**Parameter(s) ** |**Description ** | |is_signal = 1 |normal signal | |is_presignal = 1 |presignal | |is_prioritysignal = 1 |priority signal | |is_signal = 1 \\ free_route = 1 |choose signal | |end_of_choose = 1 |end of choose signal | |is_signal = 1 \\ is_longblocksignal = 1 |long block signal | |single_way = 1 |one way signal | [[en:tutomakeobj3#objects|Come back to objects]]