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 | ||
| fr:tutoway [2010/06/11 16:21] – gauthier | fr:tutoway [2024/06/15 00:27] (Version actuelle) – modification externe 127.0.0.1 | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| - | <WRAP box>[[http:// | + | <WRAP box> |
| ====== Voies ====== | ====== Voies ====== | ||
| + | ===== Trames png et dat ===== | ||
| - | ===== Graphismes ===== | + | Faire une voie demande beaucoup de graphismes (sections droites, culs de sac, virages, sections diagonales, croisements, |
| + | ==== Voie type route ==== | ||
| - | Faire des rails, routes, rails de maglevs, canaux, etc … demande pas mal de graphismes. | + | Voici une trame graphique et la trame dat correspondante: |
| + | {{ fr: | ||
| - | {{ : | + | <WRAP box> |
| + | \\ waytype= | ||
| + | \\ name= | ||
| + | \\ cost= | ||
| + | \\ maintenance= | ||
| + | \\ topspeed= | ||
| + | \\ copyright= | ||
| + | \\ draw_as_ding=0 | ||
| + | \\ system_type=0 | ||
| + | \\ | ||
| + | \\ intro_year=1800 | ||
| + | \\ intro_month=1 | ||
| + | \\ retire_year=2999 | ||
| + | \\ retire_month=1 | ||
| + | \\ | ||
| + | \\ icon=> source.0.2 | ||
| + | \\ cursor=source.0.3 | ||
| + | \\ image[-]=source.5.3 | ||
| + | \\ image[N]=source.1.0 | ||
| + | \\ image[S]=source.1.1 | ||
| + | \\ image[E]=source.1.2 | ||
| + | \\ image[W]=source.1.3 | ||
| + | \\ image[NS]=source.0.0 | ||
| + | \\ image[EW]=source.0.1 | ||
| + | \\ image[NE]=source.2.0 | ||
| + | \\ image[SE]=source.2.1 | ||
| + | \\ image[SW]=source.2.2 | ||
| + | \\ image[NW]=source.2.3 | ||
| + | \\ diagonal[NE]=source.3.0 | ||
| + | \\ diagonal[SE]=source.3.1 | ||
| + | \\ diagonal[SW]=source.3.2 | ||
| + | \\ diagonal[NW]=source.3.3 | ||
| + | \\ image[NEW]=source.4.0 | ||
| + | \\ image[NSE]=source.4.1 | ||
| + | \\ image[SEW]=source.4.2 | ||
| + | \\ image[NSW]=source.4.3 | ||
| + | \\ image[NSEW]=source.5.0 | ||
| + | \\ imageUp[3]=source.6.0 | ||
| + | \\ imageUp[6]=source.6.1 | ||
| + | \\ imageUp[9]=source.6.2 | ||
| + | \\ imageUp[12]=source.6.3 | ||
| + | \\ imageUp2[3]=source.7.0 | ||
| + | \\ imageUp2[6]=source.7.1 | ||
| + | \\ imageUp2[9]=source.7.2 | ||
| + | \\ imageUp2[12]=source.7.3</ | ||
| + | |||
| + | A la deuxième ligne se trouvent à droite un carré contenant l' | ||
| + | Le tile rouge à droite de la sixième ligne est l' | ||
| - | {{ : | + | <WRAP important> |
| + | ==== Voies type rails ==== | ||
| - | Pour l'utiliser c' | + | Simutrans offre la possibilité de modifier les images des croisements selon leur utilisation afin d'obtenir des résultats plus réalistes sur les postes d'aguillage des rails. Cette fonctionnalité |
| + | <WRAP warning> | ||
| - | Cette trame est collée au sol, si vous faites un rail par exemple il faudra | + | <WRAP important> |
| + | Voici une seconde trame respectant ces règles: | ||
| - | Voici la partie graphique du .dat avec une petite explication en dessous. | + | {{ fr:tuto:dat:track.png }} |
| + | <WRAP box> | ||
| + | \\ waytype= | ||
| + | \\ name= | ||
| + | \\ cost= | ||
| + | \\ maintenance= | ||
| + | \\ topspeed= | ||
| + | \\ copyright= | ||
| + | \\ draw_as_ding=0 | ||
| + | \\ system_type=0 | ||
| + | | ||
| + | \\ intro_year=1800 | ||
| + | \\ intro_month=1 | ||
| + | \\ retire_year=2999 | ||
| + | \\ retire_month=1 | ||
| + | | ||
| + | \\ icon=> track.0.2 | ||
| + | \\ cursor=track.0.3 | ||
| + | \\ image[-]=track.6.3 | ||
| + | \\ image[N]=track.1.0 | ||
| + | \\ image[S]=track.1.1 | ||
| + | \\ image[E]=track.1.2 | ||
| + | \\ image[W]=track.1.3 | ||
| + | \\ image[NS]=track.0.0 | ||
| + | \\ image[EW]=track.0.1 | ||
| + | \\ image[NE]=track.2.0 | ||
| + | \\ image[SE]=track.2.1 | ||
| + | \\ image[SW]=track.2.2 | ||
| + | \\ image[NW]=track.2.3 | ||
| + | \\ image[NEW]=track.3.0 | ||
| + | \\ image[NSE]=track.3.1 | ||
| + | \\ image[SEW]=track.3.2 | ||
| + | \\ image[NSW]=track.3.3 | ||
| + | \\ image[NEW1]=track.4.0 | ||
| + | \\ image[NSE1]=track.4.1 | ||
| + | \\ image[SEW1]=track.4.2 | ||
| + | \\ image[NSW1]=track.4.3 | ||
| + | \\ image[NEW2]=track.5.0 | ||
| + | \\ image[NSE2]=track.5.1 | ||
| + | \\ image[SEW2]=track.5.2 | ||
| + | \\ image[NSW2]=track.5.3 | ||
| + | \\ image[NSEW]=track.6.0 | ||
| + | \\ image[NSEW1]=track.6.1 | ||
| + | \\ image[NSEW2]=track.6.2 | ||
| + | \\ imageUp[3]=track.7.0 | ||
| + | \\ imageUp[6]=track.7.1 | ||
| + | \\ imageUp[9]=track.7.2 | ||
| + | \\ imageUp[12]=track.7.3 | ||
| + | \\ imageUp2[3]=track.8.0 | ||
| + | \\ imageUp2[6]=track.8.1 | ||
| + | \\ imageUp2[9]=track.8.2 | ||
| + | \\ imageUp2[12]=track.8.3</ | ||
| - | <WRAP box>icon image.4.0\\ | + | ==== Vue enneigée |
| + | Il est possible d' | ||
| - | Cette trame de .dat est valable uniquement dans image.png (remplacez le nom selon le nom de votre image). On remarque plusieurs groupes d' | + | <WRAP box>image[NSE]=track.3.1 |
| - | + | \\ | |
| - | + | \\ # | |
| - | {{ : | + | \\ |
| + | \\ #vue normale | ||
| + | \\ image[NSE][0]=track.3.1 | ||
| + | \\ #vue enneigée | ||
| + | \\ image[NSE][1]=track.3.1</ | ||
| + | <WRAP warning> | ||
| ===== Paramètres basiques ===== | ===== Paramètres basiques ===== | ||
| - | + | |**Paramètre | |
| - | |Paramètre |Description |Contenu |Exemple | + | |obj |type d' |
| - | |obj |type d' | + | |[[fr: |
| - | |waytype |type de voie |nom interne |maglev_track | + | |name |nom |texte |AMT | |
| - | |name |nom |texte |AMT |oui | | + | |cost |prix (%%*%%100c) |nombre |390000 | |
| - | |cost |prix (%%*%%100c) |nombre |390000 | + | |maintenance |prix de maintenance (%%*%%100c) |nombre |7500 | |
| - | |maintenance |prix de maintenance (%%*%%100c) |nombre |7500 |oui | | + | |topspeed |vitesse maximale (km/h) |nombre |750 | |
| - | |topspeed |vitesse maximale (km/h) |nombre |750 |oui | | + | |max_weight |poids supporté (t) |nombre |100 | |
| - | |max_weight |poids supporté (t) |nombre |100 |oui | | + | |intro_year |année de disponibilité |nombre |2025 | |
| - | |intro_year |année de disponibilité |nombre |2025 |non | | + | |intro_month |mois de disponibilité |nombre |1 | |
| - | |intro_month |mois de disponibilité |nombre |1 |non | | + | |copyright |nom du créateur |texte |Gauthier | |
| - | |copyright |nom du créateur |texte |Gauthier | + | |draw_as_ding |dessiner par dessus |booléen (0,1) |0 | |
| - | |draw_as_ding |dessiner par dessus |booléen (0,1) |0 |non | | + | |[[fr: |
| - | |system_type |paramètre spécial |nombre |1 |non | | + | |
| - | + | ||
| - | + | ||
| - | ==== waytype ==== | + | |
| - | + | ||
| - | + | ||
| - | [[http:// | + | |
| - | + | ||
| - | + | ||
| - | ==== System_type ==== | + | |
| - | + | ||
| - | + | ||
| - | [[http:// | + | |
| <WRAP tip>Pour faire une cloture, on utilise waytype = track; system_type = 255 et draw_as_ding = 1. Draw_as_ding permettra à la cloture d' | <WRAP tip>Pour faire une cloture, on utilise waytype = track; system_type = 255 et draw_as_ding = 1. Draw_as_ding permettra à la cloture d' | ||
| + | <WRAP tip>Pour faire une voie surélevée, | ||
| - | ===== Fichiers exemples ===== | + | <WRAP box> |
| - | + | ||
| - | + | ||
| - | <WRAP download> | + | |
| - | + | ||
| - | + | ||
| - | [[http:// | + | |
| - | + | ||
| - | + | ||
| - | <WRAP box>[[http:// | + | |
| - | + | ||
| - | + | ||
| - | \\ | + | |