Angled roofs

Discussion in 'Mapping Questions & Discussion' started by PC's_Frank, Nov 17, 2014.

  1. PC's_Frank

    PC's_Frank L4: Comfortable Member

    Messages:
    179
    Positive Ratings:
    26
    This is something I've been wondering for a long time, but I have never been able to figure out. I want to make a roof similar to the one seen on the building in the picture below (sorry, I couldn't find a better picture)

    https://wiki.teamfortress.com/w/images/9/9a/Cp_Foundry_hidden_room_outside.png?t=20120108202830

    Its basically an angled roof with one part of it heading in one direction, another headed in a different one, yet they meet in the area visible through the crack in the fence. I know its a displacement, but that's about it. Every time I try to replicate the roof, be it through cutting or morphin to make the two halves appear connected, it ends up looking even worse than before.

    Edit: here's a better picture of the sort of roof I'm talking about. It's the orange-ish roof seen to the immediate right of the sattelite dish.

    https://wiki.teamfortress.com/w/images/d/d9/Hightower.png?t=20130121232531
     
    Last edited: Nov 17, 2014
  2. Freyja

    aa Freyja ¯\_(ツ)_/¯

    Messages:
    2,878
    Positive Ratings:
    4,955
    It's quite easily actually. all you need to do is make the two roofs like you would normally, so you end up with something like:

    [​IMG]

    From the underside:

    [​IMG]

    Then what you do is you select them both, and run the clipping tool down the seam where they join:

    [​IMG]

    Then all you do is select these two parts:

    [​IMG]

    And hit delete! Voila!

    It gets a bit trickier if the roofs are two different sizes, though it's possible if you line them up correctly. This works for non-90 degree bends too.
     
    • Thanks Thanks x 2
  3. PC's_Frank

    PC's_Frank L4: Comfortable Member

    Messages:
    179
    Positive Ratings:
    26
    Oh my God! Thank you so much!
     
  4. Grizzly Berry

    aa Grizzly Berry

    Messages:
    431
    Positive Ratings:
    341
    Are you talking about a two roofs that meet together to form an L shape?

    First roof that came to mind would be this one from koth_harvest: http://www.tfportal.de/gfx/content/tf2/maps/koth_Harvest.png

    What I would do is create an angled brush, duplicate it, and rotate it the desired amount.
    [​IMG]

    Then I would use the clipping tool (located on the left toolbar or just use the shortcut Shift+X) and clip each brush so they'll line up. I think most people here would suggest using a 1:1 or 1:2 slope, it's just easier to work with in the long run.
    [​IMG]

    Finally, just drag the two together until they line up and voilà, you have your roof!
    [​IMG]

    Hopefully this was the answer you're looking for. If not, perhaps it would help to get a couple better screenshots of what you're wanting. I'd suggest starting up a local game in TF2 and then typing the following commands in the developer console: sv_cheats 1, noclip, r_drawviewmodels 0, and cl_drawhud 0. That ought to give you the ability to fly around and take screenshots without anything getting in the way.

    Edit: Alllllllllly
     
    • Thanks Thanks x 1
  5. PC's_Frank

    PC's_Frank L4: Comfortable Member

    Messages:
    179
    Positive Ratings:
    26
    I think that'll work even better! Thank you!
     
  6. PC's_Frank

    PC's_Frank L4: Comfortable Member

    Messages:
    179
    Positive Ratings:
    26
    Also, I just realized how late it is, so hopefully I'll have time tomorrow morning to put up some screenshots of what I'm working on.
     
  7. henke37

    aa henke37

    Messages:
    1,919
    Positive Ratings:
    449
    Personally I'd go for vertex manipulation. Put the brushes next to each other so that they touch on the inner corner and then just move the outer corners to the correct spot.
     
  8. sevin

    aa sevin

    Messages:
    959
    Positive Ratings:
    663
    Clipping doesn't require you to find the correct spot, just split them on a 45 and you're done.
     
  9. Tumbolisu

    aa Tumbolisu  I ⌄ I 

    Messages:
    949
    Positive Ratings:
    937
    For a 90° angle I would do it like Aly.

    For any other angle, I would place the 2 brushes in a way like this:
    [​IMG]

    Then I vertex edit the vertecies by only using the arrow keys. I first start with a pretty high grid and go down untill it's at 1. As the vertecies of the rotated brush are not on the grid, I now select all these vertecies and press Ctrl+B. What I end up with is this:
    [​IMG]

    Now i also use Alt+P to make sure that I didn't make anything invalid.

    The End