Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Dwaves should smoth the nearest tile.  (Read 1080 times)

Arnos

  • Bay Watcher
    • View Profile
Dwaves should smoth the nearest tile.
« on: June 09, 2007, 06:38:00 pm »

Dwarves should smooth the nearest tile, if they did this they could do some smoothing jobs about 10 times as fast, it's just painful to watch them run back and forth from the one hallway to the other smoothing.  This idea could be applied to other jobs to.
Logged

Zereth

  • Bay Watcher
    • View Profile
Re: Dwaves should smoth the nearest tile.
« Reply #1 on: June 09, 2007, 09:27:00 pm »

quote:
Originally posted by Arnos:
<STRONG>Dwarves should smooth the nearest tile, if they did this they could do some smoothing jobs about 10 times as fast, it's just painful to watch them run back and forth from the one hallway to the other smoothing.  This idea could be applied to other jobs to.</STRONG>

You mean that when they decide to do a "smooth tile" job, they should look for the nearest designated tile? This would be nice, but I think the current setup has smoothable tiles looking for dwarves to smooth them, sot his would need some overhaul of how jobs are assigned.

If dwarves did look for jobs rather than the other way around, though, it might solve some problems like stone sockpiles locking up rocks lying where you want to build something so nobody will move it.

Logged

ricemastah

  • Bay Watcher
    • View Profile
Re: Dwaves should smoth the nearest tile.
« Reply #2 on: June 10, 2007, 12:02:00 am »

Actually the dwarves smooth, mine, cut down trees, and do other designated jobs based on the local squares. Like it is based off of squares and designated jobs, like smoothing, are done based on their position. The squares divide up the whole map into little squares. The dwarf then does the job in the top left corner working down the square until he hits the bottom. Then he goes back to the top again and smooth until he hits the bottom again. This pattern continues until he hits the end of the box in the horizontal direction and moves to the next box in the vertical direction. It continues in this fashion until the job is done. The reason it seems inefficient is when u have several horizontal walls in succession that need to be smoothed. The dwarf has to go around them in order to get to the job so it seems a lot more inefficient. If you do wide open spaces you will notice this effect much more.
Logged

Arnos

  • Bay Watcher
    • View Profile
Re: Dwaves should smoth the nearest tile.
« Reply #3 on: June 10, 2007, 02:14:00 pm »

Oh yeah, the job picks to dwarf so the tile should pick the nearest dwarf who just smoothed a tile.
Logged

slMagnvox

  • Bay Watcher
  • Attend Party
    • View Profile
Re: Dwaves should smoth the nearest tile.
« Reply #4 on: June 11, 2007, 03:23:00 am »

quote:
Originally posted by Arnos:
<STRONG>...it's just painful to watch them run back and forth from the one hallway to the other smoothing...</STRONG>

Watch something else?  Engraving is a "set it and forget it" kinda job.

But wait, there's more!

Logged

Sean Mirrsen

  • Bay Watcher
  • Bearer of the Psionic Flame
    • View Profile
Re: Dwaves should smoth the nearest tile.
« Reply #5 on: June 13, 2007, 03:34:00 am »

I seem to recall something in the devlog about "smoothing now using mining code to find next tile", or something of that sort. Mining seems to do everything in exactly the same way as other jobs, but it finds a random closest tile as next, instead of a fixed order of tiles as smoothing now does.
Logged
Multiworld Madness Archive:
Game One, Discontinued at World 3.
Game Two, Discontinued at World 1.

"Europe has to grow out of the mindset that Europe's problems are the world's problems, but the world's problems are not Europe's problems."
- Subrahmanyam Jaishankar, Minister of External Affairs, India

Arnos

  • Bay Watcher
    • View Profile
Re: Dwaves should smoth the nearest tile.
« Reply #6 on: June 13, 2007, 08:46:00 am »

Hooray!, Thanks Toady.
Logged