v50 Steam/Premium information for editors
- v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
- Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.
Editing Graphics
Jump to navigation
Jump to search
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
If you are creating a redirect to the current version's page, do not use any namespace. For example: use #REDIRECT [[Cat]], not #REDIRECT [[Main:Cat]] or #REDIRECT [[cv:Cat]]. See DF:Versions for more information.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
{{Quality|Unrated}}{{av}} | {{Quality|Unrated}}{{av}} | ||
− | [[File:graphics_v50_preview.png| | + | [[File:graphics_v50_preview.png|211px|right]] |
:{{for/see|a list of all Premium graphics tokens and basic usage|[[Graphics token]]}} | :{{for/see|a list of all Premium graphics tokens and basic usage|[[Graphics token]]}} | ||
:{{for/see|a repository of all Classic tilesets used in DF|[[Tileset repository]]}} | :{{for/see|a repository of all Classic tilesets used in DF|[[Tileset repository]]}} | ||
Line 91: | Line 91: | ||
=== Caste Graphics === | === Caste Graphics === | ||
− | Creature caste graphics allow a simple alternative to [[#Layered Graphics|Layered Graphics]] to represent males and females | + | Creature caste graphics allow a simple alternative to [[#Layered Graphics|Layered Graphics]] to represent males and females of a creature with different images. |
[CREATURE_CASTE_GRAPHICS:<creature id>:<caste id>] | [CREATURE_CASTE_GRAPHICS:<creature id>:<caste id>] | ||
[<condition>:<tile page identifier>:<x position>:<y position>:<color type>:<secondary condition>] | [<condition>:<tile page identifier>:<x position>:<y position>:<color type>:<secondary condition>] | ||
Line 97: | Line 97: | ||
* ''caste id'': The [[Caste|Caste ID]] of the caste whose graphics are being defined. | * ''caste id'': The [[Caste|Caste ID]] of the caste whose graphics are being defined. | ||
* All other parameters are identical to [[#Basic Graphics|basic graphics]]. | * All other parameters are identical to [[#Basic Graphics|basic graphics]]. | ||
+ | |||
+ | Creature caste graphics only accept <code>MALE</code> and <code>FEMALE</code> as caste id's even in creatures that have more than two castes. | ||
+ | |||
=== Large Graphics === | === Large Graphics === | ||
Line 130: | Line 133: | ||
* ''creature id'': The [[Creature token|Creature ID]] of the creature the graphics represent. | * ''creature id'': The [[Creature token|Creature ID]] of the creature the graphics represent. | ||
− | * ''[[Graphics_token# | + | * ''[[Graphics_token#Basic_Conditions|condition]]'': The condition the creature needs to be in for this set of layers to be displayed. |
Once you start defining a Layer Set, you can begin adding individual layers from the bottom up to create your final image. For example, if you want to draw a helmet being worn on a head, you would define the head layer first, then define the helmet layer. Layers are defined according to this format: | Once you start defining a Layer Set, you can begin adding individual layers from the bottom up to create your final image. For example, if you want to draw a helmet being worn on a head, you would define the head layer first, then define the helmet layer. Layers are defined according to this format: | ||
Line 137: | Line 140: | ||
[<layer condition(s)>] | [<layer condition(s)>] | ||
− | * ''layer name'': The internal name of the layer | + | * ''layer name'': The internal name of the layer. No known function at this time, but using a descriptive label is recommended. |
* ''[[#Tile Page|tile page identifier]]'': The Internal ID of the image defined in the Tile Page. | * ''[[#Tile Page|tile page identifier]]'': The Internal ID of the image defined in the Tile Page. | ||
* ''x position'': The x position of the graphic to be displayed in tiles counting from 0 (left→right). | * ''x position'': The x position of the graphic to be displayed in tiles counting from 0 (left→right). | ||
Line 145: | Line 148: | ||
* ''[[Graphics_token#Layered_Conditions|layer condition(s)]]'': One or more conditional tokens that define under what conditions the layer is displayed and how it interacts with other layers. | * ''[[Graphics_token#Layered_Conditions|layer condition(s)]]'': One or more conditional tokens that define under what conditions the layer is displayed and how it interacts with other layers. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
=== Forgotten Beast Graphics === | === Forgotten Beast Graphics === | ||
Line 176: | Line 167: | ||
== Item Graphics == | == Item Graphics == | ||
Item graphics can also be defined, but are mostly hardcoded. This section of the wiki needs to be fleshed out. | Item graphics can also be defined, but are mostly hardcoded. This section of the wiki needs to be fleshed out. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Line 214: | Line 182: | ||
These values can be validated by checking the RAW vanilla file <code>[DF Installion]\data\vanilla\vanilla_world_map\graphics\graphics_world_map.txt</code> | These values can be validated by checking the RAW vanilla file <code>[DF Installion]\data\vanilla\vanilla_world_map\graphics\graphics_world_map.txt</code> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
= Classic Graphics = | = Classic Graphics = |