Spiral Staircases: Difference between revisions
SneaksieDave (talk | contribs) Added note to clarify that trimming is an optional step. |
removed missing image tag |
||
Line 1: | Line 1: | ||
{{Original_Reference|Renzatic|125}} | |||
== Basic Room Geometry == | == Basic Room Geometry == |
Revision as of 08:35, 19 August 2008
Originally written by Renzatic on http://forums.thedarkmod.com/topic/125
Basic Room Geometry
Okay, let's start out with the basics here. Choose the caulk texture (located in textures/textures/common from your media tab, more on this later) and make a brush that's 256x256x320 (4x4 big grids on the overhead map), and while selected hit the hollow button. The end results should look like this...
This will be the foundation of your tower. You want the solid brushes as your backing to prevent BSP holes, even though you can't walk through them the engine considers the patches you're gonna make as nonsolids.
Now we're getting to the fun part: Patches. make a brush that's 128x128x320 and fit it in the corner of your tower like wah:
This will give you the basic outline of where your bevel is gonna be. So, while still keeping the brush selected, go to your patch menu and select Bevel.
The end result should look something like this...
Wow, what a nice curve! Too bad it's facing the wrong way, huh? Guess we'll need to fix that....here's how you do it:
Select your newly created bevel, and hit the Z axis rotation Key until you get it where you want it...
You'll want the ends to line up with the edges of where your original brush was as well, overlapping is generally something you'll want to avoid so get in the habit of making sure everything is aligned properly. If you find that your bevel is a bit larger than what it should be, simply push the ends and resize it til it fits where you want it to go. It should meet up with the center like...
Now this'll be the moment that you notice that patches are all one sided...you can see the foundation wall through the mesh. This is an easy problem to fix, all you need to do is go to your patch menu, matrix, and select invert...like so...
By this point you should have one corner of your future tower done. To finish the rest all you need to do is select your bevel, copy it, paste it (ctrl-c to copy and ctrl-v to paste, get used to using this), and rotate it on the Z-axis like you did before. Do it 4 times and you should have the outer wall of your tower.
Now for your center piece (there's probably some nice architectural term for it, but hell if I know what it is), this is even easier than the bevels and should only take you 2 steps to finish up.
First, make a square in the center...it can be any size you want as long as it's as tall as the rest of your tower. Mine looks like this...
Now go back to your patch menu, select cylinder..
and voila, the basic structure of your tower is now done.
Once you get used to it you can make this room in about a minute and a half. You can go ahead and texture it if you want, but make sure that when you select one of the brushes (as opposed to the patches) you just select the face that you'll see. The caulk texture keeps the engine from rendering unseen faces, you won't need a texture on the bottom half of the floor that's forever blocked from your view, just the side you'll see. To select a single face just hold down ctrl-shift and left click the face you want to select.
You can use any texture you want, but I'm gonna go ahead and use one of our textures for the walls. Go ahead and do a regular shift-left click on the patches, and apply the textures, then do the ctrl-shift-leftclick on the floor and apply there too. Hit the S key when you have a surface or a brush selected to bring up the texture tweaker and play with this til you think they look alright. My end results look something like this...
Next I'll be getting into the more complicated half of the tutorial...making the steps. It's a bit more indepth than doing the rest of the tower, but by the time you're done you should be pretty comfortable with using the cut tool and playing around on the ultra small grid spacings.
The Staircase
Now lets get on with the whole point of making a spiral staircase....the staircase.
Okay, make a 64x64x8 brush, select a good stair texture..I'm gonna use hell/boards1, and align it where you want your stairs to start. It'll look pretty similar to how you started your bevel once you're done. Just make sure that the brush is setting on top of the floor and not in it.
Now we're gonna get into BSP clipping. With this button selected you'll be able to place guide points showing where you want to make a cut across a brush. It's an important tool that you'll find you can't live without once you really get into mapping.
The yellow half of the cut represents what the editor is gonna keep, the other half will be deleted. If you find that you want to keep the part being seleced for deletion you can always go to selection/clipper/flip clip orientation.
All the options are fairly self explanatory, but keep split selection (selectedion?) in mind, we'll be using that quite a bit in a few.
You're gonna be using the contours of your inner column and outer walls as the guidelines for your steps. So with keeping that in mind you're gonna select your board textured square, hit the clipping tool button, and set your grid to 1 by either hitting 1 on the keyboard or selecting it from the grid menu near the top of the screen (nope, not gonna post a pic, it's easy to find).
What you're gonna want to do is put a cut point at the top left of the square and one roughly on where the bevel bends...
and then split the selection by either going to the clipper menu shown above or hitting shift-enter. Do this along every bevel bend (you don't necessarily HAVE to, but it makes step 2 & 3 much easier) and work your way around the brush using the patch contours as your guide.
...and there you have it. The first 8 steps of your stairway. We're not quite through yet, we've still got to trim off the edges that are sticking out beyond the wall to make it all nice and t-i-i-i-ight and purdy. [Note: the trimming step is optional, depending on mapper preference. It can help things look more tidy, but requires extra steps and can add complexity to the resulting BSP. Regardless of preference, the map compiler will automatically trim away unseen, unneeded surfaces.]
Now your old brush is now 8 new brushes, and you'll want to treat them as such. Select the first step and fire up the clipper yet again. Now it's time to trim the edges. Put your cutting points along the line that it meets the cylinder and cut off the bit that pokes into. Go to a smaller grid if you have to make it line up right, and doing a clip/flip if you're cutting the wrong section...and remember that undo is your friend if you screw up.
You'll find that with the cylinder edges you can sometimes select 2 steps and cut em both as shown in the pic...it won't be this easy on the on the outer bevel edges, you'll have to do them seperately.
Do this for all the steps and you'll eventually end up with this...
If you find that the edges don't match up exactly, and they probably won't for the bevel edges, the cylinder edges usually do, don't panic. When you're working on a grid that small (I had to go to grid 0.5 to get it right) any place where the steps don't meet up with the wall won't be noticed...just try to get it as close as possible and err on the outside of the bevel rather than the inside.
Now your steps are almost complete. Now all you need to do is switch back to a higher grid and adjust the brushes so they actually make the steps. Compared to what we just did this part is easy, and shouldn't take you more than a couple of minutes at most.
What I usually do is size the brushes one grid unit up on the Z window, but if you want planks then just move the entire brushes up one space each...easy as that.
Of course the bigger the grid is set to the larger the steps are obviously gonna be. For this example I'm using the 8-grid, but when you're actually designing maps I'd use the 4-grid at most...Doom 3 works on a really small scale in comparison to other Radiant games so keep that in mind when.
Now comes the last step...select your 8 brushes, copy them, rotate them using the Z rotation button, and then just tweak them til you're satisified. The finished results should look like...
Now all you need to do is mess with the textures on the steps to get them to align properly (it'll look like crap if you leave it as-is), and you've finished your first spiral staircase.