lfnetwork.com mark read register faq members calendar

Thread: Making skins seem 'transparent'
Thread Tools Display Modes
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Old 04-09-2004, 07:22 AM   #1
Jase_Morden
Rookie
 
Jase_Morden's Avatar
 
Join Date: Dec 2003
Location: In my lab, trying to work out what this little red button on the Merr-Sonn Portable Missile System does...
Posts: 157
Making skins seem 'transparent'

Hey,
Does anyone know how to make a skin appear 'transparent'? Like how Obi-Wan appears in Return of the Jedi, like a ghost, or does it require model editing?
They managed to do it with Morgan Katarn in Jedi Outcast, I want that sort of effect, can anyone help me?

Any help's appreciated,
Jase


Heh, signatures...

Jase(J.S.C)
The Jedi Stadium
IP: 66.98.211.124
FFA/Tournaments
JA+ Mod 1.8


Last edited by Jase_Morden on 00-00-0000 at 00:00 PM
Jase_Morden is offline   you may: quote & reply,
Old 04-13-2004, 01:02 AM   #2
Amidala from Chop Shop
Politically-correct jerk
 
Join Date: Mar 2003
Location: In exile
Posts: 1,433
All of the model's skin image files (listed in *.skin) need to have alpha channels that select all visible areas, using gray to make them translucent, not opaque or invisible. The darker the gray, the more translucent it will be. Then you need a shader file reference to those image files making the selected areas transparent. The shader file uses the alpha channel information to determine how transparent the image is.

So you need a program that can create\edit alpha channels, like Photoshop. I don't know if Paint Shop Pro has that ability (I don't have it). Image files with alpha channel information end in .png or .tga because .jpg files don't have alpha channels. The other file formats support alpha channels.

Amidala from Chop Shop is offline   you may: quote & reply,
Old 04-13-2004, 04:44 PM   #3
|GG|Carl
Invisible
 
|GG|Carl's Avatar
 
Join Date: May 2003
Posts: 1,175
This shader file should get you what you want:

Code:
models/players/<skins name>/<filename>
{
	{
		map models/players/<skins name>/<filename>
		blendfunc add
		rgbGen lightingdiffuse
		depthWrite
	}
}
It makes the whole skin about 50% transparent (except for the black parts, which will get 100% transparent).
|GG|Carl is offline   you may: quote & reply,
Old 04-23-2004, 10:49 PM   #4
IG-64
Moderator
 
IG-64's Avatar
 
Join Date: Sep 2003
Location: Houston, Tx.
Posts: 5,958
LFN Staff Member Forum Veteran 
Make a GIF with transparency.
IG-64 is offline   you may: quote & reply,
Old 05-09-2004, 12:40 PM   #5
|GG|Carl
Invisible
 
|GG|Carl's Avatar
 
Join Date: May 2003
Posts: 1,175
Quote:
Originally posted by IG-64
Make a GIF with transparency.
Or .tga would be even better...
|GG|Carl is offline   you may: quote & reply,
Old 06-01-2004, 11:41 PM   #6
PSyCo_SMurF
Rookie
 
Join Date: Jan 2004
Location: where it's cold......
Posts: 34
this is for makeing the whole skin transparent, but what about only apart of the skin that is fully transpartent? like a hole in the body. would it be the same as above but in a smaller area not the whole .jpg or is it not able to do?
PSyCo_SMurF is offline   you may: quote & reply,
Old 06-02-2004, 06:48 AM   #7
d_eisenga
 
Join Date: Feb 2001
Posts: 36
you could do exactly that with a tga/png with an alpha channel.

btw, those invisible guys in the JA single player levels, the kind that capture you on the level where you dont have your saber(forgot the name, and i cant check it cause im at school). they are invisible but they still break the light, as if they are made from glass. how is that done?
d_eisenga is offline   you may: quote & reply,
Old 06-20-2004, 12:17 AM   #8
shukrallah
White Dragon
 
shukrallah's Avatar
 
Join Date: Nov 2002
Posts: 3,250
hmmm.. thanks guys, this will come in handy for an update to my dark crypt map. BTW, d_eisenga, what your talking about is a cloak. Im not sure how its made, could be an EFX file :-/ or maybe a shader, look around in the shaders directory.

Quote:
This shader file should get you what you want:


[code............................


etc

]


It makes the whole skin about 50% transparent (except for the black parts, which will get 100% transparent).

