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 "Squad"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (updating link)
 
(51 intermediate revisions by 30 users not shown)
Line 1: Line 1:
{{Migrated_article}}
+
{{Quality|Unrated}}
{{quality|unrated}}{{av}}
+
{{av}}
  
 +
: ''For enemy squads, see [[ambush]] and/or [[siege]].''
  
A '''squad''' is a group of [[military]] dwarves who share the same [[scheduling|schedule]] and active military orders. Squads are a fundamental part of your fortress' military — they are the units who carry out all the orders you give them. Your ability to manage these iron-blooded dwarves could spell the difference between a healthy fort's life and death.
+
[[File:dwarf_army.jpg|thumb|300px|right|A dwarf squad ready to deliver permanent deaths.]]A '''squad''' is a group of [[military]] dwarves who share the same [[scheduling|schedule]] and active military orders. Squads are a fundamental part of your fortress' military — they are the units who carry out all the orders you give them. Your ability to manage these iron-blooded dwarves could spell the difference between a healthy fort's life and death.
  
For quick reference: from the main menu the '''military''' screen is accessible through the {{k|m}} key and the '''squads''' screen is accessible through the {{k|s}} 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).
+
For quick reference: from the main game screen the '''squads''' menu is accessible through the {{Menu icon|q}} key and the '''[[burrow]]s''' menu is accessible through {{Menu icon|U}}. The squad menu and all its sub-menus are designed to be navigated almost exclusively with mouse rather than keys.
  
For a simple, ''very'' basic, unarmed/unarmoured "How to attack a creature", see [[attack]].
+
For simple, ''very'' basic, unarmed and unarmored instructions on how to attack a creature, see [[attack]].
  
==Forming Squads==
+
==Forming squads==
 +
Before you do anything with your military, you must go into the {{Menu icon|n}} [[noble]]s screen and appoint a '''[[militia commander]]'''. Your fortress can only have one militia commander, who acts as the commander-in-chief of all squads. The militia commander also serves as the leader of your first squad.
  
Before you can do anything with your military you may want to go into the [[noble]]s screen ({{k|n}}) and designate a '''[[militia commander]]'''. Your fortress can only have one militia commander, who acts as the commander-in-chief of all squads. The militia commander also serves as the leader of your first squad.
+
Each squad after the first will have its own [[militia captain]], who reports to the militia commander. Squad captains can be designated through the nobles screen, or by creating a new squad in the {{Menu icon|q}} squad menu and then assigning a dwarf to the first position of that squad.
  
