Mines


(lennyballa) #1

Hi i got another prob here: How can i place mines in my map? I got some sand textures but none of them work :frowning:


(sock) #2

Landmines are placed on surfaces based on the “surfaceparm” value in a shader. For example:

textures/egypt_floor_sd/siwa_sandygrass
{
q3map_nonplanar
q3map_shadeangle 100
surfaceparm landmine
surfaceparm gravelsteps
implicitMap -
}

This texture will allow landmines. Please note that the “surfaceparm” values are compiled into the map and cannot be changed afterwards unless you re-compile the map again.

Sock
:moo: z0r


(fidel castro) #3

ok sock:

i must write a shader,
with the name of the texture that should be “mineable”, or am i wrong ?

shader should be saved in script folder , or ?

greez
fidel