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 07-23-2007, 03:04 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Guistyles and GraalControl

From the wiki:
"set GuiControl.style to "mytheme.wba" or "mytheme.zip" for skinning controls"

The theme you set it to, must the player have the theme, or must it be uploaded on the server? If so, in what folder?? Images folder?

__________________
Reply With Quote
  #2  
Old 07-23-2007, 03:33 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
Well my theory: Only the player needs it and the client sets GuiControl.style to apply the actual style to the controls. Maybe it would also work if you uploaded it onto the server where it would download the theme files and you could set style manually.

All just theory.
__________________
Reply With Quote
  #3  
Old 07-23-2007, 04:16 PM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
PHP Code:
new GuiControl("TurnBased_Window") {
  
style "";

I use this in order to override the player's chosen theme with the default Graal theme (the blue one). Works perfectly. You can also change "style" to any other .wba theme.
__________________
Follow my work on social media post-Graal:Updated august 2025.
Reply With Quote
  #4  
Old 07-23-2007, 06:54 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Quote:
Originally Posted by xXziroXx View Post
You can also change "style" to any other .wba theme.
But then comes the question again: Does the player need the style itself in their guistyles folder, or somewhere on the server downloadable (Any specific folders etc..)?
__________________
Reply With Quote
  #5  
Old 07-23-2007, 07:13 PM
xXziroXx xXziroXx is offline
Malorian
xXziroXx's Avatar
Join Date: May 2004
Posts: 5,289
xXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant futurexXziroXx has a brilliant future
I'm 95% it doesn't matter, as long as the file is in a folder on RC and listed in folderoptions.
__________________
Follow my work on social media post-Graal:Updated august 2025.
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 04:37 PM.


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