[QUOTE=nAb.Death;493412]Thanks man, i got it working now
So this works now i only have a couple of other questions:
- When i want to place a landmine on the ground it says: Landmine cannot be placed here… Even tho its a grass texture. How do i make that work?[/QUOTE]
there are diffrence between a texture and a shader:
thoose things are very similar to look at but shaders are specified.
for example a texture is an animal
a shader is a cat…
now you start asking: -wtf are he talking about?
yes; a texture is just a picture, its a solid surface, and it show us a pic at the surface where its applicated
to test this we need to do something
make a 24bit tga
name it: "my_epic_texture.tga
place it in your maps pk3 in the texture/my_epic_texture folder
HINT: for easier finding your new texture (tga) make a smily as texture <-- like that or this -->
now place your TEXTURE of a smily in the map both at a floor and a wall.
compile the map, and look. steep at the smily floor, its stone, try to place a landmine (wont work) and shoot at it, (its stone)
stone is the default surfaceparm the game give textures.
textures are not needing a script/shader but to place a texture is just like saying “I saw an animal”
the game dont know if it is a cat, a dog, an elephant or a dingo!
SHADERS. got the feture to describe for the game if it is grass or stone or wood or what it is
EXAMPLE: the texture said: -“i saw an animal”, the shader say: -“I saw a cat”, so actually, shaders are more specified.
to make a shader is very hard for extreme noobs who have a cooked brain after one look at a mapscript.
so: for keeping this simple we will have the from noob to proo guide right here (becouse I like to be a bitch)
stage 1: OPEN radiant
stage 2: OPEN your map
stage 3: OPEN the shader ///////STOP///////
you will not open your cute little zip program, NO
open it from radiant
-how?
SHIFT click at the texture in the texture window!
if it is a shader, radiant will open the shader file automatically
if it is a texture, radiant will say: -“this is a texture, not a shader”
when youve opened your shader (becouse textures dont use shaders)
you can search for the specific texture you wanna use in the shader, when youve find it, look inside the { and }
if you find
surfaceparm grass
surfaceparm landmine
will landmines work
AND if caulk and any landmineshader z-fighting, the caulk will disable landmines…