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
(another FAQ question, though answer is uncertain)
m
 
(92 intermediate revisions by 37 users not shown)
Line 1: Line 1:
{{AV}}
+
{{Quality|Exceptional}}{{av}}
  
  
The '''military''' is one of the most important aspects of a successful fortress. Even with many {{l|traps}}, {{l|drawbridge}}s and {{l|magma|other defenses}}, your military will still need to fend off {{l|goblin}} {{l|siege}}s, {{l|megabeast}}s, {{l|titan}}s, and fiendish {{l|Giant cave spider|underground}} {{l|Forgotten beast|beasties}}. Turning your dwarves from useless migrants into bloodthirsty killing machines never hurts (unless you're the enemy).
+
<div style="float:right; margin-left:1em; margin-top:1em;">__TOC__</div>
 +
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).
  
''See also:''
+
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:
* ''A {{L|Military/Guide|quickstart guide}} to the military interface. <small>(now largely incorporated into this article)</small>''
+
* '''Beginner:'''
* For a general overview of threats and considerations for fortress defense, see the {{l|Defense Guide}}
+
** [[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''.
* For specific suggestions on the physical defenses that will defend your military, see {{l|Defense Design}}.
+
** [[Military quickstart]] will teach you to set up and train your very first properly organized squad.
* For complex traps that are not a minor/optional part of a larger defensive plan (but might be adapted or plugged into one), see {{l|Trap Design}}.  
 
  
 +
* '''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.
  
=Creating a Military=
+
* '''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).
  
While far more confusing than before, the new military system makes up for its initial impenetrability with a huge increase in versatility. 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.
+
The rest of this guide contains an overview of military features (with links to associated sections of other documents).
  
For quick reference: from the main menu the '''military''' screen is accessible through the {{k|m}} key, the '''squads''' screen is accessible through the {{k|s}} key, the '''points/routes/notes''' screen is accessible through the {{k|N}} key, and the '''{{l|burrows}}''' screen is accessible through the {{k|w}} key.
+
==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).
  
==Forming Squads==
+
==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.
  
Before you can do anything with your military you will want to go into the '''noble''' screen ({{k|n}}) and designate a '''{{l|militia commander}}'''. Subsequent squad leaders can also be designated through the nobles screen; once you designate a militia commander it will open up a slot for a '''{{l|militia captain}}''', and once you designate one of those it opens another captain slot, etc. These roles are all functionally equivalent.
+
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 have designated a commander/captain, going to the military screen will show that dwarf under the "Squads/Leaders" heading and you'll notice an option to create a new squad. You can also create a new squad before you designate your militia commander; the first dwarf you choose will automatically be thrust into the position. Creating the squad moves the the display of the dwarf from the 'available' heading to the squad heading. You can then fill out the squad with any dwarf in the fort. It appears that no more than ten dwarves can be assigned to any one squad<!--CONFIRM?-->. When you add a dwarf to one squad they will be removed from another; for this reason you will always see the majority of your dwarves in the rightmost pane.
+
===Squads===
  
==Equipment, Uniforms, and the Arsenal Dwarf==
+
''Full article: [[Squads]]''
  
