| Tutorial - PART TWO
|
Adding Aimvecs to Aimbot:
Typing the avadd command into the console is OK, but the process can be automated.
The whole process is really very simple, and easier still for those of you that have knowledge of alias and binding.
The first thing to do is name your vec, if we continue the example in PART ONE, my vec
is called PyrrhusNS (Pyrrhus NEW Scout) ... so we have an alias:
alias PyrrhusNS
Now we can add the actual vecs ...
alias PyrrhusNS "avclear; avadd 0 20.56 7 3.8;avadd 1 19.46 7.6 1.66"
Notice the quotes ("") surrounding the avadd commands, and also note the avadd commands are separated by a semicolon (;)
... this is all very important.
Also important is the AVCLEAR command, this tells the aiming system to clear all other vecs from its memory.
I would also normally add a txt command ...
alias PyrrhusNS "avclear;NS;txt *** Aiming: NEW Scout (Pyrrhus NEW Scout) ***"
This will now display the name of the vec on the screen when selected.
Notice now where the quotes ("") and the semicolon (;) are.
|
This small text, should be saved in the AIMBOT.CFG file in the aimbot folder, along with all the other aimvecs that I am sure are in there!
Adding aimvec to Commandmenu:
OK, we have an aimvec in our AIMBOT.CFG file, we need to be able to call on this from within the aimbot program.
This is actieved by amending the commandmenu.txt file in the aimbot folder. If you open any commandmenu.txt file, it will
look something like the following:
"*" "+ Aimbot" {
"*" "+ Aim Vectors" {
"*" "DS_head" "DS_head"
"*" "DS_head2" "DS_head2"
"*" "DS_Neck" "DS_Neck"
"*" "DS_Chest" "DS_Chest"
"*" "DS_Stomach" "DS_Stomach"
"*" "DS_Nuts" "DS_Nuts"
"*" "-< Draw Vecs >-" "avdraw 1"
"*" "-< Draw Off >-" "avdraw 0"
}
To add your own vecs to the menu system, just simply copy what is already there, so we now have ...
"*" "+ Aimbot" {
"*" "+ Aim Vectors" {
"*" "Pyrrhus Scout" "
PyrrhusNS"
"*" "DS_head" "DS_head"
"*" "DS_head2" "DS_head2"
"*" "DS_Neck" "DS_Neck"
"*" "DS_Chest" "DS_Chest"
"*" "DS_Stomach" "DS_Stomach"
"*" "DS_Nuts" "DS_Nuts"
"*" "-< Draw Vecs >-" "avdraw 1"
"*" "-< Draw Off >-" "avdraw 0"
}
The text in yellow is just a description given to the vec, this is the name that you will see
in the final menu. The text in red is the alias name we gave the vec script in aimbot.cfg.
Click here for Part Three of this tutorial
|