Note: LucasForums Archive Project
The content here was reconstructed by scraping the Wayback Machine in an effort to restore some of what was lost when LF went down. The LucasForums Archive Project claims no ownership over the content or assets that were archived on archive.org.

This project is meant for research purposes only.

terrain help.

Page: 1 of 1
 fahtajorj
03-03-2004, 8:42 PM
#1
when i compile my map to test the terrain i made in easygen i get the black and white squares that show missing texture. any help will be most appreciated. here is my func_group and my terrain.shader properties.

textures/network/terrain_0
{
q3map_lightmapsamplesize 64
q3map_lightmapaxis z
q3map_texturesize 512 512
q3map_tcGen ivector ( 128 0 0 ) ( 0 128 0 )
{
map textures/yavin/rockwall.jpg
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
tcGen lightmap
}
}

textures/network/terrain_1
{
q3map_lightmapsamplesize 64
q3map_lightmapaxis z
q3map_texturesize 512 512
q3map_tcGen ivector ( 128 0 0 ) ( 0 128 0 )
{
map textures/yavin/lighturth.jpg
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
tcGen lightmap
}
}

textures/network/terrain_2
{
q3map_lightmapsamplesize 64
q3map_lightmapaxis z
q3map_texturesize 512 512
q3map_tcGen ivector ( 128 0 0 ) ( 0 128 0 )
{
map textures/yavin/s_mud2.jpg
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
tcGen lightmap
}
}

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

{
map textures/yavin/rockwall.jpg
}
{
map textures/yavin/lighturth.jpg
alphaGen vertex
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
tcGen lightmap
}
}

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

{
map textures/yavin/rockwall.jpg
}
{
map textures/yavin/s_mud2.jpg
alphaGen vertex
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
tcGen lightmap
}
}

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

{
map textures/yavin/lighturth.jpg
}
{
map textures/yavin/s_mud2.jpg
alphaGen vertex
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
tcGen lightmap
}
}

textures/network/terrain_vertex
{
{
map textures/yavin/rockwall.jpg
rgbGen vertex
}
}


and my func_groups properties


classname func_group
layers 3
terrain 1
shader network/terrain
alphamap heightmaps/siege_network.pcx
 WadeV1589
03-03-2004, 11:33 PM
#2
Did you add the shader file name in shaderlist.txt?

If it's network.shader you'd add network on a line of it's own in the shaderlist.txt file (which is in \shaders\)
 fahtajorj
03-04-2004, 12:08 AM
#3
i had already done that. but i put everything in a pk3 and it worked. thanks for the help.
 Lil Killa
03-04-2004, 12:11 AM
#4
next time (when it's not in the .pk3) type /sv_pure 0 before loading your map (loading in MP) and the textures should show..

(for SP leave out the / )
Page: 1 of 1