My landmines don't work either


(Storm) #1

how do i fix this? i saw that go-gerbil had this problem, how did he fix it?

this sucks!!! I never even thought of checking that!!!

what should i do i know the surfaceparm works, they plant in the front of my map but not in the rest of it.

its like a certain area works but not the rest of the map!!!

what could cause this , i need a speedy response


(SiX) #2

check here…

http://www.splashdamage.com/forums/viewtopic.php?t=4567


(chavo_one) #3

Nope, he’s using the “surfaceparm landmine” as he stated that some of his map works while some of it doesn’t. Gerbil is having the same problem with what he’s working on as well, and so far he hasn’t found a solution. Maybe one of the SD guys would oblige us with a tip.

Gerbil’s post: http://www.splashdamage.com/forums/viewtopic.php?t=3922&highlight=mines


(Storm) #4

how does that help me? I said the landmines work in some places, but not after a certain line in my map, so they work on that terrain with that surfaceparm, but not everywhere.
in fact i’v found that right at a specific place in my map they won’t show-up when droped


(Storm) #5

there are some really stupid things that can hold-up a map.

STUPID!!!STUPID!!!


(SiX) #6

gotcha chavo…

can you post your terrain shader? maybe that’ll make ita bit easier.


(Storm) #7

my terrain shader!!!? why?

why when some of that map works fine but past a certain line they don’t plant


(Storm) #8

// ocean fog water
textures/battery/fog_water
{
qer_editorimage textures/common/fog_water.tga
surfaceparm nodraw
surfaceparm nonsolid
surfaceparm trans
surfaceparm water
}

// abstract shader for subclassed shaders
textures/battery/ocean_base
{
qer_editorimage textures/liquids_sd/seawall_ocean.tga
qer_trans 0.75
q3map_tcGen ivector ( 512 0 0 ) ( 0 512 0 )
q3map_globalTexture
surfaceparm nonsolid
surfaceparm trans
surfaceparm nomarks
surfaceparm lightfilter
surfaceparm pointlight
nopicmip
}

// nonsolid terrain shader
textures/battery/ocean_terrain
{
qer_editorimage textures/common/terrain_nonsolid.tga
q3map_terrain
qer_trans .5
surfaceparm nodraw
surfaceparm nonsolid
surfaceparm trans
nopicmip

}

// subclassed ocean shaders
textures/battery/ocean_0
{
q3map_baseshader textures/battery/ocean_base
cull none
deformVertexes wave 1317 sin 0 2.5 0 0.15
deformVertexes wave 317 sin 0 1.5 0 0.30

{
	map textures/liquids_sd/seawall_specular.tga
	blendFunc GL_ONE GL_ONE
	rgbGen vertex
	tcGen environment
	depthWrite
}
	
{ 
	map textures/liquids_sd/sea_bright_na.tga
	blendFunc blend
	rgbGen identity
	alphaGen const 0.8
	tcmod scroll 0.005 0.03
}

}

textures/battery/ocean_1
{
q3map_baseshader textures/battery/ocean_base
cull none
deformVertexes wave 1317 sin 0 2.5 0 0.15
deformVertexes wave 317 sin 0 1.5 0 0.30

{
	map textures/liquids_sd/seawall_specular.tga
	blendFunc GL_ONE GL_ONE
	rgbGen vertex
	tcGen environment
	depthWrite
}

{ 
	map textures/liquids_sd/sea_bright_na.tga
	blendFunc blend
	rgbGen identity
	alphaGen const .8
	tcmod scroll 0.005 0.03

}
{
	map textures/liquids_sd/seawall_foam.tga
	blendFunc GL_SRC_ALPHA GL_ONE
	rgbGen wave sin 0.2 0.1 0 0.2
	alphaGen vertex
	tcMod turb 0 0.05 0 0.15
	tcmod scroll -0.01 0.08
}
{ 
	map textures/liquids_sd/seawall_foam.tga
	blendFunc GL_SRC_ALPHA GL_ONE
	rgbGen wave sin 0.15 0.1 0.1 0.15
	alphaGen vertex
	tcMod turb 0 0.05 0.5 0.15
	tcmod scroll 0.01 0.09
}

}