Each squad after the first will have its own [[captain]], who reports to the militia commander. Squad captains can be designated through the nobles screen, or by creating a new squad on the {{k|m}}ilitary screen and then assigning a dwarf to the first position of that squad.
+
Once you have a militia commander appointed, when going to the squad menu you'll notice an option to "'''Create new squad.'''" When you click this button to create a squad, you may  be asked which militia captain should lead this new squad if you have appointed captains that are not currently leading one, other wise you will be asked which uniform to give the squad. The game creates three uniforms by default; if you aren't sure what to use, or if you want to customize their uniform, choose "'''No uniform'''".  (See [[#Equipping soldiers|equipping soldiers]], below, for details.)
  
When you have designated a commander or 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 assigned that position.
+
Once the first squad has been created, you can then fill out the squad with any militarily-capable dwarves in your fort, of which no more than ten (10) can be assigned to any one squad. 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 assignment menu. Dwarves that are already in a military squad will have the name of that squad and their position within it listed in yellow text above their name, allowing you to skip over them if necessary. The assignment menu is found by clicking on the 'positions' bearded face icon above the squad name.
  
When you create a squad, you will be asked what uniform to give them. The game creates three uniforms by default; if you aren't sure what to use, or if you want to customize their uniform, choose ''No uniform''. (See [[#Equipping Soldiers|Equipping Soldiers]], below, for details.)
+
=== Aesthetic customization ===
 +
[[Image:Menu_squad_symbol_v50.07.png|300px|thumb|right|The squad symbol selection menu]]
  
Once the first squad has been created, you can then fill out the squad with any military-capable dwarves in your fort. No more than ten dwarves can be assigned to any one squad. 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. Dwarves that are already in a military squad will have the name of that squad in the uppermost box, allowing you to skip them over if necessary.
+
The squad menu {{menu icon|q}} allows you to edit the name and the graphical symbol assigned to any created squads, by clicking on the quill and symbol icons, respectively. These options are purely cosmetic, unlike [[Squad#Equipping_soldiers|equipping soldiers]] and [[Squad#Order_scheduling|order scheduling]].
  
==Equipping Soldiers==
+
===Nobles in squads ===
 +
Here's a link to the DF forum, with old{{version|0.34.11}} but potentially still relevant speculation on which nobles should not be assigned to the military due to the importance of their civilian role:
 +
http://www.bay12forums.com/smf/index.php?topic=113639.msg3467517#msg3467517
 +
 
 +
==Equipping soldiers==
 +
===Accessing the Equip screen===
 +
In the squad menu, select one or more squads by clicking the checkbox next to their name, then click "'''Equip'''" to view a summary of their assigned equipment. The following icons are used:
 +
{| class="wikitable"
 +
|+ Types of equipment
 +
|-
 +
| '''Icon''' || [[File:squad_weapon_icon.png|center]] || [[File:squad_shield_equipped.png|center]] || [[File:squad_upper_body_icon.png|center]] || [[File:squad_lower_body_icon.png|center]] || [[File:squad_head_icon.png|center]] || [[File:squad_hands_icon.png|center]] || [[File:squad_feet_icon.png|center]] || [[File:squad_backpack_icon.png|center]] || [[File:squad_flask_icon.png|center]]
 +
|-
 +
| '''Meaning''' || Weapon || Shield || Upper body || Lower body || Head || Gauntlets || Boots || Backpack || Flask
 +
|}
 +
Equipment icons will change colors and display a symbol depending on the equipment's status. Using the shield icon as an example:
 +
{| class="wikitable"
 +
|+ Equipment status
 +
|-
 +
! '''Symbol''' !! Meaning !! Probable cause
 +
|-
 +
| [[File:squad_shield_equipped.png|center]] || The dwarf has a shield assigned, and currently has it equipped. || N/A
 +
|-
 +
| [[File:squad_shield_pending.png|center]] || The dwarf has a shield assigned, but doesn't have it equipped right now. || The dwarf's activity does not require this equipment, the dwarf physically cannot wear the item, the item's slot is already full (due to e.g. excessive layers of clothing), or the dwarf cannot access the assigned item.
 +
|-
 +
|  [[File:squad_shield_unable.png|center]] || The dwarf does not have a shield assigned or equipped. || The fortress does not have enough pieces of equipment for every dwarf in the squad.
 +
|}
 +
Pressing "'''Details'''" lets you see ''precisely'' what items an individual dwarf has been assigned.
 +
 
 +
===Creating and assigning uniforms===
 +
From this menu, uniforms can be created and saved using the "'''Add uniform'''" button or assigned to squads to overwrite their existing equipment with the "'''Assign uniform'''" button. Uniforms are essentially a pre-designed set of equipment that you can quickly apply to any individual soldier or entire squad. You may wish to create new uniforms, and add or remove items from any uniform (even the standard ones). While using the "'''Add uniform'''" menu, uniforms are only ''created'' or ''modified'', not applied.
  
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 (even the standard ones). Uniforms are only ''created'' or ''modified'' in this tab, not applied.
+
While still in the "'''Equip'''" menu, "'''Assign uniform'''" to open the choose uniform sub-menu and select one of your uniform templates to apply to all selected dwarves. Squads can be selected or deselected at any point in this process to change who you are assigning the uniform to without closing any of the sub-menus. Once you have all the squads selected whom you want to use the same uniform, you can click the uniform's name to apply it. The choose uniform sub-menu will close and the squads' previous uniform will be overwritten. You can also edit one position's uniform at a time by selecting the "'''Details'''" menu next to the position name. It is important to remember that this uniform is applied to that squad position rather that a particular dwarf. The uniform can be changed as discussed below and/or saved as a new uniform by typing a name into the textbox at the top of the menu, pressing {{k|enter}} the clicking "'''Confirm and save uniform'''."
  
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.  We'll come back to that in a moment. To apply one of your uniform templates, press {{k|U}} to open the Assign Uniforms sub-tab. Make sure the squad you want is highlighted under Squads/Leaders and then 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. If you edit a uniform after this, you will need to reapply the uniform for the dwarves to recognize the changes.
+
In the "Details" or "Add uniform" sub-menus, you can select pieces of equipment to create a uniform with the equipment buttons - "'''New [[Armor#Upper_Body|bodywear]]'''", "'''New [[Armor#Headgear|headwear]]'''", "'''New [[Armor#Lower_Body|legwear]]'''", "'''New [[Armor#Hands|handwear]]'''", "'''New [[Armor#Footwear|footwear]]'''", "'''New [[Armor#Shield|shield]]'''", and "'''New [[weapon]]'''". You can also specify the "'''Mat'''"erial and "'''Color'''" of the equipment by clicking one of these buttons next to it. In case metal is not specified, dwarves will equip the best item available (e.g., steel rather than iron rather than copper).
  
In the {{k|V}}iew/Customize sub-tab, you can select individual dwarves (technically squad positions) and apply individual pieces of equipment to them - {{k|A}}rmor, {{k|L}}eggings, {{k|H}}elms, {{k|G}}loves, {{k|B}}oots, {{k|S}}hields, and {{k|W}}eapons.  You can also specify {{k|M}}aterial and {{k|C}}olor depending on the piece of equipment highlighted.  Finally, there are two settings that can be toggled for each dwarf: ''Ove{{k|r}} clothing'' and ''Partial {{k|m}}atches''.  These are both on (highlighted) by default. ''Over clothing'' means the dwarf will do his best to wear his uniform in addition to his civilian [[clothing]]; if toggled, it becomes ''Replace clothing'', and the dwarf will strip naked before donning his military gear. ''Partial matches'' means that if a dwarf cannot satisfy an equipment assignment, he'll substitute something close; if toggled to ''Exact matches'', he'll go without rather than making do with a substitute.
+
Finally, there are two settings that can be toggled in the bottom left of the menu: "'''Uniform worn over clothing'''" and "'''Partial matches okay'''".  These are both on by default. "'''Over clothing'''" means the dwarf will do their best to wear their uniform in addition to their civilian [[clothing]]; if toggled, it becomes "'''Replace clothing'''", and the dwarf will strip naked before donning their military gear. "'''Partial matches okay'''" means that if a dwarf cannot satisfy an equipment assignment, they'll substitute it with something close; if toggled to "'''Exact matches only'''", they'll go that piece of equipment rather than making do with a substitute.
  
To select a specific piece of equipment (such as an artifact), select 'specific _____' under that equipment type (e.g. 'specific armor' in the Armor field); for your convenience, highest-quality equipment is listed first.
+
To select a specific piece of equipment for an individual position (such as an artifact), select "'''specific _____'''" under that equipment type (e.g. "'''specific armor'''" in the Armor field); for your convenience, highest-value equipment is listed first.
  
You have the option to wear equipment over clothing or to replace clothing using the {{k|r}} key on the equipment screen. Wearing armor over clothing can cause problems as some civilian clothing (caps, gloves, and shoes) will conflict with their military counterparts (helms, gauntlets, and boots).  Even though the '''equipment''' tab will show that these items have been assigned to a solider they will not actually wear them.  To avoid this use the ''Replace clothing'' option.  As armor counts as clothing, dwarves will not get bad thoughts if only wearing armor.
+
===Wearing equipment over clothing===
 +
You have the option to wear equipment over clothing or to replace clothing using the "'''Uniform worn over clothing'''" button on the equipment screen. Wearing armor over clothing can cause problems as some civilian clothing (caps, gloves, and shoes) will conflict with their military counterparts (helms, gauntlets, and boots).  Even though the '''Uniform''' menu will show that these items have been assigned to a soldier, they will not actually be able to wear them.  To avoid this use the "'''Replace clothing'''" option.  As armor counts as clothing, dwarves will not get bad thoughts if only wearing armor as long as their feet, lower body, and upper body are covered.
  
For ranged soldiers, open the '''ammunition''' tab ({{k|f}}) to assign [[ammunition]] to your dwarves. If you chose the ''Archer'' uniform when you created the squad, then the game has already assigned 250 bolts to this squad. Otherwise, you must assign them some ammo (Important: The assigned amount of ammunition refers to the total amount which is carried by the whole squad--you'll generally want about 30 bolts per soldier). If you don't care what type of bolts they use, just pick "bolts" and they will use any bolts they can find. Also note that [[quiver]]s must be available for marksdwarves to equip bolts/arrows. They are not assigned under the '''equipment''' tab and are automatically retrieved by dwarves that require them.
+
===Ammunition and marksdwarf squads===
 +
Currently{{version|0.50.04}}, when a squad is created, it takes note of the amount of ammunition in the fortress but never updates this figure. This seemingly causes dwarves to never use ammunition{{bug|0012008}}, if there wasn't enough when the squad was created. To work around this bug, disband the squad and create a new squad, giving it a uniform which includes a ranged weapon. This will refresh the squad's knowledge of how much ammunition is available. Set the squad to train with a schedule of your choice, and the dwarves should equip ammunition. (Note: [[Ambusher|Hunter]] dwarves "reserve" roughly 100 to 200 bolts each. Your ammo stockpile must include more bolts than 200 x number of hunters. This extra ammo will be used by your marksdwarves.) ([https://www.reddit.com/r/dwarffortress/comments/10mwqtw/dwarves_not_equipping_boltsarrows_learn_from_my/ Source])
  
If you want them to train at an [[archery target]], you may want to assign lower-quality [[wood]] or [[bone]] bolts for training use. While this prevents your dwarves from wasting high-quality bolts, it can cause problems when training or combat bolts become "stuck" in inventory{{bug|4530}}. By default, both training and combat use are allowed for all assigned ammunition; use {{k|C}} and {{k|T}} to toggle these settings. If the letter is present next to the ammunition the use is turned on.
+
The dwarves will decide for themselves what ammunition to use, so they may waste all the nice metal bolts training and end up fighting battles with only wooden bolts, although the AI is intended to favor worse ammo for training. Also note that [[quiver]]s must be available for marksdwarves to equip bolts/arrows. They are not assigned in the "'''Uniform'''" menu tab and are automatically retrieved by dwarves that require them.
  
Soldiers who have more than one item to put on will not use distance to determine which of the remaining items will be equipped next. Therefore it is best to keep all dwarf-usable equipment within a small area, ideally near your [[barracks]].
+
===Equipment use and storage===
 +
{{TipBox2|titlebg=#0a0|float=right|Storing equipment in barracks|In previous versions soldiers who have more than one item to put on would not use distance to determine which of the remaining items will be equipped next. Therefore it was best to keep all dwarf-usable equipment within a small area, ideally near your [[barracks]]. The way dwarves equip gear has changed slightly{{version|0.50.01}}, so it is uncertain if this is still necessary.}}
 +
Dwarves do not share weapons and armor even if in the same squad and even if the equipment is currently unused by another squad-mate who is off duty. This means, for example, that you cannot have one set of armor for a squad of four dwarves who share guard duty one at a time. When one dwarf is relieved from duty, he may take off his armor (if set to wear civilian clothes) but the new dwarf going on duty will not then pick it up and wear it. Each dwarf in a squad needs his own uniform.
  
The {{k|m}}ilitary-{{k|e}}quipment screen can also be used to ''see'' what equipment has been assigned, without changing it.  A green checkmark will appear next to each equipment that has successfully been assigned to a dwarf (which doesn't necessarily mean the dwarf has actually picked it up yet). For example, if your 9th and 10th squad members don't have a checkmark next to their gauntlets, then you may want to make some more. Pressing {{k|P}} lets you see ''precisely'' what items the dwarf has been assigned.
+
===Changing equipment===
 +
Let's suppose you started with the "'''Leather armor'''" uniform and then smithed some metal armor, and now you want to change your squads to the metal armor. From the "'''Equip'''" menu, you can access the "'''Assign uniform'''" sub-menu, which will show the standard Leather, Metal, and Archer uniforms on the left (if you haven't deleted them). To change a full squad, select the squad using the checkbox to the right of their name, then select the uniform (metal) on the left, and it will be applied. Just hope you have enough metal armor and that Urist goes and picks it up!
  
Dwarves do not share weapons and armor even if in the same squad and even if the equipment is currently unused by another squadmate who is off duty. This means, for example, that you cannot have one set of armor for a squad of four dwarves who share guard duty one at a time. When one dwarf is relieved from duty, he may take off his armor (if set to wear civilian clothes) but the new dwarf going on duty will not then pick it up and wear it. Each dwarf in a squad needs his own uniform.
+
Equipment can also be changed on an individual level e.g. if you would like to add metal gear or artifacts as they are produced. This is done from the "'''Equip'''" menu by pressing the "'''Details'''" button to the right of a squad member's position, then changing "'''Mat'''"erial, "'''Color,'''" or even the type of equipment assigned. This must then be saved by clicking the "'''Confirm'''" button or by entering a name into the textbox and pressing "'''Confirm and save uniform.'''"
  
===Changing Equipment===
+
Dwarves will not always pick up their military equipment immediately.  An off-duty dwarf will sometimes prefer to perform one of his civilian jobs rather than putting on armor, and by default squads are assigned to wear civilian clothes when not on duty, so they will not equip their gear until an active order is assigned or the [[Scheduling#Routines|routine]] is changed to force equipping gear while off duty. Giving squads an [[#Orders|order]] will put them on duty and force them to gather their equipment with a bit more hustle.
Let's suppose you started with the ''Leather armor '' uniform and then smithed some metal armor, and now you want to change your squads to the metal armor. From the military screen {{k|m}}, access the '''equipment''' view {{k|e}}. Then open the uniforms sub-view {{k|U}} which will show the standard Leather, Metal, and Archer uniforms on the right (if you haven't deleted them). To change a full squad, select the squad on the left, then select the uniform (metal) on the right, and hit {{k|shift}}-{{k|enter}} (if you only hit {{k|enter}} it will only apply the change to the lone selected squad member). Just hope you have enough metal armor and that Urist goes and picks it up!
 
  
Dwarves will not always pick up their military equipment immediatelyAn off-duty dwarf will sometimes prefer to perform one of his civilian jobs rather than putting on armor. Giving squads an [[#Orders|order]] will put them on duty and force them to gather their equipment with a bit more hustle.
+
===Equipping bone and shell armor===
 +
One peculiarity for equipping [[bone]] and [[shell]] armor is that they are not explicitly listed in the "'''Mat'''"erial of the "'''Uniform'''" sub-menu. A partial workaround for this problem is that bone and shell are almost the only materials of their respective colors that can be used to make armor by defaultSo, to add bone or shell armor items to a preset uniform template, you need to add a specific type of armor (a helm, for instance) with the modifiers of "'''Color'''" as "'''white'''" for bone or "'''dark green'''"/"'''gray'''" for shell (thus, e.g., a "'''white helm'''"). This workaround is only partially effective for shell armor, as, for example, the armor made of iron is gray, and for bone it is ONLY effective if you also have no unique artifact armor made out of a white metal (such as an Aluminum Breastplate, Platinum Helm, or Silver Low Boot). It also requires that the armor template be for "'''Exact matches only'''" (not "'''Partial matches okay'''") using the buttons at the bottom of the "Uniform" sub-menu.
  
===Equipping Bone and Shell Armor===
+
Some shell colors taken from raws (not guaranteed to be in the uniform color settings list):
One peculiarity for equipping [[bone]] and [[shell]] armor is that, for the purposes of the '''equipment''' and '''uniforms''' tabs, bone and shell are white.  Further, they are not explicitly listed in the {{k|M}}aterial of the {{k|V}}iew/Customize sub-tab.  A workaround for this problem is that bone and shell are the only materials that are white colored and can be used to make armor by default.  So, to add bone or shell armor items to a preset uniform template, you need to add a specific type of armor (a helm, for instance) with the modifiers of {{k|C}}olour "white (dye)" (thus, a "white helm").  This workaround is ONLY effective if you also have no unique artifact armor made out of a white metal (such as an Aluminum Breastplate, Platinum Helm, or Silver Low Boot).  It also requires that the armor template be for "Exact matches" (not "Partial matches") using the {{k|m}} in the Uniforms tab.
+
* Pond turtle – dark green
 +
* Mussel – gray
 +
* Oyster – gray
 +
* Nautilus – stripes brown white
 +
* Giant tortoise – ecru
 +
* Armadillo – mottled gray pink
 +
* Desert tortoise – brown
 +
* Snapping turtle – dark green
 +
* Alligator snapping turtle – dark green
 +
* Giant snail – brown
 +
* Giant moon snail – red
  
===Equipping Leather Shields===
+
===Equipping leather shields===
[[Leather]] is not a selectable material in the uniform screen. However, its uniformly brown colour means that you can order dwarves to use only brown-coloured [[shield]]s and be reasonably confident that they will choose only leather shields. Leather and wood are quite similar as shield materials, but if your leatherworkers make better shields than your carpenters you may want to use their products instead. [[Highwood]] shields are also an option with this uniform setting, and will be chosen if their value is appropriately high.
+
[[Leather]] is not a selectable material in the "'''New shield'''" screen. However, its uniformly brown colour means that you can order dwarves to use only brown-coloured [[shield]]s and be reasonably confident that they will choose only leather shields. Leather and wood are quite similar as shield materials, but if your leatherworkers make better shields than your carpenters you may want to use their products instead. [[Highwood]] shields are also an option with this uniform setting, and will be chosen if their value is appropriately high.
  
 
==Orders==
 
==Orders==
 +
[[File:Squad menu v50 04.png|right]]
 +
Getting your military to actually ''do'' something is the second step.  Squads receive '''passive orders''' through [[scheduling]], and you can give '''direct orders''' to '''attack''' one or more specific targets or to '''station''' at a specific location at will through the {{Menu icon|q}} squads menu.
  
Getting your military to actually ''do'' something is the second step.  Squads receive '''passive orders''' through [[scheduling]], and you can give '''direct orders''' to '''attack''' one or more specific targets or to '''move''' to a specific location at will through the {{k|s}}quads menu.
+
Passive orders are programming that a squad will follow in the absence of direct orders.  Passive orders are typically used for training and defense, while direct orders are used for taking the fight to the enemy. The main ''squads'' menu is predominantly used for direct orders, and the ''Schedule'' sub-menu is used for passive orders. This article will focus on active commands; for more information on passive orders, see [[scheduling]].
  
Passive orders are programming that a squad will follow in the absence of direct orders.  Passive orders are typically used for training and defense, while direct orders are used for taking the fight to the enemy. The ''squads'' menu is predominantly used for direct orders, and the ''Alerts'' and ''Schedule'' tabs of the ''military'' menu are used for passive orders. This article will focus on active commands; for more information on passive orders, see [[scheduling]].
+
A squad that is following a direct command is free to go wherever it is ordered to go, unhindered by any [[burrow]] restrictions.
  
A squad that is following a direct command is free to go wherever it is ordered to go, unhindered by any [[burrow]] restrictions.
+
===Selecting squads/soldiers===
 +
When needed, soldiers can be sent to do specific tasks to <strike>satiate the blood god</strike> defend your fortress. Once these orders have been cancelled, your dwarves will return to their passive orders (if on duty), or their civilian lives (if off duty). Note, however, that your dwarves may continue to move towards their prior objective and mill about for some time afterwards. For this reason (and because canceling orders causes your dwarves to immediately drop any [[wear|worn-out]] clothing) it is best to order your dwarves back to a safe area '''before''' canceling their orders.
  
===Selecting Squads/Soldiers===
+
In the {{Menu icon|q}} '''squad''' menu, you can click the checkboxes to the right of the squad names to select one or more squads to give orders to. To give orders to individual dwarves within a squad: click the third button (bearded dwarf face) on the squad to view the positions in the squad, click the checkbox next to one (or more) dwarf’s name, and then the order, equip, and schedule buttons will appear at the bottom of the menu and apply only to the selected dwarves.
  
When needed, soldiers can be sent to do specific tasks to <strike>satiate the blood god</strike> defend your fortress. Once these orders have been canceled, your dwarves will return to their passive orders (if on duty), or their civilian lives (if off duty). Note, however, that your dwarves may continue to move towards their prior objective and mill about for some time afterwards. For this reason (and because canceling orders causes your dwarves to immediately drop any [[wear|worn-out]] clothing) it is best to order your dwarves back to a safe area '''before''' canceling their orders.
+
If a squad is off duty when you give them an order, they will switch to on-duty status before carrying out the order. This may mean they need to pick up new equipment before they will carry out their orders, although they frequently will not pick up all of their assigned gear before giving up and moving toward the objective.
  
In the {{k|s}}quad menu, you can press {{k|a}}/{{k|b}}/{{k|c}}/etc to select the squad that will execute an 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 order.
+
There are five types of active orders that can be given to your dwarves: attack, station, patrol, burrow defense, or train, as well as cancel order. They are selected by clicking one of the six icons along the bottom of the '''squad''' menu.
  
If a squad is off duty when you give them an order, they will switch to on-duty status before carrying out the order.  This may mean they need to pick up new equipment before they will carry out their orders.
+
===Attack order===
 +
The '''attack order''', sometimes referred to as the '''kill command''', instructs your squad to pursue and attack 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. An attack order can be used to chase a kobold thief or goblin snatcher who is running away with your precious loot, or it may very well be the last command your dwarves receive if things are getting desperate.
  
There are two types of active orders that can be given to your dwarves: a move order or an attack order.
+
After selecting which squad will execute the kill command, click the sword icon to begin designating the Attack targets. You now have several options: by default (or by clicking the -> x icon in the bottom left) you will be in '''single select''' mode and can choose one or more individual targets by clicking on them. You can switch to '''box select''' mode by clicking the stamp icon in the bottom left of the attack menu and draw a selection area on the map. When you left click the box select, a new menu will appear with a list of possible targets inside the selection. To continue adding to your box selection, right click and designate more selections. Once you are happy with your targets from the single or box selections, you can click "'''Confirm'''" to issue the order and watch your dwarves happily run off to execute the order by executing the target, or "'''Cancel'''" to exit the menu without giving an attack order.
  
===Nobles in Squads ===
+
Each dwarf in the squad will attempt to move toward the target until they are within striking distance.  Ranged attackers will not do anything clever, like climbing up to the top of your archery tower - if you want them to fire from a specific position, use a station order instead. If they're already somewhere they can fire from safely, one can also cut off access to the intended targets and THEN issue a kill order. If they're stationed in an archery tower and ordered to kill something they can path to, they might charge the enemy even if they have a clear shot from their current position.
Here's a link to the DF forum, with some not always correct speculation on if you should put any nobles in the military:
 
http://www.bay12forums.com/smf/index.php?topic=113639.msg3467517#msg3467517
 
  
====Move Order====
+
This order will automatically be cancelled once the intended victim is killed. If the target is caught in a [[Trap#Cage_trap|cage trap]], though, your squad will stand over the cage waiting for new orders; when the caged target is hauled to the animal stockpile, the dwarves given the orders to kill it will follow the cage as it is hauled and wait around it once it is stockpiled until the kill command is cancelled.
  
From the {{k|s}}quad menu, a '''move order''' (also known as a ''Station'' order) is issued by selecting a squad, pressing {{k|m}}, choosing an area, and pressing {{k|enter}}.
+
Dwarves go about this with a little more vigor than required and will also attack any other creatures nearby. 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.{{version|0.34.07}}
  
Each dwarf in the squad will select a random (reachable) point within 3 tiles of the spot you specify, and will move directly to that point.  He will stand there until you cancel the order, or until he is overcome by [[hunger]], [[thirst]], or [[exhaustion]].
+
===Station order===
 +
From the {{Menu icon|q}} squad menu, a '''station order''' (also known as a '''move''' order) is issued by selecting a squad, clicking the green arrow icon, and clicking a location on the map.
  
On-duty soldiers will pursue and attack any hostile targets they see, either en route to their station point, or after arrivingHostile targets may include certain wild animals that are deemed dangerous. If the dwarf loses sight of the enemy, he will return to his chosen station point.
+
Each dwarf in the squad will select a random ([[path|reachable]]) point within 3 tiles of the spot you specify, somewhere in that 7x7 box, and will move directly to that point.  This can mean that, if they have a path, dwarves may obediently move to the "wrong" side of a wall or other barrier if those tiles are within the 7x7 box. Dwarves in the squad will stand there until you cancel the order, give a new order, or an enemy comes within sight. Also, if one is overcome by [[hunger]], [[thirst]], or [[exhaustion]], that dwarf will take care of their [[need]] and then return to their squad's current assignment.
  
====Attack Order====
+
On-duty soldiers will pursue and attack any hostile targets they see, either en route to their station point, or after arriving.  Hostile targets may include certain wild animals that are deemed dangerous.  If the dwarf loses sight of the enemy, they will return to their chosen station point.
  
The '''attack order''', sometimes referenced to as the '''kill command''', instructs your squad to pursue and attack 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. A kill order can be used to chase a kobold thief or goblin snatcher who is running away with your precious loot, or it may very well be your last command to your dwarves if things are getting desperate.
+
===Patrol route order===
 +
The '''Patrol Route''' order assigns a squad to walk along a defined path of your choice continuously while the order is active. This can be used to spread the dwarves out and increase their [[ambush]]-spotting potential, or to move your marksdwarves in and out of combat, allowing them to relax and reload before returning to the fray.
  
After selecting which squad will execute the kill order, press {{k|k}} to Attack. You now 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.
+
A '''Patrol''' order is issued by clicking the third order icon from left in the {{Menu icon|q}} squad menu (the one with three red X's connected by a dotted line). Clicking this icon opens the '''route''' sub-menu where any existing route can be selected from the list, inspected, or deleted. If no desirable '''routes''' exist, a new one can be started by clicking "'''Create new route'''." Because routes must be saved to be used and can be selected by other squads it is recommended to give the new route a descriptive name by typing in the textbox at the top of the sub-menu then pressing {{k|enter}}. Finally, you can begin clicking on the map to define which points you want the dwarves to walk to in order. It is important to remember that dwarves will not follow the displayed path exactly. Rather, they will path from their current location to a random point within 3 tiles of the spot you specify (the same rules as a station order) following the normal Fortress Mode [[Path|pathing rules]].{{verify}}<!--Do they ignore traffic cost, burrow restrictions etc..?-->
  
Each dwarf in the squad will attempt to move toward the target until he is within striking distance.  Ranged attackers will not do anything clever like climbing up to the top of your archery tower.  If you want them to fire from a specific position, use a move order instead. If they're already somewhere they can fire from safely, one can also cut off access to the intended targets and THEN issue a kill order. If they're stationed in an archery tower and ordered to kill something they can path to, they might charge the enemy even if they have a clear shot from their current position.
+
Similar to the '''station''' order, on-duty soldiers will pursue and attack any hostile targets they see, prior to arriving at their station, or along their route. Hostile targets may include certain wild animals that are deemed dangerous. If the dwarf loses sight of the enemy, they will return to their patrol route.
  
This order will remain after the intended victim is killed (fixed in some of 34.* - in 34.11 they will cancel order when target is terminated), leaving your squad standing over the corpse of their slain enemy waiting for new orders. Similar behavior will emerge if the intended target is caught in a [[trap|cage trap]]; when the caged target is hauled to the animal stockpile, the dwarves given the orders to kill it will follow the cage as it is hauled and wait around it once it is stockpiled until the kill order is canceled.
+
===Defend burrow order===
 +
If you have '''[[burrow]]s''' defined through the {{Menu icon|U}} Burrows menu, you can order your soldiers to defend it. They will spread out around the zone and automatically attack any hostile creatures that enter the burrow or that they can see nearby. It is unknown if a soldier defending a burrow is limited to their line-of-sight or is simply aware that an enemy is present. This can be useful to set up a 'zone' defense that requires less intricate setup than creating multiple overlapping '''station''' or '''patrol''' orders.
  
Dwarves go about this with a little more vigor than required and will also attack any other creatures nearby. 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 {{version|0.34.07}}.
+
The '''Defend Burrow''' order is issued by clicking the 'shield' icon at the bottom of the {{Menu icon|q}} squad menu, then selecting the burrow you want your squad to defend and clicking "'''Confirm'''."
  
====Cancelling Orders====
+
===Train order===
 +
Training is a necessary part of a successful military, but setting up a proper '''[[Scheduling|schedule]]''' can take more time than it is worth for a simple squad that just needs to train up quickly and get on duty. That's where the active '''Train''' order comes in. It allows you to quickly issue a continuous training order for any number of squads by selecting them in the {{Menu icon|q}} squads menu with the checkbox next to their name and clicking the 'training' axe icon.
  
Pressing the {{k|o}} key in the {{k|s}}quad screen will '''cancel''' the selected dwarves' active orders, sending them back to their civilian or pre-scheduled military lives. It appears that this does not always work properly; as a result, your over-eager dwarves may get themselves into some trouble. Take caution when sending them deep into unfamiliar territory.
+
For your dwarves to train, a they must be assigned to train at a valid '''[[barracks]]'''. This can be done through the {{Menu icon|z}} zone menu by clicking the "'''Barracks'''" blue banner button to designate a barracks zone. To train at the barracks, a squad must be assigned to it from the zones menu by clicking the '''add squad''' - banner with a plus icon then clicking the '''training''' axe icon next to your squads' name to assign them to train there.
  
==Order Scheduling==
+
===Cancelling orders===
 +
Pressing the red circle with a line through it icon in the {{Menu icon|q}} squad screen will '''cancel''' the selected squads' active orders, sending them back to their civilian or pre-scheduled military lives. If a dwarf is actively engaged in combat when an order is cancelled, they may not immediately disengage subject to their [[Personality traits, values, and dreams#Traits|personality]]{{verify}}; as a result, your over-eager dwarves may get themselves into some trouble. Take caution when sending them deep into unfamiliar territory.
  
 +
==Order scheduling==
 
''Full article: [[Scheduling]]''
 
''Full article: [[Scheduling]]''
  
From the squad menu you can cycle through any alerts you have defined quite quickly by pressing {{k|t}}. This will set the order schedule for the entire squad even if you only have a single dwarf selected.  
+
From the {{Menu icon|q}} squad-"'''Schedule'''" menu you can activate any routines you have defined quite quickly by selecting the squads you wish to assign with the checkboxes to the right of their names then clicking on the routine you wish for the squad to follow. This will set the order schedule for the entire squad until you give them an [[#Orders|active order]] or change routines.
  
To edit an existing order schedule or create a new one you need to visit the military schedule screen. This can be done directly from the squad menu by pressing {{k|s}} or alternatively you can back out of the squad menu and use {{k|m}}-{{k|s}} to get to the schedule page from the military screen. The details of setting up an order schedule are described on the [[scheduling]] page.
+
To edit an existing routine or create a new one you need to visit the squad schedule menu. This can be done directly from the squad menu by clicking "'''Schedule'''" then "'''Clear'''"ing and "'''Edit'''"ing one of the visible routines, clicking "'''Add/edit routines'''," or alternatively editing months individually with "'''View monthly schedule'''." The details of setting up an order schedule are described on the [[scheduling]] page.
  
 
==Bugs==
 
==Bugs==
Line 113: Line 168:
 
* Military dwarves may constantly perform "pickup equipment" jobs {{Bug|2687}}
 
* Military dwarves may constantly perform "pickup equipment" jobs {{Bug|2687}}
 
* Military equipment interferes with civilian equipment (picks/axes/crossbows/quivers).{{bug|1451}}
 
* Military equipment interferes with civilian equipment (picks/axes/crossbows/quivers).{{bug|1451}}
* Training or Combat bolts become stuck in inventory, preventing acquisition of combat or training bolts respectively.{{bug|4530}}
+
* Marksdwarves may not equip ammunition automatically.{{bug|0012008}}
* "Long Patrol" negative [[thought]]s seem to escalate, even with long break.{{bug|3190}}
+
 
 +
==Troubleshooting==
 +
Getting dwarves to collect and wear their assigned equipment can be a challenge. Here are some known issues:
 +
*Dwarves take forever to pick up their assigned equipment
 +
**Issuing a "station" order near your equipment dump should motivate dwarves to collect their equipment before reporting for duty. If they are still not fully equipped then check the problems listed below.
 +
 
 +
*Some types of civilian clothing conflict with armor (caps and shoes are common culprits).{{bug|0010899}}
 +
**Toggle "Replace clothing" to force dwarves to wear the assigned armor. (You can toggle it back after they are equipped and your dwarves will add back any non-conflicting clothing.)
 +
 
 +
*Dwarves don't equip hands and/or feet completely.
 +
**To ensure dwarves are able to fully equip their feet, you will need to duplicate the FIRST foot layer. Your dwarves equipment list after confirming in details should read either "socks, socks, boots" or "boots, boots, socks". Handwear doesn't need this workaround for whatever reason, but footwear does. If you only equip "socks, boots", or "boots, socks" they will only get 1 of the first listing leading to either 1 sock with 2 boots, or 2 socks with 1 boot, respectively. This workaround also only applies to uniforms with "Uniform Replaces Clothing" set. Uniforms worn over clothing should refer to the next tip.
 +
**Dwarves will also not equip multiple layers of equipment on their hands and feet even if they should be compatible.
 +
 
 +
*Dwarves drop their assigned equipment.
 +
**Make sure they are ordered to wear their uniform when inactive, and disable all mining, hunting, and woodcutting labors (these labors conflict with military uniforms).
 +
 
 +
*Dwarves keep complaining of "[[equipment mismatch]]".
 +
**This is an "informative" message that is frequently caused by dwarves attempting to swap their equipment for slightly better versions or finding their stored equipment temporarily inaccessible due to bugs with storage.{{bug|0038238}}
 +
 
 +
*Dwarves have tattered clothing equipped.
 +
**Assigned clothing will generally not be swapped for new replacements, leading to stress. Remove clothing (equipment made of cloth) from the dwarf's uniform, and optionally toggle "over clothing" to allow the dwarf to collect, wear, and replace civilian clothing automatically.
 +
 
 +
*Dwarves don't pick up bolts.
 +
**Make sure you have enough quivers and bolts. In previous version Hunters were assigned 100 bolts by default, which remained reserved whether you had any hunters or not. This number is no longer visible or editable,{{version|0.50.01}} so it may still be causing issues.
 +
**When you initially create the squad and it asks for the squad's uniform, it uses this selection to determine how much ammo to reserve for the squad. Any squad with ranged dwarves must be created with a ranged uniform. There is no way to edit this post-creation, if you want to add ranged dwarves to the squad post-creation, you will have to delete and re-create the squad. You can edit or change the uniform post creation, even changing the dwarves from ranged to melee or back, as long as the squad is initially created with ranged weapons it will reserve ammo and the squad members will be able to get ammo.
 +
 
 +
*Dwarves have the wrong bolts stuck in inventory.
 +
**Bolts cannot currently be assigned{{version|0.50.04}} for different uses (e.g. combat vs. training), and dwarves may not pick them up at all.{{bug|0012008}}
 +
 
 +
*Dwarves move extremely slowly after equipping themselves.
 +
**This is due the weight of the armor - most metal armor is heavy. The best way to prevent this is training the [[armor user]] skill, which reduces encumbrance penalties from worn armor, as even the strongest dwarves can be slowed by a full set of armor. [[barracks|Combat training]] will increase a dwarf's armor user skill and [[main:strength|strength]] (as will training [[Attribute#Attributes_trained_by_skills|some other skills]]). The increase in strength will allow them to carry more weight, but it is a very slow process.
  
 
{{Military}}
 
{{Military}}
 +
{{Category|Interface}}
 +
{{Category|Military}}
 +
[[ru:Squad]]

Latest revision as of 09:51, 12 October 2024

This article is about the current version of DF.
Note that some content may still need to be updated.

For enemy squads, see ambush and/or siege.
A dwarf squad ready to deliver permanent deaths.

A squad is a group of military dwarves who share the same schedule and active military orders. Squads are a fundamental part of your fortress' military — they are the units who carry out all the orders you give them. Your ability to manage these iron-blooded dwarves could spell the difference between a healthy fort's life and death.

For quick reference: from the main game screen the squads menu is accessible through the Ui q.pngq key and the burrows menu is accessible through Ui U.pngU. The squad menu and all its sub-menus are designed to be navigated almost exclusively with mouse rather than keys.

For simple, very basic, unarmed and unarmored instructions on how to attack a creature, see attack.

Forming squads[edit]

Before you do anything with your military, you must go into the Ui n.pngn nobles screen and appoint a militia commander. Your fortress can only have one militia commander, who acts as the commander-in-chief of all squads. The militia commander also serves as the leader of your first squad.

Each squad after the first will have its own militia captain, who reports to the militia commander. Squad captains can be designated through the nobles screen, or by creating a new squad in the Ui q.pngq squad menu and then assigning a dwarf to the first position of that squad.

Once you have a militia commander appointed, when going to the squad menu you'll notice an option to "Create new squad." When you click this button to create a squad, you may be asked which militia captain should lead this new squad if you have appointed captains that are not currently leading one, other wise you will be asked which uniform to give the squad. The game creates three uniforms by default; if you aren't sure what to use, or if you want to customize their uniform, choose "No uniform". (See equipping soldiers, below, for details.)

Once the first squad has been created, you can then fill out the squad with any militarily-capable dwarves in your fort, of which no more than ten (10) can be assigned to any one squad. 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 assignment menu. Dwarves that are already in a military squad will have the name of that squad and their position within it listed in yellow text above their name, allowing you to skip over them if necessary. The assignment menu is found by clicking on the 'positions' bearded face icon above the squad name.

Aesthetic customization[edit]

The squad symbol selection menu

The squad menu Ui q.pngq allows you to edit the name and the graphical symbol assigned to any created squads, by clicking on the quill and symbol icons, respectively. These options are purely cosmetic, unlike equipping soldiers and order scheduling.

Nobles in squads[edit]

Here's a link to the DF forum, with oldv0.34.11 but potentially still relevant speculation on which nobles should not be assigned to the military due to the importance of their civilian role: http://www.bay12forums.com/smf/index.php?topic=113639.msg3467517#msg3467517

Equipping soldiers[edit]

Accessing the Equip screen[edit]

In the squad menu, select one or more squads by clicking the checkbox next to their name, then click "Equip" to view a summary of their assigned equipment. The following icons are used:

Types of equipment
Icon
Squad weapon icon.png
Squad shield equipped.png
Squad upper body icon.png
Squad lower body icon.png
Squad head icon.png
Squad hands icon.png
Squad feet icon.png
Squad backpack icon.png
Squad flask icon.png
Meaning Weapon Shield Upper body Lower body Head Gauntlets Boots Backpack Flask

Equipment icons will change colors and display a symbol depending on the equipment's status. Using the shield icon as an example:

Equipment status
Symbol Meaning Probable cause
Squad shield equipped.png
The dwarf has a shield assigned, and currently has it equipped. N/A
Squad shield pending.png
The dwarf has a shield assigned, but doesn't have it equipped right now. The dwarf's activity does not require this equipment, the dwarf physically cannot wear the item, the item's slot is already full (due to e.g. excessive layers of clothing), or the dwarf cannot access the assigned item.
Squad shield unable.png
The dwarf does not have a shield assigned or equipped. The fortress does not have enough pieces of equipment for every dwarf in the squad.

Pressing "Details" lets you see precisely what items an individual dwarf has been assigned.

Creating and assigning uniforms[edit]

From this menu, uniforms can be created and saved using the "Add uniform" button or assigned to squads to overwrite their existing equipment with the "Assign uniform" button. Uniforms are essentially a pre-designed set of equipment that you can quickly apply to any individual soldier or entire squad. You may wish to create new uniforms, and add or remove items from any uniform (even the standard ones). While using the "Add uniform" menu, uniforms are only created or modified, not applied.

While still in the "Equip" menu, "Assign uniform" to open the choose uniform sub-menu and select one of your uniform templates to apply to all selected dwarves. Squads can be selected or deselected at any point in this process to change who you are assigning the uniform to without closing any of the sub-menus. Once you have all the squads selected whom you want to use the same uniform, you can click the uniform's name to apply it. The choose uniform sub-menu will close and the squads' previous uniform will be overwritten. You can also edit one position's uniform at a time by selecting the "Details" menu next to the position name. It is important to remember that this uniform is applied to that squad position rather that a particular dwarf. The uniform can be changed as discussed below and/or saved as a new uniform by typing a name into the textbox at the top of the menu, pressing enter the clicking "Confirm and save uniform."

In the "Details" or "Add uniform" sub-menus, you can select pieces of equipment to create a uniform with the equipment buttons - "New bodywear", "New headwear", "New legwear", "New handwear", "New footwear", "New shield", and "New weapon". You can also specify the "Mat"erial and "Color" of the equipment by clicking one of these buttons next to it. In case metal is not specified, dwarves will equip the best item available (e.g., steel rather than iron rather than copper).

Finally, there are two settings that can be toggled in the bottom left of the menu: "Uniform worn over clothing" and "Partial matches okay". These are both on by default. "Over clothing" means the dwarf will do their best to wear their uniform in addition to their civilian clothing; if toggled, it becomes "Replace clothing", and the dwarf will strip naked before donning their military gear. "Partial matches okay" means that if a dwarf cannot satisfy an equipment assignment, they'll substitute it with something close; if toggled to "Exact matches only", they'll go that piece of equipment rather than making do with a substitute.

To select a specific piece of equipment for an individual position (such as an artifact), select "specific _____" under that equipment type (e.g. "specific armor" in the Armor field); for your convenience, highest-value equipment is listed first.

Wearing equipment over clothing[edit]

You have the option to wear equipment over clothing or to replace clothing using the "Uniform worn over clothing" button on the equipment screen. Wearing armor over clothing can cause problems as some civilian clothing (caps, gloves, and shoes) will conflict with their military counterparts (helms, gauntlets, and boots). Even though the Uniform menu will show that these items have been assigned to a soldier, they will not actually be able to wear them. To avoid this use the "Replace clothing" option. As armor counts as clothing, dwarves will not get bad thoughts if only wearing armor as long as their feet, lower body, and upper body are covered.

Ammunition and marksdwarf squads[edit]

Currentlyv0.50.04, when a squad is created, it takes note of the amount of ammunition in the fortress but never updates this figure. This seemingly causes dwarves to never use ammunitionBug:0012008, if there wasn't enough when the squad was created. To work around this bug, disband the squad and create a new squad, giving it a uniform which includes a ranged weapon. This will refresh the squad's knowledge of how much ammunition is available. Set the squad to train with a schedule of your choice, and the dwarves should equip ammunition. (Note: Hunter dwarves "reserve" roughly 100 to 200 bolts each. Your ammo stockpile must include more bolts than 200 x number of hunters. This extra ammo will be used by your marksdwarves.) (Source)

The dwarves will decide for themselves what ammunition to use, so they may waste all the nice metal bolts training and end up fighting battles with only wooden bolts, although the AI is intended to favor worse ammo for training. Also note that quivers must be available for marksdwarves to equip bolts/arrows. They are not assigned in the "Uniform" menu tab and are automatically retrieved by dwarves that require them.

Equipment use and storage[edit]

Storing equipment in barracks

In previous versions soldiers who have more than one item to put on would not use distance to determine which of the remaining items will be equipped next. Therefore it was best to keep all dwarf-usable equipment within a small area, ideally near your barracks. The way dwarves equip gear has changed slightlyv0.50.01, so it is uncertain if this is still necessary.

Dwarves do not share weapons and armor even if in the same squad and even if the equipment is currently unused by another squad-mate who is off duty. This means, for example, that you cannot have one set of armor for a squad of four dwarves who share guard duty one at a time. When one dwarf is relieved from duty, he may take off his armor (if set to wear civilian clothes) but the new dwarf going on duty will not then pick it up and wear it. Each dwarf in a squad needs his own uniform.

Changing equipment[edit]

Let's suppose you started with the "Leather armor" uniform and then smithed some metal armor, and now you want to change your squads to the metal armor. From the "Equip" menu, you can access the "Assign uniform" sub-menu, which will show the standard Leather, Metal, and Archer uniforms on the left (if you haven't deleted them). To change a full squad, select the squad using the checkbox to the right of their name, then select the uniform (metal) on the left, and it will be applied. Just hope you have enough metal armor and that Urist goes and picks it up!

Equipment can also be changed on an individual level e.g. if you would like to add metal gear or artifacts as they are produced. This is done from the "Equip" menu by pressing the "Details" button to the right of a squad member's position, then changing "Mat"erial, "Color," or even the type of equipment assigned. This must then be saved by clicking the "Confirm" button or by entering a name into the textbox and pressing "Confirm and save uniform."

Dwarves will not always pick up their military equipment immediately. An off-duty dwarf will sometimes prefer to perform one of his civilian jobs rather than putting on armor, and by default squads are assigned to wear civilian clothes when not on duty, so they will not equip their gear until an active order is assigned or the routine is changed to force equipping gear while off duty. Giving squads an order will put them on duty and force them to gather their equipment with a bit more hustle.

Equipping bone and shell armor[edit]

One peculiarity for equipping bone and shell armor is that they are not explicitly listed in the "Mat"erial of the "Uniform" sub-menu. A partial workaround for this problem is that bone and shell are almost the only materials of their respective colors that can be used to make armor by default. So, to add bone or shell armor items to a preset uniform template, you need to add a specific type of armor (a helm, for instance) with the modifiers of "Color" as "white" for bone or "dark green"/"gray" for shell (thus, e.g., a "white helm"). This workaround is only partially effective for shell armor, as, for example, the armor made of iron is gray, and for bone it is ONLY effective if you also have no unique artifact armor made out of a white metal (such as an Aluminum Breastplate, Platinum Helm, or Silver Low Boot). It also requires that the armor template be for "Exact matches only" (not "Partial matches okay") using the buttons at the bottom of the "Uniform" sub-menu.

Some shell colors taken from raws (not guaranteed to be in the uniform color settings list):

  • Pond turtle – dark green
  • Mussel – gray
  • Oyster – gray
  • Nautilus – stripes brown white
  • Giant tortoise – ecru
  • Armadillo – mottled gray pink
  • Desert tortoise – brown
  • Snapping turtle – dark green
  • Alligator snapping turtle – dark green
  • Giant snail – brown
  • Giant moon snail – red

Equipping leather shields[edit]

Leather is not a selectable material in the "New shield" screen. However, its uniformly brown colour means that you can order dwarves to use only brown-coloured shields and be reasonably confident that they will choose only leather shields. Leather and wood are quite similar as shield materials, but if your leatherworkers make better shields than your carpenters you may want to use their products instead. Highwood shields are also an option with this uniform setting, and will be chosen if their value is appropriately high.

Orders[edit]

Squad menu v50 04.png

Getting your military to actually do something is the second step. Squads receive passive orders through scheduling, and you can give direct orders to attack one or more specific targets or to station at a specific location at will through the Ui q.pngq squads menu.

Passive orders are programming that a squad will follow in the absence of direct orders. Passive orders are typically used for training and defense, while direct orders are used for taking the fight to the enemy. The main squads menu is predominantly used for direct orders, and the Schedule sub-menu is used for passive orders. This article will focus on active commands; for more information on passive orders, see scheduling.

A squad that is following a direct command is free to go wherever it is ordered to go, unhindered by any burrow restrictions.

Selecting squads/soldiers[edit]

When needed, soldiers can be sent to do specific tasks to satiate the blood god defend your fortress. Once these orders have been cancelled, your dwarves will return to their passive orders (if on duty), or their civilian lives (if off duty). Note, however, that your dwarves may continue to move towards their prior objective and mill about for some time afterwards. For this reason (and because canceling orders causes your dwarves to immediately drop any worn-out clothing) it is best to order your dwarves back to a safe area before canceling their orders.

In the Ui q.pngq squad menu, you can click the checkboxes to the right of the squad names to select one or more squads to give orders to. To give orders to individual dwarves within a squad: click the third button (bearded dwarf face) on the squad to view the positions in the squad, click the checkbox next to one (or more) dwarf’s name, and then the order, equip, and schedule buttons will appear at the bottom of the menu and apply only to the selected dwarves.

If a squad is off duty when you give them an order, they will switch to on-duty status before carrying out the order. This may mean they need to pick up new equipment before they will carry out their orders, although they frequently will not pick up all of their assigned gear before giving up and moving toward the objective.

There are five types of active orders that can be given to your dwarves: attack, station, patrol, burrow defense, or train, as well as cancel order. They are selected by clicking one of the six icons along the bottom of the squad menu.

Attack order[edit]

The attack order, sometimes referred to as the kill command, instructs your squad to pursue and attack 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. An attack order can be used to chase a kobold thief or goblin snatcher who is running away with your precious loot, or it may very well be the last command your dwarves receive if things are getting desperate.

After selecting which squad will execute the kill command, click the sword icon to begin designating the Attack targets. You now have several options: by default (or by clicking the -> x icon in the bottom left) you will be in single select mode and can choose one or more individual targets by clicking on them. You can switch to box select mode by clicking the stamp icon in the bottom left of the attack menu and draw a selection area on the map. When you left click the box select, a new menu will appear with a list of possible targets inside the selection. To continue adding to your box selection, right click and designate more selections. Once you are happy with your targets from the single or box selections, you can click "Confirm" to issue the order and watch your dwarves happily run off to execute the order by executing the target, or "Cancel" to exit the menu without giving an attack order.

Each dwarf in the squad will attempt to move toward the target until they are within striking distance. Ranged attackers will not do anything clever, like climbing up to the top of your archery tower - if you want them to fire from a specific position, use a station order instead. If they're already somewhere they can fire from safely, one can also cut off access to the intended targets and THEN issue a kill order. If they're stationed in an archery tower and ordered to kill something they can path to, they might charge the enemy even if they have a clear shot from their current position.

This order will automatically be cancelled once the intended victim is killed. If the target is caught in a cage trap, though, your squad will stand over the cage waiting for new orders; when the caged target is hauled to the animal stockpile, the dwarves given the orders to kill it will follow the cage as it is hauled and wait around it once it is stockpiled until the kill command is cancelled.

Dwarves go about this with a little more vigor than required and will also attack any other creatures nearby. 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.v0.34.07

Station order[edit]

From the Ui q.pngq squad menu, a station order (also known as a move order) is issued by selecting a squad, clicking the green arrow icon, and clicking a location on the map.

Each dwarf in the squad will select a random (reachable) point within 3 tiles of the spot you specify, somewhere in that 7x7 box, and will move directly to that point. This can mean that, if they have a path, dwarves may obediently move to the "wrong" side of a wall or other barrier if those tiles are within the 7x7 box. Dwarves in the squad will stand there until you cancel the order, give a new order, or an enemy comes within sight. Also, if one is overcome by hunger, thirst, or exhaustion, that dwarf will take care of their need and then return to their squad's current assignment.

On-duty soldiers will pursue and attack any hostile targets they see, either en route to their station point, or after arriving. Hostile targets may include certain wild animals that are deemed dangerous. If the dwarf loses sight of the enemy, they will return to their chosen station point.

Patrol route order[edit]

The Patrol Route order assigns a squad to walk along a defined path of your choice continuously while the order is active. This can be used to spread the dwarves out and increase their ambush-spotting potential, or to move your marksdwarves in and out of combat, allowing them to relax and reload before returning to the fray.

A Patrol order is issued by clicking the third order icon from left in the Ui q.pngq squad menu (the one with three red X's connected by a dotted line). Clicking this icon opens the route sub-menu where any existing route can be selected from the list, inspected, or deleted. If no desirable routes exist, a new one can be started by clicking "Create new route." Because routes must be saved to be used and can be selected by other squads it is recommended to give the new route a descriptive name by typing in the textbox at the top of the sub-menu then pressing enter. Finally, you can begin clicking on the map to define which points you want the dwarves to walk to in order. It is important to remember that dwarves will not follow the displayed path exactly. Rather, they will path from their current location to a random point within 3 tiles of the spot you specify (the same rules as a station order) following the normal Fortress Mode pathing rules.[Verify]

Similar to the station order, on-duty soldiers will pursue and attack any hostile targets they see, prior to arriving at their station, or along their route. Hostile targets may include certain wild animals that are deemed dangerous. If the dwarf loses sight of the enemy, they will return to their patrol route.

Defend burrow order[edit]

If you have burrows defined through the Ui U.pngU Burrows menu, you can order your soldiers to defend it. They will spread out around the zone and automatically attack any hostile creatures that enter the burrow or that they can see nearby. It is unknown if a soldier defending a burrow is limited to their line-of-sight or is simply aware that an enemy is present. This can be useful to set up a 'zone' defense that requires less intricate setup than creating multiple overlapping station or patrol orders.

The Defend Burrow order is issued by clicking the 'shield' icon at the bottom of the Ui q.pngq squad menu, then selecting the burrow you want your squad to defend and clicking "Confirm."

Train order[edit]

Training is a necessary part of a successful military, but setting up a proper schedule can take more time than it is worth for a simple squad that just needs to train up quickly and get on duty. That's where the active Train order comes in. It allows you to quickly issue a continuous training order for any number of squads by selecting them in the Ui q.pngq squads menu with the checkbox next to their name and clicking the 'training' axe icon.

For your dwarves to train, a they must be assigned to train at a valid barracks. This can be done through the Ui z.pngz zone menu by clicking the "Barracks" blue banner button to designate a barracks zone. To train at the barracks, a squad must be assigned to it from the zones menu by clicking the add squad - banner with a plus icon then clicking the training axe icon next to your squads' name to assign them to train there.

Cancelling orders[edit]

Pressing the red circle with a line through it icon in the Ui q.pngq squad screen will cancel the selected squads' active orders, sending them back to their civilian or pre-scheduled military lives. If a dwarf is actively engaged in combat when an order is cancelled, they may not immediately disengage subject to their personality[Verify]; as a result, your over-eager dwarves may get themselves into some trouble. Take caution when sending them deep into unfamiliar territory.

Order scheduling[edit]

Full article: Scheduling

From the Ui q.pngq squad-"Schedule" menu you can activate any routines you have defined quite quickly by selecting the squads you wish to assign with the checkboxes to the right of their names then clicking on the routine you wish for the squad to follow. This will set the order schedule for the entire squad until you give them an active order or change routines.

To edit an existing routine or create a new one you need to visit the squad schedule menu. This can be done directly from the squad menu by clicking "Schedule" then "Clear"ing and "Edit"ing one of the visible routines, clicking "Add/edit routines," or alternatively editing months individually with "View monthly schedule." The details of setting up an order schedule are described on the scheduling page.

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.
  • Dwarves handle equipment conflicts poorly, often resulting in an ill-equipped military.Bug:535
  • Military dwarves may constantly perform "pickup equipment" jobs Bug:2687
  • Military equipment interferes with civilian equipment (picks/axes/crossbows/quivers).Bug:1451
  • Marksdwarves may not equip ammunition automatically.Bug:0012008

Troubleshooting[edit]

Getting dwarves to collect and wear their assigned equipment can be a challenge. Here are some known issues:

  • Dwarves take forever to pick up their assigned equipment
    • Issuing a "station" order near your equipment dump should motivate dwarves to collect their equipment before reporting for duty. If they are still not fully equipped then check the problems listed below.
  • Some types of civilian clothing conflict with armor (caps and shoes are common culprits).Bug:0010899
    • Toggle "Replace clothing" to force dwarves to wear the assigned armor. (You can toggle it back after they are equipped and your dwarves will add back any non-conflicting clothing.)
  • Dwarves don't equip hands and/or feet completely.
    • To ensure dwarves are able to fully equip their feet, you will need to duplicate the FIRST foot layer. Your dwarves equipment list after confirming in details should read either "socks, socks, boots" or "boots, boots, socks". Handwear doesn't need this workaround for whatever reason, but footwear does. If you only equip "socks, boots", or "boots, socks" they will only get 1 of the first listing leading to either 1 sock with 2 boots, or 2 socks with 1 boot, respectively. This workaround also only applies to uniforms with "Uniform Replaces Clothing" set. Uniforms worn over clothing should refer to the next tip.
    • Dwarves will also not equip multiple layers of equipment on their hands and feet even if they should be compatible.
  • Dwarves drop their assigned equipment.
    • Make sure they are ordered to wear their uniform when inactive, and disable all mining, hunting, and woodcutting labors (these labors conflict with military uniforms).
  • Dwarves keep complaining of "equipment mismatch".
    • This is an "informative" message that is frequently caused by dwarves attempting to swap their equipment for slightly better versions or finding their stored equipment temporarily inaccessible due to bugs with storage.Bug:0038238
  • Dwarves have tattered clothing equipped.
    • Assigned clothing will generally not be swapped for new replacements, leading to stress. Remove clothing (equipment made of cloth) from the dwarf's uniform, and optionally toggle "over clothing" to allow the dwarf to collect, wear, and replace civilian clothing automatically.
  • Dwarves don't pick up bolts.
    • Make sure you have enough quivers and bolts. In previous version Hunters were assigned 100 bolts by default, which remained reserved whether you had any hunters or not. This number is no longer visible or editable,v0.50.01 so it may still be causing issues.
    • When you initially create the squad and it asks for the squad's uniform, it uses this selection to determine how much ammo to reserve for the squad. Any squad with ranged dwarves must be created with a ranged uniform. There is no way to edit this post-creation, if you want to add ranged dwarves to the squad post-creation, you will have to delete and re-create the squad. You can edit or change the uniform post creation, even changing the dwarves from ranged to melee or back, as long as the squad is initially created with ranged weapons it will reserve ammo and the squad members will be able to get ammo.
  • Dwarves have the wrong bolts stuck in inventory.
    • Bolts cannot currently be assignedv0.50.04 for different uses (e.g. combat vs. training), and dwarves may not pick them up at all.Bug:0012008
  • Dwarves move extremely slowly after equipping themselves.
    • This is due the weight of the armor - most metal armor is heavy. The best way to prevent this is training the armor user skill, which reduces encumbrance penalties from worn armor, as even the strongest dwarves can be slowed by a full set of armor. Combat training will increase a dwarf's armor user skill and strength (as will training some other skills). The increase in strength will allow them to carry more weight, but it is a very slow process.
Military and defense
F.A.Q.
Guides
Managing soldiers
Design tips
Invaders