Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Construction designations supported by designated constructions.  (Read 1843 times)

Sizik

  • Bay Watcher
    • View Profile
Construction designations supported by designated constructions.
« on: September 19, 2009, 02:30:51 am »

Confusing title, I know.

What I'm saying is that you should be able to designate, say, a whole column of up/down staircases at once instead of have to build them one at a time. Basically, a construction should be designatable if there is an adjacent construction designated that would support it, similar to the way mechanical devices work.
Logged
Skyscrapes, the Tower-Fortress, finally complete!
Skyscrapes 2, repelling the zombie horde!

Vester

  • Bay Watcher
  • [T_WORD:AWE-INSPIRING:bloonk]
    • View Profile
Re: Construction designations supported by designated constructions.
« Reply #1 on: September 19, 2009, 02:33:52 am »

I've also had thoughts about this, but build order logic would have to be put in first, because otherwise you'd have dwarves building walls on top of designated constructions and acting surprised when A section of the cavern has collapsed!
Logged
Quote
"Land of song," said the warrior bard, "though all the world betray thee - one sword at least thy rights shall guard; one faithful harp shall praise thee."

Sizik

  • Bay Watcher
    • View Profile
Re: Construction designations supported by designated constructions.
« Reply #2 on: September 19, 2009, 02:42:52 am »

The dwarf would have to have orthogonal access to the construction, which would provide support unless the dwarf is standing on a bridge or other non-supportive building, in which case the player should be more careful about how they designate these things.
Logged
Skyscrapes, the Tower-Fortress, finally complete!
Skyscrapes 2, repelling the zombie horde!

jseah

  • Bay Watcher
    • View Profile
Re: Construction designations supported by designated constructions.
« Reply #3 on: September 19, 2009, 03:37:23 am »

You could just run the cave-in algorithm on the section before the dwarf builds it.  If building the section would cause a cave-in, the dwarf doesn't build it. 

Before doing this though, dwarves need to be able to find their own materials to build buildings.  Designate 100 granite floors and the dwarves will go find granite the build it with, instead of giving "item blocking site" errors because they can't move a granite block being used by another designation. 
« Last Edit: September 19, 2009, 03:57:13 am by jseah »
Logged

LordDemon

  • Bay Watcher
    • View Profile
Re: Construction designations supported by designated constructions.
« Reply #4 on: September 19, 2009, 03:51:42 am »

I've also had thoughts about this, but build order logic would have to be put in first, because otherwise you'd have dwarves building walls on top of designated constructions and acting surprised when A section of the cavern has collapsed!

Could this happen at all? In order to build something, the builder must get to square next to it. If that can't be done, then the object can't be built at the time. If one can get next to it, doesn't the location builder is standing on support the new construction?
I think you can for example build stairs up,multiple levels, and then a wall around the stairs on the top floor, and this doesn't cause cave ins. Or am I wrong?
Logged
If you are a goblin, you know you joined the wrong siege when the grates come down and bridge raises behind you, trapping you inside.

jseah

  • Bay Watcher
    • View Profile
Re: Construction designations supported by designated constructions.
« Reply #5 on: September 19, 2009, 03:55:12 am »

^

Build a wall on top of a wall on top of a wall. 
Next to it on z=3, put a bridge to the top section of wall. 

If the dwarf builds the z=3 level of wall first (before the bottom two) from the bridge, bam!  Cave-in.  (note: bridges do not support constructions)

EDIT: Sizik already explained this above.  >.>  I should read first before posting. 
Logged

Vester

  • Bay Watcher
  • [T_WORD:AWE-INSPIRING:bloonk]
    • View Profile
Re: Construction designations supported by designated constructions.
« Reply #6 on: September 19, 2009, 04:55:18 am »

I've also had thoughts about this, but build order logic would have to be put in first, because otherwise you'd have dwarves building walls on top of designated constructions and acting surprised when A section of the cavern has collapsed!

Could this happen at all? In order to build something, the builder must get to square next to it. If that can't be done, then the object can't be built at the time. If one can get next to it, doesn't the location builder is standing on support the new construction?
I think you can for example build stairs up,multiple levels, and then a wall around the stairs on the top floor, and this doesn't cause cave ins. Or am I wrong?

Someone said Toady is going to implement better cave-ins (and by better, I mean cave-ins that can't be prevented by a pillar of soap). I assume we'll have to be a little more careful about constructions in the future.
Logged
Quote
"Land of song," said the warrior bard, "though all the world betray thee - one sword at least thy rights shall guard; one faithful harp shall praise thee."

Ethnar

  • Bay Watcher
    • View Profile
Re: Construction designations supported by designated constructions.
« Reply #7 on: September 19, 2009, 08:16:37 am »

We partly have this sort of thing already - designating big floor area above nothing. I guess the biggest issue DF would have to face is pathing for materials (big floor doesn't suffer from this issue).
Logged

Draco18s

  • Bay Watcher
    • View Profile
Re: Construction designations supported by designated constructions.
« Reply #8 on: September 19, 2009, 12:10:43 pm »

We partly have this sort of thing already - designating big floor area above nothing. I guess the biggest issue DF would have to face is pathing for materials (big floor doesn't suffer from this issue).

But it only works because of the mass construction code Toady put in, which only works in two directions: X and Y.  You can't do the same thing for stairs (well, ok, you can designate a 10x10 area of up-stairs, but they don't GO anywhere).  If you desigate only a 5x10 area, you can't immediately add the other 5x10 area that's out in the air.

Also, despite dwarves liking to build floors on the diagonal, I have never, never seen a floor collapse from doing these mass constructions.
Logged

Derakon

  • Bay Watcher
    • View Profile
Re: Construction designations supported by designated constructions.
« Reply #9 on: September 19, 2009, 12:27:02 pm »

Generally you only get into trouble with bridges and other non-supporting constructions that dwarves can stand on. When you do have one of these, though (for example, wanting to put up walls along the edge of a bridge), though, the lack of a proper build order gets very annoying, very fast.
Logged
Jetblade - an open-source Metroid/Castlevania game with procedurally-generated levels

Draco18s

  • Bay Watcher
    • View Profile
Re: Construction designations supported by designated constructions.
« Reply #10 on: September 19, 2009, 04:49:46 pm »

Generally you only get into trouble with bridges and other non-supporting constructions that dwarves can stand on. When you do have one of these, though (for example, wanting to put up walls along the edge of a bridge), though, the lack of a proper build order gets very annoying, very fast.

Admittedly, it does.  You're right.  But if we can get a supported designation for stairs and floors (skip walls and other items for now) then there would be no additional problems (the idea is that because constructed floors can be designated in large amounts with only a single supported tile, then you can do this as many times as you want and it'll all be safe to build* and stairs, being an upward building process and could never be built in another fashion would also be safe).

*At least, until a more realistic cave in system.  But that would effect all mass construction operations anyway.
Logged