PDA

View Full Version : Terrain/ q3map2 2.3.32/GTKRadiant 1.2.11/RTCW


omnix32
2nd December 2002, 03:09
EasyGen new version with q3map2 support
RTCW 1.4
GTKRadiant 1.2.11
Q3map2Build/Wolfcompile/GTKRadaint compile options

OK, had this working with q3map2 2.2.31 and same setup cept for Radiant 1.2.10.
Problem: Grey checkered Terrain. For some reason I can't figure it out.

q3map2 is set up correctly.
added mapname to shaderlist.txt
bsp: -meta
vis: normal
light: -fast -super 2
q3map_terrain added to my common.shader
using the shader that easygen output.
worked before:
////////////////
textures//terrain_0
{
q3map_lightmapsamplesize 64
q3map_lightmapaxis z
q3map_texturesize 512 512
q3map_tcGen ivector ( 1280 0 0 ) ( 0 1280 0 )
{
map textures/stone/mxrock0b.jpg
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
tcGen lightmap
}
}

textures//terrain_1
{
q3map_lightmapsamplesize 64
q3map_lightmapaxis z
q3map_texturesize 512 512
q3map_tcGen ivector ( 1280 0 0 ) ( 0 1280 0 )
{
map textures/stone/mxrock2b.jpg
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
tcGen lightmap
}
}

textures//terrain_2
{
q3map_lightmapsamplesize 64
q3map_lightmapaxis z
q3map_texturesize 512 512
q3map_tcGen ivector ( 1280 0 0 ) ( 0 1280 0 )
{
map textures/stone/mxsnow0.jpg
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
tcGen lightmap
}
}

textures//terrain_0to1
{
q3map_lightmapsamplesize 64
q3map_lightmapaxis z
q3map_texturesize 512 512
q3map_tcGen ivector ( 1280 0 0 ) ( 0 1280 0 )

{
map textures/stone/mxrock0b.jpg
}
{
map textures/stone/mxrock2b.jpg
alphaGen vertex
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
tcGen lightmap
}
}

textures//terrain_0to2
{
q3map_lightmapsamplesize 64
q3map_lightmapaxis z
q3map_texturesize 512 512
q3map_tcGen ivector ( 1280 0 0 ) ( 0 1280 0 )

{
map textures/stone/mxrock0b.jpg
}
{
map textures/stone/mxsnow0.jpg
alphaGen vertex
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
tcGen lightmap
}
}

textures//terrain_1to2
{
q3map_lightmapsamplesize 64
q3map_lightmapaxis z
q3map_texturesize 512 512
q3map_tcGen ivector ( 1280 0 0 ) ( 0 1280 0 )

{
map textures/stone/mxrock2b.jpg
}
{
map textures/stone/mxsnow0.jpg
alphaGen vertex
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
tcGen lightmap
}
}

textures//terrain.vertex
{
{
map textures/stone/mxrock0b.jpg
rgbGen vertex
}
}
have tried changeing the .jpg to .tga


I am at a loss since this worked before and I have never had this problem.
tried putting the alpa map (.pcx) in my maps folder and main folder.

UNRELATED:
unknown surfaceparm "slime" // thought it was slime now??

compile in GTKRadiant 1.2.11 does some horrible things using q3map that came with it. using one in a seprate folder.

thanx for any help.

omnix32
2nd December 2002, 15:48
OK, I looked at the shader outputed by EasyGen. Don't know why, but it seems to be missing somethings. I redid it. and it seems to work.
I should not have been so trusting with the outputed easygen shader. It had worked in the past though.
Is it now possible to do sun_flares like in MOH ??
who knows.......
thanx.....

Zer0_L0giC
2nd December 2002, 16:17
First glance at the shader told me you didn't fill in all the correct boxes in ezgen since you have // in places. So make sure all the correct boxes get filled in because the shaders easygen puts our w/ the q3map2 template work just fine (Assuming you filled in the correct boxes when you exported). If your terrain isn't working, than the problem is somewhere else.

omnix32
2nd December 2002, 16:36
ya, doohhhhhh. Easygen had put the information in there for me before. 6 hours of looking and I could have solved it. I did not even notice when I posted the shader. There is a lesson here somewhere.
thanx.......