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:tutotunnel [2010/07/09 10:29] – gauthier | en:tutotunnel [2024/06/15 02:27] (Version actuelle) – modification externe 127.0.0.1 | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | <WRAP box>[[:en: | + | <WRAP box> |
====== Tunnels ====== | ====== Tunnels ====== | ||
+ | ===== Png and dat patterns ===== | ||
- | ===== Graphics ===== | + | Unlike ways and bridges, tunnels require few images. They are always composed of backimage (images displayed behind passing vehicles) and frontimage (images displayed before the vehicles). Here is the pattern: |
+ | {{ fr: | ||
- | Tunnels needs a few graphics : four pictures for entrances South and East : one displayed behind the vehicle (backimage) and one displayed before the vehicle (frontimage), two pictures for the entrances North and West that will be displayed before the vehicle (frontimage), the possible backimages that we can't see on entrances North and West; an icon and a cursor. Here is the graphical pattern : | + | <WRAP box> |
+ | \\ waytype= | ||
+ | \\ name= | ||
+ | \\ cost= | ||
+ | \\ maintenance= | ||
+ | \\ topspeed= | ||
+ | \\ way= | ||
+ | \\ copyright= | ||
+ | \\ | ||
+ | \\ intro_year=1800 | ||
+ | \\ intro_month=1 | ||
+ | \\ retire_year=2999 | ||
+ | \\ retire_month=1 | ||
+ | \\ | ||
+ | \\ icon=> source.1.2 | ||
+ | \\ cursor=source.1.3 | ||
+ | \\ frontimage[N]=source.0.0 | ||
+ | | ||
+ | | ||
+ | \\ backimage[W]=source.1.1 | ||
+ | | ||
+ | \\ frontimage[E]=source.0.3</ | ||
+ | Tunnels can have snowy images. To define them, a parameter must be added to the name of each image, equal to 0 for normal (summer) view and 1 for snowy (winter) view. Here is an example: | ||
- | {{ : | + | <WRAP box>backimage[N]=source.1.0 |
- | + | \\ | |
- | + | \\ # | |
- | <WRAP box>icon= > image.1.2\\ | + | \\ |
- | + | \\ #normal view | |
- | + | \\ backimage[N][0]=source.1.0 | |
- | <WRAP info> | + | \\ #snowy view |
+ | \\ backimage[N][1]=sourcewinter.1.0</ | ||
===== Essential parameters ===== | ===== Essential parameters ===== | ||
- | |||
|**Parameter** | |**Parameter** | ||
|obj |object type |tunnel || | |obj |object type |tunnel || | ||
- | |waytype |way type |internal_name |maglev_track | | + | |[[en: |
|name |name |texte |AMT_tunnel_1 | | |name |name |texte |AMT_tunnel_1 | | ||
|cost |price (%%*%%100c) |number |300000 | | |cost |price (%%*%%100c) |number |300000 | | ||
Ligne 35: | Ligne 57: | ||
|copyright |name of the creator |text |Gauthier | | |copyright |name of the creator |text |Gauthier | | ||
+ | <WRAP box> | ||
- | \\ | ||
- | |||
- | ==== waytype ==== | ||
- | |||
- | |||
- | [[: | ||
- | |||
- | |||
- | ===== Example files ===== | ||
- | |||
- | |||
- | <WRAP download> | ||
- | |||
- | |||
- | {{: | ||
- | |||
- | |||
- | <WRAP box> | ||
- | |||
- | |||
- | \\ | ||