Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   gui style (https://forums.graalonline.com/forums/showthread.php?t=134257611)

Liberated 01-10-2010 12:13 PM

gui style
 
I aplogize if there already is a topic on this somewhere, but i did extensive searching, and couldn't find anything.

I was wondering how you can make your own gui style, i know most servers have their own gui style, and im not talking about the standard HP guis,(although i also don't know how to make these), But about the popup guis.
Does anybody know how to make these gui styles/themes?

Twinny 01-10-2010 12:15 PM

You can do it one of two ways. The first way is to edit the profile object in GuiControls. This has been documented here

The other way is to download a Windows theme (.wba) and use that as a style.

The former is the method you would have seen most often as the latter method isn't widely used (or known about). Note that these profiles/styles will only effect GuiControls. You can find a full list of GUI controls here

Liberated 01-10-2010 12:18 PM

Quote:

Originally Posted by Twinny (Post 1549462)
You can do it one of two ways. The first way is to edit the profile object.

This has been documented here

The other way is to download a Windows theme (.wba) and use that as a style.

The former is the method you would have seen most often as the second method isn't widely used (or known about). Note that these profiles/styles will only effect GuiControls. You can find a full list of GUI controls here

well i already knew i could do
profile = "ProfileName";

i was more referring to the creation of my own theme, and how i should save it/create it, to be able to use it as gui theme,

i wasn't sure if i should post it here, or in graphics, but i thought this forum was more appropriate.

Twinny 01-10-2010 12:24 PM

Quote:

Originally Posted by Liberated (Post 1549463)
well i already knew i could do
profile = "ProfileName";

i was more referring to the creation of my own theme, and how i should save it/create it, to be able to use it as gui theme,

i wasn't sure if i should post it here, or in graphics, but i thought this forum was more appropriate.

You shouldn't be doing profile = "" since the profile is actually an object. I.e. profile = GuiBlueButtonProfile; works.

Anyhoo, as I previously stated, you can edit the profile object to change GuiStyles. Drop a getvarnames() on a profile object and see what you get. You can also view the current profile images by going to graalrootfolder/levels3d/gui/ and having a look in there.

Liberated 01-10-2010 12:28 PM

Quote:

Originally Posted by Twinny (Post 1549464)
You shouldn't be doing profile = "" since the profile is actually an object. I.e. profile = GuiBlueButtonProfile; works.

Anyhoo, as I previously stated, you can edit the profile object to change GuiStyles. Drop a getvarnames() on a profile object and see what you get. You can also view the current profile images by going to graalrootfolder/levels3d/gui/ and having a look in there.

i only copied directly what it said in the wiki link you sent me.

And thank you, by looking in the gui folder i now know what i need =]

Chompy 01-10-2010 06:46 PM

Might take a look at these :)

http://forums.graalonline.com/forums...ad.php?t=86343
http://forums.graalonline.com/forums...ad.php?t=81591

Liberated 01-10-2010 07:12 PM

Quote:

Originally Posted by Chompy (Post 1549487)

awesome, i did a search, those didn't pop up tho :s


All times are GMT +2. The time now is 04:58 PM.

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