Logo Khaganat

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:creer_icone_objet [2016/12/28 20:10] Domperssen: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:ajout_icone_01.jpg?direct&300 |}} {{ fr:ajout_icone_01.jpg?direct&300 |}}
-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, quality, background color, etc.).
 {{ fr:ajout_icone_06.jpg?direct&300 |}} {{ fr:ajout_icone_06.jpg?direct&300 |}}
 ===== 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.+Henceyou 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.
 \\ 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 automatically these icon images from the texture file:+Knowing that we don't have the sources for all the icones of the texture images, here is a perl script which automatically recreates these "icon imagesfrom the texture file:
  
 <code perl> <code perl>
Line 75: Line 75:
 </code> </code>
  
-Use: launch the command in the folder where you want to recreate the icons. For example, on my computer, the "texture_interfaces_v3.tga" texture file and the file that gives the icons list ("texture_interfaces_v3.txt") are in the "~/lirria/user/interfacefolder. The tga texture has a height and a width of 1024x1024 pixels.+Use: launch the command in the folder where you want to recreate the icons. For example, on my computer, the "texture_interfaces_v3.tga" texture file and the file that gives the icons list ("texture_interfaces_v3.txt") are in the ''~/lirria/user/interface'' folder. The tga texture has a height and a width of 1024x1024 pixels.
  
   $ mkdir  mes_icones   $ mkdir  mes_icones
CC Attribution-Share Alike 4.0 International Driven by DokuWiki
en/creer_icone_objet.1482952246.txt.gz · Last modified: 2021/12/03 19:18 (external edit)

Licences Mentions légales Accueil du site Contact