Do i still have to mess around with alpha channels if I do this?

BTW, www.gimp.com (i think, is a free editer that allows for manipulation of alpha channels)
shukrallah is offline   you may: quote & reply,
Old 08-14-2004, 11:44 PM   #9
[ASJN] Balboa
 
[ASJN] Balboa's Avatar
 
Join Date: Feb 2003
Location: Florida, USA
Posts: 69
none of that is needed
just a shader with this added line added in: blendfunc GL_DST_COLOR GL_ONE

if you were making a kyle texture, it'd be
models/players/kyle/kyle_legs
{
{
map models/players/kyle/kyle_legs
blendfunc GL_DST_COLOR GL_ONE
}
}

and repeat that process for his torso and head and crap


[ASJN] Balboa is offline   you may: quote & reply,
Old 08-18-2004, 10:31 PM   #10
shukrallah
White Dragon
 
shukrallah's Avatar
 
Join Date: Nov 2002
Posts: 3,250
Great! At least I don't have to play with alpha channels.. never got them right. (BTW, if anyone has GIMP and could explain how to add one, I would be very greatful!)
shukrallah is offline   you may: quote & reply,
Old 08-26-2004, 01:59 PM   #11
Vahshir
 
Vahshir's Avatar
 
Join Date: Dec 2002
Location: Puerto Rico
Posts: 3
Hey [ASJN] Balboa thanks for that info. I had been looking for that a long time. It works pretty good. I gotta try alpha channels now and see how that works
Vahshir is offline   you may: quote & reply,
Old 08-26-2004, 08:13 PM   #12
LightNinja
The Ninjonator
 
LightNinja's Avatar
 
Join Date: Sep 2003
Location: Somewhere-Spain Status: Ninjonator
Posts: 1,998
w00t, you only have 1 post; that shader was old, but it still looks nice.
Vahshir, your name remembered me when i played EverQuest..as vah shir lol




~JA MP Total Conversion~
LightNinja is offline   you may: quote & reply,
Old 08-27-2004, 08:32 PM   #13
Vahshir
 
Vahshir's Avatar
 
Join Date: Dec 2002
Location: Puerto Rico
Posts: 3
Yeah. its from everquest. I liked that race. So if I want to make a hilt with some of its parts transluscent could I do it with that shader also or what would I need to do?
Vahshir is offline   you may: quote & reply,
Old 08-27-2004, 11:08 PM   #14
shukrallah
White Dragon
 
shukrallah's Avatar
 
Join Date: Nov 2002
Posts: 3,250
Aye, I'm sure it would work out with a hilt.
shukrallah is offline   you may: quote & reply,
Old 08-29-2004, 10:43 AM   #15
LightNinja
The Ninjonator
 
LightNinja's Avatar
 
Join Date: Sep 2003
Location: Somewhere-Spain Status: Ninjonator
Posts: 1,998
Quote:
Originally posted by Vahshir
Yeah. its from everquest. I liked that race. So if I want to make a hilt with some of its parts transluscent could I do it with that shader also or what would I need to do?
[offtopic]Well i currently did a centi longsword as saber hilt hehe, but is for personal use xD[/offtopic]




~JA MP Total Conversion~
LightNinja is offline   you may: quote & reply,
Old 08-30-2004, 02:17 PM   #16
Vahshir
 
Vahshir's Avatar
 
Join Date: Dec 2002
Location: Puerto Rico
Posts: 3
Cool
Vahshir is offline   you may: quote & reply,
Old 08-31-2004, 05:27 AM   #17
LightNinja
The Ninjonator
 
LightNinja's Avatar
 
Join Date: Sep 2003
Location: Somewhere-Spain Status: Ninjonator
Posts: 1,998
Quote:
Originally posted by Vahshir
Cool
[offtopic]http://img61.exs.cx/img61/7622/centi.jpg[/offtopic]




~JA MP Total Conversion~
LightNinja is offline   you may: quote & reply,
Post a new thread. Add a reply to this thread. Indicate all threads in this forum as read. Subscribe to this forum. RSS feed: this forum RSS feed: all forums
Go Back   LucasForums > Network > JediKnight Series > Editing Central > JA Skinning > Making skins seem 'transparent'

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:01 AM.

LFNetwork, LLC ©2002-2011 - All rights reserved.
Powered by vBulletin®
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.