AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Dwarf fortress embark prfiles1/17/2024 This allows you to use the mouse when you want to edge scroll the cursor, but enough time to react and stop it when you move to the edge accidentally. I've reduced the effect of this by adding a short delay to cursor movement when the mouse is at the edges. On its own this could be annoying if using the mouse, because it can cause the map to zip across screen. I don't have it turned on by default, because some people might not like the edge scrolling side effect this has: when the cursor is moved to about 5 tiles from the edge of the screen, the game automatically causes the map to scroll. To enable this add the following to dfhack.init: You can also enable "edge scrolling", where the map scrolls automatically if you move the mouse to the edge of the screen, which is probably more convenient once you get used to it. Note that if "cursor tracking" is enabled (see next section), the game will automatically cause the map to scroll when the cursor is enabled (because moving the ingame cursor to the edge of the map causes it to scroll anyway). I've made it so that in default mode if you right click towards the edge of the map that causes it to scroll in that direction. Unfortunately it's not possible to allow clicking and dragging the map, because it doesn't look like dfhack can detect "mouse key up" events. If you use my Building Plan plugin, then you can turn on planning mode for furniture, which will let you place buildings fairly quickly with the mouse. There are a couple of bugfixes to automaterial included in this updated to help it work together with this plugin, so please update ug.* as well. Using "auto type select" and "auto material select" will make construction placement with the mouse even faster. If you use my automaterial (Construction Helper) plugin, then you can enable box mode for construction placement, which will let you use this plugin to designate walls, floors etc by simply clicking the two corners. This should allow you to do more actions with the mouse, such as clicking two corners to designate. Furthermore, when in the material selection menu for building, left licking simulates pressing Shift-Enter (see below for how you can make the mouse wheel scroll this menu). If you left click on a tile while the ingame cursor is active, this will simulate moving the cursor to that location and pressing Enter. The following screenshot is an example of what happens when I hover over the seed bag circled in yellow: It's similar to what you would see if your were to loo(k) at that tile. If you have the menu panel open, then hovering your mouse over a tile will display a list, telling you what's on that tile. Right mouse button cancels the query mode. Clicking an item or empty floor will open the loo(k) menu on that item.Ĭlicking on one location multiple times will cycle through the 4 "query" menus that DF uses: (q)uery building, (v)iew units, loo(k), view i(t)ems, with the cursor placed at that location. Clicking on a dwarf or creature will open the (v)iew menu with the cursor placed on the unit. For example clicking a workshop will open the building (q)uery menu with the cursor placed on the workshop (it simulates you pressing "q" then moving the cursor to the workshop). Left clicking on items, creatures, buildings, etc will make the game open the appropriate query menu for it, in a somewhat context sensitive fashion. Please see the subsequent sections for new functionality. This plugin didn't use to have its own thread, but I felt it has enough functionality now to warrant one. I've made several improvements to my mouse plugin that should hopefully make it more useful. The relevant file for just this plugin is ug.* Follow the instructions in the included readme for installation. Only works on the latest DFHack r3 (see the dfhack thread). Link contains download archive with all my plugins.
0 Comments
Read More
Leave a Reply. |