Trying to get Embark tools/Embark Anywhere working in New DF #3275
-
I've been trying to understand how Embark tools allowed for embarking anywhere in the old DF so that I could try and get it working for the new UI. I'm struggling though, because it seems like all it's doing is putting some words onto the screen. I've gotten the plugin to compile and when I enable the plugin, "embark: " shows up in the bottom left. What am I missing here? I'm obviously very inexperienced with DFHack/DF/coding in general, but if I'm pointed in the right direction I should be able to figure it out. The UI probably operates completely differently due to the changes in the new version and that's why I can't figure it out Thank you in advance! EDIT: My mistake, I got the whole Embark tools UI to work, and everything is able to be enabled without error. I just can't embark |
Beta Was this translation helpful? Give feedback.
Most of the functionality of embark tools does not need to be ported since it just won't be useful in the new UI. For example, vanilla provides the Sand indicator now. The embark anywhere bit is the only part that needs work.
Rumrusher actually figured the required logic out, but is having trouble writing the UI part.
scr.warn_mm_startx = scr.neighbor_hover_mm_sx
scr.warn_mm_endx = scr.neighbor_hover_mm_ex
scr.warn_mm_starty = scr.neighbor_hover_mm_sy
scr.warn_mm_endy = scr.neighbor_hover_mm_ey
scr.in_embark_salt=true
DFHack/scripts#638
The old embark tools UI no longer fits in with the DF interface, and I suggest you work with Rumrusher to produce a script with the better UX.