Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-06-2008, 05:59 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
GUIs

Anyone else hate making them? It doesn't help that I don't like the GUI editor, and script them by hand.

Click image for larger version

Name:	guis.png
Views:	455
Size:	174.6 KB
ID:	45501

Tomorrow I get to script the serverside. Lucky me
__________________
Reply With Quote
  #2  
Old 08-06-2008, 06:03 AM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
I always script them by hand anyways... never even tried the GUI editor.
Reply With Quote
  #3  
Old 08-06-2008, 06:28 AM
LoneAngelIbesu LoneAngelIbesu is offline
master of infinite loops
LoneAngelIbesu's Avatar
Join Date: May 2007
Location: Toldeo, Ohio
Posts: 1,049
LoneAngelIbesu has a spectacular aura aboutLoneAngelIbesu has a spectacular aura about
Send a message via AIM to LoneAngelIbesu
I've always found GUIs to be the easiest part of GS2. I usually use the GUI editor, then modify the crap out if it since the syntax is horrible. It bugs me that not every type of control is on it, though. That and, when you reconnect with it open, you have to close Graal and reopen it to get it to work.

Nice custom GUI, though. I wish Valikorlia had one.
__________________
"We are all in the gutter, but some of us are looking at the stars."
— Oscar Wilde, Lady Windermere's Fan
Reply With Quote
  #4  
Old 08-06-2008, 06:43 AM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
There is just always some minor inconvenience or trouble they give me. Small, little things, but important for me to finish.
Reply With Quote
  #5  
Old 08-06-2008, 06:56 AM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
There's a gui editor now?
I suppose it wouldn't be too hard to script one...
I like being in touch with the code more though. An understanding of the underlying code is pretty important.
Reply With Quote
  #6  
Old 08-06-2008, 10:56 AM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
Quote:
Originally Posted by excaliber7388 View Post
There's a gui editor now?
I suppose it wouldn't be too hard to script one...
I like being in touch with the code more though. An understanding of the underlying code is pretty important.
The gui editor hands you the code when done afaik.
Reply With Quote
  #7  
Old 08-06-2008, 02:19 PM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
I never use the Gui Editor. First because I like things styled my own way the first time. Second because when I create the controls I always set their positions and extents relative to something else rather than a specific point.

Example:
TheScrollCtrl.x = 6;
TheScrollCtrl.y = 24;
TheScrollCtrl.width = TheWindow.width * 0.35;
TheScrollCtrl.height = TheWindow.height - 24 - 6;
ThePanelCtrl.x = TheScrollCtrl.x + TheScrollCtrl.width + 6;
ThePanelCtrl.y = 24;
ThePanelCtrl.width = TheWindow.width - TheScrollCtrl.width - 6 - 6;
ThePanelCtrl.height = TheScrollCtrl.height;

Easier to do that and more complicated stuff without Gui Editor.
__________________
Reply With Quote
  #8  
Old 08-06-2008, 09:46 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by Inverness View Post
I never use the Gui Editor. First because I like things styled my own way the first time. Second because when I create the controls I always set their positions and extents relative to something else rather than a specific point.

Example:
TheScrollCtrl.x = 6;
TheScrollCtrl.y = 24;
TheScrollCtrl.width = TheWindow.width * 0.35;
TheScrollCtrl.height = TheWindow.height - 24 - 6;
ThePanelCtrl.x = TheScrollCtrl.x + TheScrollCtrl.width + 6;
ThePanelCtrl.y = 24;
ThePanelCtrl.width = TheWindow.width - TheScrollCtrl.width - 6 - 6;
ThePanelCtrl.height = TheScrollCtrl.height;

Easier to do that and more complicated stuff without Gui Editor.
I agree, I can probably create GUIs faster without the GUI editor, actually.
__________________
Reply With Quote
  #9  
Old 08-07-2008, 08:27 AM
The_Kez The_Kez is offline
N-Pulse Asst. Manager
The_Kez's Avatar
Join Date: Dec 2007
Posts: 106
The_Kez is on a distinguished road
Send a message via MSN to The_Kez
Hmm...I have to disagree with Inverness for this reason:

When I create a GUI window I'm only going to be placing controls in a space once. After that it's done, so I don't see the need for having every control placed relative to another control unless you're going to have to do a lot of re-arranging later on. The way I see it once a GUI is designed, that should be that.

Also, I just tend to be able to design better looking GUIs by seeing what they look like in real time instead of having to update every time I make a change. The lack of controls on the GUI editor is a bummer in my opinion also, though.
Reply With Quote
  #10  
Old 08-07-2008, 09:47 AM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
Quote:
Originally Posted by Crow View Post
The gui editor hands you the code when done afaik.
So I can sift through it, style it my way, and fix errors? No thanks.
Reply With Quote
  #11  
Old 08-07-2008, 03:48 PM
Codein Codein is offline
jwd
Codein's Avatar
Join Date: Oct 2005
Location: Greater Manchester
Posts: 2,423
Codein has a spectacular aura aboutCodein has a spectacular aura about
Send a message via AIM to Codein Send a message via MSN to Codein
I prefer to code them, tbh. There's much more you can do with them.
Reply With Quote
  #12  
Old 08-07-2008, 06:48 PM
[email protected] sid.gottlieb@googlemail.com is offline
Banned
Join Date: Mar 2008
Posts: 861
sid.gottlieb@googlemail.com will become famous soon enough
i just log on to the wiki and do it that way, 'profile.' etc
Reply With Quote
  #13  
Old 08-07-2008, 06:49 PM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Ya, I copy the examples from the wiki and customize them.
Reply With Quote
  #14  
Old 08-07-2008, 07:23 PM
Inverness Inverness is offline
Incubator
Inverness's Avatar
Join Date: Aug 2004
Location: Houston, Texas
Posts: 3,613
Inverness is a jewel in the roughInverness is a jewel in the rough
Here is an example of an unfinished GUI I made recently for the shop system on Valikorlia. It is using the GuiFrameSetCtrl so you can drag the middle bar to resize the two sides. It is also fully resizable.

Trying making that with the GUI Editor
Attached Thumbnails
Click image for larger version

Name:	valshopgui1.jpg
Views:	230
Size:	116.7 KB
ID:	45527  
__________________
Reply With Quote
  #15  
Old 08-07-2008, 07:46 PM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
700 part went under the button?
It shouldn't
Reply With Quote
Reply


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 12:50 PM.


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