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:Military"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(Undo revision 165147 by Toteti (talk))
 
(139 intermediate revisions by 53 users not shown)
Line 1: Line 1:
{{AV}}
+
{{Quality|Exceptional}}{{av}}
  
Just a quick aid for confused players, please reformat this, anyone who knows more:
 
  
You can load dwarves into a squad from the 'm'ilitary screen, after you've defined a military commander.
+
<div style="float:right; margin-left:1em; margin-top:1em;">__TOC__</div>
The squad defaults to training all the time (see its 's'chedule on the military screen).
+
The '''military''' is one of the most important aspects of a successful fortress. Even with many [[trap]]s, [[bridge|drawbridges]] and [[magma|other defenses]], your military will still need to fend off [[goblin]] [[siege]]s, [[megabeast]]s, [[titan]]s, and fiendish [[Giant cave spider|underground]] [[Forgotten beast|beasties]]. Using a combination of [[squads|squad orders]] and [[scheduling]], you can set up an elaborate offensive, defensive, or balanced military structure for your [[equipment|well-equipped]] [[soldier]]s to follow. Turning your dwarves from [[immigration|useless migrants]] into bloodthirsty killing machines never hurts (unless you're the enemy).
To actually make them train, though, you need to activate them:  's'quads from the main screen, then press the letter of your squad, then 't' to change it from inactive to active.
 
You also need to create a barracks from a bed, then assign the squad to train in it with the 't' key. This makes them immediately start to train there.
 
  
==Alert levels==
+
The military system is rather extensive and complex, and there is a lot of documentation. Here is a list of key documents categorized by expertise level:
 +
* '''Beginner:'''
 +
** [[Attack]] is a ''very'' simple "How to attack a target" guide. This is useful if you don't know anything about the military and just want to order some (untrained) dwarves to (suicide) attack something ''now''.
 +
** [[Military quickstart]] will teach you to set up and train your very first properly organized squad.
  
The ''alert level'' is a fundamental concept of military management. In each alert level, you can program instructions for your military and civilian dwarves to follow. The game contains two alert levels by default - 'Inactive' and 'Active/Train'. In 'Inactive', all squads are assigned no orders. In 'Active/Train', all squads are assigned to train the entire year.
+
* '''Intermediate:'''
 +
** [[Squads]] helps you understand everything about squads.
 +
** [[Military interface]] contains mostly complete documentation on the ''military screen''.
 +
** [[Scheduling]] describes the squad scheduling system in more detail.
 +
** [[Military F.A.Q.]] is a list of frequently asked questions.  
  
Your entire fortress is always set to exactly one 'Civilian alert level'. This restricts where civilians may go. To define the restriction area, you must first create a {{L|Burrow}} encompassing the area you want to restrict your civilians to. Then, go to the alert screen (m then a), create a new alert level (call it something like 'Danger'), highlight it in the left pane, then press enter on the correct burrow in the right pane. You can change the currently active civilian alert level by pressing enter on the correct alert level in the left pane.
+
* '''Advanced:'''
 +
** [[Sparring]] will give you insights about combat training.  
 +
** [[military design|Military Design]] provides specific advice on how to get your soldiers prepared for any threat.
 +
** [[Security design|Security Design]] will give you specific suggestions on the physical defenses that will defend your military.
 +
** [[Defense guide|Defense Guide]] is a general overview of threats and considerations for fortress defense.
 +
** [[Trap design|Trap Design]] contains information on complex traps that are not a minor/optional part of a larger defensive plan (but might be adapted or plugged into one).
  
Each alert level also carries instructions for military dwarves when it is activated. Unlike the civilian level, which applies to your entire fort, the military alert level can be set individually for each squad. To set a squad to an alert level, either select it from the squad menu (s) and press 't' until the desired alert level is selected, or go to the alert menu (m then a), highlight the correct alert level in the left pane, then highlight the correct squad in the middle pane, then press Shift-Enter.
+
The rest of this guide contains an overview of military features (with links to associated sections of other documents).
  
==Scheduling==
+
==Quick Reference==  
 +
From the main menu:
 +
*The '''[[Military interface|military]]''' screen is accessible through the {{k|m}} key.
 +
*The '''[[squads]]''' screen is accessible through the {{k|s}} key.
 +
*The '''[[Note|points/routes/notes]]''' screen is accessible through the {{k|N}} key.
 +
*The '''[[burrow]]s''' screen is accessible through the {{k|w}} key.
 +
The military screen and all its tabs are mouse-compatible, and can be navigated through mouse clicks rather than strictly keys (when in windowed mode).
  
Each squad can be given a schedule to follow for an entire year. Each squad has a separate schedule for each alert level; it can be swapped between these schedules with the procedure outlined in the previous section. The main scheduling screen can be accessed by pressing s from the main military screen.  
+
==Creating a Military==
 +
While it may be confusing to a new player, the military system makes up for its initial impenetrability with its versatility. Using the [[military interface]], squads can be assigned, reordered and restructured at will, dwarves can be set to equip a highly-specified uniform along with the rest of their squad or stand out and equip something unique, and you can give incredibly detailed commands and programming to your squads to follow out based on time of year, circumstance, location, and user convenience. That being said, there's a lot to be learned.
  
On the main scheduling page, you will see a list of months on the left side, and a list of all of the squads in your fortress along the top edge. Scheduling is done separately for each alert level; to switch between alert levels use the / and * numpad keys. Use the up/down arrow keys to navigate up and down the month list, and the left/right arrow keys to navigate between the squads.  The orders in the currently selected cell are displayed in blue towards the bottom of the screen. When you've highlighted a cell, press Tab to switch focus to this order list. From here, you can press e to edit the orders.
+
This article is about the general aspects of what a military comprises. For more detailed information including specific key commands, see the associated article expanding on a subject. In particular you may want to check out the [[military interface]] article since the interface is one of the most confusing aspects.
  
When you press 'e', a screen will come up saying something like 'o: Train'. Press o to change the order's type. This cycles between 'Train', 'Defend Burrow', 'Patrol Route', and 'Station'. To use any of the orders other than Train, you will first need to set up the appropriate {{L|Burrow}}, {{L|Station}}, or {{L|Route}}. When you cycle to the order you want, highlight the burrow, station, or route you want the order to go to and press Enter. It should be highlighted in green. When you are done, press Shift-Enter to save the order and return to the schedule screen.
+
===Squads===
  
Note that the text displayed on each cell (like 'Train') is a completely customized text; it does NOT reflect the actual orders in the cell! When you have a cell highlighted, you can press 'n' to edit the label. Don't be confused by the fact that when you edit the orders in a cell, the label does not change to reflect your changes. You need to update the cell text yourself to be consistent with the orders.
+
''Full article: [[Squads]]''
 +
 
 +
'''Squads''' are the groups of soldiers that make up your military. Your military is now led by the appointed '''[[militia commander]]''' and has many other squads led by '''militia captains''' under him. Creating a squad in the military screen is one of the first things you should do when starting your military.
 +
 
 +
===Equipping Soldiers===
 +
 
 +
''Full article: [[Squads#Equipping Soldiers]]''
 +
 
 +
Rather than simply pick a level of equipment and hope your dwarves pick up the right stuff, you can select what your dwarf will wear by item type or specific item, or create a new uniform template and apply it to a dwarf or entire squad all at once. Even the material and color of your soldiers' uniform is configurable. You can create identical armored units with intimidating red cloaks or just slap something together based on need and circumstance. Even artifact weapons/armor are now selectable - luck and micro-management have been removed from the equation.
 +
 
 +
<!-- Please reenable when added back
 +
====Arsenal Dwarf====
 +
The Arsenal Dwarf was removed in version 0.31.09 but may be re-introduced in a later version.  The rest of this section is only applicable if you are playing an older version.
 +
 
 +
In the early stages of your fort your dwarves will equip themselves, but once enough migrants (13, making your population 20+ dwarves) have arrived your fortress will require an '''[[Arsenal_dwarf|Arsenal Dwarf]]''' (designated in the nobles screen) to manage your armory. The Arsenal Dwarf serves the role of quartermaster; without him your dwarves will be unable to change their equipment. Once you have a dwarf selected, make sure to give him an office - like a [[manager]], an Arsenal Dwarf will need to sign off on equipment changes before they can be made.
 +
 
 +
Note that if you don't have an option for an Arsenal Dwarf, it just means your fort isn't big enough to need one yet. Dwarves will equip themselves until your fortress grows too large - just keep an eye on the nobles screen every time you get migrants, and assign an Arsenal Dwarf when you need one.
 +
 
 +
*If your Expedition Leader/Mayor is killed it can cause all unassigned nobles to vanish from the nobles screen. This could cause your arsenal dwarf position (among others) to be unavailable. A new expedition leader should eventually arrive, although this may take several years.
 +
*There have been reports of the Arsenal Dwarf not appearing despite the population criteria being fulfilled. This is likely caused by your Expedition leader/Mayor being absent.
 +
-->
 +
 
 +
==Directing Soldiers==
 +
 
 +
Getting your military to actually ''do'' something is a lot more difficult than it once was; gone are the days of simply designating a barracks and letting your recruits have at it. It is now possible to give your squads different monthly '''schedules''', create different '''alert levels''' which will cause squads to follow out new user-programmed instructions depending on circumstance, give '''direct orders''' to '''attack''' one or more specific targets or '''move''' to a specific location, or follow '''patrol routes''' and '''stations''' with greater accuracy.
 +
 
 +
There is now a clear discrepancy between ''active'' orders and ''passive'' orders-- the latter is programming that a dwarf will follow to the letter and acts more as a defense method, and the former is used for taking the fight to the enemy. The ''squads'' menu is predominantly used for active commands, and the ''alert'' and ''scheduling'' menus are used for passive commands.
 +
 
 +
===Active Command===
 +
 
 +
''Full article: [[Squads#Direct_Commands|Squads#Direct Commands]]''
 +
 
 +
In the new military, soldiers operate much more like part-time militiamen than full-time warriors. When soldiers are not passively doing their civilian duties or following their schedule programming, they can be actively sent to do small tasks to aggressively defend your fortress. After these orders have been carried out or cancelled, your dwarves will happily return to their passive programming as if they were never interrupted. It is possible to select multiple squads or specific dwarves to carry out these orders.
 +
 
 +
Your forces can be commanded to carry out two types of orders: '''Move''' orders and '''Attack''' (or '''kill''') orders. Move orders are much like the 'station squad' command in previous versions; your selected dwarves will run to wherever you've sent them. Similarly, attack orders will select an enemy (by location on screen, general area on screen, or list) and send your dwarves charging off that way.
 +
 
 +
Soldiers following orders will attack any hostiles they encounter on their way to their destination as well as wild animals and whatever other creatures they might encounter, whether you like it or not. As a result it is very difficult to attack members of an enemy group with any sort of precision, and if your dwarves cannot take down their target there is no real way to get them out of combat; it's do-or-die. It is unknown whether this is a bug or a feature.
 +
 
 +
Orders can be cancelled through the squads screen, but your dwarves tend to be so enthusiastic that they'll just ignore you in their bloodlust. This is likely a bug.
 +
 
 +
===Passive Command===
 +
 
 +
''Full article: [[Scheduling]]''
 +
 
 +
The new '''alert level''' and '''scheduling''' system is a new feature that is both incredibly versatile... and, initially, completely impenetrable. Once you learn the system, though, you will find that you barely need to manage your military at all. Effectively, a schedule is programming for a squad to follow within an alert, broken up by month, and alerts can be quickly and easily swapped in order to apply different schedules of your choosing to different squads of your choosing. Without scheduling, alert levels would do nothing; without alert levels scheduling would be horribly inefficient; the two functions co-exist and rely on each other.
 +
 
 +
It is now possible to give your squads different monthly schedules, create different alert levels which will cause squads to follow out new user-programmed instructions depending on circumstance, give direct orders to attack one or more specific targets or move to a specific location, or follow patrol routes and stations with greater accuracy. The entire system (including alert names) is completely configurable, and in time you will find yourself using complicated scheduling to rotate squads between training and defending/patrolling specified areas over the course of a year without any user input, or to start defending the fort entrance or trader route with a few easy key presses.
 +
 
 +
Civilian alert levels are also possible - civilians can be restricted by '''[[burrow]]''' to where they can roam should the need to tuck them away into a panic room arise. The 'entrance dance' bug of the previous version has also been removed - if a dwarf restricted to a burrow is not there, he will do his best to make the journey.
 +
 
 +
The scheduling screen is broken up into a list of squads, months, alert types and '''order criteria'''. Each order (applied to one month; multiple orders can be stacked on one month as well) can be given criteria to define how many dwarves within a squad will follow its programming at once, allowing you to make a few dwarves out of the squad active at a time while the rest go about their business or to make the entire squad always active for a matter of the utmost importance, foregoing food, sleep, and booze. You can also choose which positions in a squad the order will prefer to utilize when forcing a squad to follow it.
 +
 
 +
Four types of orders can be given (as well as the 'inactive' command), defining different types of patrolling or stationary defending. Squads can spar and be given combat demonstrations in the '''[[barracks]]''', defend a '''[[burrow]]''', patrol a '''route''', or defend a single '''station'''. The monthly schedules can be named so as to better suit your needs, and a new (if still a bit buggy) copy/paste system has been introduced to eliminate some of the tedium in creating fancy scheduling for many months. The display can also be flipped around.
 +
 
 +
Barracks can now serve the needs of multiple specific squads at once. A barracks can be defined as a place to train, sleep, store squad equipment, store individual equipment, or any combination of the above, in any weird overlapping combination of barracks you like. Barracks are necessary for training.
 +
 
 +
When dwarves are being ordered to train, squad leaders will set up training classes for particular skills, or they will have dwarves spar. Any dwarves in the squad that don't qualify for these will default to individual training. In the current release, training classes are bugged where if a squad leader sets up a training class, he will wait forever (Or until you change his orders) for students, even if nobody shows up. Likewise, if students decide to request a class and the squad leader is doing individual training, they will wait for him to finish, even if they start starving. Thus, at the moment it's best to alternate your forced training schedules with downtime so the longest a dwarf will be stuck waiting is a game month (which isn't long enough to die), or just leave them off duty all the time and have them do individual training only, at least until this issue is fixed.
 +
 
 +
==Frequently Asked Questions==
 +
 
 +
''Full article: [[Military F.A.Q.]]''
 +
 
 +
==Current Reported Military-Related Bugs==
 +
* When selecting new dwarves to place in a squad the cursor always returns to the first available dwarf instead of remaining where it is.
 +
* Soldiers who have completed a kill task do not cancel their kill task. This may be intentional.
 +
* There are still various problems with dwarves not equipping what they should; most notably, dwarves will try to equip two left gauntlets or two right gauntlets rather than one of each. This happens if there are an odd number of gauntlets of any quality level; the dwarves try to equip two gauntlets of the highest quality level, regardless of whether they are left or right. A solution is to make sure every quality level accounts for one right gauntlet for each left gauntlet.
 +
*Dwarves who become lords automatically disable all their civilian jobs. When they come off duty and back on duty they lose experience as well.
 +
*Military dwarfs in squads that are assigned to a schedule may get increasingly angry about long patrol duties, even if they were not on duty the past 12 months.
 +
 
 +
{{Military}}
 +
{{Category|Military| }}

Latest revision as of 07:58, 27 February 2012

This article is about an older version of DF.


The military is one of the most important aspects of a successful fortress. Even with many traps, drawbridges and other defenses, your military will still need to fend off goblin sieges, megabeasts, titans, and fiendish underground beasties. Using a combination of squad orders and scheduling, you can set up an elaborate offensive, defensive, or balanced military structure for your well-equipped soldiers to follow. Turning your dwarves from useless migrants into bloodthirsty killing machines never hurts (unless you're the enemy).

The military system is rather extensive and complex, and there is a lot of documentation. Here is a list of key documents categorized by expertise level:

  • Beginner:
    • Attack is a very simple "How to attack a target" guide. This is useful if you don't know anything about the military and just want to order some (untrained) dwarves to (suicide) attack something now.
    • Military quickstart will teach you to set up and train your very first properly organized squad.
  • Intermediate:
    • Squads helps you understand everything about squads.
    • Military interface contains mostly complete documentation on the military screen.
    • Scheduling describes the squad scheduling system in more detail.
    • Military F.A.Q. is a list of frequently asked questions.
  • Advanced:
    • Sparring will give you insights about combat training.
    • Military Design provides specific advice on how to get your soldiers prepared for any threat.
    • Security Design will give you specific suggestions on the physical defenses that will defend your military.
    • Defense Guide is a general overview of threats and considerations for fortress defense.
    • Trap Design contains information on complex traps that are not a minor/optional part of a larger defensive plan (but might be adapted or plugged into one).

The rest of this guide contains an overview of military features (with links to associated sections of other documents).

Quick Reference[edit]

From the main menu:

  • The military screen is accessible through the m key.
  • The squads screen is accessible through the s key.
  • The points/routes/notes screen is accessible through the N key.
  • The burrows screen is accessible through the w key.

The military screen and all its tabs are mouse-compatible, and can be navigated through mouse clicks rather than strictly keys (when in windowed mode).

Creating a Military[edit]

While it may be confusing to a new player, the military system makes up for its initial impenetrability with its versatility. Using the military interface, squads can be assigned, reordered and restructured at will, dwarves can be set to equip a highly-specified uniform along with the rest of their squad or stand out and equip something unique, and you can give incredibly detailed commands and programming to your squads to follow out based on time of year, circumstance, location, and user convenience. That being said, there's a lot to be learned.

This article is about the general aspects of what a military comprises. For more detailed information including specific key commands, see the associated article expanding on a subject. In particular you may want to check out the military interface article since the interface is one of the most confusing aspects.

Squads[edit]

Full article: Squads

Squads are the groups of soldiers that make up your military. Your military is now led by the appointed militia commander and has many other squads led by militia captains under him. Creating a squad in the military screen is one of the first things you should do when starting your military.

Equipping Soldiers[edit]

Full article: Squads#Equipping Soldiers

Rather than simply pick a level of equipment and hope your dwarves pick up the right stuff, you can select what your dwarf will wear by item type or specific item, or create a new uniform template and apply it to a dwarf or entire squad all at once. Even the material and color of your soldiers' uniform is configurable. You can create identical armored units with intimidating red cloaks or just slap something together based on need and circumstance. Even artifact weapons/armor are now selectable - luck and micro-management have been removed from the equation.


Directing Soldiers[edit]

Getting your military to actually do something is a lot more difficult than it once was; gone are the days of simply designating a barracks and letting your recruits have at it. It is now possible to give your squads different monthly schedules, create different alert levels which will cause squads to follow out new user-programmed instructions depending on circumstance, give direct orders to attack one or more specific targets or move to a specific location, or follow patrol routes and stations with greater accuracy.

There is now a clear discrepancy between active orders and passive orders-- the latter is programming that a dwarf will follow to the letter and acts more as a defense method, and the former is used for taking the fight to the enemy. The squads menu is predominantly used for active commands, and the alert and scheduling menus are used for passive commands.

Active Command[edit]

Full article: Squads#Direct Commands

In the new military, soldiers operate much more like part-time militiamen than full-time warriors. When soldiers are not passively doing their civilian duties or following their schedule programming, they can be actively sent to do small tasks to aggressively defend your fortress. After these orders have been carried out or cancelled, your dwarves will happily return to their passive programming as if they were never interrupted. It is possible to select multiple squads or specific dwarves to carry out these orders.

Your forces can be commanded to carry out two types of orders: Move orders and Attack (or kill) orders. Move orders are much like the 'station squad' command in previous versions; your selected dwarves will run to wherever you've sent them. Similarly, attack orders will select an enemy (by location on screen, general area on screen, or list) and send your dwarves charging off that way.

Soldiers following orders will attack any hostiles they encounter on their way to their destination as well as wild animals and whatever other creatures they might encounter, whether you like it or not. As a result it is very difficult to attack members of an enemy group with any sort of precision, and if your dwarves cannot take down their target there is no real way to get them out of combat; it's do-or-die. It is unknown whether this is a bug or a feature.

Orders can be cancelled through the squads screen, but your dwarves tend to be so enthusiastic that they'll just ignore you in their bloodlust. This is likely a bug.

Passive Command[edit]

Full article: Scheduling

The new alert level and scheduling system is a new feature that is both incredibly versatile... and, initially, completely impenetrable. Once you learn the system, though, you will find that you barely need to manage your military at all. Effectively, a schedule is programming for a squad to follow within an alert, broken up by month, and alerts can be quickly and easily swapped in order to apply different schedules of your choosing to different squads of your choosing. Without scheduling, alert levels would do nothing; without alert levels scheduling would be horribly inefficient; the two functions co-exist and rely on each other.

It is now possible to give your squads different monthly schedules, create different alert levels which will cause squads to follow out new user-programmed instructions depending on circumstance, give direct orders to attack one or more specific targets or move to a specific location, or follow patrol routes and stations with greater accuracy. The entire system (including alert names) is completely configurable, and in time you will find yourself using complicated scheduling to rotate squads between training and defending/patrolling specified areas over the course of a year without any user input, or to start defending the fort entrance or trader route with a few easy key presses.

Civilian alert levels are also possible - civilians can be restricted by burrow to where they can roam should the need to tuck them away into a panic room arise. The 'entrance dance' bug of the previous version has also been removed - if a dwarf restricted to a burrow is not there, he will do his best to make the journey.

The scheduling screen is broken up into a list of squads, months, alert types and order criteria. Each order (applied to one month; multiple orders can be stacked on one month as well) can be given criteria to define how many dwarves within a squad will follow its programming at once, allowing you to make a few dwarves out of the squad active at a time while the rest go about their business or to make the entire squad always active for a matter of the utmost importance, foregoing food, sleep, and booze. You can also choose which positions in a squad the order will prefer to utilize when forcing a squad to follow it.

Four types of orders can be given (as well as the 'inactive' command), defining different types of patrolling or stationary defending. Squads can spar and be given combat demonstrations in the barracks, defend a burrow, patrol a route, or defend a single station. The monthly schedules can be named so as to better suit your needs, and a new (if still a bit buggy) copy/paste system has been introduced to eliminate some of the tedium in creating fancy scheduling for many months. The display can also be flipped around.

Barracks can now serve the needs of multiple specific squads at once. A barracks can be defined as a place to train, sleep, store squad equipment, store individual equipment, or any combination of the above, in any weird overlapping combination of barracks you like. Barracks are necessary for training.

When dwarves are being ordered to train, squad leaders will set up training classes for particular skills, or they will have dwarves spar. Any dwarves in the squad that don't qualify for these will default to individual training. In the current release, training classes are bugged where if a squad leader sets up a training class, he will wait forever (Or until you change his orders) for students, even if nobody shows up. Likewise, if students decide to request a class and the squad leader is doing individual training, they will wait for him to finish, even if they start starving. Thus, at the moment it's best to alternate your forced training schedules with downtime so the longest a dwarf will be stuck waiting is a game month (which isn't long enough to die), or just leave them off duty all the time and have them do individual training only, at least until this issue is fixed.

Frequently Asked Questions[edit]

Full article: Military F.A.Q.

Current Reported Military-Related Bugs[edit]

  • When selecting new dwarves to place in a squad the cursor always returns to the first available dwarf instead of remaining where it is.
  • Soldiers who have completed a kill task do not cancel their kill task. This may be intentional.
  • There are still various problems with dwarves not equipping what they should; most notably, dwarves will try to equip two left gauntlets or two right gauntlets rather than one of each. This happens if there are an odd number of gauntlets of any quality level; the dwarves try to equip two gauntlets of the highest quality level, regardless of whether they are left or right. A solution is to make sure every quality level accounts for one right gauntlet for each left gauntlet.
  • Dwarves who become lords automatically disable all their civilian jobs. When they come off duty and back on duty they lose experience as well.
  • Military dwarfs in squads that are assigned to a schedule may get increasingly angry about long patrol duties, even if they were not on duty the past 12 months.
Military and defense
F.A.Q.
Guides
Managing soldiers
Design tips
Invaders