Difference of portal handling between 1 and 2?


(U.S.S. Speed) #1

I have a problem.

My map return leaked on Q3Map2.3.36 Darwin, but not on Q3Map1 EF version.

I made the prt file with Q3Map1 and use Q3Map2.3.36 to vis/light.
It works well.

But it’s pretty annoying. Does my map is leaked or not?
It happen after I add hint brush and fog.


(U.S.S. Speed) #2

Let’s forget that… The map was completly mess up after that.
Seam the .prt are not the same on 1 and 2. :disgust:

How to find that damn leak???


(Old_Fellow) #3

Try to use q3map2 v 2.3.38 instead of v 2.3.36.
If the map still leaked, load the pointfile in Gtk ( Menu File/Pointfile ) and follow the red line.


(U.S.S. Speed) #4

Hum… I’m not using the GTK, but EFRadiant.
Never have been able to make the GTK working.

And there is no 2.3.38 version for mac yet. :disgust:


(U.S.S. Speed) #5

I deleted the fog brush, and everything come back ok. :eek2:

textures/ctf_vdl/masterfog
{
	surfaceparm	trans 
	surfaceparm	nonsolid 
	surfaceparm nodrop 
	surfaceparm	fog 
	fogparms ( .5 .5 .5 ) 256
	{
        map $lightmap
        blendFunc GL_DST_COLOR GL_ZERO
        depthFunc equal
        rgbGen identity
    }
}

Did I miss something?
If I remember well, I need to apply that to only one face of the “fog” brush.
What do I apply to the other?
Still testing if it’s not something else I forgot…


(Old_Fellow) #6

I don’t know anything about EF, but in Q3, foghull shaders are like that:

fog brush



textures/ctf_vdl/masterfog
{
qer_trans 0.75
surfaceparm trans 
surfaceparm nonsolid 
surfaceparm nolightmap
surfaceparm noimpact
surfaceparm fog
fogparms ( .5 .5 .5 ) 256
}


fog hull



textures/ctf_vdl/masterfog_foghull
{
qer_trans 0.75
surfaceparm trans 
surfaceparm nonsolid 
surfaceparm nolightmap
surfaceparm noimpact
skyparms textures/ctf_vdl/masterfog_foghull 0 -
}


There is no lightmap stage.

Only if that face come first in the map file.
Following my remark above, you can use nodrawnonsolid for the other faces.


(U.S.S. Speed) #7

How I can be sure of that? Should I use 6 fog face to be sure?


(Old_Fellow) #8
  1. Open the map file in a text editor, and move the line if needed. Look my answer about brush content properties in this topic.
  2. That’s the simplest way, but not the best for complex fog brushes.