Im going to explain how to create a watermark for our server, Whats a watermark? A watermark is a little picture that appears at the side of the server, for example, if u have been on a jaymod server, u will be able to see their picture which it says jaymod. In the watermark you can out your own clan picture
Step 1: Create folders
You need to create two folders
- "watermark"
- "scripts"
Step 2: Create Picture
Photoshop is the best program to make this, if u dont have photoshop just get a program that supports tga. Once you have the program make a 64x64 pixel, 128x128 Pixel or 256x256 Pixel Picture.
Step 3: Save Picture
Save your finished picture into your "watermark" folder as mywatermark.tga in the format:
TGA - 24 bits/pixel colour in RGB if not using an Alpha Channel
TGA - 32 bits/pixel colour in RGB if using an Alpha Channel
Step 4: Scripting
You need to create a shader file so that the game recognizes your picture. This is a easy script, you wont have any dificulty with it.
Open up notepad and type the following:
- Code:
-
watermark/mywatermark //This is the name of your picture
{
nocompress
nomipmaps
nopicmip
{
map watermark/mywatermark.tga //This is the actual file of your picture
blendFunc blend
rgbGen vertex
alphaGen vertex
}
}
Step 5: Save shader file
Save this file as mywatermark.shader in your "scripts" folder
Check that the file does not have the extension mywatermark.shader.txt. It should say mywatermark.shader and just below that line have File Type: SHADER File.
Step 6: Put it together
So, now you have both of your files. A *.TGA in the "watermark" folder and a *.shader in the "scripts" folder.
Goto where you see both folders as in the red circled picture.
Select both folders and WINZIP (or other zip program) into a "mywatermark.pk3" file.
Put this file into your ETMAIN or JAYMOD directory.
Again, check to see if this is in the proper format by right clicking on the file and checking to make sure the file is mywatermark.pk3 with Type of File: PK3 File. If this file says *.zip at the end (or looks like a zip file) then you should go back to Step 6.
Step 7: Ready for the server Change in your server.cfg file:
- Code:
-
set g_watermark "mywatermark"
Start your server...you should see your watermark.
If not, try doing a manual /rcon g_watermark "mywatermark" in console and do !nextmap. If you did all properly you should be able to c the watermark
Easy =D
Enjoy