Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-31-2006, 10:04 AM
shyguy2 shyguy2 is offline
Jave L. Cross
shyguy2's Avatar
Join Date: Aug 2005
Location: Canada
Posts: 40
shyguy2 is an unknown quantity at this point
Send a message via Skype™ to shyguy2
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
Reply With Quote
  #2  
Old 07-31-2006, 10:27 AM
Rapidwolve Rapidwolve is offline
Registered User
Join Date: Jul 2006
Posts: 1,241
Rapidwolve is an unknown quantity at this point
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...
Reply With Quote
  #3  
Old 07-31-2006, 10:40 AM
shyguy2 shyguy2 is offline
Jave L. Cross
shyguy2's Avatar
Join Date: Aug 2005
Location: Canada
Posts: 40
shyguy2 is an unknown quantity at this point
Send a message via Skype™ to 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?
Reply With Quote
  #4  
Old 07-31-2006, 12:14 PM
ForgottenLegacy ForgottenLegacy is offline
-Backtoscripts-
Join Date: Aug 2003
Location: California
Posts: 289
ForgottenLegacy is on a distinguished road
Send a message via AIM to ForgottenLegacy
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.
__________________
"The higher you fly, the harder it is to breathe."

[Kaidenn] Maybe I will somehow take control of Lance's body when he isn't looking, have him log onto Kingdoms, update one script, and leave.
[Kaidenn] And leave him exactly where I found him, unchanged and completely unnaware of what just took place the last two minutes.
[GrowlZ] Lance: You might want to lock your bedroom door tonight
Reply With Quote
  #5  
Old 07-31-2006, 12:36 PM
Rapidwolve Rapidwolve is offline
Registered User
Join Date: Jul 2006
Posts: 1,241
Rapidwolve is an unknown quantity at this point
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
Reply With Quote
  #6  
Old 07-31-2006, 07:27 PM
shyguy2 shyguy2 is offline
Jave L. Cross
shyguy2's Avatar
Join Date: Aug 2005
Location: Canada
Posts: 40
shyguy2 is an unknown quantity at this point
Send a message via Skype™ to 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
Reply With Quote
  #7  
Old 07-31-2006, 07:43 PM
killerogue killerogue is offline
Registered Omega
killerogue's Avatar
Join Date: Apr 2006
Location: United States
Posts: 1,920
killerogue is on a distinguished road
Send a message via AIM to killerogue Send a message via MSN to killerogue
Look in the bible index.
__________________


REMEMBER, IF YOU REP ME, LEAVE A NAME!

Quote:
Originally Posted by haunter View Post
Graal admins don't die. They go to hell and regroup.
Quote:
Originally Posted by Inverness View Post
Without scripters, your graphics and levels wouldn't do anything but sit there and look pretty.
Reply With Quote
  #8  
Old 08-01-2006, 05:15 PM
ApothiX ApothiX is offline
Okiesmokie
Join Date: May 2004
Posts: 1,447
ApothiX is on a distinguished road
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
..
__________________


[06:24:19] * Parts: Skyld ([email protected]/skyld) ("Perhaps Okiesmokie did not realise that I like the boys. ")
Reply With Quote
  #9  
Old 08-06-2006, 05:19 AM
jake13jake jake13jake is offline
Former Classic Staff
jake13jake's Avatar
Join Date: Dec 2002
Location: Northwest Vermont
Posts: 1,452
jake13jake will become famous soon enough
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.

Last edited by jake13jake; 08-06-2006 at 07:03 AM..
Reply With Quote
  #10  
Old 08-08-2006, 03:38 PM
shyguy2 shyguy2 is offline
Jave L. Cross
shyguy2's Avatar
Join Date: Aug 2005
Location: Canada
Posts: 40
shyguy2 is an unknown quantity at this point
Send a message via Skype™ to shyguy2
I figured it out, with lots of help from Okie ;o
Which I beleive he also posted an updated GUI Tutorial on the wiki
Reply With Quote
  #11  
Old 08-15-2006, 02:06 AM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
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.)
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 03:14 PM.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
Copyright (C) 1998-2008 Linux cyberjoueurs All Rights Reserved.