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!

[Small-Guide/Source] Changing item colors!

Newbie Spellweaver
Joined
Apr 20, 2013
Messages
62
Reaction score
8
Hello, this is not as much as a tutorial just a small guide about wndmanger.cpp
I'll be teaching you how to change item colors (awakening/element/piercing/etc) and for blessing also.
This is for people who want to make their server look more fancy!

Ok so, go to your source and open wndmanager.cpp
and search for
Code:
dwItemColor[FIRST_TC].dwAwakening	= D3DCOLOR_XRGB
For me it looks like this:
Code:
dwItemColor[FIRST_TC].dwAwakening	= D3DCOLOR_XRGB( [COLOR=#ff0000]0[/COLOR], [COLOR=#00ff00]255[/COLOR], [COLOR=#0000ff]0[/COLOR] );
As you can notice it's RGB color, and my coloring is 0 for red, 255 for green, 0 for blue so the item normal awakening's color is pure green.

You can also search for:
Code:
//Blessing
dwItemColor[FIRST_TC].dwBlessing	= D3DCOLOR_XRGB

//Piercing
dwItemColor[FIRST_TC].dwPiercing			= D3DCOLOR_XRGB

you can explore the rest by just looking in the file. :thumbup:
 
Back
Top