Bokchoi
02-04-2004, 10:01 AM
For those who would like to animate their name at the end the round, here's a quick tutorial. It's nothing hard actually, the key ingredient is to know "wait" command (now you know it).
Basically you need to create a .cfg file. Give it a name that's appropriate to your animation.
Before we jump right into the name script, we'll need to create a looping script so that you can see your name forever until you press on Tab again to take it off. (when you log on empty server to test your script)
create a text file with notepad and name it alwaysscore.cfg
===== COPY CONTENT BELOW AND PASTE IT INTO alwaysscore.cfg =====
+scores
/exec alwaysscore.cfg
What I'll show will be a simple banner script that will animate the name from left to right.
Reference:
// means it's a comment and will not be processed by the game engine, good to place comments.
wait is a command that will pause, ie wait 12; will pause the script for approximately 1 sec
set name is used to change your name
COLOR:
^1 red
^2 green
^3 yellow
^4 blue
^5 cyan
^6 pink
^7 white
^8 rose
^9 grey
^0 black
First step is to use NOTEPAD (why notepad? because every character occupies the same amount of space be it the 1 or G. I think it's called unicode) The only problem is that the game isn't unicode. From what i've seen the game will accept 27 capital X and you will not see anything after that.
Let's begin by writing (copy/paste) down our design without the coding and colors.
// I PWNED YALL
LXXXXXXXXXXXXXXXXXXXXXXXXXX
LLXXXXXXXXXXXXXXXXXXXXXXXXX
ALLXXXXXXXXXXXXXXXXXXXXXXXX
YALLXXXXXXXXXXXXXXXXXXXXXXX
D YALLXXXXXXXXXXXXXXXXXXXXX
ED YALLXXXXXXXXXXXXXXXXXXXX
NED YALLXXXXXXXXXXXXXXXXXXX
WNED YALLXXXXXXXXXXXXXXXXXX
PWNED YALLXXXXXXXXXXXXXXXXX
I PWNED YALLXXXXXXXXXXXXXXX
XI PWNED YALLXXXXXXXXXXXXXX
XXI PWNED YALLXXXXXXXXXXXXX
XXXI PWNED YALLXXXXXXXXXXXX
XXXXI PWNED YALLXXXXXXXXXXX
XXXXXI PWNED YALLXXXXXXXXXX
XXXXXXI PWNED YALLXXXXXXXXX
XXXXXXXI PWNED YALLXXXXXXXX
XXXXXXXXI PWNED YALLXXXXXXX
XXXXXXXXXI PWNED YALLXXXXXX
XXXXXXXXXXI PWNED YALLXXXXX
XXXXXXXXXXXI PWNED YALLXXXX
XXXXXXXXXXXXI PWNED YALLXXX
XXXXXXXXXXXXXI PWNED YALLXX
XXXXXXXXXXXXXXI PWNED YALLX
XXXXXXXXXXXXXXXI PWNED YALL
XXXXXXXXXXXXXXXXI PWNED YAL
XXXXXXXXXXXXXXXXXI PWNED YA
XXXXXXXXXXXXXXXXXXI PWNED Y
XXXXXXXXXXXXXXXXXXXI PWNED
XXXXXXXXXXXXXXXXXXXXI PWNE
XXXXXXXXXXXXXXXXXXXXXI PWN
XXXXXXXXXXXXXXXXXXXXXXI PW
XXXXXXXXXXXXXXXXXXXXXXXI P
XXXXXXXXXXXXXXXXXXXXXXXXI
BOKCHOI
As you can see it looks like a banner (it's ok if you don't see it hehe). Each line is like 1 frame in a movie. You must be wondering why I write the "X" down, we'll be coloring the X with a color so it fills up space or else you won't see the animation as clearly. You can color it black to hide them or color them red to show them as a solid space.
Now we'll need to insert the console command.
set name LXXXXXXXXXXXXXXXXXXXXXXXXXX
wait 12;
set name LLXXXXXXXXXXXXXXXXXXXXXXXXX
wait 12;
set name ALLXXXXXXXXXXXXXXXXXXXXXXXX
wait 12;
set name YALLXXXXXXXXXXXXXXXXXXXXXXX
wait 12;
set name D YALLXXXXXXXXXXXXXXXXXXXXX
wait 12;
set name ED YALLXXXXXXXXXXXXXXXXXXXX
wait 12;
set name NED YALLXXXXXXXXXXXXXXXXXXX
wait 12;
set name WNED YALLXXXXXXXXXXXXXXXXXX
wait 12;
set name PWNED YALLXXXXXXXXXXXXXXXXX
wait 12;
set name I PWNED YALLXXXXXXXXXXXXXXX
wait 12;
set name XI PWNED YALLXXXXXXXXXXXXXX
wait 12;
set name XXI PWNED YALLXXXXXXXXXXXXX
wait 12;
set name XXXI PWNED YALLXXXXXXXXXXXX
wait 12;
set name XXXXI PWNED YALLXXXXXXXXXXX
wait 12;
set name XXXXXI PWNED YALLXXXXXXXXXX
wait 12;
set name XXXXXXI PWNED YALLXXXXXXXXX
wait 12;
set name XXXXXXXI PWNED YALLXXXXXXXX
wait 12;
set name XXXXXXXXI PWNED YALLXXXXXXX
wait 12;
set name XXXXXXXXXI PWNED YALLXXXXXX
wait 12;
set name XXXXXXXXXXI PWNED YALLXXXXX
wait 12;
set name XXXXXXXXXXXI PWNED YALLXXXX
wait 12;
set name XXXXXXXXXXXXI PWNED YALLXXX
wait 12;
set name XXXXXXXXXXXXXI PWNED YALLXX
wait 12;
set name XXXXXXXXXXXXXXI PWNED YALLX
wait 12;
set name XXXXXXXXXXXXXXXI PWNED YALL
wait 12;
set name XXXXXXXXXXXXXXXXI PWNED YAL
wait 12;
set name XXXXXXXXXXXXXXXXXI PWNED YA
wait 12;
set name XXXXXXXXXXXXXXXXXXI PWNED Y
wait 12;
set name XXXXXXXXXXXXXXXXXXXI PWNED
wait 12;
set name XXXXXXXXXXXXXXXXXXXXI PWNE
wait 12;
set name XXXXXXXXXXXXXXXXXXXXXI PWN
wait 12;
set name XXXXXXXXXXXXXXXXXXXXXXI PW
wait 12;
set name XXXXXXXXXXXXXXXXXXXXXXXI P
wait 12;
set name XXXXXXXXXXXXXXXXXXXXXXXXI
wait 12;
seta name "BOKCHOI"
ok now we have a working script but it's not over yet since we need to color it. In this case we'll color the Xs with black (^0) and the message with red (^1)
set name ^1L^0XXXXXXXXXXXXXXXXXXXXXXXXXX
wait 12;
set name ^1LL^0XXXXXXXXXXXXXXXXXXXXXXXXX
wait 12;
set name ^1ALL^0XXXXXXXXXXXXXXXXXXXXXXXX
wait 12;
set name ^1YALL^0XXXXXXXXXXXXXXXXXXXXXXX
wait 12;
set name ^1D YALL^0XXXXXXXXXXXXXXXXXXXXX
wait 12;
set name ^1ED YALL^0XXXXXXXXXXXXXXXXXXXX
wait 12;
set name ^1NED YALL^0XXXXXXXXXXXXXXXXXXX
wait 12;
set name ^1WNED YALL^0XXXXXXXXXXXXXXXXXX
wait 12;
set name ^1PWNED YALL^0XXXXXXXXXXXXXXXXX
wait 12;
set name ^1I PWNED YALL^0XXXXXXXXXXXXXXX
wait 12;
set name ^0X^1I PWNED YALL^0XXXXXXXXXXXXXX
wait 12;
set name ^0XX^1I PWNED YALL^0XXXXXXXXXXXXX
wait 12;
set name ^0XXX^1I PWNED YALL^0XXXXXXXXXXXX
wait 12;
set name ^0XXXX^1I PWNED YALL^0XXXXXXXXXXX
wait 12;
set name ^0XXXXX^1I PWNED YALL^0XXXXXXXXXX
wait 12;
set name ^0XXXXXX^1I PWNED YALL^0XXXXXXXXX
wait 12;
set name ^0XXXXXXX^1I PWNED YALL^0XXXXXXXX
wait 12;
set name ^0XXXXXXXX^1I PWNED YALL^0XXXXXXX
wait 12;
set name ^0XXXXXXXXX^1I PWNED YALL^0XXXXXX
wait 12;
set name ^0XXXXXXXXXX^1I PWNED YALL^0XXXXX
wait 12;
set name ^0XXXXXXXXXXX^1I PWNED YALL^0XXXX
wait 12;
set name ^0XXXXXXXXXXXX^1I PWNED YALL^0XXX
wait 12;
set name ^0XXXXXXXXXXXXX^1I PWNED YALL^0XX
wait 12;
set name ^0XXXXXXXXXXXXXX^1I PWNED YALL^0X
wait 12;
set name ^0XXXXXXXXXXXXXXX^1I PWNED YALL
wait 12;
set name ^0XXXXXXXXXXXXXXXX^1I PWNED YAL
wait 12;
set name ^0XXXXXXXXXXXXXXXXX^1I PWNED YA
wait 12;
set name ^0XXXXXXXXXXXXXXXXXX^1I PWNED Y
wait 12;
set name ^0XXXXXXXXXXXXXXXXXXX^1I PWNED
wait 12;
set name ^0XXXXXXXXXXXXXXXXXXXX^1I PWNE
wait 12;
set name ^0XXXXXXXXXXXXXXXXXXXXX^1I PWN
wait 12;
set name ^0XXXXXXXXXXXXXXXXXXXXXX^1I PW
wait 12;
set name ^0XXXXXXXXXXXXXXXXXXXXXXX^1I P
wait 12;
set name XXXXXXXXXXXXXXXXXXXXXXXX^1I
wait 12;
seta name "BOKCHOI"
Now we need to bind a key (I picked L in this case) to execute our newly created pwned.cfg file.
in the console type
/bind L exec pwned.cfg
Voila! :wink:
Basically you need to create a .cfg file. Give it a name that's appropriate to your animation.
Before we jump right into the name script, we'll need to create a looping script so that you can see your name forever until you press on Tab again to take it off. (when you log on empty server to test your script)
create a text file with notepad and name it alwaysscore.cfg
===== COPY CONTENT BELOW AND PASTE IT INTO alwaysscore.cfg =====
+scores
/exec alwaysscore.cfg
What I'll show will be a simple banner script that will animate the name from left to right.
Reference:
// means it's a comment and will not be processed by the game engine, good to place comments.
wait is a command that will pause, ie wait 12; will pause the script for approximately 1 sec
set name is used to change your name
COLOR:
^1 red
^2 green
^3 yellow
^4 blue
^5 cyan
^6 pink
^7 white
^8 rose
^9 grey
^0 black
First step is to use NOTEPAD (why notepad? because every character occupies the same amount of space be it the 1 or G. I think it's called unicode) The only problem is that the game isn't unicode. From what i've seen the game will accept 27 capital X and you will not see anything after that.
Let's begin by writing (copy/paste) down our design without the coding and colors.
// I PWNED YALL
LXXXXXXXXXXXXXXXXXXXXXXXXXX
LLXXXXXXXXXXXXXXXXXXXXXXXXX
ALLXXXXXXXXXXXXXXXXXXXXXXXX
YALLXXXXXXXXXXXXXXXXXXXXXXX
D YALLXXXXXXXXXXXXXXXXXXXXX
ED YALLXXXXXXXXXXXXXXXXXXXX
NED YALLXXXXXXXXXXXXXXXXXXX
WNED YALLXXXXXXXXXXXXXXXXXX
PWNED YALLXXXXXXXXXXXXXXXXX
I PWNED YALLXXXXXXXXXXXXXXX
XI PWNED YALLXXXXXXXXXXXXXX
XXI PWNED YALLXXXXXXXXXXXXX
XXXI PWNED YALLXXXXXXXXXXXX
XXXXI PWNED YALLXXXXXXXXXXX
XXXXXI PWNED YALLXXXXXXXXXX
XXXXXXI PWNED YALLXXXXXXXXX
XXXXXXXI PWNED YALLXXXXXXXX
XXXXXXXXI PWNED YALLXXXXXXX
XXXXXXXXXI PWNED YALLXXXXXX
XXXXXXXXXXI PWNED YALLXXXXX
XXXXXXXXXXXI PWNED YALLXXXX
XXXXXXXXXXXXI PWNED YALLXXX
XXXXXXXXXXXXXI PWNED YALLXX
XXXXXXXXXXXXXXI PWNED YALLX
XXXXXXXXXXXXXXXI PWNED YALL
XXXXXXXXXXXXXXXXI PWNED YAL
XXXXXXXXXXXXXXXXXI PWNED YA
XXXXXXXXXXXXXXXXXXI PWNED Y
XXXXXXXXXXXXXXXXXXXI PWNED
XXXXXXXXXXXXXXXXXXXXI PWNE
XXXXXXXXXXXXXXXXXXXXXI PWN
XXXXXXXXXXXXXXXXXXXXXXI PW
XXXXXXXXXXXXXXXXXXXXXXXI P
XXXXXXXXXXXXXXXXXXXXXXXXI
BOKCHOI
As you can see it looks like a banner (it's ok if you don't see it hehe). Each line is like 1 frame in a movie. You must be wondering why I write the "X" down, we'll be coloring the X with a color so it fills up space or else you won't see the animation as clearly. You can color it black to hide them or color them red to show them as a solid space.
Now we'll need to insert the console command.
set name LXXXXXXXXXXXXXXXXXXXXXXXXXX
wait 12;
set name LLXXXXXXXXXXXXXXXXXXXXXXXXX
wait 12;
set name ALLXXXXXXXXXXXXXXXXXXXXXXXX
wait 12;
set name YALLXXXXXXXXXXXXXXXXXXXXXXX
wait 12;
set name D YALLXXXXXXXXXXXXXXXXXXXXX
wait 12;
set name ED YALLXXXXXXXXXXXXXXXXXXXX
wait 12;
set name NED YALLXXXXXXXXXXXXXXXXXXX
wait 12;
set name WNED YALLXXXXXXXXXXXXXXXXXX
wait 12;
set name PWNED YALLXXXXXXXXXXXXXXXXX
wait 12;
set name I PWNED YALLXXXXXXXXXXXXXXX
wait 12;
set name XI PWNED YALLXXXXXXXXXXXXXX
wait 12;
set name XXI PWNED YALLXXXXXXXXXXXXX
wait 12;
set name XXXI PWNED YALLXXXXXXXXXXXX
wait 12;
set name XXXXI PWNED YALLXXXXXXXXXXX
wait 12;
set name XXXXXI PWNED YALLXXXXXXXXXX
wait 12;
set name XXXXXXI PWNED YALLXXXXXXXXX
wait 12;
set name XXXXXXXI PWNED YALLXXXXXXXX
wait 12;
set name XXXXXXXXI PWNED YALLXXXXXXX
wait 12;
set name XXXXXXXXXI PWNED YALLXXXXXX
wait 12;
set name XXXXXXXXXXI PWNED YALLXXXXX
wait 12;
set name XXXXXXXXXXXI PWNED YALLXXXX
wait 12;
set name XXXXXXXXXXXXI PWNED YALLXXX
wait 12;
set name XXXXXXXXXXXXXI PWNED YALLXX
wait 12;
set name XXXXXXXXXXXXXXI PWNED YALLX
wait 12;
set name XXXXXXXXXXXXXXXI PWNED YALL
wait 12;
set name XXXXXXXXXXXXXXXXI PWNED YAL
wait 12;
set name XXXXXXXXXXXXXXXXXI PWNED YA
wait 12;
set name XXXXXXXXXXXXXXXXXXI PWNED Y
wait 12;
set name XXXXXXXXXXXXXXXXXXXI PWNED
wait 12;
set name XXXXXXXXXXXXXXXXXXXXI PWNE
wait 12;
set name XXXXXXXXXXXXXXXXXXXXXI PWN
wait 12;
set name XXXXXXXXXXXXXXXXXXXXXXI PW
wait 12;
set name XXXXXXXXXXXXXXXXXXXXXXXI P
wait 12;
set name XXXXXXXXXXXXXXXXXXXXXXXXI
wait 12;
seta name "BOKCHOI"
ok now we have a working script but it's not over yet since we need to color it. In this case we'll color the Xs with black (^0) and the message with red (^1)
set name ^1L^0XXXXXXXXXXXXXXXXXXXXXXXXXX
wait 12;
set name ^1LL^0XXXXXXXXXXXXXXXXXXXXXXXXX
wait 12;
set name ^1ALL^0XXXXXXXXXXXXXXXXXXXXXXXX
wait 12;
set name ^1YALL^0XXXXXXXXXXXXXXXXXXXXXXX
wait 12;
set name ^1D YALL^0XXXXXXXXXXXXXXXXXXXXX
wait 12;
set name ^1ED YALL^0XXXXXXXXXXXXXXXXXXXX
wait 12;
set name ^1NED YALL^0XXXXXXXXXXXXXXXXXXX
wait 12;
set name ^1WNED YALL^0XXXXXXXXXXXXXXXXXX
wait 12;
set name ^1PWNED YALL^0XXXXXXXXXXXXXXXXX
wait 12;
set name ^1I PWNED YALL^0XXXXXXXXXXXXXXX
wait 12;
set name ^0X^1I PWNED YALL^0XXXXXXXXXXXXXX
wait 12;
set name ^0XX^1I PWNED YALL^0XXXXXXXXXXXXX
wait 12;
set name ^0XXX^1I PWNED YALL^0XXXXXXXXXXXX
wait 12;
set name ^0XXXX^1I PWNED YALL^0XXXXXXXXXXX
wait 12;
set name ^0XXXXX^1I PWNED YALL^0XXXXXXXXXX
wait 12;
set name ^0XXXXXX^1I PWNED YALL^0XXXXXXXXX
wait 12;
set name ^0XXXXXXX^1I PWNED YALL^0XXXXXXXX
wait 12;
set name ^0XXXXXXXX^1I PWNED YALL^0XXXXXXX
wait 12;
set name ^0XXXXXXXXX^1I PWNED YALL^0XXXXXX
wait 12;
set name ^0XXXXXXXXXX^1I PWNED YALL^0XXXXX
wait 12;
set name ^0XXXXXXXXXXX^1I PWNED YALL^0XXXX
wait 12;
set name ^0XXXXXXXXXXXX^1I PWNED YALL^0XXX
wait 12;
set name ^0XXXXXXXXXXXXX^1I PWNED YALL^0XX
wait 12;
set name ^0XXXXXXXXXXXXXX^1I PWNED YALL^0X
wait 12;
set name ^0XXXXXXXXXXXXXXX^1I PWNED YALL
wait 12;
set name ^0XXXXXXXXXXXXXXXX^1I PWNED YAL
wait 12;
set name ^0XXXXXXXXXXXXXXXXX^1I PWNED YA
wait 12;
set name ^0XXXXXXXXXXXXXXXXXX^1I PWNED Y
wait 12;
set name ^0XXXXXXXXXXXXXXXXXXX^1I PWNED
wait 12;
set name ^0XXXXXXXXXXXXXXXXXXXX^1I PWNE
wait 12;
set name ^0XXXXXXXXXXXXXXXXXXXXX^1I PWN
wait 12;
set name ^0XXXXXXXXXXXXXXXXXXXXXX^1I PW
wait 12;
set name ^0XXXXXXXXXXXXXXXXXXXXXXX^1I P
wait 12;
set name XXXXXXXXXXXXXXXXXXXXXXXX^1I
wait 12;
seta name "BOKCHOI"
Now we need to bind a key (I picked L in this case) to execute our newly created pwned.cfg file.
in the console type
/bind L exec pwned.cfg
Voila! :wink: