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 token
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 132: | Line 132: | ||
* condition | * condition | ||
| Creature<br>Graphics | | Creature<br>Graphics | ||
− | | Begins defining a layer set for a creature's graphics. Valid values of ''condition'' are DEFAULT, PORTRAIT{{version| | + | | Begins defining a layer set for a creature's graphics. Valid values of ''condition'' are DEFAULT, PORTRAIT{{version|51.01}}, or any valid values |
|- | |- | ||
− | | {{text_anchor|LS_PALETTE}}{{version| | + | | {{text_anchor|LS_PALETTE}}{{version|51.01}} || |
* name | * name | ||
|| Layer<br>Set | || Layer<br>Set | ||
− | || Begins defining a palette for the layer set. Its name can be referenced by {{token|USE_PALETTE|g}}. Unlike the palettes used to render all [[descriptor color | + | || Begins defining a palette for the layer set. Its name can be referenced by {{token|USE_PALETTE|g}}. Unlike the palettes used to render all [[descriptor color tokens]], it can be of any length. |
|- | |- | ||
− | | {{text_anchor|LS_PALETTE_FILE}}{{version| | + | | {{text_anchor|LS_PALETTE_FILE}}{{version|51.01}} || |
* file name | * file name | ||
− | + | | The file name of the 8bit RGBA (sometimes called 32bit) in the <tt>\graphics\images</tt> folder of the mod, such as <tt>images/portraits/dwarf_portrait_body_palette.png</tt>. | |
− | | The file name of the 8bit RGBA (sometimes called 32bit) in the <tt> | ||
|- | |- | ||
− | | {{text_anchor|LS_PALETTE_DEFAULT}}{{version| | + | | {{text_anchor|LS_PALETTE_DEFAULT}}{{version|51.01}} || |
* integer | * integer | ||
| Palette | | Palette | ||
Line 153: | Line 152: | ||
|- | |- | ||
− | | {{text_anchor|LG_CONDITION_BP}}{{version| | + | | {{text_anchor|LG_CONDITION_BP}}{{version|51.01}} || |
* selection criteria BY_TYPE, BY_CATEGORY, BY_TOKEN | * selection criteria BY_TYPE, BY_CATEGORY, BY_TOKEN | ||
* category, type, or token | * category, type, or token | ||
Line 228: | Line 227: | ||
|- | |- | ||
| {{text_anchor|CONDITION_RANDOM_PART_INDEX}} || | | {{text_anchor|CONDITION_RANDOM_PART_INDEX}} || | ||
− | * | + | * body part |
* integer index | * integer index | ||
* integer range | * integer range | ||
|| General | || General | ||
− | || Chooses a random layer | + | || Chooses a random layer within the same group of body parts. Index is which option this condition is, out of Range number of options. Ex: |
<code>[CONDITION_RANDOM_PART_INDEX:HEAD:3:4]</code> | <code>[CONDITION_RANDOM_PART_INDEX:HEAD:3:4]</code> | ||
− | + | Is the third possible random head out of four total options. One of these random conditions each will be put into a set of four slightly different heads to add some random variation in the appearance of the creature's head. | |
|- | |- | ||
Line 322: | Line 321: | ||
|- | |- | ||
− | | {{text_anchor|ITEM_QUALITY}}{{version| | + | | {{text_anchor|ITEM_QUALITY}}{{version|51.01}} || |
* integer | * integer | ||
| Armor<br>Wieldables{{verify}} | | Armor<br>Wieldables{{verify}} | ||
Line 328: | Line 327: | ||
|- | |- | ||
− | + | | {{text_anchor|USE_STANDARD_PALETTE_FROM_ITEM}}{{version|51.01}} || || Armor<br>Wieldables{{verify}} | |
− | + | || Uses the default palette to render the layer based on the current {{token|CONDITION_ITEM_WORN|g}}'s [[color]]. | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | | {{text_anchor|USE_STANDARD_PALETTE_FROM_ITEM}}{{version| | ||
− | || Uses the default palette to render the layer based on | ||
|- | |- | ||
− | | {{text_anchor|CONDITION_BP}}{{version| | + | | {{text_anchor|CONDITION_BP}}{{version|51.01}} || |
* selection criteria BY_TYPE, BY_CATEGORY, BY_TOKEN | * selection criteria BY_TYPE, BY_CATEGORY, BY_TOKEN | ||
* category, type, or token | * category, type, or token | ||
Line 346: | Line 338: | ||
|- | |- | ||
− | | {{text_anchor|BP_APPEARANCE_MODIFIER_RANGE}}{{version| | + | | {{text_anchor|BP_APPEARANCE_MODIFIER_RANGE}}{{version|51.01}} || |
* QUALITY | * QUALITY | ||
* minimum | * minimum | ||
Line 354: | Line 346: | ||
|- | |- | ||
− | | {{text_anchor|BP_PRESENT}}{{version| | + | | {{text_anchor|BP_PRESENT}}{{version|51.01}} || || Body |
|| Checks if the current {{token|CONDITION_BP|g}} is present and not destroyed, pulped, or severed. Can also be applied to {{token|LG_CONDITION_BP|g}}. | || Checks if the current {{token|CONDITION_BP|g}} is present and not destroyed, pulped, or severed. Can also be applied to {{token|LG_CONDITION_BP|g}}. | ||
|- | |- | ||
− | | {{text_anchor|BP_SCARRED}}{{version| | + | | {{text_anchor|BP_SCARRED}}{{version|51.01}} || || Body |
|| Checks if the current {{token|CONDITION_BP|g}} is scarred. Seems to also require {{token|BP_PRESENT|g}} to avoid illogical results. {{verify}} | || Checks if the current {{token|CONDITION_BP|g}} is scarred. Seems to also require {{token|BP_PRESENT|g}} to avoid illogical results. {{verify}} | ||
+ | |- | ||
+ | | {{text_anchor|USE_PALETTE}}{{version|51.01}} || | ||
+ | * layer set palette | ||
+ | * row | ||
+ | | General | ||
+ | || Colors the layer using that row of the layer-set-specific {{token|LS_PALETTE|g}}. | ||
+ | |||
+ | |- | ||
|} | |} | ||