• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Ingame Colors
#11
(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
  1. txt.Color.GlowR = 148;
  2. txt.Color.GlowB = 0;
  3. txt.Color.GlowA = 211;
  Reply
#12
Can you write the complete code for me? im too bad for this.. Thats a bit too hard for me ^^

So it would be very nice if you can make the cod, I can compile it by myself then . Thx in Advice Big Grin
  Reply
#13
(12-31-2013, 16:03)[HARD] Tony. Wrote:
(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
  1. txt.Color.GlowR = 148;
  2. txt.Color.GlowB = 0;
  3. txt.Color.GlowA = 211;

Noob.
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
  Reply
#14
Quote:fashion add
CSHARP Code
  1. txt.Color.GlowR = 148;
  2. txt.Color.GlowB = 0;
  3. txt.Color.GlowA = 211;



Noob.
@SailorMoon
Learning please (Click to View)
credits @zxz0O0
  Reply
#15
Wrong code.
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
  Reply
#16
(12-31-2013, 19:05)SailorMoon Wrote: Wrong code.
why?
  Reply
#17
Hey toni,
first thy :-) and sailor if its wrong tell him why -__- ... and toni what i have to type for the color?
  Reply
#18
(12-31-2013, 19:17)Hallla Wrote: Hey toni,
first thy :-) and sailor if its wrong tell him why -__- ... and toni what i have to type for the color?

I mean he is posting random posts which are pointless.
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
  Reply
#19
ohh ok then im sry
  Reply
#20
(12-31-2013, 19:17)Hallla Wrote: Hey toni,
first thy :-) and sailor if its wrong tell him why -__- ... and toni what i have to type for the color?

txt.Color.GlowR = 148;
txt.Color.GlowB = 0;
txt.Color.GlowA = 211;
search RGB color table...
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)