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 Announcements.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: | ||
{{Quality|Tattered}} | {{Quality|Tattered}} | ||
{{av}} | {{av}} | ||
− | {{ | + | {{File|DF/data/init/announcements.txt}} |
+ | {{File|DF/data/prefs/announcements.txt}} | ||
== Purpose == | == Purpose == | ||
− | Both the [[Announcement]]s section | + | Both the [[Announcement]]s section within [[Settings]] and the '''announcements.txt''' file can be used to control the types of [[announcement]]s displayed in Dwarf Fortress and how they are displayed in various modes. This can be useful to add alerts for critical combat events, stopping the recentering on birth events, or reducing the constant chatter of announcements like 'quota filled' or 'someone is visiting'.<br> |
− | + | The '''announcements.txt''' file reflects the settings now found in the Announcements tab. The table below has been updated with the [[Settings]] Announcement 'Name' which corresponds to its '''announcements.txt''' EVENT_LABEL (slightly less obvious than you may assume in some cases). | |
− | The ''announcements.txt'' file reflects the in | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | In later versions ( | + | === Community Awareness === |
− | ''' | + | Dwarf Fortress supports editing DF/data/'''init'''/file to adjust the '''Default''' [[Announcement]]s settings.<br> |
− | The '''announcements.txt''' file exists in both locations, be sure to modify the DF/'''prefs'''/ version to experience the change to the '''current''' settings if you're changing a formerly played install or current game.<br> | + | Editing the same file in DF/data/'''prefs'''/ will make changes to the '''Current''' settings. This is the standard Dwarf Fortress file system organization.<br> |
− | This means that to confirm which ''announcement.txt'' EVENT_LABEL corresponds to an [[Announcement]] 'name' that you can, | + | In later versions (v50.11) an in game [[Settings]] section, [[Announcement]]s, was added which makes this process easier. Though the purpose of each announcement and the options for each still a bit obtuse. This page offers ''some'' help.<br> |
− | # Open ''announcement.txt'' and identify the EVENT_LABEL you believe to be the right one | + | The '''announcements.txt''' file still exists in both locations, be sure to modify the DF/data/'''prefs'''/ version to experience the change to the '''current''' settings if you're changing a formerly played install or current game.<br> |
+ | This means that to confirm which '''announcement.txt''' EVENT_LABEL corresponds to an [[Announcement]] 'name' that you can, | ||
+ | # Open '''announcement.txt''' and identify the EVENT_LABEL you believe to be the right one | ||
# Note it's '':options'' | # Note it's '':options'' | ||
# Open [[Settings]] while in a game, and make a change to the Announcement 'name' you believe corresponds | # Open [[Settings]] while in a game, and make a change to the Announcement 'name' you believe corresponds | ||
− | # Clicking 'Done' and 'Return to game' will update DF/'''prefs'''/announcements.txt without exiting the game | + | # Clicking 'Done' and 'Return to game' will update DF/data/'''prefs'''/announcements.txt without exiting the game |
− | # Reload ''announcement.txt'' and confirm the expected change to the '':options'' of the | + | # Reload '''announcement.txt''' and confirm the expected change to the '':options'' of the EVENT_LABEL previously identified |
== Syntax == | == Syntax == | ||
− | [ | + | ['''EVENT_LABEL''''':option:option''...] |
=== Available options === | === Available options === | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 59: | Line 54: | ||
| {{text anchor|D_D}} or {{text anchor|D_DISPLAY}} | | {{text anchor|D_D}} or {{text anchor|D_DISPLAY}} | ||
| Causes the announcement to appear under one of the categories at the left side of the screen in [[fortress mode]]. | | Causes the announcement to appear under one of the categories at the left side of the screen in [[fortress mode]]. | ||
− | | The default for [[Announcement#Minor announcements|minor announcements]] including profession changes, [[weather]], job cancellations, and striking new minerals while [[mining]] | + | | The default for [[Announcement#Minor announcements|minor announcements]] including profession changes, [[weather]], job cancellations, and striking new minerals while [[mining]]. |
|- | |- | ||
| {{text anchor|Report}} | | {{text anchor|Report}} | ||
| {{text anchor|UCR}} or {{text anchor|UNIT_COMBAT_REPORT}} | | {{text anchor|UCR}} or {{text anchor|UNIT_COMBAT_REPORT}} | ||
| Causes the announcement to appear in all [[reports]]. A new report will be created if none are active. | | Causes the announcement to appear in all [[reports]]. A new report will be created if none are active. | ||
− | | Commonly used for | + | | Commonly used for adventure mode combat moves. |
|- | |- | ||
| {{text anchor|Report (Active)}} | | {{text anchor|Report (Active)}} | ||
| {{text anchor|UCR_A}} or {{text anchor|UNIT_COMBAT_REPORT_ALL_ACTIVE}} | | {{text anchor|UCR_A}} or {{text anchor|UNIT_COMBAT_REPORT_ALL_ACTIVE}} | ||
| Nearly identical to [[#UCR|UNIT_COMBAT_REPORT]], but does not create a new report if none are active. | | Nearly identical to [[#UCR|UNIT_COMBAT_REPORT]], but does not create a new report if none are active. | ||
− | | | + | | |
|- | |- | ||
| {{text anchor|Alert}} | | {{text anchor|Alert}} | ||
Line 77: | Line 72: | ||
|} | |} | ||
− | == | + | == List of announcements == |
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |- | ||
Line 247: | Line 242: | ||
| | | | ||
|- | |- | ||
− | | {{text anchor| | + | | {{text anchor|Adjust grip}} |
| {{text anchor|COMBAT_WRESTLE_ADJUST_GRIP}} | | {{text anchor|COMBAT_WRESTLE_ADJUST_GRIP}} | ||
| | | | ||
|- | |- | ||
− | | {{text anchor| | + | | {{text anchor|Part ripped away}} |
| {{text anchor|COMBAT_GRAB_TEAR}} | | {{text anchor|COMBAT_GRAB_TEAR}} | ||
| | | | ||
|- | |- | ||
− | | {{text anchor| | + | | {{text anchor|Strike}} |
| {{text anchor|COMBAT_STRIKE_DETAILS}} | | {{text anchor|COMBAT_STRIKE_DETAILS}} | ||
| | | | ||
|- | |- | ||
− | | {{text anchor| | + | | {{text anchor|Wounds}} |
| {{text anchor|COMBAT_STRIKE_DETAILS_2}} | | {{text anchor|COMBAT_STRIKE_DETAILS_2}} | ||
| | | | ||
|- | |- | ||
− | | {{text anchor| | + | | {{text anchor|Enraged}} |
| {{text anchor|COMBAT_EVENT_ENRAGED}} | | {{text anchor|COMBAT_EVENT_ENRAGED}} | ||
| {{DFtext|The Wolf has become enraged!|4:1}} | | {{DFtext|The Wolf has become enraged!|4:1}} | ||
|- | |- | ||
− | | {{text anchor| | + | | {{text anchor|Attack stuck in}} |
| {{text anchor|COMBAT_EVENT_STUCKIN}} | | {{text anchor|COMBAT_EVENT_STUCKIN}} | ||
| {{DFtext|The *bronze spear* has lodged firmly in the wound!|5:1}} | | {{DFtext|The *bronze spear* has lodged firmly in the wound!|5:1}} | ||
|- | |- | ||
− | | {{text anchor| | + | | {{text anchor|Natural attack latched}} |
| {{text anchor|COMBAT_EVENT_LATCH_BP}} | | {{text anchor|COMBAT_EVENT_LATCH_BP}} | ||
| | | | ||
|- | |- | ||
− | | {{text anchor| | + | | {{text anchor|Attack latched}} |
| {{text anchor|COMBAT_EVENT_LATCH_GENERAL}} | | {{text anchor|COMBAT_EVENT_LATCH_GENERAL}} | ||
| {{DFtext|The Wolf latches on firmly!|5:1}} | | {{DFtext|The Wolf latches on firmly!|5:1}} | ||
|- | |- | ||
− | | {{text anchor| | + | | {{text anchor|Propelling blow}} |
| {{text anchor|COMBAT_EVENT_PROPELLED_AWAY}} | | {{text anchor|COMBAT_EVENT_PROPELLED_AWAY}} | ||
| {{DFtext|The Wolf is propelled away by the force of the blow!|6:1}} | | {{DFtext|The Wolf is propelled away by the force of the blow!|6:1}} | ||
|- | |- | ||
− | | {{text anchor| | + | | {{text anchor|Knocked out}} |
| {{text anchor|COMBAT_EVENT_KNOCKED_OUT}} | | {{text anchor|COMBAT_EVENT_KNOCKED_OUT}} | ||
| {{DFtext|The Wolf has been knocked unconscious!|7:1}} | | {{DFtext|The Wolf has been knocked unconscious!|7:1}} | ||
|- | |- | ||
− | | {{text anchor| | + | | {{text anchor|Stunned}} |
| {{text anchor|COMBAT_EVENT_STUNNED}} | | {{text anchor|COMBAT_EVENT_STUNNED}} | ||
| {{DFtext|The Wolf has been stunned!|3:1}} | | {{DFtext|The Wolf has been stunned!|3:1}} | ||
|- | |- | ||
− | | {{text anchor| | + | | {{text anchor|Winded}} |
| {{text anchor|COMBAT_EVENT_WINDED}} | | {{text anchor|COMBAT_EVENT_WINDED}} | ||
| {{DFtext|The Wolf is having trouble breathing!|7:0}} | | {{DFtext|The Wolf is having trouble breathing!|7:0}} | ||
|- | |- | ||
− | | {{text anchor| | + | | {{text anchor|Nauseated}} |
| {{text anchor|COMBAT_EVENT_NAUSEATED}} | | {{text anchor|COMBAT_EVENT_NAUSEATED}} | ||
| {{DFtext|The Wolf looks sick!|2:1}} | | {{DFtext|The Wolf looks sick!|2:1}} | ||
Line 1,751: | Line 1,746: | ||
| | | | ||
|} | |} | ||
− | |||
− | |||
− | |||
− | |||
{{gamedata}} | {{gamedata}} | ||
{{files}} | {{files}} | ||
[[ru:Announcements.txt]] | [[ru:Announcements.txt]] |