Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
en:tutocrossing [2011/01/22 13:06] – édition externe 127.0.0.1 | en:tutocrossing [2024/06/15 02:27] (Version actuelle) – modification externe 127.0.0.1 | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | <WRAP box>[[:en: | + | <WRAP box> |
====== 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> | <WRAP box> | ||
- | |||
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' | The pictures x[1] are winter graphics. They' | ||
- | |||
===== Essential parameters ===== | ===== Essential parameters ===== | ||
- | |||
|**Parameter ** |**Description | |**Parameter ** |**Description | ||
|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: |
- | |waytype[1] |way type 2 |internal name |track | | + | |[[en: |
|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> | ||
- | ==== waytype ==== | ||
- | |||
- | |||
- | [[: | ||
- | |||
- | |||
- | <WRAP box> | ||
- | |||
- | |||
- | \\ | ||