In the military screen, press {{k|n}} to open the '''uniforms''' tab. Each listing under the 'Uniforms' header is essentially a pre-designed set of equipment that you can quickly apply to any individual soldier or entire squad, much like a template. You can create new uniforms if you want and add or remove items from any uniform set by navigating this menu. Uniform templates are only created in this tab, not applied.
+
'''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.
  
While still in the military screen, press {{k|e}} to open the '''equipment''' tab. The default sub-tab, '{{k|V}}iew/Customize will be open. In this screen you can select individual dwarves and apply individual pieces of equipment to them, from {{k|A}}rmor, {{k|L}}eggings, {{k|H}}elms, {{k|G}}loves, {{k|B}}oots, {{k|S}}hields, and {{k|W}}eapons, as well as {{k|M}}aterial and {{k|C}}olor depending on the piece of equipment highlighted.<!--WHAT DOES 'r' FOR 'over clothing' DO? AND 'partial matches'?--> To select a specific piece of equipment (such as an artifact), select 'specific _____' under that equipment type (eg. 'specific armor' in the Armor field); for your convenience, highest-quality equipment is listed first.
+
===Equipping Soldiers===
  
To apply your preset uniform templates, press {{k|U}} in the equipment tab to open the Assign Uniforms sub-tab and move the selector to the Position Uniform header. Pressing {{k|enter}} will apply the selected uniform to the individual dwarf of your choosing, and {{k|shift}}+{{k|enter}} will apply the selected uniform to the entire squad.
+
''Full article: [[Squads#Equipping Soldiers]]''
  
For ranged soldiers, open the '''ammunition''' ({{k|f}}) tab and assign them something from there. If you don't care what they use, you still need to give them ammo - just pick 'bolts' and it will default to any bolts they can find.  
+
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.
  
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 '''{{l|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 {{l|manager}}, an Arsenal Dwarf will need to sign off on equipment changes before they can be made.
+
<!-- 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.
  
Note that if you don't have an option for and 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.
+
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.
  
'''* There have been reports of the Arsenal Dwarf not appearing despite the population criteria being fulfilled; it is assumed that this is a bug. The position may still appear later. *'''
+
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.
  
=Directing Squads=
+
*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.
 +
-->
  
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 '''kill orders''' to attack one or more specific targets, or follow '''patrol routes''' and '''stations''' with greater accuracy.
+
==Directing Soldiers==
  
==Alerts==
+
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.
  
The '''alert level''' is a fundamental concept of military management. In each alert level, you can program instructions for your military and/or 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. By default, your squads will all be set to 'Inactive' and will do nothing unless you cycle their alert to 'Active/Train'. You will need to make more alerts if you want them to do anything more complicated than this.
+
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.
  
Your entire fortress is always set to exactly one ''civilian alert level''. This restricts where civilians, any non-military dwarf in the entire fort, 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 ({{k|a}} in the {{k|m}}ilitary screen), {{k|c}}reate a new alert level (you can {{k|N}}ame it something like 'Danger'), highlight it in the left pane, then press enter on the correct burrow in the rightmost pane. Multiple burrows may be selected.
+
===Active Command===
  
Individual squads can be set to a certain alert by highlighting the appropriate alert level, then selecting the correct squad in the central pane and pressing {{k|enter}}. You can also select a squad's alert level by pressing {{k|s}} to open the squads menu, {{k|a}} to select a squad, and {{k|t}} to scroll through alerts. You can change the currently active civilian alert level by pressing {{k|enter}} while the correct alert level is highlighted. Squads and civilians can only be set to one alert level at a time, so selecting one alert level for a group removes them from the former alert.
+
''Full article: [[Squads#Direct_Commands|Squads#Direct Commands]]''
  
==Scheduling==
+
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.
  
Each squad can be given a '''schedule''' to follow for an entire year, broken up by month. 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 scheduling screen can be accessed by pressing {{k|s}} in the military screen.
+
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.
  
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 secondary page up/down keys (by default {{k|/}} and {{k|*}}). You can use the secondary up/down keys (by default {{k|+}} and {{k|-}}) to scroll through the squads at the top if you have more than will fit on one screen. Use the up/down arrow keys to navigate the month list, and the left/right arrow keys to navigate between squads.  The orders in the currently selected cell are displayed in blue towards the bottom of the screen.
+
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.
  
When you've highlighted a cell, press {{k|tab}} to switch focus to this '''order list'''. From here, you can press {{k|e}} to edit the standing orders or {{k|o}} to give a new one. Both will open to the Give Orders screen. Pressing {{k|o}} will scroll through and change the order 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}}, station, or route. When you cycle to the order you want, highlight the burrow, station, or route you want the order to go to (in the left pane) and press {{k|enter}}. It should now be highlighted in green.
+
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.
  
Orders have a soldier-based '''order criteria''' that lists how many soldiers in the squad will follow the order at once. Using the secondary up/down keys you can choose how many soldiers must be in a squad the order applies; by default this number is ten. You can also select specific positions within the squad in the right pane to set those positions as 'preferred' - the order will try pick these dwarves to follow the orders if there are multiple off-duty dwarves to choose from<!--CONFIRM?-->. When you are done, press {{k|shift}}+{{k|enter}} to save the order and return to the schedule screen. If desired, multiple order criteria can be set for each month.
+
===Passive Command===
  
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: [[Scheduling]]''
  
To eliminate some of the tedium in scheduling many months, you can copy-paste orders from one cell to another with the {{k|c}} and {{k|p}} keys. Press {{k|c}} in the cell you want to copy from, then go to the cells you want to paste to and press {{k|p}} in each one.  
+
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.
  
By pressing {{k|shift}}+{{k|tab}} in the scheduling screen, you can flip the display of the rows and columns in the main grid. This allows you to see more squads, but fewer months. This can be useful if you want to see all your squads at the cost of not seeing the entire year's schedule. This change is cosmetic only; the tools still work the same way.
+
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.  
  
'''Warning:''' Dwarves who are permanently on-duty with no downtime have been observed to begin to starve themselves keeping to the rigorous schedule, and thus grow unhappy. Do you really want to find out how much damage that practice spear can do? To allow some of your dwarves to go sleeping when they need, you need to lower the minimum number of dwarves of the squad that need to follow the current order at any time in the order criteria as listed above. You want the criteria to be at least one or two dwarves less than the current number of dwarves in your squad. This will change the limit for the current month only, so use the copy/paste feature to update every month.
+
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 orders are listed below as follows:
+
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.
  
===Inactive===
+
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.
  
When dwarves are in the military but not on active duty, dwarves with good self-discipline will visit the barracks and train themselves in their spare time - if you see a dwarf doing "Individual training" when you have them off-duty, that's what's happening.
+
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.
  
===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.
  
For your dwarves to train a '''{{l|barracks}}''' must be designated. This can be done through using {{k|q}} to examine an appropriate building and assigning it as a barracks. Previously only beds, armor stands, and weapon racks could be designated as barracks, but many storage objects are now eligible. There is a new 'Position' option that allows you to assign specific beds/storage to specific dwarves. If dwarves aren't assigned anything in particular they'll just use whatever they feel like, as per normal.
+
==Frequently Asked Questions==
  
When being viewed, barracks can now be {{k|n}}amed, used for {{k|s}}leeping, {{k|t}}raining, or {{k|i}}ndiv eq. and {{k|s}}quad eq<!--WHAT ON EARTH DO THE LAST TWO MEAN, I THINK THEY STAND FOR "INDIVIDUAL EQUIPMENT" / "SQUAD EQUIPMENT" UNSURE WHAT IT MEANS-->. You can choose if a squad trains in one place and sleeps in another, or in multiple, and so on. Multiple squads can overlap with one barracks.
+
''Full article: [[Military F.A.Q.]]''
  
To get marksdwarves to train in any way other then bashing each other with their crossbows, they must have quivers and an archery range. Archers will no longer fire bolts without a quiver to store them in (ie. they will not hold a single stack in their hand). The archery range that is set up for the squad via building an archery target and listing it as a {{k|t}}raining area for that squad.
+
==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 dwarves 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.
  
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.
+
{{Military}}
 
+
{{Category|Military| }}
===Defend Burrows===
 
 
 
After a {{l|burrow}} has been created in the {{k|w}} menu, you can order your dwarves to defend it. If an enemy enters the burrow (and is not hiding) the assigned squads will be alerted and attack it. It is unknown if a soldier defending a burrow is limited to his line-of-sight or is simply aware that an enemy is present. <!--COULD USE MORE DETAIL + CONFIRMATION-->
 
 
 
===Stations===
 
 
 
Stations are set in the {{k|N}}otes menu. Simply {{k|p}}lace a point where you want a squad to stand, give it a {{k|n}}ame if you want to be able to find it quickly, then open the scheduling menu and set your chosen squad to be Stationed and select the station you want.
 
 
 
===Routes===
 
 
 
Routes are made by combining stations. Once you have stations set along your desired route (at least two stations are necessary), hit {{k|r}}outes while in the {{k|N}}otes menu. {{k|a}}dd a route, {{k|n}}ame it something appropriate, then {{k|e}}dit its waypoints. You need to {{k|a}}dd the points in the same order you want the dwarves to follow. They'll loop back to the initial point when they reach the last one. Waypoints can no longer be arbitrarily made; only stations can be selected as waypoints.
 
 
 
==Direct Command (Kill Orders)==
 
 
 
The '''kill command''' allows your military to focus their attack on one or more specific targets. It is a very unsubtle way of beating into your dwarves' booze addled minds that they are to kill your target or be killed in the attempt. It may very well be your last command to your dwarves if things are getting desperate.
 
 
 
In the {{k|s}}quad menu, you can press either {{k|a}}/{{k|b}}/{{k|c}}/etc to select the squad that will execute the kill order, or hold {{k|shift}} to select multiple at once. You may press {{k|p}} if you want to toggle between having an individual dwarf or the squad perform the kill order. After selecting your dwarves will execute the kill order, press {{k|k}} to 'Attack'.
 
 
 
Now you have several options: you can move the cursor to what you want to attack and press {{k|enter}}, press {{k|l}}ist and select what you want to attack from a list, or {{k|r}}ectangle to select an area of things you want dead. Upon pressing {{k|enter}} your dwarves will happily run off to execute the order by executing the target. To cancel this order, press {{k|o}} while in the squad screen and selecting the appropriate squad/order.<!--DIDN'T ACTUALLY WORK FOR ME; CONFIRM?-->
 
 
 
=F.A.Q.=
 
 
 
===My dwarves won't do anything but stand around!===
 
 
 
By default newly-created squads are assigned the 'Inactive' alert. You will need to {{l|Military#Alerts|create new alert levels}} or {{l|Military#Scheduling|create new scheduling within alert levels}} to get them to do what you want. Note that 'Inactive' and 'Active/Training' are '''''not''''' the only two options available - they are simply the two default alerts and rather useless without creating more alerts and scheduling.
 
 
 
===Alerts? Schedules? What am I looking at here?===
 
 
 
A schedule is what a dwarf/squad will do when a particular alert is active; once alerts are made and scheduling is performed within these alerts, you can simply change a squad's alert based on the scenario and they will follow out highly specified and complicated programming. For example, if you make two alerts named 'Caravan Guard' for protecting incoming traders and 'Bloody Kobolds' for attacking thieves, we can change Squad A's scheduling in 'Caravan Guard' to {{l|Military#Routes|patrol your trade route}} and change their scheduling in 'Bloody Kobolds' to {{l|Military#Defend Burrows|defend a pre-defined burrows}} around your entrance. When a caravan shows up, you can change Squad A to be under the 'Caravan Guard' alert (either {{k|a}} in the military screen or {{k|t}} to cycle through when in the {{k|s}quad screen with a squad selected) and they will begin running up and down your route as the traders make their way through. When you get the 'Protect the horde from thieving scum!' message, you can change their alert to 'Bloody Kobolds' and Squad A will charge off to defend the entrance.
 
 
 
Different squads can be given different alerts at once, but these squads can also be given different scheduling within the ''same'' alert - for example, you could make Squad B's scheduling in the 'Caravan Guard' alert to defend a burrows around your trade depot, then assign both A and B to 'Caravan Guard' when the traders appear and have one squad walk them in and the other keep the depot clear.
 
 
 
As schedules are broken up by month, you can make very complicated schedules in which dwarves train two months, take one off, then patrol your map for a season then take a shift defending the entrance, while having a second squad do something completely different, and change their scheduling instantly by applying a different alert. For ease, orders can be copied and pasted in the scheduling menu. Once you get the hang of the system it becomes extremely versatile. See {{l|Military#Alerts|alerts}} and {{l|Military#Scheduling|scheduling}} for more information.
 
 
 
===I can't seem to apply orders to my schedule...===
 
 
 
When you finish with the Give Orders menu and hit {{k|shift}}+{{k|tab}} to save your changes, you may notice that your changes have not been saved. This is because your order does not have a defined location. '''Station''' orders need a station to be assigned to, '''patrol route''' orders need a route to follow, and '''defend burrows''' orders need a burrows to defend. When giving or editing orders, you must select the specific area from a list on the left pane.
 
 
 
Keep in mind that the left and right panes in the Give Orders menu can both be highlighted even if one is empty - if your pane doesn't seem to be highlighted, hit the left or right key to properly select it.
 
 
 
===My dwarves won't wear the uniform I made!===
 
 
 
The uniforms tab within the menu screen is not for assigning uniforms to your dwarves, it is for making uniform templates that can later be applied. Open the {{k|e}}equipment tab then the {{k|U}}niform sub-tab and you will be able to apply your uniform to either a single dwarf at once with {{k|enter}} or a squad at once with {{k|shift}}+{{k|enter}}. Your uniforms should appear in the rightmost pane.
 
 
 
===My dwarves won't pick up equipment!===
 
 
 
Your fort has become too large (20+ dwarves) and now requires an '''{{l|Arsenal_dwarf|Arsenal Dwarf}}'''. Open the {{k|n}}obles screen and assign one, and give him an office. He must now process all equipment changes at his desk before they go into effect; until then your dwarves will wear whatever was previously assigned.
 
 
 
===I don't have an Arsenal Dwarf position!===
 
 
 
Your fort is not yet big enough to need on (<20 dwarves). For now your dwarves will simply equip themselves as soon as you make the changes.
 
 
 
If your fort ''is'' big enough, you may be encountering what is believed to be a bug. The position may randomly become available later. Currently why this happens is unknown.
 
 
 
===How do I make my dwarves kill things?===
 
 
 
If your soldiers are stationed, defending a barracks, or patrolling a route, they are ''defending''. To make them go on the ''offense'', you need to open the {{k|s}}quads screen, select a squad using {{k|a}}/{{k|b}}/{{k|c}}/etc. as listed and hit {{k|k}} to 'Attack.' Then you pick your targets: either hit {{k|l}} to choose from a list of possible targets, {{k|r}} to select all targets within a rectangle, or simply move the cursor to what you want to attack and press {{k|enter}}. Your dwarves should now have the 'Kill _____' duty and charge after your target(s). To select multiple squads at once just hold {{k|shift}} while selecting, or hit {{k|p}} while selecting to select specific dwarves.
 
 
 
===My dwarves won't go off-duty! They're starving themselves!===
 
 
 
Your '''order criteria''' is too high - order criteria is the number of dwarves in a squad required to follow out an order. By default a new order's criteria is set to 10 dwarves, or the entire squad; this means that you've told your dwarves that this order is of the absolute highest importance and that the entire squad needs to be on duty at all times. By changing this to two or three dwarves less than the number of dwarves in your squad, some of your dwarves will be able to relax and take some me-time while the others follow your orders out.
 
 
 
===I keep activating my dwarves but they still have their civilian positions!===
 
 
 
If a squad is off-duty it may be dressed in its civilian clothes and thus listed as civilians (ie. a swordsdwarf may revert to 'carpenter'). There also seems to be a discrepency between which orders are 'civilian' orders and which are 'military' orders; further investigation is necessary.
 
 
 
'''''If you have further questions, please ask them on the discussion page. Frequently asked or standard questions will be added to the FAQ as necessary.'''''
 

Latest revision as of 23:30, 21 June 2024

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 dwarves 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