Page 2 of 8

Posted: Tue Jan 27, 2004 8:13 am
by Boco
twilightnl wrote:does someone know a SIMPLE program that can convert jpeg to tga?
Not really. I couldn't find any conversion tools just now. Maybe if you look hard, though. Otherwise, just get something like The Gimp, load the image, then save it as tga... Just about all image editing programs (outside of Windows Paint) will do the job.

Posted: Tue Jan 27, 2004 3:07 pm
by -[SomeonE]-
paint shop pro, open the file you want to convert then file>save as>then under the little white space where you write the name of the fime your gonna save its writtin file type, choose tga

but im not 100% sure itll work i didnt try it yet
________
Lexus Link history

Posted: Wed Jan 28, 2004 4:56 am
by -TFW-Jerome
Hi all

I've got exactly the same problem to manage transparency (so alpha channel) under PSP : my image is always with a white background when saved :(

So simple question : how to manage this alpha channel? I've made a lot of tries, but never successful.

If someone did it under PSP successfully, may he/she explain it please? :oops:

In advance thanks a lot

Posted: Thu Jan 29, 2004 4:48 am
by [STALAG13]Hogan
twilightnl wrote:does someone know a SIMPLE program that can convert jpeg to tga?
Hi,
yes i know one. It's called XnView available at http://www.xnview.com.
This Program can convert simply everyting i ever saw, and its a cute
Dia show prog.
grtz Hogan

Posted: Thu Jan 29, 2004 4:53 am
by [STALAG13]Hogan
Hi folks,
hmm i used The Gimp for my Watermark and the transparency is working fine. BUT ! why the he** is my watermark shown upside down in ET ???
any1 knowing a solution ? the *.tga file is ok but the watermark shown in ET is upside down. WHY ?
grtz Hogan

Posted: Thu Jan 29, 2004 8:08 am
by Rain
[STALAG13]Hogan wrote:hmm i used The Gimp for my Watermark and the transparency is working fine. BUT ! why the he** is my watermark shown upside down in ET ???
Make sure you check the "origin at bottom left" option when you save the .tga. ET expects the TGA to be saved this way, and doesn't bother reading the header to see if it really is.

Posted: Thu Feb 12, 2004 10:23 am
by {TWR}Lambert
I posted up on the Wolfensteinresource.com forum how to create a Targa (TGA) file using Photoshop 6 and above, as I read on these forums that people were having problems creating the alpha channel for the transparency, using the Adobe program.

You can view my method in a Microsoft Word document format, by downloading the zip file attached to the message on this post.

http://wolfensteinresource.com/forum/bo ... ad2287.htm

I hope it helps some of your members, as this thread certainly helped me create our Clans ETpro watermark logo.

Thanks for all your help.

Cheers

Lambert

Posted: Tue Feb 17, 2004 11:53 am
by NaWaN
I can't get it work on my server. This is what i get:


watermark-tpp.pk3 (put this in my et pro directory)

--> scripts
------> watermark-tpp.shader

Code: Select all

// shader name
watermark/tpp/tpplogo
{
        nocompress
        nomipmaps
        nopicmip
	{
		// image filename
		map watermark/tpp/tpplogo.tga
		blendFunc blend
		rgbGen vertex
		alphaGen vertex
	}
}
--> watermark
------> tpp
----------> tpplogo.tga

After this i zipped it with winzip and made it a *.pk3 file (changing extension)

The in my config file in the etmain directory i've put this in:

Code: Select all

set b_watermark "tpp/tpplogo"
set b_watermarkFadeAfter -1
No it won't work, he still says:

Could not find shader vor image watermark/tpp/tpplogo

my tga file is 128 x 128 px

What do i wrong ???

watermark

Posted: Thu Feb 19, 2004 12:25 am
by TI.Grey Fox
Hello, I made an .TGA file and a .PK3 file.
I know for sure the .TGA file is good, for an PK3 file I took an Notepad and put in this line: /watermark/cr/indians.tga

and saved it as indians.pk3

Then is says indians.pk3 so I do thinks thats a PK3
Now I uploaded this to my server along with the .TGA picture, and in my server cfg I added these lines under //DL & RATE//

set b_watermark indians/bc
set b_watermark "cr/watermark"
set b_watermarkFadeAfter -1
set b_watermarkFadeTime 1.5

I Dont use a shader script with it, but when I enter the server it says:

WARNING: Could'nt find shader for image watermark/cr/indians

The server is pure, so thats okay to.
But I need to know what im doing wrong, really need some help

Cheers, GF from the indians clan

Posted: Thu Feb 19, 2004 1:14 am
by KingJackaL
lol dude, that's not right at all :lol:



Make a folder called 'watermark'

Make a folder INSIDE that folder called 'cr'

Put the TGA file ( 'indians.tga' ) INSIDE that 'cr' folder

Go back up two levels, and put the 'watermark' folder inside a ZIP archive

Rename the .zip to .pk3

It'll work now.



A pk3 is a ZIP file, just with a different extension. The TGA file has to be INSIDE the pk3, not just 'with it'. If you're still confused, go back and read the first post again carefully.

Posted: Thu Feb 19, 2004 2:38 am
by TI.Grey Fox
hehe thanks i get it now :roll:

Posted: Thu Feb 19, 2004 3:50 am
by TI.Grey Fox
hello again we managed to get the pk3 file in order zipped it and uploaded in etpro directory and changed the server.cfg

and putted some extra lines under //DL & RATE// like i said before:

set b_watermark indians/bc
set b_watermark "cr/watermark"
set b_watermarkFadeAfter -1
set b_watermarkFadeTime 1.5

then i restarted the server and when i reconnected then i must download my watermark and when i get in the server there's no watermark dunno where to go now

is the server.cfg not correct??

Posted: Fri Feb 20, 2004 2:12 am
by TI.Grey Fox
setted the: set b_watermarkFadeTime 1.5

to: set b_watermarkFadeTime -1

but now the server says the image is not correct :?

Posted: Sun Feb 22, 2004 10:42 am
by DaMsT
Ok, i have read all posts but still I dont know where to put the shader? Maybe i'am blind at the moment :oops:

Posted: Tue Feb 24, 2004 2:47 am
by Rain
The shader script goes in scripts/. I updated the post to reflect this, although Konqueror ate the indentation for the shader example. I'll fix that in a bit.