Extended ASCII

ET Pro Documentation Project

Moderators: Forum moderators, developers, ET Pro Documentation

Post Reply
duke'ku
Posts: 1053
Joined: Sun Nov 03, 2002 1:42 pm
Location: portland, oregon
Contact:

Extended ASCII

Post by duke'ku »

Extended ASCII Characters in ET Pro 3

In ET Pro 3.0.1, you are finally able to use extended ASCII characters as you could in RTCW. Not all of these characters work outside of the console, but they do exist should you feel a need to use them.

Image
Image

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.) 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. To make the game recognize them, 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:

Code: Select all

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

Re: Extended ASCII

Post by Deus »

duke'ku wrote: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. To make the game recognize them, 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.
Remember that if you want to use the = you must no longer use = as a sign.

You have to use =3d instead
Bedrock
Posts: 140
Joined: Wed Sep 17, 2003 3:56 am

Post by Bedrock »

Correct me if I am wrong, but doesn't the default PB setting kick for Extra-ASCII characters within a player name?
Image
User avatar
Deus
Posts: 1053
Joined: Fri Mar 12, 2004 2:24 am
Location: Germany
Contact:

Post by Deus »

this doesn't work for playernames. only chat messages and banners
User avatar
=FF=im2good4u
Posts: 3821
Joined: Wed Feb 05, 2003 7:30 am
Location: The Netherlands, HOLLAND
Contact:

Post by =FF=im2good4u »

and most of em only work in conosle :D
User avatar
=FF=im2good4u
Posts: 3821
Joined: Wed Feb 05, 2003 7:30 am
Location: The Netherlands, HOLLAND
Contact:

Post by =FF=im2good4u »

iv tested the script and you are missing 00 07 09 0A 0B 0C 0D 20 22 A0
duke'ku
Posts: 1053
Joined: Sun Nov 03, 2002 1:42 pm
Location: portland, oregon
Contact:

Post by duke'ku »

=FF=im2weak4u wrote:iv tested the script and you are missing 00 07 09 0A 0B 0C 0D 20 22 A0
they're there.
Mark
Posts: 411
Joined: Thu Jan 01, 2004 6:10 am
Location: #vpclan@qnet

Post by Mark »

Hi,

Would be great, if CR or LF would work too (to make line breaks). But 0A(10), or 0D (13) won't work ...

Greets
Mark
Get owned at: Gaming@d1p.de (217.172.182.126:27960)
Image
Hi! I'm a .signature *virus*! Copy me into your ~/.signature to help me spread!
User avatar
=FF=im2good4u
Posts: 3821
Joined: Wed Feb 05, 2003 7:30 am
Location: The Netherlands, HOLLAND
Contact:

Post by =FF=im2good4u »

duke'ku wrote:
=FF=im2weak4u wrote:iv tested the script and you are missing 00 07 09 0A 0B 0C 0D 20 22 A0
they're there.
?? huh where they show up on the code and now on pictures either
User avatar
kingbolt
Posts: 131
Joined: Wed Apr 14, 2004 10:47 am

BE AWARE !

Post by kingbolt »

Couple week ago I ran into strange problem. When I tried to play ET the prog didn't start. All modules ET.EXE loaded crashed instantly ! What the hell...I re-installed ET twice, did everything I could. No help :evil:
It took me one week to find out the problem :oops:

The problem was my player name !
I had tried SCANDINAVIAN LETTERS (like ö and ä) in player name and forgotten that :lol:.
Post Reply