Page 1 of 2

Damage colors

Posted: Wed Apr 28, 2010 10:54 pm
by Kamos
As a player I always liked when the color of the damage that I did changed as I started doing more damage. Kind of like an incentive to do more damage (to get better) and also it makes it easy to spot when someone does a lot of damage. But that is only for low levels cause after 4000 damage the color doesn't change anymore.
The color table is like this:
Image
To the left and right are two possible suggestion to make the color change after 4000 damage. As a lot of colors are already taken in the range from 0 to 4000, we can either make yellow go lighter or darker. This should then probably also apply to when a player heals and it shows the amount of life healed.

Oh and to make things really easy (if people like this) I think I know where you have to make the adjustments in the client code. So if I may be so bold to show you where:
File: NumberAniMgr.cpp
Function: DisplayChatAndNumber
in the NUMBER_ANIMATION_TYPE_DOWN_ case, change line

Code: Select all

else   {                     Hcolor(  255,  255,   8  );}

into (left suggestion)

Code: Select all

else if( number <=  5000 )  { Hcolor(  255,  255,   8  );}
else if( number <=  6000 )  { Hcolor(  210,  210,   8  );}
else if( number <=  8000 )  { Hcolor(  150,  150,   8  );}
else if( number <= 10000 )  { Hcolor(  100,  100,   8  );}
else {                        Hcolor(   50,   50,   8  );}

or (right suggestion)

Code: Select all

else if( number <=  5000 )  { Hcolor(  255,  255,   8  );}
else if( number <=  6000 )  { Hcolor(  255,  255,  50  );}
else if( number <=  8000 )  { Hcolor(  255,  255, 100  );}
else if( number <= 10000 )  { Hcolor(  255,  255, 150  );}
else {                        Hcolor(  255,  255, 200  );}

Oh and you can also change it in the NUMBER_ANIMATION_TYPE_UP_ case for healing.

Haven't tried the code myself, I only have the source code of an old Dragon Raja client. But I imagine this code hasn't changed over the years.

Re: Damage colors

Posted: Wed Apr 28, 2010 11:00 pm
by Duran
yellow for supa saiyan ^o^ but yah it would be awsome if more colours for higher dmg. But darker yellow is ugly I'd prefer blue or maybe black 0.0

Re: Damage colors

Posted: Wed Apr 28, 2010 11:02 pm
by Kamos
Yea well the thing is most colors have been taken by the 0 to 4000 range (including blue) if you start using blue for 2 damage ranges then it gets confusing :(
Or the 0 to 4000 range should be done with less colors so more colors are available for 4000+

Re: Damage colors

Posted: Wed Apr 28, 2010 11:20 pm
by LadyPhoenix
I'd rather have the 0-4000 range have less colors and just stretch out the intervals to cover 0-20,000. White and Black can be hard to see sometimes.

Re: Damage colors

Posted: Wed Apr 28, 2010 11:38 pm
by Sai
Black would be the worse.
Very hard to read black font in this game.

I'm fine with the way it is, but it would be interesting to see it extended in a way. Maybe special effects(that wouldnt cause lag)? I do like yellow being the limit color wise.

Re: Damage colors

Posted: Wed Apr 28, 2010 11:42 pm
by balzak
i like the idea but i dont like the colors you choose xD need to choose colors easy to read

Re: Damage colors

Posted: Thu Apr 29, 2010 12:00 am
by Kamos
IOWA wrote:Could have a black font with a white outline like 91+ level class ranks look like.

I believe that is the bold font and bold font is used when people heal.

balzak wrote:i like the idea but i dont like the colors you choose xD need to choose colors easy to read

Yea I'm not sure what colors, I just tried something :P

LadyPhoenix wrote:I'd rather have the 0-4000 range have less colors and just stretch out the intervals to cover 0-20,000. White and Black can be hard to see sometimes.

That could be nice too. People will be a little bit confused at first to see that the color ranges changed then though.

Re: Damage colors

Posted: Thu Apr 29, 2010 2:59 am
by Cupid
how about change and enlarge the color of the numbers of "critical attacks" a little?
I want to see my sexy damage clearly :lol: .

Re: Damage colors

Posted: Thu Apr 29, 2010 4:07 am
by KINGNEWBIE
no I still like the awsome yellow after 4k dmg :love:

Re: Damage colors

Posted: Tue May 04, 2010 7:55 am
by täisdibla
I voteCrossing Class damage (black) (Y)