fbef0102 / L4D1_2-Plugins

L4D1/2 help server to record, make server more fun, and more useful plugins for adm.
GNU General Public License v3.0
168 stars 68 forks source link

[L4D 1/2] Multi-Colors #68

Closed pa4H closed 3 hours ago

pa4H commented 3 days ago

The plugin doesn't work. Sourcemod 12, Windows

Instead of different colors, orange color everywhere.

fbef0102 commented 2 days ago

Can you provide screenshot or image?

pa4H commented 16 hours ago

123 Sorry for the long answer. I took the example from here

fbef0102 commented 16 hours ago

Download my mutil-colors fork.

And there are only 6 colors supported in l4d1/2, not like other source game

pa4H commented 15 hours ago

Thank you. I remember seeing different colors in the chat on some server a few years ago. Lots of colors. Black and purple, yellow. Doesn't this work in the current version of the engine?

fbef0102 commented 15 hours ago

Thank you. I remember seeing different colors in the chat on some server a few years ago. Lots of colors. Black and purple, yellow. Doesn't this work in the current version of the engine?

I haven't seen black or purple color before

Proaxel commented 6 hours ago

Download my mutil-colors fork.

And there are only 6 colors supported in l4d1/2, not like other source game

  • {default} (whilte)
  • {green} (olive color)
  • {olive} (green color)
  • {lightgreen} (light green)
  • {red} (red) - There must be at least one player or bot in infected team,or red will turn into olive color
  • {blue} (blue) - There must be at least one player or bot in survivor team,or blue will turn into olive color

Caution

2 of (Blue, Red, Lightgreen) colors can not be used together in one sentence

I am curious to know why these limitations exist only in L4D2, and not in any other Source game. Is it a Valve bug or intentional limitation?

fbef0102 commented 3 hours ago

Download my mutil-colors fork. And there are only 6 colors supported in l4d1/2, not like other source game

  • {default} (whilte)
  • {green} (olive color)
  • {olive} (green color)
  • {lightgreen} (light green)
  • {red} (red) - There must be at least one player or bot in infected team,or red will turn into olive color
  • {blue} (blue) - There must be at least one player or bot in survivor team,or blue will turn into olive color

Caution 2 of (Blue, Red, Lightgreen) colors can not be used together in one sentence

I am curious to know why these limitations exist only in L4D2, and not in any other Source game. Is it a Valve bug or intentional limitation?

Intentional limitation, any color that isn't supported will be replaced with {green} color, which is yellow in l4d1 and l4d2