Aller au contenu

Photo

x3 color codes


  • Veuillez vous connecter pour répondre
6 réponses à ce sujet

#1
WhiZard

WhiZard
  • Members
  • 1 204 messages
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 .


#2
Lightfoot8

Lightfoot8
  • Members
  • 2 535 messages
The first one is 001

#3
WhiZard

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

#4
Lightfoot8

Lightfoot8
  • Members
  • 2 535 messages
It worked for me from note pad.  

Try this one:

string s = "";

#5
WhiZard

WhiZard
  • Members
  • 1 204 messages

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?

#6
Lightfoot8

Lightfoot8
  • Members
  • 2 535 messages
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.

#7
WhiZard

WhiZard
  • Members
  • 1 204 messages

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. ☺