I got my terrian to work, everything except that engineers “cannot place landmine here”.
Even though the shader file looks like this:
textures/oken/terrain_0
{
q3map_baseshader textures/oken/terrain_base
surfaceparm landmine
surfaceparm gravelsteps
{
map textures/desert_sd/sand_disturb_desert.tga
tcMod scale 0.500 0.500
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
}
}
textures/oken/terrain_1
{
q3map_baseshader textures/oken/terrain_base
surfaceparm landmine
surfaceparm gravelsteps
{
map textures/desert_sd/rock_edged_smooth.tga
tcMod scale 0.500 0.500
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
}
}
textures/oken/terrain_2
{
q3map_baseshader textures/oken/terrain_base
surfaceparm landmine
surfaceparm gravelsteps
{
map textures/desert_sd/sand_gravels_bright.tga
tcMod scale 0.500 0.500
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
}
}
textures/oken/terrain_0to1
{
q3map_baseshader textures/oken/terrain_base
{
map textures/desert_sd/sand_disturb_desert.tga
tcMod scale 0.500 0.500
}
{
map textures/desert_sd/rock_edged_smooth.tga
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
alphaGen vertex
tcMod scale 0.500 0.500
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
}
}
textures/oken/terrain_0to2
{
q3map_baseshader textures/oken/terrain_base
{
map textures/desert_sd/sand_disturb_desert.tga
tcMod scale 0.500 0.500
}
{
map textures/desert_sd/sand_gravels_bright.tga
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
alphaGen vertex
tcMod scale 0.500 0.500
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
}
}
textures/oken/terrain_1to2
{
q3map_baseshader textures/oken/terrain_base
{
map textures/desert_sd/rock_edged_smooth.tga
tcMod scale 0.500 0.500
}
{
map textures/desert_sd/sand_gravels_bright.tga
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
alphaGen vertex
tcMod scale 0.500 0.500
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
}
}
textures/oken/terrain_base
{
q3map_lightmapaxis z
q3map_lightmapmergable
q3map_lightmapsize 512 512
q3map_tcGen ivector ( 128 0 0 ) ( 0 128 0 )
Anyone know what the problem might be?
}