Jump to content
The Dark Mod Forums

Spiral Stairs tutorial


R Soul

Recommended Posts

I still prefer this method as it allows you to have perfectly aligned steps with no z fighting.

 

Step 1: Draw out a 192x192 brush

post-529-0-42510600-1501591998_thumb.jpg

 

Step 2: With the top down view active, go to Patch->Create Bevel

post-529-0-74360000-1501593840_thumb.jpg

 

Step 3: Delete the brush. Open Patch Inspector, set subdivisions to 8.

post-529-0-72811600-1501594232_thumb.jpg

  • Like 1

I always assumed I'd taste like boot leather.

 

Link to comment
Share on other sites

I'll share too!

 

I do it like this:

1) choose sizes. Pay attention to the fact that the staircase must go down so that right handed swordman has an advantage defending the staircase (easy to make it go the wrong direction).

2) Make a step and cut it half ways.

wzeo0DA.jpg

3) Cut it further by eye so that the steps are roughly the same size. I stay in grid 8 with few steps cut with grid 4. It does not matter if it is not mathematically 100% correct division. It is enough if it looks good by eye!

QVnLoSK.jpg

4) Move the steps so that a staircase quadrant is formed:

XNyeveo.jpg

5) Apply texture on the steps. Align it perfectly.

6) Now clone the ready made quadrant to make as long a staircase as you want! The cloned quadrants are super easy to place because they all meet at the center.

7) Make the entire staircase room modular and place a copy of it in an unused area of your map. This means that you never need to make spiral staircases again. If you need one, just make a copy of the one you already have. You could even make the staircase room with full decorations: windows, lights, decals, and store that. Now you can get a copies of fully fleshed out staircases at will. Just remember that the staircase room must be surrounded by a wordspawn room if it containts entities in order to avoid leaks.

  • Like 2

Clipper

-The mapper's best friend.

Link to comment
Share on other sites

The aim of this tutorial is to describe how you can make a spiral staircase where the rotation of the steps is uniform from top to bottom.

This very good, could I ask then how the above method could be modifed so that the step-width nearest the column is deaper - as like in RL where the deapth of the step is still deap enough for someone to step onto without slipping.

I still prefer this method as it allows you to have perfectly aligned steps with no z fighting:

Can you update your post with the steps/images? as I would be curious so see how yours is perfectly aligned and how the width of the steps near the colum are wider than either Rsoul's/Sotha's.

I'll share too!

I have used this method, the issue is the step size is not all uniform and the step-depth is non existent near the column.

Link to comment
Share on other sites

Step 4: Copy the patch, shrink it down to 64x64 and invert it.

post-529-0-58152900-1501594313_thumb.jpg

 

Step 5: Draw out a brush from top to bottom, set grid size to 1 (1 on my keyboard). Switch to clipper tool and set clip points to align with the patch:

post-529-0-05281200-1501594401_thumb.jpg

 

Step 6: Do the same but clip from bottom to top, again setting the clipper point on the grid where the patch meets:

post-529-0-37833800-1501594454_thumb.jpg

 

 

I always assumed I'd taste like boot leather.

 

Link to comment
Share on other sites

Step 7: Continue clipping on grid points that match with the patch:

post-529-0-03096600-1501594508_thumb.jpg

 

Step 8: Rinse and repeat for each step until you get to the end of the patch curve:

post-529-0-06407900-1501594855_thumb.jpg

 