textures/battery/ocean_0to1
{
q3map_baseshader textures/battery/ocean_base
cull none
deformVertexes wave 1317 sin 0 2.5 0 0.15
deformVertexes wave 317 sin 0 1.5 0 0.30

{
	map textures/liquids_sd/seawall_specular.tga
	blendFunc GL_ONE GL_ONE
	rgbGen vertex
	tcGen environment
	depthWrite
}

{ 
	map textures/liquids_sd/sea_bright_na.tga
	blendFunc blend
	rgbGen identity
	alphaGen const .8
	tcmod scroll 0.005 0.03
}
{
	map textures/liquids_sd/seawall_foam.tga
	blendFunc GL_SRC_ALPHA GL_ONE
	rgbGen wave sin 0.2 0.1 0 0.2
	alphaGen vertex
	tcMod turb 0 0.05 0 0.15
	tcmod scroll -0.01 0.08
}
{ 
	map textures/liquids_sd/seawall_foam.tga
	blendFunc GL_SRC_ALPHA GL_ONE
	rgbGen wave sin 0.15 0.1 0.1 0.15
	alphaGen vertex
	tcMod turb 0 0.05 0.5 0.15
	tcmod scroll 0.01 0.09
}

}

textures/battery/rock_graynoise
{
q3map_nonplanar
q3map_shadeangle 180
//q3map_tcmodscale 1.5 1.5
qer_editorimage textures/temperate_sd/rock_grayvar.tga
{
map $lightmap
rgbGen identity
}
{
map textures/temperate_sd/rock_grayvar.tga
blendFunc filter
}
{
map textures/detail_sd/sanddetail.tga
blendFunc GL_DST_COLOR GL_SRC_COLOR
detail
tcMod scale 6 6
}
}

textures/battery/sand_disturb
{
q3map_nonplanar
q3map_shadeangle 180
//q3map_tcmodscale 1.5 1.5
qer_editorimage textures/temperate_sd/sand_disturb_bright.tga
surfaceparm landmine
surfaceparm gravelsteps

{
    map $lightmap
    rgbGen identity
}
{
	map textures/temperate_sd/sand_disturb_bright.tga
    blendFunc filter
}
{
	map textures/detail_sd/sanddetail.tga
	blendFunc GL_DST_COLOR GL_SRC_COLOR
	detail
	tcMod scale 6 6
}

}

textures/battery/terrain_base
{
q3map_tcGen ivector ( 256 0 0 ) ( 0 256 0 )
q3map_lightmapsize 512 512
q3map_lightmapMergable
q3map_lightmapsamplesize 16
q3map_lightmapaxis z
q3map_shadeangle 179
}

textures/battery/terrain_0
{
q3map_baseshader textures/battery/terrain_base
surfaceparm landmine
surfaceparm gravelsteps

{

	map textures/temperate_sd/sand_disturb_bright.tga
	rgbgen identity
}
{
	map $lightmap
	blendFunc GL_DST_COLOR GL_ZERO
}
{
	map textures/detail_sd/sanddetail.tga
	blendFunc GL_DST_COLOR GL_SRC_COLOR
	detail
	tcMod scale 4 4
}

}

textures/battery/terrain_1
{
q3map_baseshader textures/battery/terrain_base
surfaceparm landmine
surfaceparm gravelsteps
{
map textures/temperate_sd/sand_wave_bright.tga
rgbgen identity
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
}
{
map textures/detail_sd/sanddetail.tga
blendFunc GL_DST_COLOR GL_SRC_COLOR
detail
tcMod scale 4 4
}
}

textures/battery/terrain_2
{
q3map_baseshader textures/battery/terrain_base
surfaceparm landmine
surfaceparm gravelsteps
{
map textures/temperate_sd/rocky_sand.tga
rgbgen identity
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
}
{
map textures/detail_sd/sanddetail.tga
blendFunc GL_DST_COLOR GL_SRC_COLOR
detail
tcMod scale 4 4
}
}

textures/battery/terrain_3
{
q3map_baseshader textures/battery/terrain_base
{
map textures/temperate_sd/rock_graynoise.tga
rgbgen identity
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
}
{
map textures/detail_sd/sanddetail.tga
blendFunc GL_DST_COLOR GL_SRC_COLOR
detail
tcMod scale 4 4
}
}

textures/battery/terrain_4
{
q3map_baseshader textures/battery/terrain_base
{
map textures/temperate_sd/rock_grayvar.tga
rgbgen identity
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
}
{
map textures/detail_sd/sanddetail.tga
blendFunc GL_DST_COLOR GL_SRC_COLOR
detail
tcMod scale 4 4
}
}

textures/battery/terrain_5
{
q3map_baseshader textures/battery/terrain_base
surfaceparm landmine
surfaceparm gravelsteps
{
map textures/temperate_sd/sand_patchnoise.tga
rgbgen identity
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
}
{
map textures/detail_sd/sanddetail.tga
blendFunc GL_DST_COLOR GL_SRC_COLOR
detail
tcMod scale 4 4
}
}

