Ok. This article is on scripting. If you don't know what scripting is, here is a small example. Small.
/bind h vsay hi
This is what most of you use as key shortcuts. You open console (~) and type that line in. Or you can make it more advanced by typing:
/bind h vsay hi |TTU|*your name here*|TTU| is here!!!!
That is advanced scripting. We have a vsay post with all the usable vsays, but here are some other scripting ideas. However, these you cannot do in-game. To use these, you must open a new document in Notepad. Note: It MUST be notepad. Nothing else can create a cfg file. Now you have a new document opened, copy and paste this line:
This script allows you to shoot and sprint at the same time, just by left clicking. If you use a different key to shoot, change the bottom line that says MOUSE1 to whatever key you use. Now this is has a positive and a negative though. It's a postive is you don't have to hold down two keys at once. The downside, If you are constructing something, healing someone, or giving ammo to someone while moving, you will lost sprint. But, the fact that you can easily kill your enemy compensates for that
set AT2 "-attack; -sprint"
set AT1 "+attack; +sprint"
bind MOUSE1 "+vstr AT1 AT2"
Here is another very useful script is this one. It allows you to, instead of holding C down to crouch, you press it, and you stay crouched until you press it again to stand. Copy and Paste this:
set duck "+movedown; set crouchswitch vstr stand"
set stand "-movedown; set crouchswitch vstr duck"
set crouchswitch "vstr duck"
bind c "vstr crouchswitch"
One thing to know about that one is if you die crouching, you must press c or you will not be able to tap out
This one Allows you to switch to a nade, prime it, and throw it, by pressing one button, one time
set prime "weaponbank 4; wait 100; +attack'
set release "-attack; weaponbank 3"
bind q "+vstr prime release
The 100 is the number of frames your player waits to throw the nade.
This is one of the best scripts, IMO. You just hold down a key (cannot be a mouse button, must be bound to a key) and your akimbos will fire at 16 rounds per second. This is about double as fast as I could fire akimbos if I press the mouse button as fast as I can. It's nearly as fast as an MG, which is 18 rounds per second.
The only limitation is that while you're holding down the key, you can't change what direction you're moving, although you can still turn around with the mouse. Since the fire is so rapid, you will run out of ammo in about 1 second. So, don't waste it- don't use this against people who are far away, or who are moving very fast. It's best used at close range, either if you sneak up on someone from behind, or if you trap them in a small hallway.
NOTE: This script will not produce good results if the server you play on limits the akimbo rate.
Here is the script (note: I split it up into several lines, but it should all be written on 1 line in the text file):
bind "K" "+attack; -attack; +attack; -attack;
+attack; -attack; +attack; -attack;
+attack; -attack; +attack; -attack;
+attack; -attack; +attack; -attack;
+attack; -attack; +attack; -attack;
wait 1;"
READ THIS BEFORE YOU TRY TO RUN YOUR GAME!!!!!!!!!!!!!!!!!!!
Now you must save your file. Save it to your C:/Program files/Wolfenstein: Enemy Territory/etpro/ folder. IT MUST BE NAMED THIS: autoexec.cfg
Now run ET. When you get to your server you want to be in, press the console button (~). Type this line:
/exec autoexec.cfg
You should see this message below it
execing autoexec.cfg or something like that
that means its working. If you have any problems, just erase everything in your autoexcec.cfg file.
If you need more information, or more scripts, go to:
http://velocity.lunarpages.com/scripts.htmlIt's a great site, and worth some time to look at. Good luck!
Hayden