Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Help with GUI Profiles (https://forums.graalonline.com/forums/showthread.php?t=67755)

shyguy2 07-31-2006 09:04 AM

Help with GUI Profiles
 
I've been searching around the forums, the wiki AND the bible to try and find something that would explain how I set my own custom GUI profile, vs using GuiBlueProfile and such..
I have gotten all the images edited that needed to be, I'm just a little lost on how I create the profile to use in GUI scripts?
any help on this would be appreciated :o

Rapidwolve 07-31-2006 09:27 AM

You havent looked hard enough.. use the search function on your browser

GuiControlProfile(profilename){
vars
}

or

or

GuiTextCtrl(blah){
useownprofile = true;
profile.fontSize = 14;
profile.fontStyle = "ib";
}

etc...

shyguy2 07-31-2006 09:40 AM

Err, I was ;o
nothing really comes up when you search, GUI, GUI Control, GUI Profiles, Custom GUI etc etc
anyway, as for the vars... what would that include? filenames?

ForgottenLegacy 07-31-2006 11:14 AM

Quote:

Originally Posted by shyguy2
anyway, as for the vars... what would that include? filenames?

Do a search in scriptfunctions for the GuiControlProfile object.

Quote:

Originally Posted by scriptfunctions_client.txt
GuiControlProfile (TGraalVar):
align - string
autosizeheight - boolean
autosizewidth - boolean
bitmap - string
border - integer
bordercolor - string
bordercolorhl - string
bordercolorna - string
borderthickness - integer
cankeyfocus - boolean
cursorcolor - string
fillcolor - string
fillcolorhl - string
fillcolorna - string
fontcolor - string
fontcolorhl - string
fontcolorlink - string
fontcolorlinkhl - string
fontcolorna - string
fontcolorsel - string
fontsize - integer
fontstyle - string
fonttype - string
justify - string - the same like "align"
linespacing - integer
modal - boolean
mouseoverselected - boolean
numbersonly - boolean
opaque - boolean
returntab - boolean
soundbuttondown - string
soundbuttonover - string
tab - boolean
textoffset - string
transparency - float

EDIT:
There are so many things in there I have no clue how to use. I'd give you my own TGconsole Profiles script but that would be bad--giving you an already-made script to solve your scripting problem. :(

Rapidwolve 07-31-2006 11:36 AM

Quote:

Originally Posted by shyguy2
Err, I was ;o
nothing really comes up when you search, GUI, GUI Control, GUI Profiles, Custom GUI etc etc
anyway, as for the vars... what would that include? filenames?

Remove the spaces?
or theres something seriously wrong with your browser

shyguy2 07-31-2006 06:27 PM

Uhg, So really theres no point in editing images >.>
It would be alot easier :[
anyways thanks, I'll play around with those and see what I come up with xD

killerogue 07-31-2006 06:43 PM

Look in the bible index.

ApothiX 08-01-2006 04:15 PM

Quote:

Originally Posted by shyguy2
Uhg, So really theres no point in editing images >.>
It would be alot easier :[
anyways thanks, I'll play around with those and see what I come up with xD

eh?
Quote:

GuiControlProfile (TGraalVar):
..
bitmap - string
..

jake13jake 08-06-2006 04:19 AM

Quote:

Originally Posted by ForgottenLegacy
I'd give you my own TGconsole Profiles script but that would be bad--giving you an already-made script to solve your scripting problem. :(

Well, in the case of GUI scripts, it's mostly just a description of what the variables do. Different from concept building. People on Classic are probably gonna get restless while I try to learn this in the meantime. Mostly, I'm wondering what border and borderthickness are supposed to do. I just don't get it.

shyguy2 08-08-2006 02:38 PM

I figured it out, with lots of help from Okie ;o
Which I beleive he also posted an updated GUI Tutorial on the wiki

Admins 08-15-2006 01:06 AM

Quote:

Originally Posted by jake13jake
Well, in the case of GUI scripts, it's mostly just a description of what the variables do. Different from concept building. People on Classic are probably gonna get restless while I try to learn this in the meantime. Mostly, I'm wondering what border and borderthickness are supposed to do. I just don't get it.

"border" specifies the border type, can be 0-5 i think (raised, lowered etc.)


All times are GMT +2. The time now is 05:11 AM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.