textures/battery/terrain_0to1
{
q3map_baseshader textures/battery/terrain_base
surfaceparm landmine
surfaceparm gravelsteps
{
map textures/temperate_sd/sand_disturb_bright.tga
rgbgen identity
alphaGen vertex

}
{
	map textures/temperate_sd/sand_wave_bright.tga
	rgbgen identity
	alphaGen vertex
	blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
}

{
	map $lightmap
	blendFunc GL_DST_COLOR GL_ZERO
}
{
	map textures/detail_sd/sanddetail.tga
	blendFunc GL_DST_COLOR GL_SRC_COLOR
	detail
	tcMod scale 4 4
}

}

textures/battery/terrain_0to2
{
q3map_baseshader textures/battery/terrain_base
surfaceparm landmine
surfaceparm gravelsteps
{
map textures/temperate_sd/sand_disturb_bright.tga
rgbgen identity
alphaGen vertex

}
{
	map textures/temperate_sd/rocky_sand.tga
	rgbgen identity
	alphaGen vertex
	blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
}
{
	map $lightmap
	blendFunc GL_DST_COLOR GL_ZERO
}
{
	map textures/detail_sd/sanddetail.tga
	blendFunc GL_DST_COLOR GL_SRC_COLOR
	detail
	tcMod scale 4 4
}

}

textures/battery/terrain_0to3
{
q3map_baseshader textures/battery/terrain_base
{
map textures/temperate_sd/sand_disturb_bright.tga
rgbgen identity
alphaGen vertex

}
{
	map textures/temperate_sd/rock_graynoise.tga
	rgbgen identity
	alphaGen vertex
	blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
}

{
	map $lightmap
	blendFunc GL_DST_COLOR GL_ZERO
}
{
	map textures/detail_sd/sanddetail.tga
	blendFunc GL_DST_COLOR GL_SRC_COLOR
	detail
	tcMod scale 4 4
}

}

textures/battery/terrain_0to4
{
q3map_baseshader textures/battery/terrain_base
{
map textures/temperate_sd/sand_disturb_bright.tga
rgbgen identity
alphaGen vertex

}
{
	map textures/temperate_sd/rock_grayvar.tga
	rgbgen identity
	alphaGen vertex
	blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
}

{
	map $lightmap
	blendFunc GL_DST_COLOR GL_ZERO
}
{
	map textures/detail_sd/sanddetail.tga
	blendFunc GL_DST_COLOR GL_SRC_COLOR
	detail
	tcMod scale 4 4
}

}

textures/battery/terrain_0to5
{
q3map_baseshader textures/battery/terrain_base
surfaceparm landmine
surfaceparm gravelsteps
{
map textures/temperate_sd/sand_disturb_bright.tga
rgbgen identity
alphaGen vertex
}
{
map textures/temperate_sd/sand_patchnoise.tga
rgbgen identity
alphaGen vertex
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
}
{
map textures/detail_sd/sanddetail.tga
blendFunc GL_DST_COLOR GL_SRC_COLOR
detail
tcMod scale 4 4
}

}

textures/battery/terrain_1to2
{
q3map_baseshader textures/battery/terrain_base
surfaceparm landmine
surfaceparm gravelsteps
{
map textures/temperate_sd/sand_wave_bright.tga
rgbgen identity
alphaGen vertex

}
{
	map textures/temperate_sd/rocky_sand.tga
	rgbgen identity
	alphaGen vertex
	blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
}
{
	map $lightmap
	blendFunc GL_DST_COLOR GL_ZERO
}
{
	map textures/detail_sd/sanddetail.tga
	blendFunc GL_DST_COLOR GL_SRC_COLOR
	detail
	tcMod scale 4 4
}

}

textures/battery/terrain_1to3
{
q3map_baseshader textures/battery/terrain_base
{
map textures/temperate_sd/sand_wave_bright.tga
rgbgen identity
alphaGen vertex
}
{
map textures/temperate_sd/rock_graynoise.tga
rgbgen identity
alphaGen vertex
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
}
{
map textures/detail_sd/sanddetail.tga
blendFunc GL_DST_COLOR GL_SRC_COLOR
detail
tcMod scale 4 4
}

}

textures/battery/terrain_1to4
{
q3map_baseshader textures/battery/terrain_base
{
map textures/temperate_sd/sand_wave_bright.tga
rgbgen identity
alphaGen vertex
}
{
map textures/temperate_sd/rock_grayvar.tga
rgbgen identity
alphaGen vertex
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
}
{
map textures/detail_sd/sanddetail.tga
blendFunc GL_DST_COLOR GL_SRC_COLOR
detail
tcMod scale 4 4
}

}

