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:tutowayobject [2011/01/22 13:06] – édition externe 127.0.0.1 | en:tutowayobject [2024/06/15 02:27] (Version actuelle) – modification externe 127.0.0.1 | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | <WRAP box>[[:en: | + | <WRAP box> |
====== Way objects ====== | ====== Way objects ====== | ||
+ | Way objects are mostly used for electrifications (catenaries, | ||
- | Most of the time these objects are used to make catenaries, their graphics works the same way as way graphics | + | ===== Png and dat patterns ===== |
+ | Way objects follow the exact same graphical scheme as ways, so the patterns are almost the same. | ||
- | ===== Graphics ===== | + | <WRAP warning> |
+ | On some objects, some parts of the object must be displayed above passing vehicles (like catenaries' | ||
- | Here are two graphical patterns for ways : the second | + | Each view can have two images, one frontimage to be displayed above passing vehicles and one backimage |
+ | <WRAP info> | ||
- | {{ : | + | <WRAP tip>To use the pattern below, it is advised to work with two images, one for backimages and one for frontimages.</ |
+ | {{ fr: | ||
- | {{ : | + | <WRAP box> |
- | + | \\ waytype= | |
- | + | \\ name= | |
- | This is the graphical part of the .dat file, explained below. | + | \\ cost= |
- | + | \\ maintenance= | |
- | + | \\ topspeed= | |
- | <WRAP box>icon= > image.4.0\\ cursor=image.4.1\\ backimage[-]=image.3.1\\ backimage[S]=image.0.1\\ backimage[N]=image.0.3\\ backimage[W]=image.0.2\\ backimage[E]=image.0.0\\ backimage[NS]=image.0.5\\ backimage[EW]=image.0.4\\ backimage[NSE]=image.2.3\\ backimage[NSW]=image.2.1\\ | + | \\ copyright= |
- | + | \\ own_waytype=electrified_track | |
- | + | \\ | |
- | frontimage[-]=image.3.1\\ frontimage[S]=image.0.1\\ frontimage[N]=image.0.3\\ frontimage[W]=image.0.2\\ frontimage[E]=image.0.0\\ frontimage[NS]=image.0.5\\ frontimage[EW]=image.0.4\\ frontimage[NSE]=image.2.3\\ frontimage[NSW]=image.2.1\\ | + | \\ intro_year=1800 |
- | + | \\ intro_month=1 | |
- | + | \\ retire_year=2999 | |
- | Back… is for pictures displayed behind vehicles and Front… is for pictures displayed before vehicles. Here these are the same since I haven' | + | \\ retire_month=1 |
- | + | \\ | |
- | + | | |
- | <WRAP tip>An easier way should be creating a picture with frontimage and a picture with backimage, so you'll only have to change the name of the picture.</ | + | \\ cursor=sourceback.0.3 |
- | + | \\ | |
- | + | \\ backimage[-]=sourceback.4.3 | |
- | This .dat file pattern is usable only in one picture (replace the name of the picture as you want). There are several pictures : cursor is the picture which is used as a cursor when you build the way, icon is the picture which appears in Simutrans' | + | \\ backimage[N]=sourceback.1.0 |
- | + | \\ backimage[S]=sourceback.1.1 | |
- | + | \\ backimage[E]=sourceback.1.2 | |
- | {{ : | + | \\ backimage[W]=sourceback.1.3 |
- | + | \\ backimage[NS]=sourceback.0.0 | |
- | ===== Paramètres basiques ===== | + | \\ backimage[EW]=sourceback.0.1 |
+ | \\ backimage[NE]=sourceback.2.0 | ||
+ | \\ backimage[SE]=sourceback.2.1 | ||
+ | \\ backimage[SW]=sourceback.2.2 | ||
+ | \\ backimage[NW]=sourceback.2.3 | ||
+ | \\ backimage[NEW]=sourceback.3.0 | ||
+ | \\ backimage[NSE]=sourceback.3.1 | ||
+ | \\ backimage[SEW]=sourceback.3.2 | ||
+ | \\ backimage[NSW]=sourceback.3.3 | ||
+ | \\ backimage[NSEW]=track.4.0 | ||
+ | \\ backimageUp[3]=sourceback.5.0 | ||
+ | \\ backimageUp[6]=sourceback.5.1 | ||
+ | \\ backimageUp[9]=sourceback.5.2 | ||
+ | \\ backimageUp[12]=sourceback.5.3 | ||
+ | \\ backimageUp2[3]=sourceback.6.0 | ||
+ | \\ backimageUp2[6]=sourceback.6.1 | ||
+ | \\ backimageUp2[9]=sourceback.6.2 | ||
+ | \\ backimageUp2[12]=sourceback.6.3 | ||
+ | \\ | ||
+ | \\ frontimage[-]=sourcefront.4.3 | ||
+ | \\ frontimage[N]=sourcefront.1.0 | ||
+ | \\ frontimage[S]=sourcefront.1.1 | ||
+ | \\ frontimage[E]=sourcefront.1.2 | ||
+ | \\ frontimage[W]=sourcefront.1.3 | ||
+ | \\ frontimage[NS]=sourcefront.0.0 | ||
+ | \\ frontimage[EW]=sourcefront.0.1 | ||
+ | \\ frontimage[NE]=sourcefront.2.0 | ||
+ | \\ frontimage[SE]=sourcefront.2.1 | ||
+ | \\ frontimage[SW]=sourcefront.2.2 | ||
+ | \\ frontimage[NW]=sourcefront.2.3 | ||
+ | \\ frontimage[NEW]=sourcefront.3.0 | ||
+ | \\ frontimage[NSE]=sourcefront.3.1 | ||
+ | \\ frontimage[SEW]=sourcefront.3.2 | ||
+ | \\ frontimage[NSW]=sourcefront.3.3 | ||
+ | \\ frontimage[NSEW]=track.4.0 | ||
+ | \\ frontimageUp[3]=sourcefront.5.0 | ||
+ | \\ frontimageUp[6]=sourcefront.5.1 | ||
+ | \\ frontimageUp[9]=sourcefront.5.2 | ||
+ | \\ frontimageUp[12]=sourcefront.5.3 | ||
+ | \\ frontimageUp2[3]=sourcefront.6.0 | ||
+ | \\ frontimageUp2[6]=sourcefront.6.1 | ||
+ | \\ frontimageUp2[9]=sourcefront.6.2 | ||
+ | \\ frontimageUp2[12]=sourcefront.6.3</ | ||
+ | ===== Essential parameters ===== | ||
|Parameter | |Parameter | ||
|obj |object type |way || | |obj |object type |way || | ||
- | |waytype |way type |internal_name |maglev_track | | + | |[[en: |
|name |name |text |AMT | | |name |name |text |AMT | | ||
|cost |price (%%*%%100c) |number |390000 | | |cost |price (%%*%%100c) |number |390000 | | ||
Ligne 55: | Ligne 102: | ||
|own_waytype | \\ Is the object an electrification ? | |own_waytype | \\ Is the object an electrification ? | ||
+ | <WRAP box> | ||
- | ==== waytype ==== | ||
- | |||
- | |||
- | [[: | ||
- | |||
- | |||
- | <WRAP box> | ||
- | |||
- | |||
- | \\ | ||