Since these are aligned to grid 1, I would convert them to func_static when moving them around, then revert to worldspawn just before dmapping, to avoid vertex drift (if that's still a thing)

I always assumed I'd taste like boot leather.

 

Link to comment
Share on other sites

For thief 3 there was a tool to create stairs like that. Maybe it is possible to do this with a python script in DR, too. Yet another thing on my todo list :(

FM's: Builder Roads, Old Habits, Old Habits Rebuild

Mapping and Scripting: Apples and Peaches

Sculptris Models and Tutorials: Obsttortes Models

My wiki articles: Obstipedia

Texture Blending in DR: DR ASE Blend Exporter

Link to comment
Share on other sites

For thief 3 there was a tool to create stairs like that. Maybe it is possible to do this with a python script in DR, too. Yet another thing on my todo list :(

 

lol

 

http://forums.thedarkmod.com/topic/7688-perfect-spiral-staircases/?do=findComment&comment=163998

  • Like 1

I always assumed I'd taste like boot leather.

 

Link to comment
Share on other sites

This very good, could I ask then how the above method could be modifed so that the step-width nearest the column is deaper - as like in RL where the deapth of the step is still deap enough for someone to step onto without slipping.

 

Which staircases are you thinking of? I'm fairly sure one of the purposes of these was to be so narrow that enemies could only go up one at a time, in addition to the direction mentioned by Sotha. Here's one I used many years ago in Caernarfon. Those are my shoes, and I'm only a size 7.

 

spirals.jpg

  • Like 1
Link to comment
Share on other sites

Yeah, almost all spiral stairs I've been on (castles + lighthouse) have all been very dangerous near the center, steep and almost no purchase.

For gameplay purposes, this realism is not fun and causes issue with AI pathfinding

I always assumed I'd taste like boot leather.

 

Link to comment
Share on other sites

Funny you should mention lighthouses. I would have use those as an example of the 'safe' ones Bikerdude was referring to. E.g. this image. Of course they do become more tricky as you get nearer the top. However, I do acknowledge the gameplay reasons for keeping the whole step navigable. In my example the step brushes can all be made a little less deep. The overlapping is very generous. I think the narrow insides look nice, so I wouldn't want to widen the central pillar. Could an octagonal monsterclip brush be used to keep the AI to the outside?

Link to comment
Share on other sites

Here's one I used many years ago in Caernarfon. Those are my shoes, and I'm only a size 7.

The central column in your shot is very narrow, so in this instance and imho we would only have stairs like this if they were 48-56units wide. But I agree and conceed that small width stair wells will suffer from that issue.

 

Back to the type of stairs I was refering to, there are plenty of examples where the step isn't so narrow near the center of the stair-well -

 

Staircase-Circular-Stairs-Spiral-Stairwa

 

28352976-Spiral-Stone-Staircase-Stock-Ph

 

Hows this for a funky set of spiral stairs....

 

Graz-double-stone-spiral-stair-case-0105

  • Like 3
Link to comment
Share on other sites

What AH said. In TDM I would avoid making too narrow spiral staircases. It is no fun to spend time building a staircase which cannot be used because it causes an AI log jam. Always test your narrow staircase with at least 2 AI. They need to be able to get past each other easily. The minimum AI traversable width should be 64 units + some safe marginal. I would maybe go with 80-100 units.

  • Like 1

Clipper

-The mapper's best friend.

Link to comment
Share on other sites

Most of the image were missings from that old wiki entry and the info in it out of date, so replaced the whole entry with the 3 from this thread instead -

 

http://wiki.thedarkmod.com/index.php?title=Spiral_Staircases#The_aim_of_this_tutorial_is_to_show_a_mapper_3_different_ways_to_create_a_spiral_staircase

 

@Sotha, can you provide thumbnails or smaller version of those images, or better attach them to your post like Rsould did. I can then paste those into the wiki page, instead of the huge ones in there atm.

Edited by Bikerdude
Link to comment
Share on other sites

Step 7: Continue clipping on grid points that match with the patch:

attachicon.gifStep7.jpg

 

Step 8: Rinse and repeat for each step until you get to the end of the patch curve:

attachicon.gifStep8.jpg

 

Since these are aligned to grid 1, I would convert them to func_static when moving them around, then revert to worldspawn just before dmapping, to avoid vertex drift (if that's still a thing)

 

I had a go at doing this and it's nice and clean. I could only just notice that the cylinders weren't proper circles, and I doubt many players would be focussing on the geometry; they'd be more interested in where the next guard was, or where to go for the next objective, etc.

 

With patches is much easier to get the texture flowing smoothly around the walls, but how are doorways added?

Link to comment
Share on other sites

It is unfortunately.

 

Vertex of brushes or patches drifting? What are the conditions that cause a vert to drift?

I have an eclectic YouTube channel making videos on a variety of games. Come and have look here:

https://www.youtube.com/c/NeonsStyleHD

 

Dark Mod Missions: Briarwood Manor - available here or in game

http://forums.thedarkmod.com/topic/18980-fan-mission-briarwood-manor-by-neonsstyle-first-mission-6082017-update-16/

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • OrbWeaver

      Does anyone actually use the Normalise button in the Surface inspector? Even after looking at the code I'm not quite sure what it's for.
      · 5 replies
    • Ansome

      Turns out my 15th anniversary mission idea has already been done once or twice before! I've been beaten to the punch once again, but I suppose that's to be expected when there's over 170 FMs out there, eh? I'm not complaining though, I love learning new tricks and taking inspiration from past FMs. Best of luck on your own fan missions!
      · 4 replies
    • The Black Arrow

      I wanna play Doom 3, but fhDoom has much better features than dhewm3, yet fhDoom is old, outdated and probably not supported. Damn!
      Makes me think that TDM engine for Doom 3 itself would actually be perfect.
      · 6 replies
    • Petike the Taffer

      Maybe a bit of advice ? In the FM series I'm preparing, the two main characters have the given names Toby and Agnes (it's the protagonist and deuteragonist, respectively), I've been toying with the idea of giving them family names as well, since many of the FM series have named protagonists who have surnames. Toby's from a family who were usually farriers, though he eventually wound up working as a cobbler (this serves as a daylight "front" for his night time thieving). Would it make sense if the man's popularly accepted family name was Farrier ? It's an existing, though less common English surname, and it directly refers to the profession practiced by his relatives. Your suggestions ?
      · 9 replies
    • nbohr1more

      Looks like the "Reverse April Fools" releases were too well hidden. Darkfate still hasn't acknowledge all the new releases. Did you play any of the new April Fools missions?
      · 5 replies
×
×
  • Create New...