So, I've dabbled with Radiant and mapping in the past. I've never published anything, but I thought I'd give it another shot--it can't hurt.
Anyway, I've got one map I'm actively working on right now, I'm running into problems trying to create grates.
Here's what is happening, currently, the top of the grate works perfectly. The players clip, and I can see through the holes. I run into problems when I look at the grate from below. Right now, it's completely transparent.
What I've already done is, I've got a brush which I've stuck a grate shader on top of (textures/titan/grates_alpha). I then created a 100% opaque texture and gave it this shader:
textures/toxicity/black_tox
{
qer_editorimage textures/toxicity/black_tox.tga
surfparm noclip
{
map textures/toxicity/black_tox.tga
blendFunc GL_ONE GL_ZERO
alphaFunc GE128
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
I made sure the grate shader has 'cull none', I also tried 'cull disable', however that is (according to the shader manual) the exact same option.
I then put the grate on the 'top' surface and my transparent texture on all other surfaces.
Please, don't tell me to use nodraw. I get the purple checkerboard texture when I compile the map and try it in game. (Or if you do, any idea why I'm getting the purple texture? I've got common.shader installed correctly, as best as I can tell.)
Oh, and when I overlay a playerclip brush (like I've seen in some tutorials), both brushes disappear, and I don't even get the grate.
How do I get to the point where I can see the grate from both sides? Better yet, what do you guys do? Are the .map files for Trem available with the source code?
Thanks all.
Jeff