Extended ASCII

From WolfWiki
Revision as of 15:59, 13 November 2005 by Rain (Talk | contribs) (Extended ASCII Characters in ET Pro 3: Minor style and information updates.)

Jump to: navigation, search

Extended ASCII Characters in ET Pro 3

In ET Pro 3.0.1, you are finally able to use extended ASCII characters and quotation marks in chats. Not all of these characters exist in all of ET's fonts (e.g. some will display properly in the console while others will not.)

ASCII table shown in the console

http://games.theteamkillers.net/rtcw/etpro/ascii/ascii-con.png

ASCII table shown in the notification area

http://games.theteamkillers.net/rtcw/etpro/ascii/ascii-nocon.png


The two images above display a table of all ASCII characters allowed in ET Pro 3, the top image displaying what it appears as in the console and the bottom displaying what it appears as in-game.

To use these characters, you can (if you're using Windows) use alt+xxxx, where xxxx is a series of numbers. (found using the Character Map, usually found in Start -> Programs -> Accessories -> System -> Character Map), or type the appropriate keys if you're using a non-US keyboard. If you prefer not to use this method, there's another easy way - you can use the a two-character hex code to represent the ASCII character. Each time you see a "=XX" in the screenshot above, the =XX is the hex code that represents the ASCII character to the right of it.

If you try to use these in game (e.g. /vsay hi =aaHELLO=ab) you'll soon find that it won't display them right away -- this is because the in-game commands automatically convert the extended ascii characters. To bypass the automatic encoding (and allow the use of the raw hex characters), you'll have to run them through cmd - such as /cmd vsay hi =aaHELLO=ab. Without the essential cmd, your characters will come out completely normal.

The code used to generate the above script was written by Rain. Here's the config, aptly named ascii.cfg:

echo "00:  01:� 02:� 03:� 04:� 05:  06:� 07:  08:� 09:  0A:  0B: 0C:� 0D:  0E:� 0F:� "
echo "10:� 11:� 12:� 13:� 14:� 15:� 16:� 17:� 18:� 19:� 1A:� 1B:� 1C:� 1D:� 1E:� 1F:� "
echo "20:  21:! 22:  23:# 24:$ 25:% 26:& 27:' 28:( 29:) 2A:* 2B:+ 2C:, 2D:- 2E:. 2F:/ "
echo "30:0 31:1 32:2 33:3 34:4 35:5 36:6 37:7 38:8 39:9 3A:: 3B:; 3C:< 3D:= 3E:> 3F:? "
echo "40:@ 41:A 42:B 43:C 44:D 45:E 46:F 47:G 48:H 49:I 4A:J 4B:K 4C:L 4D:M 4E:N 4F:O "
echo "50:P 51:Q 52:R 53:S 54:T 55:U 56:V 57:W 58:X 59:Y 5A:Z 5B:[ 5C:\ 5D:] 5E:^^* 5F:_ "
echo "60:` 61:a 62:b 63:c 64:d 65:e 66:f 67:g 68:h 69:i 6A:j 6B:k 6C:l 6D:m 6E:n 6F:o "
echo "70:p 71:q 72:r 73:s 74:t 75:u 76:v 77:w 78:x 79:y 7A:z 7B:{ 7C:| 7D:} 7E:~ 7F: "
echo "80:€ 81: 82:‚ 83:ƒ 84:„ 85:… 86:† 87:‡ 88:ˆ 89:‰ 8A:Š 8B:‹ 8C:Œ 8D: 8E:Ž 8F: "
echo "90: 91:‘ 92:’ 93:“ 94:” 95:• 96:– 97:— 98:˜ 99:™ 9A:š 9B:› 9C:œ 9D: 9E:ž 9F:Ÿ "
echo "A0:  A1:¡ A2:¢ A3:£ A4:¤ A5:¥ A6:¦ A7:§ A8:¨ A9:© AA:ª AB:« AC:¬ AD:­ AE:® AF:¯ "
echo "B0:° B1:± B2:² B3:³ B4:´ B5:µ B6:¶ B7:· B8:¸ B9:¹ BA:º BB:» BC:¼ BD:½ BE:¾ BF:¿ "
echo "C0:À C1:Á C2:Â C3:Ã C4:Ä C5:Å C6:Æ C7:Ç C8:È C9:É CA:Ê CB:Ë CC:Ì CD:Í CE:Î CF:Ï "
echo "D0:Ð D1:Ñ D2:Ò D3:Ó D4:Ô D5:Õ D6:Ö D7:× D8:Ø D9:Ù DA:Ú DB:Û DC:Ü DD:Ý DE:Þ DF:ß "
echo "E0:à E1:á E2:â E3:ã E4:ä E5:å E6:æ E7:ç E8:è E9:é EA:ê EB:ë EC:ì ED:í EE:î EF:ï "
echo "F0:ð F1:ñ F2:ò F3:ó F4:ô F5:õ F6:ö F7:÷ F8:ø F9:ù FA:ú FB:û FC:ü FD:ý FE:þ FF:ÿ "