“Pyramid Style” Stair Building
Okay so now that you have a grasp on the power of the curve linedef tool, lets meet the stair builder. This tool can be used to make “pyramids” of any shape, and can also be made to make extrusions of any line. We’ll start with the ‘pyramid effect’ first. To start, draw a square room, say, 256×256. Now, in sectors mode, select the room, then click on the stair builder tool.
A popup should have appeared with a range of options and settings. don’t be intimidated by this, we’re going to break it down step by step and make it easy to work with.
Starting on the left, we have the settings of the stairs themselves. You’ll be able to choose how many steps it adds, what depth these stairs should be, and which direction these stairs should go (inside the selected sectors, or outside). This set of options is in my opinion the main reason the tool is useful – you can use this for a number of things.
Next is the ‘flats’ settings. Using these settings you can choose how high each step is, what texture should be on the floor/ceiling of the steps, etc. If you prefer to do this by hand after the tool’s done the line-work, simple un-tick these options.
Next is the side options. Be a little careful with this, leaving it on the default settings will have your step sides lower and upper unpegged, which might not be useful. Regardless, use this set of options to choose which textures should be on the upper and lower sides of the steps.
Simple, right? So back to our 256×256 room. Lets add a 16px trim around the edge of the room. Set it so that the sector depth is 16, 1 iteration, inside the sector, and until all the texturing options, as we can do this ourselves. Done! In a few clicks you’ve had the editor draw a trim sector for you. This doesn’t matter what shape you’ve got, if you want a trim inside it, just use this tool!
One thing to be _very_ careful is having lines intersect – this happens when your sector depth is too large, you have too many iterations. It happens more often on complex geometry, so just be careful as you go to avoid this, as you could cause problems with your map.
“Extrusion” Stair Building
Moving on, lets look at the other type of stair builder, which I call an “extrusion tool” – instead of selecting a sector and using the tool, select a single line and use it – you’ll notice that now instead of creating a pyramid out of the room, a rectangular step is being pushed out from the wall, perfectly perpendicular from the wall.
Initially we’ll use this like a stair builder, as intended. In your 256×256 room, lets add two vertices to the wall so we have a 128 wide line with 2 64 wide lines either side. Select just the 128 line, then click stair builder. Tweak about with the settings, adding a few iterations with a sector depth of 32, increaing floor height of 8. Check it out in 3D mode and you’ll see we’ve made a set of stairs going upwards, you could use this to create any set of stairs anywhere.
Now, what I personally use this tool for is indentations in a wall. Lets make a circle as per the curve lines guide above – You should have a circle made out of roughly 20 lines – now select every other line then click stairbuilder tool. Up to you what settings you settle on, but for this example go with 1 iteration, sector depth of 32px. Well done, using two quick tools you’ve just made a gear shape that would have been an absolute nightmare to draw if you did it freehand!