Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

Botton glow help please!

Initiate Mage
Joined
Feb 15, 2015
Messages
3
Reaction score
0
Hi,
I'm editing an interface, and wanted to know how the color of this green glow changes.

TG5Pst0 - Botton glow help please! - RaGEZONE Forums


Thanks for the help!
 

Attachments

You must be registered for see attachments list
Experienced Elementalist
Joined
Oct 14, 2015
Messages
293
Reaction score
86
Find interface
Interface/default/button_glow.png
 
Upvote 0
Initiate Mage
Joined
Feb 15, 2015
Messages
3
Reaction score
0
Find interface
Interface/default/button_glow.png

both are already edited but still the same color, so I came here to ask for help.
Y3BIIqK - Botton glow help please! - RaGEZONE Forums




Thats just a mask not the actual glow.
I've already looked at all the interface items but I do not think so, do you know where it is?
 

Attachments

You must be registered for see attachments list
Upvote 0
Junior Spellweaver
Joined
Jun 14, 2015
Messages
123
Reaction score
20
At lines 109 and 244 in ZButton.cpp, there is the line

Code:
DWORD defaultcolor = GetType()==MBT_NORMAL ? 0x20ff20 : 0xc0c020;

which contains a color value by which the button_glow.png bitmap texture colors are modulated. You can change it to another color, e.g.

Code:
DWORD defaultcolor = GetType()==MBT_NORMAL ? 0x0000ff : 0xc0c020;

would allow only blue light for normal buttons, and

Code:
DWORD defaultcolor = GetType()==MBT_NORMAL ? 0xffffff : 0xc0c020;

would pass the color through unmodified.
 
Upvote 0
Initiate Mage
Joined
Feb 15, 2015
Messages
3
Reaction score
0
At lines 109 and 244 in ZButton.cpp, there is the line

Code:
DWORD defaultcolor = GetType()==MBT_NORMAL ? 0x20ff20 : 0xc0c020;

which contains a color value by which the button_glow.png bitmap texture colors are modulated. You can change it to another color, e.g.

Code:
DWORD defaultcolor = GetType()==MBT_NORMAL ? 0x0000ff : 0xc0c020;

would allow only blue light for normal buttons, and

Code:
DWORD defaultcolor = GetType()==MBT_NORMAL ? 0xffffff : 0xc0c020;

would pass the color through unmodified.
Thanks a lot for the help!
 
Upvote 0
Back
Top