Cette page vous donne les différences entre la révision choisie et la version actuelle de la page.
en:tutobridge [2014/11/29 18:20] gauthier |
en:tutobridge [2015/02/18 11:05] (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> |
====== Bridges ====== | ====== Bridges ====== | ||
- | |||
===== Png and dat patterns ===== | ===== Png and dat patterns ===== | ||
Ligne 85: | Ligne 83: | ||
The images "Image" are the central parts of the bridge which are displayed in the height beneath the bridge is not higher that one unit, otherwise "Image2" is displayed. | The images "Image" are the central parts of the bridge which are displayed in the height beneath the bridge is not higher that one unit, otherwise "Image2" is displayed. | ||
- | ===== Essential parameters ===== | + | Bridges 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>FrontStart[E]=source.3.7 | ||
+ | \\ | ||
+ | \\ #becomes ... | ||
+ | \\ | ||
+ | \\ #normal view | ||
+ | \\ FrontStart[E][0]=source.3.7 | ||
+ | \\ #snowy view | ||
+ | \\ FrontStart[E][1]=sourcewinter.3.7 </WRAP> | ||
+ | |||
+ | ===== Essential parameters ===== | ||
|**Parameter ** |**Description ** |**Content ** |**Example ** | | |**Parameter ** |**Description ** |**Content ** |**Example ** | | ||
|obj |object type |bridge || | |obj |object type |bridge || | ||
- | |waytype |way type |internal_name |maglev_track | | + | |[[en:tutowaytype|waytype]] |way type |internal_name |maglev_track | |
|name |name |text |AMT_bridge | | |name |name |text |AMT_bridge | | ||
|cost |price (%%*%%100c) |number |15000 | | |cost |price (%%*%%100c) |number |15000 | | ||
Ligne 104: | Ligne 112: | ||
|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]] | ||
- | |||
- | |||
- | ===== Example files ===== | ||
- | |||
- | |||
- | <WRAP download>You'll find here the MLM bridge source files. | ||
- | |||
- | |||
- | {{:fr:ponts.rar|Ponts.rar}}</WRAP> | ||
- | |||
- | |||
- | <WRAP box>[[:en:tutomakeobj3#objects|Come back to objects]] </WRAP> | ||
- | |||
- | |||
- | \\ | ||