terencehill wrote:b) To make work all things in console ^0^7 and ^7^0 MUST be both white.
Why? If some function uses ^7^0 for white output, than this function is wrong.
Moderators: Nexuiz Moderators, Moderators
Alien wrote:terencehill wrote:b) To make work all things in console ^0^7 and ^7^0 MUST be both white.
Why? If some function uses ^7^0 for white output, than this function is wrong.
divVerent wrote:I still am not convinced this is the way to go. Taking one message of many:
nexuiz-trunk/data/qcsrc/server/clientcommands.qc: bprint ("^4", self.netname, "^4 is playing now\n");
Now if the player sets ^4^2foo^4^2 as name, it will be interpreted as the color codes ^4^4^2 and ^4^2^4. The "is playing now" text would appear as another color.
divVerent wrote:... would be in favor of adding more codes in a more "normal" way, like another initial sequence (e.g. ^xF00 for red, x standing for "hex", or simply adding ^a to ^z, ^A to ^Z, etc.).
Well, it does not have to be the ^xRGB system. I already proposed a simpler system, with ^a to ^o using the player colors (and maybe putting extra colors on the remaining letters). In the engine source, you find that palette in the palette_rgb_pantsscoreboard array, and in the menu QC source, you find it in the function colormapPaletteColor(). That won't need MANY code changes, basically you just have to include the range ^a to ^o in every occasion where STRING_COLOR_TAG or maybe '^' is used and the next char compared to the 0..9 range.
^a to ^o using the player colors
Return to Nexuiz - Development
Users browsing this forum: No registered users and 1 guest