1
Utilities and 3rd Party Applications / Re: DFHack 0.40.19-r1
« on: December 30, 2014, 09:02:42 pm »Yeah, the map is divided into blocks of 16x16 tiles.
Got it! That makes sense. Numbers seem perfectly reasonable then.
March 6, 2024: Dwarf Fortress 50.12 has been released.
News: February 3, 2024: The February '24 Report is up.
News: February 4, 2021: Dwarf Fortress Talk #28 has been posted.
News: November 21, 2018: A new Threetoe story has been posted.
Forum Guidelines
Yeah, the map is divided into blocks of 16x16 tiles.
Okay, added very basic unit loading to Armok Vision, and RemoteFortressReader. All it does is get a list of the coordinates of all units in play over the network.
Only reason that wasn't realtime is because I was more working on making sure things were connecting right and rendering. There's no reason why it couldn't do updates more often. The communication is pretty quick, in any case.
Regarding events, something clever could be done with them, maybe, but I think it'd be simplest just to poll for changed values of stuff.
Things like dwarf positions would change far more often than terrain data, after all.
https://github.com/JapaMala/armok-vision
This is a little something I threw together to read DF map data into Unity.
The way it works is that there's a DFHack plugin that accepts RPC calls over sockets, and returns data to the client. Right now it's just basic map reading, but it can be extended to anything. The important part is that the RPC language used is independent of DFHack version, so even if DFHack adds or removes features, the RPC protocol either is unchanged, or changes more intelligently, to maintain compatibility (This has already happened at least once so far)
Then the unity side does what it wants with everything.
My goal with this was to have a 3d visualizer that worked with multiple versions of DF at the same time. (In comparison to stonesense, which is locked to one DF version, so if you want to view older forts, you have to use an older stonesense, and all that implies)