Welcome to RTCW/ET

Enemy-Territory Help. Useful Tricks and tips, Infos, help, and etc...
 
HomeHomeFAQCalendarSearchMemberlistUsergroupsRegisterLog inUpload
Welcome to the home page of RTCWET.TK, please feel free to register on our forums and enjoy ...

Share | 
 

 Creating WaterMark

Go down 
AuthorMessage
HeineK3N

avatar

Posts : 77
Points : 71
Reputation : 0
Join date : 2009-03-15

PostSubject: Creating WaterMark   Thu Mar 26, 2009 8:09 am

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
Back to top Go down
View user profile
$Ron@!do$

avatar

Posts : 193
Points : 1434
Reputation : 0
Join date : 2009-02-26
Age : 26
Location : Ontario

PostSubject: Re: Creating WaterMark   Thu Mar 26, 2009 3:08 pm

!!!!! awesome man :fuck off: LOLL

_________________

Back to top Go down
View user profile http://rtcwet.nstars.org
R0ckstar

avatar

Posts : 77
Points : 29
Reputation : 0
Join date : 2009-03-15
Age : 24
Location : Australia

PostSubject: Re: Creating WaterMark   Thu Mar 26, 2009 5:55 pm

That is friggen tight rock on xD cheers
Back to top Go down
View user profile
HeineK3N

avatar

Posts : 77
Points : 71
Reputation : 0
Join date : 2009-03-15

PostSubject: Re: Creating WaterMark   Fri Mar 27, 2009 6:14 pm

Yeah, one of my favorite things to do is creating watermarks
[Whatta nerd thing]
Back to top Go down
View user profile
Sponsored content




PostSubject: Re: Creating WaterMark   

Back to top Go down
 
Creating WaterMark
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
Welcome to RTCW/ET :: Editing and Modding :: Useful Tricks and tips, Infos-
Jump to: