- 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.
Difference between revisions of "Army"
m (categorization) |
m |
||
(12 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
{{Quality|Fine}} | {{Quality|Fine}} | ||
− | |||
{{av}} | {{av}} | ||
− | {{ | + | {{For/see|military activities in fortress mode|[[Military]]}} |
− | + | {{Dual image | |
− | + | |premium=File:Traveling armies adventure.png | |
− | : | + | |classic=File:Advmode_fasttravel_DF2014.png |
− | '''Armies''' are groups of people wandering the world with a specific purpose and direction. The | + | |caption=Armies on the [[Adventurer mode gameplay#Fast travel|world map]]. |
+ | |width=368px | ||
+ | }} | ||
+ | '''Armies''' are groups of people wandering the world with a specific purpose and direction. The words 'army' and 'group' are used loosely; an 'army' simply represents the abstract data structures used by [[main:Toady One|Toady One]] to keep track of moving people, and a 'group' can very well be one single person. Armies draw from existing populations (both abstract and [[historical figure]]s) and can be encountered in the wild after [[world generation]]. Non-army entities always sit where they are, at their site of origin, and don't move after world generation. | ||
The following groups are considered armies by the game: | The following groups are considered armies by the game: | ||
− | *Your [[Adventure mode|adventuring]] party (i.e. your adventurer and | + | *Your [[Adventure mode|adventuring]] party (i.e. your adventurer and their companions) |
*Non-player adventurers (i.e. [[quester]]s) and [[agent]]s | *Non-player adventurers (i.e. [[quester]]s) and [[agent]]s | ||
*Invading forces; this includes both offsite invaders and armies marching to [[siege]] you | *Invading forces; this includes both offsite invaders and armies marching to [[siege]] you | ||
Line 19: | Line 21: | ||
*[[Immigration|Migrant]] groups | *[[Immigration|Migrant]] groups | ||
*[[Caravan]]s | *[[Caravan]]s | ||
− | *A [[necromancer]]'s horde on | + | *A [[necromancer]]'s horde on patrol |
+ | *A [[night troll]] on the hunt | ||
On the other hand, other groups such as [[megabeast]]s and [[titan]]s are not armies of their own, and always sit in their lair. | On the other hand, other groups such as [[megabeast]]s and [[titan]]s are not armies of their own, and always sit in their lair. | ||
− | {{Category|World}} | + | |
+ | == Modding Armies == | ||
+ | [[File:Migrant camp tent preview.png|thumb|right|A group of [[Elf|elves]] resting in a [[camp]].]] | ||
+ | ''Main article: [[Position token]]'' | ||
+ | |||
+ | Every site can have its own army, and that army can potentially be sent out on missions. The civ itself can also have its own army, which is treated as a separate army. How armies are generated during [[world generation]] and [[World activities|activation]] depends on the noble positions. | ||
+ | |||
+ | Normally, nobles will be created based on their NUMBER; as long as a noble position can be appointed (either [ELECTED] or its [APPOINTED_BY] noble exists) that number of nobles will be created automatically. The exception to this is those with AS_NEEDED, which will never be created until an army is formed. | ||
+ | |||
+ | Missions are created by a noble with the [MILITARY_GOALS] position (defending a site from invasion is also considered a mission). When a mission is created, the noble will first decide how many troops it will send on that mission. This number is limited by the total population of the site. | ||
+ | |||
+ | These troops will be assigned to nobles with SQUAD tags. If there are not enough squads to handle all of the needed troops, nobles with the COMMANDER tag, who command positions with the [NUMBER:AS_NEEDED] tag, will start appointing subordinates. The "lowest ranked" noble that is still able to appoint new subordinates will have priority. | ||
+ | |||
+ | The [COMMANDER:position:ALL] tag states that a noble is the commander of the designated position. However, you can '''also''' put a number here (this feature is not used in vanilla). For example, [COMMANDER:position:10]. This means that the commander can command a maximum of 10 nobles with the specified position. (ALL means they can appoint as many as they want.) | ||
+ | |||
+ | In vanilla DF, since the GENERAL has [COMMANDER:LIEUTENANT:ALL], and the LIEUTENANT has [COMMANDER:CAPTAIN:ALL], even though LIEUTENANT has [NUMBER:AS_NEEDED] there will almost never be more than one LIEUTENANT per civ: once there is one LIEUTENANT they can keep adding CAPTAINs until there are enough to manage the entire army, so no more LIEUTENANTs are needed. However, if, for instance, you limit the LIEUTENANT to only be able to command 10 CAPTAINs, if the mission requires an army larger than 100 soldiers the GENERAL will appoint a new LIEUTENANT. | ||
+ | |||
+ | This also means that if you limit the GENERAL to only be able to command 10 LIEUTENANTs, the civ's total army size will be limited to about 1000 soldiers. Using this, you can limit the size of a civ's army and make it weaker in war. | ||
+ | <br> | ||
+ | {{Category|World}}{{Template:V50 entities}}{{Category|Adventurer mode}} | ||
[[ru:Army]] | [[ru:Army]] |
Latest revision as of 19:37, 23 December 2024
v50.15 · v0.47.05 This article is about the current version of DF.Note that some content may still need to be updated. |
- For military activities in fortress mode, see Military.
Armies are groups of people wandering the world with a specific purpose and direction. The words 'army' and 'group' are used loosely; an 'army' simply represents the abstract data structures used by Toady One to keep track of moving people, and a 'group' can very well be one single person. Armies draw from existing populations (both abstract and historical figures) and can be encountered in the wild after world generation. Non-army entities always sit where they are, at their site of origin, and don't move after world generation.
The following groups are considered armies by the game:
- Your adventuring party (i.e. your adventurer and their companions)
- Non-player adventurers (i.e. questers) and agents
- Invading forces; this includes both offsite invaders and armies marching to siege you
- Squads sent offsite on a mission
- Bandit groups on a raid
- Refugee groups
- Migrant groups
- Caravans
- A necromancer's horde on patrol
- A night troll on the hunt
On the other hand, other groups such as megabeasts and titans are not armies of their own, and always sit in their lair.
Modding Armies[edit]
Main article: Position token
Every site can have its own army, and that army can potentially be sent out on missions. The civ itself can also have its own army, which is treated as a separate army. How armies are generated during world generation and activation depends on the noble positions.
Normally, nobles will be created based on their NUMBER; as long as a noble position can be appointed (either [ELECTED] or its [APPOINTED_BY] noble exists) that number of nobles will be created automatically. The exception to this is those with AS_NEEDED, which will never be created until an army is formed.
Missions are created by a noble with the [MILITARY_GOALS] position (defending a site from invasion is also considered a mission). When a mission is created, the noble will first decide how many troops it will send on that mission. This number is limited by the total population of the site.
These troops will be assigned to nobles with SQUAD tags. If there are not enough squads to handle all of the needed troops, nobles with the COMMANDER tag, who command positions with the [NUMBER:AS_NEEDED] tag, will start appointing subordinates. The "lowest ranked" noble that is still able to appoint new subordinates will have priority.
The [COMMANDER:position:ALL] tag states that a noble is the commander of the designated position. However, you can also put a number here (this feature is not used in vanilla). For example, [COMMANDER:position:10]. This means that the commander can command a maximum of 10 nobles with the specified position. (ALL means they can appoint as many as they want.)
In vanilla DF, since the GENERAL has [COMMANDER:LIEUTENANT:ALL], and the LIEUTENANT has [COMMANDER:CAPTAIN:ALL], even though LIEUTENANT has [NUMBER:AS_NEEDED] there will almost never be more than one LIEUTENANT per civ: once there is one LIEUTENANT they can keep adding CAPTAINs until there are enough to manage the entire army, so no more LIEUTENANTs are needed. However, if, for instance, you limit the LIEUTENANT to only be able to command 10 CAPTAINs, if the mission requires an army larger than 100 soldiers the GENERAL will appoint a new LIEUTENANT.
This also means that if you limit the GENERAL to only be able to command 10 LIEUTENANTs, the civ's total army size will be limited to about 1000 soldiers. Using this, you can limit the size of a civ's army and make it weaker in war.
Groups | |
---|---|
Laws | |
Diplomacy |