Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:creer_icone_objet [2016/12/28 20:10] – Domperss | en:creer_icone_objet [2021/12/03 19:19] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 2: | Line 2: | ||
In the game inventory, one can see it's equipment thanks to icons which pile up in the inventory: | In the game inventory, one can see it's equipment thanks to icons which pile up in the inventory: | ||
{{ fr: | {{ fr: | ||
- | These icons are created using a system that assembles several items (quantity, quality, background color, etc.). | + | These icons are created using a system that assembles several items(quantity, |
{{ fr: | {{ fr: | ||
===== Creating an object item===== | ===== Creating an object item===== | ||
Line 22: | Line 22: | ||
These two files will be given in the .bnp of the client. | These two files will be given in the .bnp of the client. | ||
- | Hence you have to gather all the icons you'll need into sub-folder of an interface folder, and recreate the global image for the interface each time you create a new icon. | + | Hence, you have to gather all the icons you'll need into a sub-folder of an interface folder, and recreate the global image for the interface each time you create a new icon. |
\\ Then, in the Datasheet, call the .png file name of the object icon you want. In the below example, it will hence be “AR_pantabotte.png”. | \\ Then, in the Datasheet, call the .png file name of the object icon you want. In the below example, it will hence be “AR_pantabotte.png”. | ||
====== Tools: perl script to extract the icons====== | ====== Tools: perl script to extract the icons====== | ||
- | Knowing that we don't have the sources for all the icones of the texture images, here is a perl script which recreates | + | Knowing that we don't have the sources for all the icones of the texture images, here is a perl script which automatically |
<code perl> | <code perl> | ||
Line 75: | Line 75: | ||
</ | </ | ||
- | Use: launch the command in the folder where you want to recreate the icons. For example, on my computer, the " | + | Use: launch the command in the folder where you want to recreate the icons. For example, on my computer, the " |
$ mkdir mes_icones | $ mkdir mes_icones |