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 176: Line 176:
 
== 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.
 
== Workshop Graphics ==
 
Workshop graphics are displayed during each stage of construction and when it is completed. There are two layers, the base layer and an OVERLAY layer. The base layer shows the floor, tables, chairs and other basic features. The overlay shows various decorations that give the workshop its unique appearance.
 
 
base layer:
 
    [TILE_GRAPHICS:<tile page identifier>:<graphic tile x position>:<graphic tile y position>:WORKSHOP_CUSTOM:<workshop id>:<building stage>:<workshop tile x position>:<workshop tile y position>]
 
overlay layer:
 
    [TILE_GRAPHICS:<tile page identifier>:<graphic tile x position>:<graphic tile y position>:WORKSHOP_CUSTOM_OVERLAY:<workshop id>:<building stage>:<workshop tile x position>:<workshop tile y position>]
 
 
* ''[[#Tile Page|tile page identifier]]'': The Internal ID of the image defined in the Tile Page.
 
* ''graphic tile x position'': The x position of the graphic in tiles counting from 0 (left→right).
 
* ''graphic tile y position'': The y position of the graphic in tiles counting from 0 (top→bottom).
 
* ''WORKSHOP_CUSTOM'' and ''WORKSHOP_CUSTOM_OVERLAY'': These tokens define the graphics as belonging to a custom workshop. These tokens do not exist in vanilla workshops except for the Soap maker and Screw press, which are used as examples for custom workshops.
 
* ''workshop id'': The ID of the workshop defined in its raws.
 
* ''building stage'': What building stage this graphic is displayed during.
 
* ''workshop tile x position'': The x position of the workshop tile where the graphic is displayed counting from 0 (left→right).
 
* ''workshop tile y position'': The y position of the workshop tile where the graphic is displayed counting from 0(top→bottom).
 
 
Note that an extra Y row is defined above the workshop. This allows for graphics that extend into the tile above the workshop.
 
 
Also note that currently custom furnaces do not properly work with premium graphics. The WORKSHOP_CUSTOM and WORKSHOP_CUSTOM_OVERLAY tokens ONLY work with custom workshops. If used with a custom furnace they give an error and the graphics will not appear in game. Custom furnaces can still be made to use graphics if they are defined as workshops in their raws.
 
 
These values can be validated by checking the RAW vanilla file <code>[DF Installion]\data\vanilla\vanilla_buildings_graphics\graphics\graphics_workshops.txt</code>
 
  
  

Please note that all contributions to Dwarf Fortress Wiki are considered to be released under the GFDL & MIT (see Dwarf Fortress Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)

This page is a member of 3 hidden categories: