Author Topic: can some one help me  (Read 2583 times)

catseye

  • Jr. Member
  • **
  • Posts: 91
    • View Profile
can some one help me
« on: September 01, 2008, 11:48:21 pm »
can some one help me. I'm making a user interface and I can't get
the transparency to work here's what it looks like so far





and here's the code

[Ultra Hal Assistant 6.0 Plugin]
Type=Skin
Name=free
Author=catseye
About=A Tall one for the Full Body character.

;Base size and bitmap of background
SkinPic=free.bmp
SkinWidth=218
SkinHeight=472
SkinFontSize=10

;Coordinates of Animated Character
SkinFaceX=0
SkinFaceY=0
skinFaceWidth=218
skinFaceHeight=349

;Coordinates and bitmap of menu button
SkinMenuPic=freeMenu.jpg
SkinMenuX=1
SkinMenuY=362
SkinMenuWidth=12
SkinMenuHeight=12

;Coordinates and bitmap of microphone button
SkinMicPic=freeMic.jpg
SkinMicX=13
SkinMicY=350
SkinMicWidth=12
SkinMicHeight=12

;Coordinates and bitmap of minimize button    
SkinMinimizePic=freeMin.jpg
SkinMinimizeX=194
SkinMinimizeY=350
SkinMinimizeWidth=12
SkinMinimizeHeight=12
   
;Coordinates and bitmap of close button    
SkinClosePic=freeClose.jpg
SkinCloseX=206
SkinCloseY=362
SkinCloseWidth=12
SkinCloseHeight=12

;Coordinates and color of Hal's output box
SkinHalBGColor=0
SkinHalFGColor=16777215
SkinHalFontName=Verdana
SkinHalX=1
SkinHalY=375
skinhalWidth=215
skinhalHeight=40

;Coordinates and color of User's input box    
SkinUserBGColor=0
SkinUserFGColor=16777215
SkinUserFontName=Verdana
SkinUserX=1
SkinUserY=415
skinuserWidth=215
skinuserHeight=50

;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
SkinTalkAlign=Center
SkinTalkFontSize=10
SkinTalkX=35
SkinTalkY=360
SkinTalkWidth=150
SkinTalkHeight=24

;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=0,523,327,523,0,524,327,524,0,525,19,525,37,525,291,525,309,525,327,525,0,526,19,526,37,526,291,526,309,526,327,526,0,527,19,527,37,527,291,527,309,527,327,527,0,528,19,528,37,528,143,528,185,528,291,528,309,528,327,528,0,529,19,529,37,529,125,529,203,529,291,529,309,529,327,529,0,530,19,530,37,530,112,530,216,530,291,530,309,530,327,530,0,531,19,531,37,531,103,531,225,531,291,531,309,531,327,531,0,532,19,532,37,532,96,532,232,532,291,532,309,532,327,532,0,533,19,533,37,533,89,533,239,533,291,533,309,533,327,533,0,534,19,534,37,534,82,534,246,534,291,534,309,534,327,534,0,535,19,535,37,535,77,535,251,535,291,535,309,535,327,535,0,536,19,536,37,536,73,536,255,536,291,536,309,536,327,536,0,537,19,537,37,537,68,537,260,537,291,537,309,537,327,537,0,538,19,538,37,538,63,538,265,538,291,538,309,538,327,538,0,539,19,539,37,539,59,539,269,539,291,539,309,539,327,539,0,540,19,540,37,540,56,540,272,540,291,540,309,540,327,540,0,541,19,541,37,541,53,541,275,541,291,541,309,541,327,541,0,542,19,542,37,542,49,542,279,542,291,542,309,542,327,542,0,543,1,543,19,543,46,543,282,543,309,543,0,544,1,544,19,544,44,544,284,544,309,544,0,545,1,545,19,545,42,545,286,545,309,545,0,546,1,546,19,546,39,546,289,546,309,546,0,547,1,547,19,547,37,547,291,547,309,547,0,548,1,548,19,548,35,548,293,548,309,548,0,549,1,549,19,549,33,549,295,549,309,549,0,550,1,550,19,550,32,550,296,550,309,550,0,551,1,551,19,551,31,551,297,551,309,551,0,552,1,552,19,552,29,552,299,552,309,552,0,553,1,553,19,553,28,553,300,553,309,553,0,554,1,554,19,554,27,554,301,554,309,554,0,555,1,555,19,555,26,555,302,555,309,555,0,556,1,556,19,556,25,556,303,556,309,556,0,557,1,557,19,557,23,557,305,557,309,557,0,558,1,558,19,558,22,558,306,558,309,558,0,559,1,559,19,559,21,559,307,559,309,559,0,560,1,560,19,560,20,560,308,560,309,560,0,561,20,561,308,561,327,561,-666

if anyone knows why transparency is not working I would greatly appreciate your help.
 

Data

  • Sr. Member
  • ****
  • Posts: 325
  • Xen: Good question, Accessing database...
    • View Profile
    • Datahopa
can some one help me
« Reply #1 on: September 02, 2008, 09:35:25 am »
Hi catseye

I copied your code to a blank document and called it “free.uhp” and you are right the transparent part isn’t working.

It looks like you have the skin size set wrong or your background bitmap size is wrong.

SkinWidth=218
SkinHeight=472

But the image you have posted is 355 x 739

Make sure the SkinPic image is the same size as SkinWidth & SkinHeight

And them make the transparency string.

catseye

  • Jr. Member
  • **
  • Posts: 91
    • View Profile
can some one help me
« Reply #2 on: September 02, 2008, 01:24:15 pm »
thanks datahopa, I re sized the background and it worked perfectly