Zabaware Support Forums
		Zabaware Forums => Ultra Hal Assistant File Sharing Area => Topic started by: catseye on September 07, 2008, 11:04:14 pm
		
			
			- 
				I've been trying to make a glass looking skin but it won't work, and 
 I can't figure out what is wrong weather its the code or if its just
 to much transparency for the program
 
 
 (http://i95.photobucket.com/albums/l129/catseye0/glass.jpg)
 
 
 [Ultra Hal Assistant 6.1 Plugin]
 Type=Skin
 Name=glass
 Author=catseye
 About=glass Skin.
 
 ;Base size and bitmap of background
 SkinPic=glass.bmp
 SkinWidth=562
 SkinHeight=331
 SkinFontSize=12
 
 ;Coordinates of Animated Character
 SkinFaceX=148
 SkinFaceY=65
 skinFaceWidth=254
 skinFaceHeight=132
 
 ;Coordinates and bitmap of menu button
 SkinMenuPic=glassmenu.jpg
 SkinMenuX=197
 SkinMenuY=540
 SkinMenuWidth=80
 SkinMenuHeight=25
 
 ;Coordinates and bitmap of microphone button
 SkinMicPic=glassmic.jpg
 SkinMicX=178
 SkinMicY=540
 SkinMicWidth=75
 SkinMicHeight=16
 
 ;Coordinates and bitmap of minimize button
 SkinMinimizePic=glassmin.jpg
 SkinMinimizeX=168
 SkinMinimizeY=540
 SkinMinimizeWidth=40
 SkinMinimizeHeight=28
 
 ;Coordinates and bitmap of close button
 SkinClosePic=glassclose.jpg
 SkinCloseX=158
 SkinCloseY=540
 SkinCloseWidth=40
 SkinCloseHeight=28
 
 ;Coordinates and color of Hal's output box
 SkinHalFGColor=0
 SkinHalFontName=Verdana
 SkinHalX=1
 SkinHalY=74
 skinhalWidth=286
 skinhalHeight=159
 
 ;Coordinates and color of User's input box
 SkinUserFGColor=16777215
 SkinUserFontName=Verdana
 SkinUserX=402
 SkinUserY=74
 skinuserWidth=154
 skinuserHeight=130
 
 ;Coordinates and color of Caption where both Hal's and the User's name is displyerd
 ;The background of the text displayed is transparent to the background bitmap
 SkinTalkFGColor=0
 SkinTalkFontName=Verdana
 SkinTalkFontSize=12
 SkinTalkAlign=Center
 SkinTalkX=1
 SkinTalkY=1
 SkinTalkWidth=543
 SkinTalkHeight=40
 
 ;This is the transparent mask. If the skin should have transparent areas enter a list
 ;of all the coordinates of every transparent area. Use the program MakeTran.exe
 ;located in Hal's folder to help you make a transparecny mask. If the skin is a rectangle
 ;then set the transparency string to "false" otherwise enter the string of values that
 ;the MakeTran.exe program gives you.
 Transparency=
 
 the code for the transparency was to big to post
- 
				The problem I found was that you didn't have the RGB channels correct.
 
 They need to be R=255, G=5, B=255
 Your image was dithered with a multitude of shades.
 When you zoom in (with graphics program) you should still see the base color as a solid one.
 
 Make sure your boundaries / borders / corners are completely closed.
 
 
- 
				thanks I fix the color problem but it still say's overflow at line 5
 and I it also say invalid  on line's 6 and 8
- 
				OK I've tried it without the transparency and it works. I think its
 just to much for the program to handle.