Page 1 of 1
how to create a skin ?[SOLVED]
Posted: Tue Apr 01, 2008 10:46
by Ninja
Hi Guys
looked around a little but couldnt find out how to make a skin i made a tga file but when i set the x,y co-ords for it in the .imageset file it has a box round it so i guess i missed a step
could some kind soul give me a quick tutorial on how to created the tga file please
i'am guessing alpha or something but unsure on how to use this and save the file if that makes sense
TIA
Posted: Tue Apr 01, 2008 12:16
by Pompei2
Posted: Tue Apr 01, 2008 13:10
by Ninja
Hi pompei2
i looked though those and thought i was on a winner with
http://www.cegui.org.uk/wiki/index.php/Creating_Skins
unfortunatly it didnt explain how to do the tga files as i said i created one but for example the mouse arrow just shows as a box with the mouse arrow inside of it.
and i'am unsure where i went wrong or what steps i need to take to avoid this i'am sure its something to do with the tga file but excatlly what i'am lost
TIA
Posted: Tue Apr 01, 2008 18:55
by CrazyEddie
As you suspect the issue of non-transparency is related to the image alpha channel. How you create / save this totally depends on the image editing application you're using - so for that I have to say RTFM
Typically there is some option / toolbox / dialog to allow you to view or hide the image channels - Red Green, Blue, and Alpha. Alternatively, you could be able to make a selection or a mask or such like, and there may be an option to save the that to the alpha channel.
Let us know which tool you have and somebody will have the answers, I'm sure.
CE.
Posted: Tue Apr 01, 2008 21:47
by Ninja
heya CrazyEddie
sorry should have relized i use Photoshop i do have an alpha channel in the psd file but just cant work out how to save the tga so the transpancy is working
TIA
Posted: Tue Apr 01, 2008 22:07
by prager
Well, the problem is, that new versions of Photoshop cannot save the Targa files with alpha channel at all... Have no idea why, it used to be supported at least up to version 7, but not anymore... Why don't you use a PNG? Targa is quite an old file format not much used anymore anyway...
Posted: Wed Apr 02, 2008 08:41
by Ninja
hiya
ok must be me doing something wrong again
using photoshop 10
how do i do this tried saving my psd as png both ways interlaced and non interlaced but i still get the no transpacy effect
TIA
Posted: Wed Apr 02, 2008 08:53
by Ninja
Dohhh Dohhhh Dohhhhh
someone hit me with a clue Bat
worked it out i got fixated on the alpha channel when all i needed to do was have a transparent background for the png file
all working now thanks for the help