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 Interface.txt
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: | ||
− | {{ | + | {{Migrated_article}} |
− | {{Quality| | + | {{Quality|Superior|20:29, 30 April 2013 (UTC)}} |
{{av}} | {{av}} | ||
− | {{file|DF/data/init/ | + | {{file|DF/data/init/colors.txt}} |
− | |||
− | + | == Vanilla interface.txt == | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
{{gamedata}} | {{gamedata}} | ||
− | + | == Key syntax == | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | === | + | ===<code>SYM</code>=== |
− | <code>SYM</code> is used for keys listed as {{DFtext|By position}} in the | + | <code>SYM</code> is used for keys listed as {{DFtext|By position}} in the keybinding menu. |
Syntax: | Syntax: | ||
Line 148: | Line 34: | ||
For example, <code>[SYM:0:A]</code> represents {{k|a}}, <code>[SYM:1:Enter]</code> represents {{k|Shift}}-{{k|Enter}}, and <code>[SYM:6:Left]</code> represents {{k|Ctrl}}-{{k|Alt}}-{{k|←}}. | For example, <code>[SYM:0:A]</code> represents {{k|a}}, <code>[SYM:1:Enter]</code> represents {{k|Shift}}-{{k|Enter}}, and <code>[SYM:6:Left]</code> represents {{k|Ctrl}}-{{k|Alt}}-{{k|←}}. | ||
− | The key can be any letter or number, or can be listed by name. This is useful when typing the actual symbol would cause a syntax error (for example, <code>[ | + | The key can be any letter or number, or can be listed by name. This is useful when typing the actual symbol would cause a syntax error (for example, <code>[KEY:0:]]</code> and <code>[KEY:0::]</code> cause errors instead of representing {{k|]}} and {{k|:}}), or when the symbol isn't type-able (it's hard to insert a backspace character in a basic text editor without deleting something). |
− | === | + | ===<code>KEY</code>=== |
− | <code>KEY</code> is a simpler version of <code>SYM</code>, only allowing plain keys (no modifiers). These are listed as {{DFtext|By letter}} in the | + | <code>KEY</code> is a simpler version of <code>SYM</code>, only allowing plain keys (no modifiers). These are listed as {{DFtext|By letter}} in the keybinding menu. |
Syntax: <pre>[KEY:Key]</pre> | Syntax: <pre>[KEY:Key]</pre> | ||
Line 158: | Line 44: | ||
For example, <code>[KEY:a]</code> represents the {{k|a}} key. | For example, <code>[KEY:a]</code> represents the {{k|a}} key. | ||
− | + | ===Differences between <code>KEY</code> and <code>SYM</code>=== | |
− | |||
− | |||
<code>KEY</code> '''does''' allow special characters '''if''' they are able to be typed. For example, <code>[KEY:%]</code> is equivalent to <code>[SYM:1:5]</code>. Note that <code>SYM</code> requires the key on the keyboard, while <code>KEY</code> requires the letter generated. | <code>KEY</code> '''does''' allow special characters '''if''' they are able to be typed. For example, <code>[KEY:%]</code> is equivalent to <code>[SYM:1:5]</code>. Note that <code>SYM</code> requires the key on the keyboard, while <code>KEY</code> requires the letter generated. | ||
===Mac-specific=== | ===Mac-specific=== | ||
− | + | ||
− | + | Some keys unavailable on the keyboard (such as {{k|PgDown}}) can be generated with the {{k|fn}} key. Dwarf fortress sees these as ''independent keys''; the {{k|fn}} key is essentially invisible to DF. There is no modifier code for {{k|fn}}. | |
− | + | ||
+ | Characters like {{k|å}} aren't recognized when typed as {{k|alt}}-{{k|a}}. This is probably an issue in SDL. | ||
+ | |||
+ | The {{k|Command}} key is unrecognized in DF and doesn't have a modifier. Pressing {{k|Command}}-{{k|h}} displays the [[hauling]] menu, even though this keystroke should hide DF and is listed in the menu at the top of the screen. | ||
{{files}} | {{files}} | ||
{{Category|Mods}} | {{Category|Mods}} | ||
{{Category|Interface}} | {{Category|Interface}} |