banimod / etpro / ettv forums Forum Index banimod / etpro / ettv forums
Bani's Discussion Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Psuedo-documentation: Watermark example
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next
 
Post new topic   Reply to topic    banimod / etpro / ettv forums Forum Index -> ET Pro
View previous topic :: View next topic  
Author Message
Boco



Joined: 12 Oct 2002
Posts: 300
Location: Lacey, Washington, USA

PostPosted: Tue Jan 27, 2004 8:13 am    Post subject: Reply with quote

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.
_________________
<[av]bani> anything which causes boco pain or suffering is \o/
<[av]bani> guns are cool. just saying the word 'gun' gives me a raging hardon.
<[av]bani> DO NOT MOCK HAPPY FUN BANI
<[av]bani> do not run over happy fun bani

* [NW]reyalP thinks he should write a book... "IP Law for fucking morons"
<KingJackaL> haha
<KingJackaL> I'd buy it : D
<WeblionX> I'd scan every page and put it up as a torrent!
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
-[SomeonE]-



Joined: 05 Jan 2004
Posts: 86
Location: Canada

PostPosted: Tue Jan 27, 2004 3:07 pm    Post subject: Reply with quote

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
_________________
hummm how buot www.udtclan.tk ??? its under construction though Smile
Back to top
View user's profile Send private message Visit poster's website
-TFW-Jerome



Joined: 28 Sep 2003
Posts: 3
Location: FRANCE - Paris

PostPosted: Wed Jan 28, 2004 4:56 am    Post subject: Reply with quote

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 Sad

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? Embarassed

In advance thanks a lot
_________________
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
[STALAG13]Hogan



Joined: 29 Jan 2004
Posts: 7

PostPosted: Thu Jan 29, 2004 4:48 am    Post subject: Reply with quote

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
_________________
Bandwidth Is Life ! Long Life RAMBUS !
Back to top
View user's profile Send private message Visit poster's website
[STALAG13]Hogan



Joined: 29 Jan 2004
Posts: 7

PostPosted: Thu Jan 29, 2004 4:53 am    Post subject: Reply with quote

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
_________________
Bandwidth Is Life ! Long Life RAMBUS !
Back to top
View user's profile Send private message Visit poster's website
Rain



Joined: 02 Aug 2003
Posts: 651
Location: Muffin Laboratories

PostPosted: Thu Jan 29, 2004 8:08 am    Post subject: Reply with quote

[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.
_________________
Rain
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
{TWR}Lambert



Joined: 12 Feb 2004
Posts: 2

PostPosted: Thu Feb 12, 2004 10:23 am    Post subject: Reply with quote

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/board27/thread2287.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
Back to top
View user's profile Send private message Visit poster's website
NaWaN



Joined: 17 Feb 2004
Posts: 2

PostPosted: Tue Feb 17, 2004 11:53 am    Post subject: Reply with quote

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:
// 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:
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 ???
Back to top
View user's profile Send private message
TI.Grey Fox



Joined: 19 Feb 2004
Posts: 4

PostPosted: Thu Feb 19, 2004 12:25 am    Post subject: watermark Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website
KingJackaL



Joined: 08 Jan 2004
Posts: 669
Location: ChCh, NZ

PostPosted: Thu Feb 19, 2004 1:14 am    Post subject: Reply with quote

lol dude, that's not right at all Laughing



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.
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
TI.Grey Fox



Joined: 19 Feb 2004
Posts: 4

PostPosted: Thu Feb 19, 2004 2:38 am    Post subject: Reply with quote

hehe thanks i get it now Rolling Eyes
Back to top
View user's profile Send private message Visit poster's website
TI.Grey Fox



Joined: 19 Feb 2004
Posts: 4

PostPosted: Thu Feb 19, 2004 3:50 am    Post subject: Reply with quote

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??
Back to top
View user's profile Send private message Visit poster's website
TI.Grey Fox



Joined: 19 Feb 2004
Posts: 4

PostPosted: Fri Feb 20, 2004 2:12 am    Post subject: Reply with quote

setted the: set b_watermarkFadeTime 1.5

to: set b_watermarkFadeTime -1

but now the server says the image is not correct Confused
Back to top
View user's profile Send private message Visit poster's website
DaMsT



Joined: 22 Feb 2004
Posts: 2
Location: Sweden

PostPosted: Sun Feb 22, 2004 10:42 am    Post subject: Reply with quote

Ok, i have read all posts but still I dont know where to put the shader? Maybe i'am blind at the moment Embarassed
Back to top
View user's profile Send private message Visit poster's website
Rain



Joined: 02 Aug 2003
Posts: 651
Location: Muffin Laboratories

PostPosted: Tue Feb 24, 2004 2:47 am    Post subject: Reply with quote

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.
_________________
Rain
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic    banimod / etpro / ettv forums Forum Index -> ET Pro All times are GMT - 8 Hours
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8  Next
Page 2 of 8

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group