Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Guistyles and GraalControl (https://forums.graalonline.com/forums/showthread.php?t=75801)

Chompy 07-23-2007 03:04 PM

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?

:confused:

Inverness 07-23-2007 03:33 PM

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.

xXziroXx 07-23-2007 04:16 PM

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.

Chompy 07-23-2007 06:54 PM

Quote:

Originally Posted by xXziroXx (Post 1333741)
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..)?

xXziroXx 07-23-2007 07:13 PM

I'm 95% it doesn't matter, as long as the file is in a folder on RC and listed in folderoptions.


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

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