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-21-2010, 11:03 AM
Gamerkid7 Gamerkid7 is offline
Registered User
Join Date: May 2006
Posts: 10
Gamerkid7 is an unknown quantity at this point
GUI Dialogs

Hello,

I am trying to figure out where dialogs are stored on GUI controls. My main reason for requiring this is because I am looking to change the profile of the in-game playerlist profile and the F5 window. Each appear to be dialogs, as no other windows can gain focus while they're up.

I have looked through the controls of GUIContainer and GraalControl, neither of which seemed to contain the dialogs. I know of the pushDialog and popDialog functions and I'm wondering if dialog windows are held in a separate list/stack than the controls list and is accessible.

Thanks in advance
Reply With Quote
  #2  
Old 08-21-2010, 09:06 PM
Mark Sir Link Mark Sir Link is offline
Kevin Azite
Mark Sir Link's Avatar
Join Date: Sep 2005
Posts: 1,489
Mark Sir Link is just really niceMark Sir Link is just really nice
Send a message via AIM to Mark Sir Link
I think f5 is using pushdialog on a transparent GUI control, then drawing the next window on top.

If you try using pushdialog on a window you can minimize, with it minimized you still can't select any other controls besides the window.
Reply With Quote
  #3  
Old 08-22-2010, 06:45 AM
Gamerkid7 Gamerkid7 is offline
Registered User
Join Date: May 2006
Posts: 10
Gamerkid7 is an unknown quantity at this point
I figured that was how they were pushing the dialog, but I still can't seem to find it in any of the controls lists.

Here's the list of controls of GUIContainer:
GraalControl (GuiGraalCtrl)
MainMenuGui2D (GuiControl)
DownloadProgress_Window (GuiWindowCtrl)
ShopGlobal_Window (GuiWindowCtrl)
ShopGlobal_MessageBox (GuiWindowCtrl)
ShopGlobal_TradeQuery (GuiWindowCtrl)
PaymentOptions_Window (GuiWindowCtrl)
ShopGlobal_AccountWindow (GuiWindowCtrl)
Serverlist_ProtectQuery_Window (GuiWindowCtrl)
Serverlist_TaskBar (GuiTaskbar)
Serverlist_Taskbar_Menu (GuiStartMenuCtrl)
F2LogWindow_Window (GuiWindowCtrl)

And GraalControl:
ChatBar (GuiTextEditCtrl)
Observer_TextBackground (GuiControl)
DownloadProgress_GameFade (GuiControl)
IRC_Test_UpdateWindow (GuiWindowCtrl)
ChatBar_ToggleTaskBarButton (GuiButtonCtrl)
StartConnectMessage (GuiWindowCtrl)
ScriptedRCWindow (GuiWindowCtrl)
Serverlist_Panel (GuiControl)

None of which seem blatantly obvious to me to contain the F5 Load Level GUI
Reply With Quote
  #4  
Old 08-22-2010, 01:21 PM
Deas_Voice Deas_Voice is offline
Deas
Deas_Voice's Avatar
Join Date: Jun 2007
Location: Sweden
Posts: 2,264
Deas_Voice is a jewel in the roughDeas_Voice is a jewel in the rough
Send a message via AIM to Deas_Voice Send a message via MSN to Deas_Voice Send a message via Yahoo to Deas_Voice
i dont know if you seen Jerrets Gui Explorer Script in the Code Gallery,
but your little list over there are missing the F5 gui window, as you probably forgot to open it when you compiled that list.
anyhow, "LoadLevelWindow" is the GuiWindowCtrl name for F5.
__________________
.
WTF is real life, and where do I Download it?
There is no Real Life, just AFK!
since 2003~
I Support~
ღAeonღ | ღTestbedღ | ღDelteriaღ

if you are going to rep me, don't be an idiot, leave your name!
I got nothing but love for you
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 07:13 PM.


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