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.
Editing 40d:Traffic
Jump to navigation
Jump to search
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
You are editing a page for an older version of Dwarf Fortress ("Main" is the current version, not "40d"). Please make sure you intend to do this. If you are here by mistake, see the current page instead.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | + | Once a settlement begins to grow in size '''traffic''' may become an issue. Movement in narrow hallways is slowed by dwarfs moving past each other. | |
− | ''' | ||
− | Some traffic problems can be prevented by good | + | Some traffic problems can be prevented by good fortress design, such as making hallway which are likely to be high use double width and placing [[stockpile]]s close to relevant [[workshop]]s. Other difficulties may be reduced by setting traffic areas. |
− | Vegetation (saplings) will tend to die | + | Vegetation (saplings) will tend to die in outdoor areas with high traffic, quickly exposing bare soil. This is usually desireable as trees block dwarf's and caravan's paths. |
− | |||
− | |||
==Setting Traffic Areas== | ==Setting Traffic Areas== | ||
− | The {{K|d}}{{K|o}} combination sets '''traffic areas''', which are | + | The {{K|d}}{{K|o}} combination sets '''traffic areas''', which are used to manipulate the movements of dwarves. Traffic areas can be designated as high, normal, low or restricted. When walking from one point to another, dwarves consider these designations in finding the shortest path. High level traffic costs the pathfinding AI 1 point per square, normal (the default, and unmarked) costs 2 points per square, low costs 5, and restricted costs 25. You can change these values in [[init.txt]]. |
− | * It is often a good idea to set any | + | * It is often a good idea to set any water source in a biome with seasonal freezing to restricted so your dwarves will be less likely to be caught on it when it melts. |
− | * Some dwarves get [[thought|disturbed]] if they walk through a [[butcher's shop]] and see an animal being slaughtered, so you may | + | * Some dwarves get [[thought|disturbed]] if they walk through a [[butcher's shop]] and see an animal being slaughtered, so you may with to designate as restricted the shop. |
− | * If an area occasionally gets | + | * If an area occasionally gets flooded, or is dangerous for some reason, routing dwarves around it could be lifesaving. |
− | * Setting | + | * Setting high traffic areas along [[road]]s outdoors prevents vegetation from being needlessly trampled. |
− | |||
− | Setting Restricted does not forbid a | + | Setting Restricted does not forbid a dwarf from traveling over those squares, but rather makes them willing to walk around them – for the normal cost table, 12.5 times further, or up to 25 times longer if there is an alternative high-traffic path. If you have an area that absolutely must not be stepped on by dwarves, consider [[wall]]s. |
==Limitations== | ==Limitations== | ||
Traffic designations only affect path preferences when pathfinding. Dwarves generally choose their jobs without weighing the pathfinding costs. For example, one cannot use traffic designations to direct a dwarf to confine his digging to a specific area. He will still take whatever path necessary to get to the job he has chosen to work. | Traffic designations only affect path preferences when pathfinding. Dwarves generally choose their jobs without weighing the pathfinding costs. For example, one cannot use traffic designations to direct a dwarf to confine his digging to a specific area. He will still take whatever path necessary to get to the job he has chosen to work. | ||
− | Additionally, traffic designations cannot be used to restrict where a dwarf will stand when building/digging. In other words, traffic designations will not prevent a dwarf from placing himself on the outside of the fort when the last tile of a | + | Additionally, traffic designations cannot be used to restrict where a dwarf will stand when building/digging. In other words, traffic designations will not prevent a dwarf from placing himself on the outside of the fort when the last tile of a moat or wall is completed. In some cases, a workaround is to place a wall where you want the dwarf to avoid standing, and suspend it. This prevents him from standing on that tile while building/digging. When the job is finished, the suspended wall may be canceled. |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | [[category:designations]] |