boy i am full of questions tonight
ok here's another
how and where is there a tut on adding say a picture to your map or lets say u create a tombstone and u want ot put your clan members name there.................?!
If you want to add it to the map, you need to create a custom texture. That is a tga or jpg image, in increments of 16 (height and width). You put it in a pk3 file in a folder named "textures/yourname" (where yourname is whatever name you choose) and include this folder in the pk3 file with your map. If you want to give the texture transparency or surface properties, you have to create a shader, which goes in the pk3 file in a folder named scripts.
Look at some maps with custom textures to see how everything works.
the easiest way for your 1st custom texture is to find an existing texture which is quiet fitting and make it a custom texture, e.g. algiers/grvstm1
You'll find the texture in pak2.pk3 in textures/algiers/grvstm1.jpg and the shader for it is in pak0.pk3, scripts/algiers.shader. Find the grvstm1 part in it and copy this into a new txt-file and change the red parts:
textures/clantex/clanstone
{
qer_keyword m1
qer_keyword stone
qer_keyword special
surfaceparm stone
{
map textures/clantex/clanstone.tga // this is weird: the texture is a jpg, but it's called tga
depthWrite
rgbGen identity
}
{
map $lightmap
rgbGen identity
blendFunc GL_DST_COLOR GL_ZERO
depthFunc equal
}
}
Save this txt-file as clantex.shader in a folder mohaa/main/textures
Put the grvstm1.jpg into a folder mohaa/main/textures/clantex, alter what you want and rename it to clanstone.jpg
Open Mohradiant and you should find a new texture folder called clantex containing your texture clanstone
Don't forget to add these two files to your pk3 for sharing the map