textures/battery/terrain_1to5
{
q3map_baseshader textures/battery/terrain_base
surfaceparm landmine
surfaceparm gravelsteps
{
map textures/temperate_sd/sand_wave_bright.tga
rgbgen identity
alphaGen vertex
}
{
map textures/temperate_sd/sand_patchnoise.tga
rgbgen identity
alphaGen vertex
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
}
{
map textures/detail_sd/sanddetail.tga
blendFunc GL_DST_COLOR GL_SRC_COLOR
detail
tcMod scale 4 4
}

}

textures/battery/terrain_2to3
{
q3map_baseshader textures/battery/terrain_base
{
map textures/temperate_sd/rocky_sand.tga
rgbgen identity
alphaGen vertex
}
{
map textures/temperate_sd/rock_graynoise.tga
rgbgen identity
alphaGen vertex
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
}
{
map textures/detail_sd/sanddetail.tga
blendFunc GL_DST_COLOR GL_SRC_COLOR
detail
tcMod scale 4 4
}

}

textures/battery/terrain_2to4
{
q3map_baseshader textures/battery/terrain_base
{
map textures/temperate_sd/rocky_sand.tga
rgbgen identity
alphaGen vertex
}
{
map textures/temperate_sd/rock_grayvar.tga
rgbgen identity
alphaGen vertex
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
}
{
map textures/detail_sd/sanddetail.tga
blendFunc GL_DST_COLOR GL_SRC_COLOR
detail
tcMod scale 4 4
}

}

textures/battery/terrain_2to5
{
q3map_baseshader textures/battery/terrain_base
surfaceparm landmine
surfaceparm gravelsteps
{
map textures/temperate_sd/rocky_sand.tga
rgbgen identity
alphaGen vertex
}
{
map textures/temperate_sd/sand_patchnoise.tga
rgbgen identity
alphaGen vertex
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
}
{
map textures/detail_sd/sanddetail.tga
blendFunc GL_DST_COLOR GL_SRC_COLOR
detail
tcMod scale 4 4
}

}

textures/battery/terrain_3to4
{
q3map_baseshader textures/battery/terrain_base
{
map textures/temperate_sd/rock_graynoise.tga
rgbgen identity
alphaGen vertex
}
{
map textures/temperate_sd/rock_grayvar.tga
rgbgen identity
alphaGen vertex
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
}
{
map textures/detail_sd/sanddetail.tga
blendFunc GL_DST_COLOR GL_SRC_COLOR
detail
tcMod scale 4 4
}

}

textures/battery/terrain_3to5
{
q3map_baseshader textures/battery/terrain_base
{
map textures/temperate_sd/rock_graynoise.tga
rgbgen identity
alphaGen vertex
}
{
map textures/temperate_sd/sand_patchnoise.tga
rgbgen identity
alphaGen vertex
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
}
{
map textures/detail_sd/sanddetail.tga
blendFunc GL_DST_COLOR GL_SRC_COLOR
detail
tcMod scale 4 4
}

}

textures/battery/terrain_4to5
{
q3map_baseshader textures/battery/terrain_base
{
map textures/temperate_sd/rock_grayvar.tga
rgbgen identity
alphaGen vertex
}
{
map textures/temperate_sd/sand_patchnoise.tga
rgbgen identity
alphaGen vertex
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
}
{
map textures/detail_sd/sanddetail.tga
blendFunc GL_DST_COLOR GL_SRC_COLOR
detail
tcMod scale 4 4
}

}

textures/battery/water_nodraw
{
qer_editorimage textures/common/nodraw.tga
surfaceparm nodraw
surfaceparm nonsolid
surfaceparm trans
surfaceparm water
}

textures/battery/water_fog
{
qer_editorimage textures/common/fog_water.tga
surfaceparm nodraw
surfaceparm nonsolid
surfaceparm trans
surfaceparm fog

fogparms ( 0.3137 0.36 0.4039 ) 256

}


(SiX) #9

because it helps to double check stuff. I’m just trying to help to the best of my knowledge


(Storm) #10

i see, thanks.

theres the one from the game for the sand_disturb texture

this is soooo dumb, that they work one place, but not the rest of the map

i was hoping to release this map all fix-up by tonight


(SiX) #11

ok, shader looks fine.
only one thing comes to mind: do you have any brushwork covering the terrain where mines are not planting? That could possibly cause mines not to plant correctly.


(Storm) #12

only a hint brush, but nothing else that i can see

i also tryed moving hole map over past the “line” where thaey worked

but that didn’t help


(SiX) #13

try moving or removing that hint brush. I’m not positive but that might be casuing the probs with the mines


(Storm) #14

that hint brush isn’t the problem for sure, becuase it covers the hole map


(Storm) #15

I’m squizing my ass cheeks out-of strees over this stupid problem


(Storm) #16

they tore off


(Storm) #17

:angry: :banghead: :disgust: :???: :bored:

mixed emotions about this problem, but all bad emotions