Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Custom GUI Profiles (https://forums.graalonline.com/forums/showthread.php?t=134266011)

Stowen 03-16-2012 10:44 PM

Custom GUI Profiles
 
How do I make a custom custom GUI profile? Like...how do I actually make the colored windows and buttons and such. For example, the black color scheme of the windows on Era.

Thank you in advance for the help :)

Emera 03-16-2012 10:49 PM

You'll have to make a custom GUI bitmap image, and then make all the bitmaps for buttons and such. It's not that hard, just do a forum search for bitmap.

fowlplay4 03-16-2012 10:51 PM

1 Attachment(s)
GuiControlProfile Doc

Understanding GUI Profiles

Attached the bitmaps.

Stowen 03-17-2012 09:51 PM

Quote:

Originally Posted by fowlplay4 (Post 1688854)

Thanks, Jerret. This is EXACTLY what I need.

r3ckless 03-19-2012 12:59 AM

I created my own bitmaps and stuff, uploaded them to my server. I just can't figure out how to use them. x.x

Angel_Light 03-19-2012 01:07 AM

Create the custom profile you want then use 'profile = YourProfileName;' Here's an example;

PHP Code:

new GuiControlProfile"myProfile")
{
  
  
bitmap "myImage.png";
  
// ETC



then

PHP Code:

new GuiControl"myControl")
{

  
profile "myProfile";
  
// ETC




r3ckless 03-19-2012 03:44 PM

Thank you. :)

cbk1994 03-20-2012 06:15 AM

Quote:

Originally Posted by Angel_Light (Post 1689189)
PHP Code:

profile "myProfile"


NO! Profiles are objects, not strings!

PHP Code:

profile MyProfile


Angel_Light 03-20-2012 06:27 AM

force of habit, and still functions properly.

fowlplay4 03-20-2012 06:34 AM

You can base your new profile objects off existing profiles as well. I.e.

PHP Code:

new GuiBlueWindowProfile("GuiPurpleWindowProfile") {
  
bitmap "my_recolored_blue_bitmap_thats_now_purple_bitmap.png";


This is explained the tutorial I linked above though...


All times are GMT +2. The time now is 08:42 AM.

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