Author Topic: Game Colors  (Read 3270 times)

XtremeBain

  • Developer
  • Autococker
  • Posts: 1470
Game Colors
« on: August 10, 2005, 02:45:23 PM »
I was just wondering if there was any associating between the colors and their correspdonging extended-ASCII values or if there is a chart/list available with the RGB values and their extended-ASCII codes.

This would be much better than using an eye-dropper on menu_char_colors :)

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Game Colors
« Reply #1 on: August 10, 2005, 02:58:58 PM »
The ascii code corresponds to a pixel color in char_colors.tga.  You could probably write a script to grab all the colors out of it fairly easily, though, or hack the pb2 source to output a list of colors.

XtremeBain

  • Developer
  • Autococker
  • Posts: 1470
Re: Game Colors
« Reply #2 on: August 16, 2005, 04:48:13 PM »
In case anyone was interested, here they are.
Code: [Select]
"f6dfdb", "f6e9db", "f6f2db", "f0f6db", "e7f6db", "dbf6e2", "dbf6ec", "dbf5f4", "dbedf6", "dbe4f6", "dddcf6", "e6dbf6", "efdbf6", "f6dbf3", "f6dbea", "fed1f9",
"f4afa3", "f4cca3", "f3e8a3", "e2f4a3", "c6f4a3", "a3f4b9", "a3f4d5", "a3f1ef", "a3d9f4", "a3bdf4", "a8a5f4", "c2a3f4", "dfa3f4", "f3a3eb", "f4a3cf", "fec4c4",
"dcb08d", "aa7356", "000000", "e2b171", "cf8254", "ac6245", "8e4a33", "c1c126", "9c9c17", "6b6b00", "b99736", "8e6f22", "7d5a2a", "c08fff", "9453ea", "6e21d3",
"242424", "343434", "4c4c4c", "656565", "818181", "9a9a9b", "b7b7b6", "d4d4d4", "eeeded", "ffffff", "434b6b", "647495", "a8b8c6", "061e5b", "590806", "ffffb4",
"f87a63", "fd1b05", "fd5c05", "fd8505", "fdbc05", "faef05", "d2fd05", "9dfd05", "67fd05", "31fd05", "08fd11", "05fd45", "05fd7b", "05fdb0", "05fce6", "05defd",
"05defd", "05a8fd", "0572fd", "053cfd", "0b0dfd", "3a05fd", "7005fd", "a505fd", "db05fd", "fc05e8", "fd05b3", "fd057e", "98b4aa", "588b7f", "2b6b5b", "035245",
"fe4321", "77302a", "77452a", "77522a", "77632a", "77732a", "6a772a", "5a772a", "48772a", "38772a", "2b772d", "2a773e", "2a774e", "2a7760", "2a7770", "2a6e77",
"2a6e77", "2a5d77", "2a4c77", "2a3b77", "2b2b77", "3a2a77", "4b2a77", "5c2a77", "6d2a77", "772a71", "772a61", "772a4f", "fffd95", "f89fe8", "fea791", "96cbfd",
"f0cab0", "b49c85", "c3c383", "95bc55", "00df93", "00b8d7", "8188a3", "da24f7", "ff4ba0", "ffb104", "7cff78", "557dfe", "feff62", "e06fc8", "f66e5c", "69adfc",
"dcb08d", "987a5c", "abaa60", "7aa433", "00bb79", "0099b4", "6c7390", "c100e2", "ed1179", "ff9000", "2fff38", "2a4cfd", "eadb1d", "c250a4", "e75643", "4590fa",
"b47d60", "7e5e3c", "847e38", "537f0f", "009661", "007d91", "535b79", "a100c1", "c3005b", "f96800", "00e005", "0000ff", "d1b813", "993d80", "c42821", "2972f9",
"926043", "704c28", "656028", "385f0c", "007147", "005c6c", "424a69", "4c0065", "89003e", "c1440c", "009124", "00007e", "ae8113", "6c2758", "841c18", "2653de",
"6c4f2a", "5c3e1e", "484d1d", "244a0f", "005534", "00414a", "2f3756", "4c0065", "580023", "7a2a06", "016219", "00004a", "9b6c00", "521d46", "5a1715", "1a318b",
"e75a00", "f26c00", "f78100", "fc9b00", "feb200", "ffc900", "ffde13", "ffec1d", "fff929", "ffff3e", "ffff7c", "ffffb2", "ffffdb", "fffff7", "ffffff", "14235f",
"b57170", "b59070", "b5ab70", "a6b570", "8bb570", "70b570", "70b57c", "70b59a", "6cb1ae", "709eb5", "7080b5", "7070b5", "8670b5", "a370b5", "b46ead", "b57094",
"663a3a", "664b3a", "665d3a", "5a663a", "46663a", "3a663a", "3a663d", "3a6651", "386261", "3a5366", "3a4066", "3a3a66", "443a66", "583a66", "643a5f", "663a4d"
This follows the 16x16 grid that consits of char_colors.tga -- word wrap killed it a bit.

The first entry represents the color of a the color control character followed by chr(0).  The last entry represents the color for the control character followed by chr(255).

loial21

  • Autococker
  • Posts: 2807
Re: Game Colors
« Reply #3 on: August 16, 2005, 10:38:59 PM »
Yeah ...   ???

|Clown|

  • PGP
  • Posts: 18
Re: Game Colors
« Reply #4 on: December 28, 2005, 03:03:28 PM »
what is this and how do i install them

nXe

  • Stingray
  • Posts: 94
Re: Game Colors
« Reply #5 on: December 28, 2005, 05:19:11 PM »
lmfao...  that post just made my day....

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Game Colors
« Reply #6 on: December 28, 2005, 07:45:41 PM »
It's development stuff.  You don't do anything with it.

KnacK

  • Global Moderator
  • Autococker
  • Posts: 3039
Re: Game Colors
« Reply #7 on: January 18, 2006, 08:29:17 AM »
It's development stuff.  You don't do anything with it.

Ya, what he said.  Now go back to school or daycare or something...

Love you <3

XtremeBain

  • Developer
  • Autococker
  • Posts: 1470
Re: Game Colors
« Reply #8 on: April 06, 2006, 12:30:53 PM »
Hey jitspoe,
Point me in the direction of the table of values that you use to convert funnames to console-readable chracters please.  I had it noted somewhere, but I can't seem to find it now.

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Game Colors
« Reply #9 on: April 06, 2006, 01:11:01 PM »
Hmm, can't remember what file it's in.  I think the function name is strip_garbage.

XtremeBain

  • Developer
  • Autococker
  • Posts: 1470
Re: Game Colors
« Reply #10 on: April 06, 2006, 03:51:00 PM »
I think my problem is that I was looking through the B16 source.  Found it in q_shared.c @ line 2176.  Thanks