Author Topic: x3 color codes  (Read 527 times)

Legacy_WhiZard

  • Hero Member
  • *****
  • Posts: 2149
  • Karma: +0/-0
x3 color codes
« on: July 29, 2012, 01:39:08 am »


               I have looked at the x3 color character set from x3_inc_strings (posted below).

 " fw®°Ìþþþ"  ;

This character set contains ten characters.  I have only been able to isolate the last nine of them.  In numbpad representation they are ALT +

032 (space)
0102 (f)
0119 (w)
0174 (registered)
0176 (degree)
0204 (I with ` on top)
0254 (latin thorn letter) (repeated three times)

The first character when sent as a message to a PC looks like a box and in NWScript has the weird effect of messing up the string display.  Judging by the ascending ASCII order I suspect this is one of the control commands less than 032.  I have found a couple of these that can be sent as a box  using SendMessageToPC() (09 and 031) but I haven't found any that match with the == comparison.  Anyone know what character this would be?
               
               

               


                     Modifié par WhiZard, 29 juillet 2012 - 12:42 .
                     
                  


            

Legacy_Lightfoot8

  • Hero Member
  • *****
  • Posts: 4797
  • Karma: +0/-0
x3 color codes
« Reply #1 on: July 29, 2012, 02:02:14 am »


               The first one is  001
               
               

               
            

Legacy_WhiZard

  • Hero Member
  • *****
  • Posts: 2149
  • Karma: +0/-0
x3 color codes
« Reply #2 on: July 29, 2012, 02:19:33 am »


               That one I can't seem to get into NWScript from a copy and paste from notepad. Any way of capturing this character?
               
               

               
            

Legacy_Lightfoot8

  • Hero Member
  • *****
  • Posts: 4797
  • Karma: +0/-0
x3 color codes
« Reply #3 on: July 29, 2012, 02:36:36 am »


               It worked for me from note pad.  

Try this one:

string s = "";
               
               

               
            

Legacy_WhiZard

  • Hero Member
  • *****
  • Posts: 2149
  • Karma: +0/-0
x3 color codes
« Reply #4 on: July 29, 2012, 03:20:23 am »


               

Lightfoot8 wrote...

It worked for me from note pad.  

Try this one:

string s = "";


That works, but I don't know why ALT + 001 and ALT + 01 aren't working for me.  I would like to be able to type this on my own; but at least you have isolated that it is the "start of heading" control.  How do you type it?
               
               

               
            

Legacy_Lightfoot8

  • Hero Member
  • *****
  • Posts: 4797
  • Karma: +0/-0
x3 color codes
« Reply #5 on: July 29, 2012, 03:24:07 am »


               The ALT + * commands did not work for me either.   I used XVI32(Hex editor)  to both read the character and insert it into the text.
               
               

               
            

Legacy_WhiZard

  • Hero Member
  • *****
  • Posts: 2149
  • Karma: +0/-0
x3 color codes
« Reply #6 on: July 29, 2012, 05:46:15 am »


               

Lightfoot8 wrote...

The ALT + * commands did not work for me either.   I used XVI32(Hex editor)  to both read the character and insert it into the text.


Thanks for pointing me to this free-ware.  It definitely works, and will easily satiate my coloring needs by extending my pallette.  Now if only I could find a coloring book so I can learn how to color within the lines. ☺