HC Emoticons 
57 comments This is the emoticon part of the HC Admin script. It can be used as a standalone script.
When you say something that contains a smiley, an emoticon will appear next to your character. The icon will linger for a few seconds and then fade out.
Here is a list (not complete) of supported smileys:
To install, just unzip it into your CS2D folder.
When you say something that contains a smiley, an emoticon will appear next to your character. The icon will linger for a few seconds and then fade out.
Here is a list (not complete) of supported smileys:
Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
2
3
4
5
6
7
8
9
10
11
12
13
:) - smiling
;) - winking
:D - big smile
xD - laughing
:( - frowning
:P - cheeky
:'( - crying
:O - surprised
:/ - skeptical
:S - uneasy
>:D - evil
>:( - angry
<3 - loves
;) - winking
:D - big smile
xD - laughing
:( - frowning
:P - cheeky
:'( - crying
:O - surprised
:/ - skeptical
:S - uneasy
>:D - evil
>:( - angry
<3 - loves
To install, just unzip it into your CS2D folder.
edited 1×, last 19.03.11 10:12:39 pm

Comments
57 commentsLog in!
You need to log in to be able to write comments!Log in
@dizziness: Sorry, but I will not list all supported smileys since there are a lot of them. For instance,
Code:
will all produce the same emoticon. In general, eyes can be represented by : = or 8. Nose can be omitted or written as - ^ or o. 1
:) :-) :^) :o) =) 8) :] :-] :^] :o]
@James Bond: Thanks.
Sorry, I am done with emoticons, but you can draw new images and add to your own script if you want.
First save the images as png in gfx/hc/emoticons. Then edit sys/lua/hc_emoticons.lua. Add a new line to the HC_EMOTICONS table for each image. The key (the characters inbetween [" and "]) is a pattern which defines the smiley. If you don't know patterns you can read about them in the Lua Reference Manual, section 5.4.1. The value is the name of the image file, without the .png extension.

First save the images as png in gfx/hc/emoticons. Then edit sys/lua/hc_emoticons.lua. Add a new line to the HC_EMOTICONS table for each image. The key (the characters inbetween [" and "]) is a pattern which defines the smiley. If you don't know patterns you can read about them in the Lua Reference Manual, section 5.4.1. The value is the name of the image file, without the .png extension.