fcm420@Posted: Mon Aug 09, 2004 12:27 am :
Workin on my map, hours and hours into it, time to throw some railings in around my ledges...

whats the best way to do this,

used to be brushwork with transparency texture added (odlschool halflife way )

but doom3 has to have some railing prefabs/models or somethin?

any ideas?



Coolbreeze78@Posted: Mon Aug 09, 2004 12:52 am :
http://www.doom3world.org/phpbb2/viewtopic.php?t=3214

Try that and see.



subverse@Posted: Mon Aug 09, 2004 1:05 am :
The only prefabs are in:
models/mapobjects/hanger/

There are 6 broken/ dammaged railing models here.
All the rest appear to be made with patches (see above tutorial).



St4rdog@Posted: Mon Aug 09, 2004 1:19 am :
Someone said that a lot of the railings in D3 were made from cylinder patches, so i tried it out:

CRASH RAILING COURSE!

1. Turn a brush into a cylinder
2. Rotate it so it's like a horizon line (i.e. you would be able to lean on it)
3. Press "S" then check the "Subdivide Patch" box
4. drag horizontal and vertical down to "1", your cylinder will now have 4 sides.
5. Now lower the grid to about "2" then resize it in the top view as far as it will go, also resize the height to almost bottom.

You should now have a pretty thin railing. You can copy and rotate it vertically to use it as poles so you cannot crouch under.

To create a bend on the end duplicate the bar you've created then press "S" and change the "Vertical Subdivisions" to about 5 or lower then use the patch bend system (B, or press the button near the top-right). Hopefully this made some sort of sense, post if you get stuck.



neutrino@Posted: Mon Aug 09, 2004 1:31 am :
Ya, four sided cylinders is how Id made them. Also, turn them 45 degrees so they make a diamond shape instead of sitting flat. That way the player is usually looking at a corner and the smoothing effect will make them appear rounded.



bigp3rm@Posted: Fri Aug 13, 2004 6:37 am :
Four sided cylinder? lol

:roll:



skatardude10@Posted: Fri Aug 13, 2004 6:47 am :
4 sidded cylinder, Otherwise known as a "Square Cylinder"

It does something with the bumpmapping to give the affect of a round railing, but its realy only 4 sides. Its almost impossible to be able to tell that the railing is square with "square cylinders" (in the patch menu).

( (Just for the nublets out there ( Including me :) (3 years of experience with the alpha, but whatever( it would be rude to call people nubs and not say that im one (im not( you might think I am thouhg( but I dont think I am ) ) ) ) It does not make any difference( too many parenthasis too keep up with? (not me) Yes? then you arent meant for scripting (neither am I (but I do anyways) ) Sort of.. :roll: ( Heh, no :evil: ) :roll:. Sorry about that. If your bored enough, try to see if all that is correct.) A Section by dane.) What?



Doomraider@Posted: Sun Aug 15, 2004 8:56 pm :
Quote:
The only prefabs are in:
models/mapobjects/hanger/


Mine don't show up?



Doom3Guy@Posted: Thu Aug 19, 2004 10:06 pm :
if u put them in the map they will.

but im lazy, i just use the chainlink texture and make it fit like 25x25 so its small. you can shoot thru it and it does stop u from falling off..

but thats just lazy ole me



Doomraider@Posted: Thu Aug 19, 2004 11:08 pm :
you sure, cause I tried and nothing appeared, I even tried cloning it thinking it might be fixed but nothing :cry:



MDMAchine@Posted: Thu Aug 19, 2004 11:12 pm :
eh yeah some of the models are not there, or sumthing...

your best bet is use the mesh "cylinder" and take time to make your fancy rail, save it as a prefab.

I say use meshes cuz they have nice bending abilities.



JustinBailey@Posted: Thu Aug 19, 2004 11:22 pm :
You can open up one of id's maps and just copy the rails out of there (rails that are made out of patches, at least) and paste them into yours, then just use vertex manipulator to bend them however you want.



evilartist@Posted: Thu Sep 30, 2004 6:23 pm :
What textures make good for railing? I don't want to spend too long looking through each folder, so can you tell me of any textures that look good as railing? Thanks.



Origin73@Posted: Thu Sep 30, 2004 7:01 pm :
evilartist wrote:
What textures make good for railing? I don't want to spend too long looking through each folder, so can you tell me of any textures that look good as railing? Thanks.


You might want to try looking in base_trim. Also depends on what "style" of railing that you're going for and what the theme of your map is. So, you might have to do some experimenting.

Cheers.



Johnny B. Goode@Posted: Sat Oct 02, 2004 7:46 am :
Here's some pictures of some railings and ladders I made for a small map I'm currently working on.

Pic 1:

Image


Pic 2:

Image

And a ladder on the same map:

Image


I used the technique described by Str4dog. I just made cylinder patch meshes and assembled them as required, easy as pie. The only difference is that I used an 8 sided cylinder instead of a 4 sided "cylinder".
The grid makes doing the 90's a breeze, and alignment is easy enough using various views.

On those examples I used the "textures/base_trim/yelhaz2" texture.

I just noticed that on the last picture you can see that the textures don't align properly on two of the pieces. The way I fixed that was by selecting all the railing at the same time (quite a bit in this instance) and reapplying the texture, then selecting the surface inspector tool, and hit the "natural" button.

Hope this helps a little bit.


Johnny



Friction@Posted: Sat Oct 02, 2004 7:51 am :
I'd say your railing is way too thick. Player would need some enormous hands to be able to grab that properly. :shock:



bb_matt@Posted: Sat Oct 02, 2004 10:47 am :
The railings in Doom3 are usually 2 grid units in diameter.

The straight pieces are obviously easy - draw out a standard cylinder (not a square one) and set the subdivisions along it's length to 1 for both vertical and horizontal.

The 90degree angles or 45degree angles are more difficult.
You can use the bend tool, but sometimes, you'll be off the grid - not that much of a big deal if your not looking for exact accuracy.

You can use that method or a combination of it and the info below.

What you want to do, for a 2 unit diameter railings, is set your grid to 1 unit and follow the info here :-

Patch Mesh Tutorial 3 | pipes 1, 90° bend

Patch Mesh Tutorial 4 | pipes 2, 45° bend

Then, subdivide to suit - diameter will have 1 subdivision to match the straight pieces, along the length of the curve can be 3 subdivisions which will look smooth enough - set it higher for a smoother look.