Traductions possibles :

Différences

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

en:tutocrossing [2010/06/28 18:58]
gauthier créée
en:tutocrossing [2015/02/18 06:23] (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>
====== Crossings ====== ====== Crossings ======
- 
===== Graphics ===== ===== Graphics =====
- 
There are eight pictures for a crossing : two directions, two positions (opened and closed) and two pictures for each : one displayed behind vehicles and one displayed before them. This is the .dat file pattern : There are eight pictures for a crossing : two directions, two positions (opened and closed) and two pictures for each : one displayed behind vehicles and one displayed before them. This is the .dat file pattern :
- 
<WRAP box>openimage[ns][0]=image.x.y\\  front_openimage[ns][0]=image.x.y\\  closedimage[ns][0]=image.x.y\\  front_closedimage[ns][0]=image.x.y\\  openimage[ew][0]=image.x.y\\  front_openimage[ew][0]=image.x.y\\  closedimage[ew][0]=image.x.y\\  front_closedimage[ew][0]=image.x.y\\  \\  openimage[ns][1]=image.x.y\\  front_openimage[ns][1]=image.x.y\\  closedimage[ns][1]=image.x.y\\  front_closedimage[ns][1]=image.x.y\\  openimage[ew][1]=image.x.y\\  front_openimage[ew][1]=image.x.y\\  closedimage[ew][1]=image.x.y\\  front_closedimage[ew][1]=image.x.y</WRAP> <WRAP box>openimage[ns][0]=image.x.y\\  front_openimage[ns][0]=image.x.y\\  closedimage[ns][0]=image.x.y\\  front_closedimage[ns][0]=image.x.y\\  openimage[ew][0]=image.x.y\\  front_openimage[ew][0]=image.x.y\\  closedimage[ew][0]=image.x.y\\  front_closedimage[ew][0]=image.x.y\\  \\  openimage[ns][1]=image.x.y\\  front_openimage[ns][1]=image.x.y\\  closedimage[ns][1]=image.x.y\\  front_closedimage[ns][1]=image.x.y\\  openimage[ew][1]=image.x.y\\  front_openimage[ew][1]=image.x.y\\  closedimage[ew][1]=image.x.y\\  front_closedimage[ew][1]=image.x.y</WRAP>
- 
Front_x stand for pictures displayed before vehicles, other stand for pictures displayed behind vehicles. Front_x stand for pictures displayed before vehicles, other stand for pictures displayed behind vehicles.
- 
Openimages are the pictures for the opened crossing (vehicles of waytype[0] can pass) and the Closedimages are the pictures for the closed crossing (vehicles of waytype[1] can pass). Openimages are the pictures for the opened crossing (vehicles of waytype[0] can pass) and the Closedimages are the pictures for the closed crossing (vehicles of waytype[1] can pass).
- 
The pictures x[1] are winter graphics. They're optional. The pictures x[1] are winter graphics. They're optional.
- 
===== Essential parameters ===== ===== Essential parameters =====
- 
|**Parameter **  |**Description   **  |**Content  **  |**Example  **  | |**Parameter **  |**Description   **  |**Content  **  |**Example  **  |
|obj |object type |crossing || |obj |object type |crossing ||
|name |name |text |rail-road-crossing | |name |name |text |rail-road-crossing |
-|waytype[0] |way type 1 |internal name |road | +|[[en:tutowaytype|waytype[0] ]] |way type 1 |internal name |road | 
-|waytype[1] |way type 2 |internal name |track |+|[[en:tutowaytype|waytype[1] ]] |way type 2 |internal name |track |
|speed[0] |max speed for way 1 |number |40 | |speed[0] |max speed for way 1 |number |40 |
|speed[1] |max speed for way 2 |number |160 | |speed[1] |max speed for way 2 |number |160 |
|copyright |name of the creator |text |Gauthier | |copyright |name of the creator |text |Gauthier |
 +<WRAP box>[[en:tutomakeobj3#objects|Come back to objects]] </WRAP>
-==== waytype ==== 
- 
- 
-[[:en:tutowaytype|Possible waytypes]] 
- 
- 
-<WRAP box>[[:en:tutomakeobj3#objects|Come back to objects]] </WRAP> 
- 
- 
-\\