DF Dwarf Mode Discussion / Re: I'm going to make a fortress, who's with me? (possible
« on: October 24, 2007, 09:09:00 am »
edit - nm, found it in your signature
[ October 24, 2007: Message edited by: Vengeful Donut ]
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
edit - nm, found it in your signature
[ October 24, 2007: Message edited by: Vengeful Donut ]
[ October 24, 2007: Message edited by: Vengeful Donut ]
quote:
Originally posted by Zironic:
<STRONG>I don't want to bother but just forget about math.</STRONG>
quote:
Originally posted by Slartibartfast:
<STRONG>The traveling distance between any two points is (assuming that diagonal movement indeed costs sqrt(2)):
sqrt( (x1-x2)^2 + (y1-y2)^2 ) + |z1-z2|
</STRONG>
This is because diagonal movement within the same z level is permitted, but follows normal distance calculation movement costs. It's not exactly a circle because each individual step is in one of 8 directions. I think it will be more of an octagon if it gets large enough. The minimum amount of DF distance a dwarf needs to cross to get to tile (x,y) from tile (0,0) is equal to
* sqrt(2)min[x,y] + |x - y|
min[x,y] is the number of diagonal steps used. |x - y| is the number of straight steps used.
Movement between z-levels is directly up/down for dwarves, so moving between z-levels (on stairs) costs 1 tile of movement. So to get to tile (x, y, z) from tile (0,0,0) a dwarf needs to travel this much:
* sqrt(2)min[x,y] + |x - y| + z
[ April 08, 2008: Message edited by: Vengeful Donut ]
On that note, I would like you add that all of you are very kind, rational, and considerate people.
quote:http://xkcd.com/30/
Originally posted by TeDDD:
<STRONG>Donner party, anyone? </STRONG>
I can imagine the goblins catapulting in refuse, too.
You may not have known this, but Eight had a brother named Refin that planned to arrive at the outpost later. He was also a hunter. Since Eight had no heirs, his death would make Refin the new imperator.
[ December 12, 2007: Message edited by: Vengeful Donut ]
[ December 11, 2007: Message edited by: Vengeful Donut ]