Railing

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

Post Reply
Dingo
Corporal
Posts: 32
Joined: Sat May 08, 2004 3:18 am

Railing

Post by Dingo »

Another noob question from Dingo... When I add in my railing it doesn't look like it fits, so how do I put it in so that it looks like an actual railing?
If you fall into a bottomless pit you die of starvation.
M&M
General
Posts: 1427
Joined: Sun Sep 14, 2003 1:03 am
Location: egypt
Contact:

Post by M&M »

how exactly do u mean they dont fit ?
textures? mapping? ....?
Image
Dingo
Corporal
Posts: 32
Joined: Sat May 08, 2004 3:18 am

Post by Dingo »

The top of the railing is almost invisible.... and it almost seems like its double... it seems way out of proportion.
If you fall into a bottomless pit you die of starvation.
M&M
General
Posts: 1427
Joined: Sun Sep 14, 2003 1:03 am
Location: egypt
Contact:

Post by M&M »

errrm, a screeshot would help
if u dont know how ,then find some freewebserver and make an account ,then upload ur pic .and put its link here between .[img].[/img] w/o dots :wink:

some random help!
did u try to remake it? or was it a prefab ? try going into grid 1 and make small adjustments and see if that fixes it
Image
Dingo
Corporal
Posts: 32
Joined: Sat May 08, 2004 3:18 am

Post by Dingo »

Argh... it wont let me for some reason... all I can say is that it doesnt look like a nomal rail, I thin kthe only way I could get help is for someone to tell me how THEY make railings. Maybe it will work then.
If you fall into a bottomless pit you die of starvation.
Dingo
Corporal
Posts: 32
Joined: Sat May 08, 2004 3:18 am

Post by Dingo »

I could probably send i through email. If that would help.
If you fall into a bottomless pit you die of starvation.
M&M
General
Posts: 1427
Joined: Sun Sep 14, 2003 1:03 am
Location: egypt
Contact:

Post by M&M »

well,i was suggesting over this forums so that if i fail to help,some1 with better mapping skills could jump to the rescue

[quote]it wont let me for some reason/[quote]
wont let u do what? upload? or post a link?
ill tell u how i take screenshots and view them here
i 1st press f12 ingame to capture the screen , then brighten it if neccessary .and turn it into an .jpg file (cause .tga isnt displayed over the net and because its much smaller)
then i upload it to my account at www.photobucket.com (free)
and post the link here between the [img]link%20here[/img] tags
Image
Dingo
Corporal
Posts: 32
Joined: Sat May 08, 2004 3:18 am

Post by Dingo »

I know I took the screenshot but freewebs wot let me upload the pic on to it.
If you fall into a bottomless pit you die of starvation.
panTera
Brigadier General
Posts: 573
Joined: Wed Jan 29, 2003 11:46 pm
Location: The Netherlands
Contact:

Post by panTera »

Most railing-textures have 'cull none' in the shader, so when you don't use the nodraw texture it will be drawn from both sides and looks doubled.

-When making a railing with such texture you need to make a brush the size you want and apply the common/nodraw-texture to all 6 sides first.
-Next you select one side (ctrl+shift+leftmouse) and apply the railing texture to this one side only, either the front or the back. You will now see a very slim railing ingame which is basicly nothing more than 1 brushface (the one with the railing texture), drawn from both sides. The rest of the brushfaces, including the top face, is not being drawn because of the nodraw texture.
-At this moment seen from above (and sides) it will look like a hair-line, so the best thing to do is add another brush and place it on top of your railing;

Code: Select all

(okay, just try to visualize this)

Side view: 
_   <- another brush placed as a 'lit' on top
|   <- railing brush 
     

Also do this with the side ends of the railing, so you'll get this:
Front view:
___________      
]|||||||||[  

______
         = the topbrush
||||||   = the railing brush
] and [  = the sidebrushes
User avatar
tltrude
Chuck Norris
Posts: 4774
Joined: Sun Jul 07, 2002 4:03 am
Location: Oklahoma, USA
Contact:

flat

Post by tltrude »

For railings, you would normmally use nodraw on all but one side of the brush. The top/bottom rails are just normal brushes with wood or metal texture, as are the corner posts in most cases.

The advantage of using a railing texture is that you don't have to make all the posts and the preformance of your map will go up with fewer faces. Also, there are some nice metal posts that you would have a hard time making with normal brushes or patch mesh.
Tom Trude,

Image
Dingo
Corporal
Posts: 32
Joined: Sat May 08, 2004 3:18 am

Post by Dingo »

Thanks. :D
If you fall into a bottomless pit you die of starvation.
Post Reply