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.

Difference between revisions of "v0.34:Legends"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(Importing content from v0.31 (302/614))
 
 
(14 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{{quality|Exceptional|02:33, 18 April 2011 (UTC)}}{{av}}
+
{{Quality|Exceptional|06:48, 6 October 2013 (UTC)}}
 +
{{av}}
  
 
'''Legends''' mode is one of the three main methods of interacting with an already generated [[World generation|world]]. You cannot start Legends mode (or [[Dwarf fortress mode|Fortress]] or [[Adventurer mode|Adventurer]] mode) until you create a new world.  
 
'''Legends''' mode is one of the three main methods of interacting with an already generated [[World generation|world]]. You cannot start Legends mode (or [[Dwarf fortress mode|Fortress]] or [[Adventurer mode|Adventurer]] mode) until you create a new world.  
  
Legends mode allows you to inspect the history of a world. Many players choose to design a world where the option '''Reveal all history''' is set to YES. However, if you set the option to NO, then the the vast majority of the world's history will be hidden from Legends mode, and only uncovered by brave adventurers. In fact, there are many ways for an adventurer to uncover the past. Talk to people in civilized sites and they will tell you of their families, surroundings and local histories. Past events can also be found by viewing [[coins]] or items with images, or by visiting abandoned [[fortress]]es and viewing the [[engraving|engraved]] tiles within.
+
Legends mode allows you to inspect the history of a world. Many players choose to design a world where the option '''Reveal all history''' is set to YES. However, if you set the option to NO, then the vast majority of the world's history will be hidden from Legends mode, and only uncovered by brave adventurers. In fact, there are many ways for an adventurer to uncover the past. Talk to people in civilized sites and they will tell you of their families, surroundings and local histories. Past events can also be found by viewing [[coins]] or items with images, or by visiting abandoned [[fortress]]es and viewing the [[engraving|engraved]] tiles within.
  
 
You don't have to have an adventure or fortress game active in order to use legend mode. Some players simply enjoy Legends mode for the option of looking at the interactive historical map, or to read about the last time their favorite kingdom went to war, or for the ability to export lists of all the sites and governments active in the world.   
 
You don't have to have an adventure or fortress game active in order to use legend mode. Some players simply enjoy Legends mode for the option of looking at the interactive historical map, or to read about the last time their favorite kingdom went to war, or for the ability to export lists of all the sites and governments active in the world.   
  
== Number of Events Undiscovered ==
+
==Legends information==
 +
 
 +
=== Number of Events Undiscovered ===
 
A self-explanatory number indicating how many "legends" are still lost in the mists of time. If you chose to reveal all history during world generation, the number displayed should be 0. Otherwise, better get out there and adventure some more.
 
A self-explanatory number indicating how many "legends" are still lost in the mists of time. If you chose to reveal all history during world generation, the number displayed should be 0. Otherwise, better get out there and adventure some more.
  
== Historical Figures ==
+
=== Historical Figures ===
 
The number to the right indicates how many historical figures exist in this world's history. Historical figures include entries on [[megabeast]]s, [[forgotten beast]]s, [[demon]]s, gods, [[Dwarf|dwarves]], [[human]]s, [[goblin]]s, [[kobold]]s, and named [[creature]]s.
 
The number to the right indicates how many historical figures exist in this world's history. Historical figures include entries on [[megabeast]]s, [[forgotten beast]]s, [[demon]]s, gods, [[Dwarf|dwarves]], [[human]]s, [[goblin]]s, [[kobold]]s, and named [[creature]]s.
  
== Sites ==
+
=== Sites ===
The number to the right indicates how many sites have existed throughout this world's history. Sites include things like towns, towers, fortresses, forest retreats, and [[cave]]s.
+
The number to the right indicates how many [[site]]s have existed throughout this world's history. [[Site]]s include things like [[town]]s, [[tower]]s, [[fortress]]es, forest retreats, and [[cave]]s.
  
== Regions ==
+
=== Regions ===
 
A list of the various regions of the world, along with the various historical events that occurred within those regions.
 
A list of the various regions of the world, along with the various historical events that occurred within those regions.
  
== Civilizations and Entities ==
+
=== Civilizations and Entities ===
 
The number to the right indicates how many civilizations, local governments, and religions have existed throughout this world's history. The histories of these various groups can be viewed as well, detailing events like when a site was founded, when a person was kidnapped, or when a road was completed.
 
The number to the right indicates how many civilizations, local governments, and religions have existed throughout this world's history. The histories of these various groups can be viewed as well, detailing events like when a site was founded, when a person was kidnapped, or when a road was completed.
  
== Structures ==
+
=== Structures ===
Structures are buildings found throughout the world. Fortress, towers, shops, taverns and more can all be found in this list.
+
Structures are buildings found throughout the world. Fortress, towers, shops, taverns, temples and more can all be found in this list
 +
Temples are the central location of religions, and can be 'profaned' by historical figures, though it is not explained what this involves.
  
== Historical Map ==
+
=== Historical Map ===
 
The historical map is a relatively new and very cool feature of Legends mode. From here you can view the territorial disputes between different civilizations and entities, including those who were destroyed before your starting year. If you are new to Dwarf Fortress, reading the map may be a little difficult, but play around with these buttons and you might get a better grasp of what you are seeing. Press {{k|Enter}} while looking at the map to change between the political and geographical view of the world. The geographic map is colored (blue seas, gray mountains, green forests etc.) while the political map's background is tan (think parchment) with colored fields corresponding to the territories of different civilizations. Civilizations can lay claim to the same area, causing the colored territory markers to overlap. You can also see how territories changes over time by moving 10 or 100 years forward and back through time. Pressing {{k|c}} while looking at the political map will show local government territories instead of civilizations, but that's generally a pretty messy scene.
 
The historical map is a relatively new and very cool feature of Legends mode. From here you can view the territorial disputes between different civilizations and entities, including those who were destroyed before your starting year. If you are new to Dwarf Fortress, reading the map may be a little difficult, but play around with these buttons and you might get a better grasp of what you are seeing. Press {{k|Enter}} while looking at the map to change between the political and geographical view of the world. The geographic map is colored (blue seas, gray mountains, green forests etc.) while the political map's background is tan (think parchment) with colored fields corresponding to the territories of different civilizations. Civilizations can lay claim to the same area, causing the colored territory markers to overlap. You can also see how territories changes over time by moving 10 or 100 years forward and back through time. Pressing {{k|c}} while looking at the political map will show local government territories instead of civilizations, but that's generally a pretty messy scene.
  
== The Age of... ==
+
=== The Age of... ===
During world generation, the Ages are named for the greatest powers extant in the world. In v0.31, megabeasts are nearly immortal during world gen, so history rarely ever advances beyond the "Age of Myth", although with a small enough world, or a modded game you can get names like "The Age of the Titan and Hydra". In previous versions, Ages would commonly advance during world generation (e.g. Age of Legends, Age of Heroes, Age of Humans), this is now extremely rare. When you choose to look at the history of an Age, you will be given a list of all historical events in chronological order. Here you can read the battle reports from various wars, or the duels that took place between long dead champions, or the <s>burninations</s> rampages of megabeasts amongst the peasants.  See [[Calendar#Ages|here]] for a list of ages and their conditions.
+
During world generation, the [[Calendar#Ages|Ages]] are named for the greatest powers extant in the world. Ages commonly advance during world generation (e.g. Age of Legends, Age of Heroes, Age of Humans) due to the death of megabeasts, and they sometimes even regress due to the creation of [[night creature]]s and the birth of new [[megabeast]]s. When you choose to look at the history of an [[Calendar#Ages|Age]], you will be given a list of all historical events in chronological order. Here you can read the battle reports from various wars, or the duels that took place between long dead champions, or the <s>burninations</s> rampages of [[megabeast]]s amongst the [[peasant]]s.  See [[Calendar#Ages|here]] for a list of ages and their conditions.
 +
 
 +
==Exporting information from Legends Mode==
 +
 
 +
Legends mode has built-in tools to export lists of events, maps at various scales, and data such as locations of sites.  This is particularly useful as input data for the utilities described below; there are even tools to make this export process easier. 
  
== XML dump ==
+
=== XML dump ===
  
 
Once you've generated a world, you can dump much of the historical data into an XML file for external analysis. The XML dump currently doesn't include every detail of world history but it contains many of the important ones. Be warned that a large world with a thousand years of history can produce an XML dump up to a full gigabyte in size, which may prove unwieldy. Press {{k|x}} while in Legends mode to produce an XML dump (it will be placed in the root Dwarf Fortress directory and named the same as your game's save folder) See [[Main:XML dump|XML dump]] for information on the XML file's format.
 
Once you've generated a world, you can dump much of the historical data into an XML file for external analysis. The XML dump currently doesn't include every detail of world history but it contains many of the important ones. Be warned that a large world with a thousand years of history can produce an XML dump up to a full gigabyte in size, which may prove unwieldy. Press {{k|x}} while in Legends mode to produce an XML dump (it will be placed in the root Dwarf Fortress directory and named the same as your game's save folder) See [[Main:XML dump|XML dump]] for information on the XML file's format.
  
== Export Map/Gen Information.==
+
=== Export Map/Gen Information===
Another option is to export the map/gen information by pressing {{k|p}} in Legends mode. This produces three .txt files that are placed in the root directory of Dwarf Fortress, named after the save file you're viewing:
+
Another option is to export the map/gen information by pressing {{k|p}} in Legends mode. This produces three .txt files and one bitmap image that are placed in the root directory of Dwarf Fortress, named after the save file you're viewing:
 
# (save name)-world_gen_param.txt - contains the world generation settings.  
 
# (save name)-world_gen_param.txt - contains the world generation settings.  
 
# [[World History file|(save name)-world_history.txt]] - Includes some information about the deities, and rulers of the Human, Dwarven, Elven, and Goblin civilizations.  
 
# [[World History file|(save name)-world_history.txt]] - Includes some information about the deities, and rulers of the Human, Dwarven, Elven, and Goblin civilizations.  
 
# [[World Sites file|(save name)-world_sites_and_pops.txt]]  - Lists the sites' population, owner, parent civilization and warlord. This one will also list all the animal populations above and below ground including demons.
 
# [[World Sites file|(save name)-world_sites_and_pops.txt]]  - Lists the sites' population, owner, parent civilization and warlord. This one will also list all the animal populations above and below ground including demons.
 +
# world_map-(save name)-(year)--(some numbers).bmp  - This is the full world map as it is shown on the embark screen, and unlike the detailed maps below will depend on the tileset and colour scheme you have installed.
  
== Export Detailed Map ==
+
=== Export Detailed Maps ===
 
Pressing {{k|d}} in Legends mode reveals a list of the different kinds map you can export. The Images are exported to the root directory when you highlight the one you want and pressing {{k|Enter}}.
 
Pressing {{k|d}} in Legends mode reveals a list of the different kinds map you can export. The Images are exported to the root directory when you highlight the one you want and pressing {{k|Enter}}.
  
Line 68: Line 77:
 
Image:World_graphic-evil-region5-203-10075.PNG|Evil
 
Image:World_graphic-evil-region5-203-10075.PNG|Evil
 
Image:World_graphic-sal-region5-203-10075.PNG|Salinity
 
Image:World_graphic-sal-region5-203-10075.PNG|Salinity
Image:modified map.png|Modified
 
 
</gallery>
 
</gallery>
  
The last image is produced using the following steps.
+
==Legends Utilities==
 +
 
 +
There are many [[utilities]] that work with the data exported from Legends mode, or made exporting that info easier. 
 +
 
 +
===Export tools===
 +
 
 +
[http://dffd.wimbli.com/file.php?id=7696 The dfhack script 'exportmaps'] will export all detailed maps, saving a lot of time on large worlds compared to exporting them individually and waiting for each to finish.  [https://github.com/PeridexisErrant/dfhack/blob/PeridexisErrant/log-region-and-exportlegends/scripts/exportlegends.lua exportlegends] likewise exports all detailed maps, as well as their worldgen info and legends XML. 
 +
 
 +
[http://www.bay12forums.com/smf/index.php?topic=131307 Export processing script] can automate processing of Legends information, and is included in the Windows [[Utility:Lazy_Newb_Pack|Lazy Newb Pack]]. If GIMP is installed, the script will use Dwarf Map Maker (see below); optipng can be used to compress the images from bitmaps to .png files. This tool also removes non-printing ASCII characters from the XML dump that can crash Legends Viewer (usually caused by DFHack's workflow), and creates a compressed folder for each region suitable for Legends Viewer (or simply compresses the XML if some parts have not been exported).  
  
1. You need to export Elevations Including Lake and Ocean Floors (this is your height-map), Elevation Respecting Water Level (this is for figuring out ocean boundaries) and Current Vegetation.
+
===Legends viewing tools and visualisers===
  
2. Open your elevations map in photoshop or paintshop or whatever you use. That's your base layer. Colorize it brownish.
+
The most famous is [[Utilities#Legends_Viewer|Legends Viewer]], an alternative interface that recreates legends mode from exported data with many more features such as graphs, filtering, sorting, and hyperlinks. There are alternative tools with similar functionality, including World Viewer and an [https://github.com/crayZsaaron/df-legends-reader in-progress cross platform version] based on Python.  
  
3. Open your water levels elevation map and select the blue, invert and delete everything that isn't water. Place this "water" on a new layer above your brown elevation map. Play with the transparency until you have an effect of shallow coasts and deep oceans, 70-80% looks good. Adjust the color if you think the blue is too dark.
+
[http://www.bay12forums.com/smf/index.php?topic=73095.msg2261106#msg2261106 The Dwarf Map Maker] is available as a GIMP script (free software) or a photoshop actionscript.  Both use the detailed maps to produce a pretty fantasy map. The GIMP script is called as part of PeridexisErrant's legends processing script, if the dependencies are present. Another GIMP script based on the previous one is [http://dffd.wimbli.com/file.php?id=8472 Satellite Map Maker] which produces a similar map that looks closer to satellite map imagery.
  
4. Open your vegetation map and paste as a new layer above the water. Colorize it greenish, set the blend mode to "color" - this blends the color/saturation but doesn't mess with the lightness so you can see the elevation under your "foliage". Blend mode "Hue" has a similar effect, use whichever you prefer. Adjust transparency of this layer (~60%) or you won't have any brown show through.
 
  
5. Import the rainfall like above and add as a new layer above the rest. Blend mode Lighten so only the light areas show. You'll see there's only a few gaps you can see through because this is literally all the rain in the world- you only want the heavy parts as "clouds". If you adjust the brightness you'll create more gaps but your clouds will become darker. Use the curves tool instead- see pic for a nice setting. Then use a weal blur or average effect to take the hard edges off the new clouds.
 
  
 
{{Category|Guides}}
 
{{Category|Guides}}

Latest revision as of 17:31, 15 December 2016

This article is about an older version of DF.

Legends mode is one of the three main methods of interacting with an already generated world. You cannot start Legends mode (or Fortress or Adventurer mode) until you create a new world.

Legends mode allows you to inspect the history of a world. Many players choose to design a world where the option Reveal all history is set to YES. However, if you set the option to NO, then the vast majority of the world's history will be hidden from Legends mode, and only uncovered by brave adventurers. In fact, there are many ways for an adventurer to uncover the past. Talk to people in civilized sites and they will tell you of their families, surroundings and local histories. Past events can also be found by viewing coins or items with images, or by visiting abandoned fortresses and viewing the engraved tiles within.

You don't have to have an adventure or fortress game active in order to use legend mode. Some players simply enjoy Legends mode for the option of looking at the interactive historical map, or to read about the last time their favorite kingdom went to war, or for the ability to export lists of all the sites and governments active in the world.

Legends information[edit]

Number of Events Undiscovered[edit]

A self-explanatory number indicating how many "legends" are still lost in the mists of time. If you chose to reveal all history during world generation, the number displayed should be 0. Otherwise, better get out there and adventure some more.

Historical Figures[edit]

The number to the right indicates how many historical figures exist in this world's history. Historical figures include entries on megabeasts, forgotten beasts, demons, gods, dwarves, humans, goblins, kobolds, and named creatures.

Sites[edit]

The number to the right indicates how many sites have existed throughout this world's history. Sites include things like towns, towers, fortresses, forest retreats, and caves.

Regions[edit]

A list of the various regions of the world, along with the various historical events that occurred within those regions.

Civilizations and Entities[edit]

The number to the right indicates how many civilizations, local governments, and religions have existed throughout this world's history. The histories of these various groups can be viewed as well, detailing events like when a site was founded, when a person was kidnapped, or when a road was completed.

Structures[edit]

Structures are buildings found throughout the world. Fortress, towers, shops, taverns, temples and more can all be found in this list. Temples are the central location of religions, and can be 'profaned' by historical figures, though it is not explained what this involves.

Historical Map[edit]

The historical map is a relatively new and very cool feature of Legends mode. From here you can view the territorial disputes between different civilizations and entities, including those who were destroyed before your starting year. If you are new to Dwarf Fortress, reading the map may be a little difficult, but play around with these buttons and you might get a better grasp of what you are seeing. Press Enter while looking at the map to change between the political and geographical view of the world. The geographic map is colored (blue seas, gray mountains, green forests etc.) while the political map's background is tan (think parchment) with colored fields corresponding to the territories of different civilizations. Civilizations can lay claim to the same area, causing the colored territory markers to overlap. You can also see how territories changes over time by moving 10 or 100 years forward and back through time. Pressing c while looking at the political map will show local government territories instead of civilizations, but that's generally a pretty messy scene.

The Age of...[edit]

During world generation, the Ages are named for the greatest powers extant in the world. Ages commonly advance during world generation (e.g. Age of Legends, Age of Heroes, Age of Humans) due to the death of megabeasts, and they sometimes even regress due to the creation of night creatures and the birth of new megabeasts. When you choose to look at the history of an Age, you will be given a list of all historical events in chronological order. Here you can read the battle reports from various wars, or the duels that took place between long dead champions, or the burninations rampages of megabeasts amongst the peasants. See here for a list of ages and their conditions.

Exporting information from Legends Mode[edit]

Legends mode has built-in tools to export lists of events, maps at various scales, and data such as locations of sites. This is particularly useful as input data for the utilities described below; there are even tools to make this export process easier.

XML dump[edit]

Once you've generated a world, you can dump much of the historical data into an XML file for external analysis. The XML dump currently doesn't include every detail of world history but it contains many of the important ones. Be warned that a large world with a thousand years of history can produce an XML dump up to a full gigabyte in size, which may prove unwieldy. Press x while in Legends mode to produce an XML dump (it will be placed in the root Dwarf Fortress directory and named the same as your game's save folder) See XML dump for information on the XML file's format.

Export Map/Gen Information[edit]

Another option is to export the map/gen information by pressing p in Legends mode. This produces three .txt files and one bitmap image that are placed in the root directory of Dwarf Fortress, named after the save file you're viewing:

  1. (save name)-world_gen_param.txt - contains the world generation settings.
  2. (save name)-world_history.txt - Includes some information about the deities, and rulers of the Human, Dwarven, Elven, and Goblin civilizations.
  3. (save name)-world_sites_and_pops.txt - Lists the sites' population, owner, parent civilization and warlord. This one will also list all the animal populations above and below ground including demons.
  4. world_map-(save name)-(year)--(some numbers).bmp - This is the full world map as it is shown on the embark screen, and unlike the detailed maps below will depend on the tileset and colour scheme you have installed.

Export Detailed Maps[edit]

Pressing d in Legends mode reveals a list of the different kinds map you can export. The Images are exported to the root directory when you highlight the one you want and pressing Enter.

Legends Utilities[edit]

There are many utilities that work with the data exported from Legends mode, or made exporting that info easier.

Export tools[edit]

The dfhack script 'exportmaps' will export all detailed maps, saving a lot of time on large worlds compared to exporting them individually and waiting for each to finish. exportlegends likewise exports all detailed maps, as well as their worldgen info and legends XML.

Export processing script can automate processing of Legends information, and is included in the Windows Lazy Newb Pack. If GIMP is installed, the script will use Dwarf Map Maker (see below); optipng can be used to compress the images from bitmaps to .png files. This tool also removes non-printing ASCII characters from the XML dump that can crash Legends Viewer (usually caused by DFHack's workflow), and creates a compressed folder for each region suitable for Legends Viewer (or simply compresses the XML if some parts have not been exported).

Legends viewing tools and visualisers[edit]

The most famous is Legends Viewer, an alternative interface that recreates legends mode from exported data with many more features such as graphs, filtering, sorting, and hyperlinks. There are alternative tools with similar functionality, including World Viewer and an in-progress cross platform version based on Python.

The Dwarf Map Maker is available as a GIMP script (free software) or a photoshop actionscript. Both use the detailed maps to produce a pretty fantasy map. The GIMP script is called as part of PeridexisErrant's legends processing script, if the dependencies are present. Another GIMP script based on the previous one is Satellite Map Maker which produces a similar map that looks closer to satellite map imagery.