Tremulous Forum

Media => Mapping Center => Topic started by: c4 on September 02, 2010, 11:41:18 pm

Title: ladder
Post by: c4 on September 02, 2010, 11:41:18 pm
I added the ladder shader to my map, and when I tested it, not only did it not work, the "texture not found" gray boxes appeared where it should've been.  Halp :o
Title: Re: ladder
Post by: Knowitall66 on September 02, 2010, 11:57:47 pm
Just use the Karith ('karith/ladder') one, pretty much everyone seems to use it.
Title: Re: ladder
Post by: swamp-cecil on September 03, 2010, 12:07:04 am
STEP ONE: make a brush. this will be the one your ladder will look like
(http://img829.imageshack.us/img829/6835/step1h.jpg) (http://img829.imageshack.us/i/step1h.jpg/)
STEP TWO:
copy the brush
(http://img214.imageshack.us/img214/6976/step2s.jpg) (http://img214.imageshack.us/i/step2s.jpg/)
STEP THREE:
select the texture karith/ladder in the karith texture section
(http://img295.imageshack.us/img295/3519/step3p.jpg) (http://img295.imageshack.us/i/step3p.jpg/)
FINAL STEP FOUR:
move the ladder texture onto the other brush. make them align PERFECTLY and make sure it dosent show texture overlap, like on the brush to the right.
(http://img27.imageshack.us/img27/2334/step4gq.jpg) (http://img27.imageshack.us/i/step4gq.jpg/)

Uploaded with ImageShack.us (http://imageshack.us)
if you want the ladder to be on only a certain part of the brush, use the clipper tool and cut out your ladder and use the clipped texture as the ladder
Title: Re: ladder
Post by: Knowitall66 on September 03, 2010, 12:23:51 am
He said the shader wasn't working, not that he didn't know how to make a ladder...
Title: Re: ladder
Post by: swamp-cecil on September 03, 2010, 01:39:53 am
####
whenever i help, my help never works :(
Title: Re: ladder
Post by: Firstinaction on September 03, 2010, 01:55:53 am
####
whenever i help, my help never works :(
NOPE. LOL jk
Title: Re: ladder
Post by: CATAHA on September 03, 2010, 02:13:27 am
Just use the Karith ('karith/ladder') one, pretty much everyone seems to use it.
LOL, sure not all! I prefer always put textures in map. =)

So... thats ladder shader u need:

Code: [Select]
textures/your_map_name/my_ladder
{
  qer_trans .5
  qer_editorimage textures/your_map_name/ladder.jpg
  surfaceparm ladder
  surfaceparm nodraw
  surfaceparm nolightmap
  surfaceparm nonsolid
  surfaceparm trans
  surfaceparm nomarks
  surfaceparm noimpact
  surfaceparm playerclip
  surfaceparm metalsteps
}

You can ignore this " qer_editorimage textures/your_map_name/ladder.jpg " if you dont care about editor view. =]
Just put this shader into your *.shader file and use it in your map. Note: Dont forget change your_map_name to your map name!
Title: Re: ladder
Post by: Ingar on September 07, 2010, 12:23:55 pm
There's a common/ladder in data-radiant-1.1.0, if you use that, you should already have it.

I noticed that some pk3's include scripts/common.shader (*cough* sector17b) which breaks it.
Title: Re: ladder
Post by: commander scrooge on September 08, 2010, 02:30:04 pm
There's a common/ladder in data-radiant-1.1.0, if you use that, you should already have it.

I noticed that some pk3's include scripts/common.shader (*cough* sector17b) which breaks it.

Interesting...

If you make a custom (or non default) shader don't for get to add it to shaderlist.txt.