12-31-2013, 16:03
(12-31-2013, 15:36)SailorMoon Wrote:(12-31-2013, 15:30)Hallla Wrote: yeah thats right i want neon green for example . I hope you know what i mean ;D
Well sorry, I was wrong buuuuut...
It's possible.
TL;DR
But "a bit" harder. Just add 'return ChatType.None' or You can move away chat from screen and make custom one via HUD elements. That shouldn't be that hard, but it will look even better. ( like glowing, effects etc ) <- That will be level hud so it won't crash your game or server. I tried to make something like that in my mw2 rotu mod.
Example:
This struct would look like
Code:struct playerchat
{
uint time;
string words;
int colorR;
int colorG;
int colorB;
// add glow etc
}
When he types something just do:
playerchat s = new playerchat();
// and add this to hud elem ARRAY! and move
Liiikeee:
Fade out here and move down ( also scale if you needed )
|
Player: something said
|
Fade in here and move up
fashion add
CSHARP Code
- txt.Color.GlowR = 148;
- txt.Color.GlowB = 0;
- txt.Color.GlowA = 211;