Page 1 of 1

GTKRadiant Gets Drunk...

Posted: Mon Oct 10, 2011 4:20 am
by EmeraldTiger
And does this to my map:

Image

Basically, my map compiles fine - no leaks or other errors. Maybe some "degenerate patch" errors or similar stuff but nothing that`s really harmful. But when I go in game, I noticed the problems above.

The really strange thing is that not all the metal trim textures act like this. The square trim and straight trim in the center behave as if they are non-solid shaders, but the columns the top right arrow points to work fine, although they all use the same texture. All other instances of this texture not shown in the screenshot also work as expected. The affected brushes can be walked through / passed through by both players and weapon projectiles, as the image demonstrates. Note that all other surfaces of the affected brushes use regular textures without any shaders applied. I am using a default gothic metal trim here with no special nonsolid surface parameter shaders. This problem is really bizarre, I wonder if anyone has had this problem before, what caused it, and how they fixed it.

Re: GTKRadiant Gets Drunk...

Posted: Mon Oct 10, 2011 3:56 pm
by g0th-
I must admit that I had higher hopes when I saw this thread.

but as far as your problem I've no idea. never encountered anything like this before.

Re: GTKRadiant Gets Drunk...

Posted: Mon Oct 10, 2011 4:13 pm
by dghost77
Haha, I too also had higher hope with that kind of title in the topic.

Seriously, I have no idea what could be causing this, I am too much of a newb with Gtk, I would, at least, try to delete the problematic brush and recreate it from scratch.

Re: GTKRadiant Gets Drunk...

Posted: Mon Oct 10, 2011 4:29 pm
by Silicone_Milk
Wasn't there something strange about brushes taking the wrong surface parameter during a compile if not all the faces shared the same surface type?

What did you apply to the rest of the faces of the trim that aren't visible? For now, make sure the entire trim brush is using that same metal trim texture.

Re: GTKRadiant Gets Drunk...

Posted: Mon Oct 10, 2011 4:58 pm
by obsidian
Yes, some surfaceparms affect the entire brush volume as a whole, not just the surface. Conflicting surfaceparms on the same brush will cause the brush to randomly take the properties of one shader over the other.

Re: GTKRadiant Gets Drunk...

Posted: Mon Oct 10, 2011 5:06 pm
by EmeraldTiger
I have checked all six surfaces on the brushes. They are all normal textures with no special nonsolid shaders, etc. applied to them.

Re: GTKRadiant Gets Drunk...

Posted: Mon Oct 10, 2011 5:41 pm
by obsidian
Delete brush and remake it?

Re: GTKRadiant Gets Drunk...

Posted: Tue Oct 11, 2011 4:29 am
by EmeraldTiger
Alright, I tried deleting the original brushes and putting new ones in their place. The problem still happens, and strangely enough, all the metal trims in the picture I posted are now affected, before only a few were nonsolid. For who knows what reason, my editor turned some more "innocent" textures nonsolid when I didn't even do anything to them.

If there is one thing I can note - when you pass through the metal trims (noclip or other means) any entities in view will disappear, like items and such, until you move out of it. It`s almost as if they are still blocking visibility even though they are nonsolid. That would be a nightmare for leak detection if it was true...

I`m absolutely baffled as this kind of problem seems to defy technical logic, so I`ll send my .map file for others to check and give feedback on what they find:

http://dl.dropbox.com/u/27277779/pasdm1_b1.map

Thanks in advance, it is really appreciated.

Re: GTKRadiant Gets Drunk...

Posted: Tue Oct 11, 2011 4:53 am
by Silicone_Milk
You have the 'metalsupport4j_trans' texture applied. It's a shader.



textures/gothic_trim/metalsupport4j_trans
{
qer_editorimage textures/gothic_trim/metalsupport4j.tga
surfaceparm nonsolid
{
map $lightmap
rgbGen identity
}
{
map textures/gothic_trim/metalsupport4j.tga
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
}
}



It has a nonsolid surface param so use something else.

EDIT: On an unrelated note, t-junctions, man.

Re: GTKRadiant Gets Drunk...

Posted: Thu Oct 13, 2011 4:16 pm
by Silicone_Milk
Did this fix the problem for you?

Re: GTKRadiant Gets Drunk...

Posted: Thu Oct 13, 2011 5:45 pm
by Theftbot
make a clean q3 install. could be conflicting shaders.

Re: GTKRadiant Gets Drunk...

Posted: Fri Oct 14, 2011 1:22 am
by EmeraldTiger
I have fixed it. It works now. :)

Still wondering how I even managed to get the nonsolid texture though by accident... as I always stick to a menu of textures already in my map unless I absolutely need a new one.