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:tutomakeobj3 [2014/11/29 21:40] – gauthier | en:tutomakeobj3 [2024/06/15 02:27] (Version actuelle) – modification externe 127.0.0.1 | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | <WRAP important> | ||
- | |||
====== III.Source files ====== | ====== III.Source files ====== | ||
- | < | + | < |
- | + | ||
- | * Simutrans | + | |
- | * Makeobj : 50 | + | |
- | + | ||
- | </ | + | |
===== 1.How does it work ? ===== | ===== 1.How does it work ? ===== | ||
Ligne 72: | Ligne 65: | ||
<WRAP important> | <WRAP important> | ||
- | ===== 3.Using your notepad ===== | + | ===== 3.Angle of slopes ===== |
+ | |||
+ | Since Simutrans 120, slopes can be of two different heights. Some paksets use full and half slopes, some other paksets use full and double slopes. | ||
+ | |||
+ | Pak128 use half slopes. In this pakset, most ways cannot be built on hard slopes, such as tracks and highways. | ||
+ | |||
+ | <WRAP info>In pak128, soft slopes are 16 pixels high and hard slopes are 32 pixels high.</ | ||
+ | |||
+ | ===== 4.Icons (buttons) ===== | ||
+ | |||
+ | Objects which need icons have something like that on their graphical pattern: | ||
+ | |||
+ | {{ fr: | ||
+ | |||
+ | Images of icons must contain only the 16 by 16 pixels square at top left of this image, everything else must be removed, otherwise there would be display errors in game. | ||
+ | |||
+ | The elements around the icon itself are specific to pak128, they are used in its icons. | ||
+ | |||
+ | ===== 5.Cursors ===== | ||
+ | |||
+ | On graphical patterns of objects needing a cursor, the tile used to place the cursor is higher than the bottom of the square which it is placed in. This is intended to compensate an offset downward applied by the game. | ||
+ | |||
+ | ===== 6.Examples of source files ===== | ||
+ | |||
+ | You will find example of source files for all kinds of objects in each pakset' | ||
+ | |||
+ | [[http:// | ||
+ | |||
+ | ===== 7.Using your notepad ===== | ||
==== 1.Windows ==== | ==== 1.Windows ==== | ||
Ligne 96: | Ligne 117: | ||
<WRAP tip>Be careful, if you work on linux and windows, the wrap symbols aren't the same on the two OS. A file created on the one can be strangely displayed on the other one. You'd rather work on only one OS if you don't know the conversion commands.</ | <WRAP tip>Be careful, if you work on linux and windows, the wrap symbols aren't the same on the two OS. A file created on the one can be strangely displayed on the other one. You'd rather work on only one OS if you don't know the conversion commands.</ | ||
- | ===== 4.Objects ===== | + | ===== 8.Objects ===== |
[[en: | [[en: | ||
Ligne 132: | Ligne 153: | ||
[[en: | [[en: | ||
- | ===== 5.Annex pages ===== | + | ===== 9.Related |
graphics of buildings : [[en: | graphics of buildings : [[en: |