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.31:Stonegears/Options"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (Move existing options text from parent page)
 
m
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
Game options are controlled by editing text files in the '''data\init''' folder. Anything between a {{K|[}} and a {{K|]}} is a game option, in the form of [OPTION_NAME:OPTION_VALUE]. Everything else is comments which are ignored by the game.  For changes to options to take effect in a currently running game, you must save the game and then restore the saved game.
+
:''Back to the [[../|main tutorial page]]''
  
'''init.txt''' contains settings to control sound/volume, whether the introductory movie should play on startup, and whether the game starts in full-screen or windowed mode.
+
Game options are controlled by editing text files in the '''data\init''' folder.  Anything between a {{K|[}} and a {{K|]}} is a game option, in the form of [OPTION_NAME:OPTION_VALUE]. Everything else is comments which are ignored by the game.  For changes to options to take effect in a currently running game, you must save the game and then restore the saved game.  Game options apply to all games, so if you have two or more different saved games you switch between, the only way to have different options for each saved game is to edit the options file every time you switch games.
  
'''d_init.txt''' contains many useful options:
+
==init.txt==
 +
A list of some of the more useful options in the '''[[init.txt]]''' file:
  
* AUTOSAVE: set this to SEASONAL so that the game will save at the start of each new in-game season. This will cause the game to pause at the start of each season, since saving the game takes a few seconds.
+
* '''SOUND''': Controls if game music is on or off.
* AUTOBACKUP: Set this to YES so that the game will automatically a backup copy of your save file every it does an auto-save. This way if you make a mistake you want to undo you'll only have lost at most a season's worth of work.
+
* '''INTRO''': Control if a short introductory movie is played each time the game app is started. This is turned NO in the Stonegears package.
* INVADERS: You can set this to NO to prevent {{L|ambush}}es and {{L|siege}}s by {{L|goblins}}.  This is recommended for your first fortress, since organizing and training the {{L|military}} has it's own learning curve (and is somewhat buggy), and requires you to set up a {{L|metal industry}} to produce the {{L|armor}} and {{L|weapons}} needed to fight. If you ''do'' want to fight goblins in your first fortress, you should probably set it to NO at first, then turn it back to YES once you're satisfied you've got your {{L|defense guide|defenses}} set up properly and your military up to snuff.
+
* '''[[FPS]]_CAP''': Sets the maximum speed the game will play at.
* POPULATION_CAP: This determines how populous your fort must be before {{L|immigration|immigrants}} stop arriving.  If you have more dwarfs than you know what to do with, change this to 0 to stop further immigration.
+
 
* VARIED_GROUND_TILES: Gives some variation to the appearance of the ground/floor. You can change this to NO to make all of the floor/ground look identical.
+
==d_init.txt==
 +
A list of some of the more useful options in the '''[[d_init.txt]]''' file:
 +
 
 +
* '''AUTOSAVE''': Controls how often (if at all) the game autosaves. This is set to once per season in the Stonegears package.  
 +
* '''AUTOBACKUP''': If AUTOSAVE is used, controls if the game automatically makes a backup copy of your save folder every time it does an auto-save. This is turned YES in the Stonegears package.
 +
* '''INVADERS''': Controls whether or not you'll get [[ambush]]es, [[siege]]s, [[megabeast]]s and [[forgotten beast]]s.  Set to NO in the Stonegears package.  It can take 2 to 4 seasons for the change to take effect after altering this option.
 +
* '''POPULATION_CAP''': This determines how populous your fort must be before [[immigration|immigrants]] stop arriving.  If you have more dwarves than you know what to do with, change this to 0 to stop further immigration (though nothing can stop the first two immigration waves).
 +
* '''TEMPERATURE''': If set to NO then [[fire]] and [[magma]] won't burn, [[water]] won't freeze and [[ice]] won't melt.  Set to NO in the Stonegears package, since having it on can slow down the game.
 +
* '''WEATHER''': If set to NO then it will never rain or snow.  Set to NO in the Stonegears package, since having it on can slow down the game.
 +
* '''VARIED_GROUND_TILES''': If set to YES gives some variation to the appearance of the ground/floor. This is set to NO in the Stonegears package.
 +
 
 +
==announcements.txt==
 +
For each type of [[announcement]], controls if the announcement pauses the game, causes the game to recenter on the event, or even if the event is announced at all. Note that not all announcement types can be controlled via this file.
 +
 
 +
==colors.txt==
 +
Controls how various named colors (red, magenta, etc) are displayed on the screen.  See [[color schemes]] if you want to change how the colors look.
 +
 
 +
==interface.txt==
 +
Controls which keys do which commands, and also if a command will repeat or not when its key is held down.

Latest revision as of 23:37, 21 June 2024

Back to the main tutorial page

Game options are controlled by editing text files in the data\init folder. Anything between a [ and a ] is a game option, in the form of [OPTION_NAME:OPTION_VALUE]. Everything else is comments which are ignored by the game. For changes to options to take effect in a currently running game, you must save the game and then restore the saved game. Game options apply to all games, so if you have two or more different saved games you switch between, the only way to have different options for each saved game is to edit the options file every time you switch games.

init.txt[edit]

A list of some of the more useful options in the init.txt file:

  • SOUND: Controls if game music is on or off.
  • INTRO: Control if a short introductory movie is played each time the game app is started. This is turned NO in the Stonegears package.
  • FPS_CAP: Sets the maximum speed the game will play at.

d_init.txt[edit]

A list of some of the more useful options in the d_init.txt file:

  • AUTOSAVE: Controls how often (if at all) the game autosaves. This is set to once per season in the Stonegears package.
  • AUTOBACKUP: If AUTOSAVE is used, controls if the game automatically makes a backup copy of your save folder every time it does an auto-save. This is turned YES in the Stonegears package.
  • INVADERS: Controls whether or not you'll get ambushes, sieges, megabeasts and forgotten beasts. Set to NO in the Stonegears package. It can take 2 to 4 seasons for the change to take effect after altering this option.
  • POPULATION_CAP: This determines how populous your fort must be before immigrants stop arriving. If you have more dwarves than you know what to do with, change this to 0 to stop further immigration (though nothing can stop the first two immigration waves).
  • TEMPERATURE: If set to NO then fire and magma won't burn, water won't freeze and ice won't melt. Set to NO in the Stonegears package, since having it on can slow down the game.
  • WEATHER: If set to NO then it will never rain or snow. Set to NO in the Stonegears package, since having it on can slow down the game.
  • VARIED_GROUND_TILES: If set to YES gives some variation to the appearance of the ground/floor. This is set to NO in the Stonegears package.

announcements.txt[edit]

For each type of announcement, controls if the announcement pauses the game, causes the game to recenter on the event, or even if the event is announced at all. Note that not all announcement types can be controlled via this file.

colors.txt[edit]

Controls how various named colors (red, magenta, etc) are displayed on the screen. See color schemes if you want to change how the colors look.

interface.txt[edit]

Controls which keys do which commands, and also if a command will repeat or not when its key is held down.