
An in-game echo menu is a menu displayed on your screen that you can choose things from. It's displayed in the same text as the console text, using the 'developer 1', 'echo', and 'developer 0' commands. For this guide we will be making an echo menu to buy a few items.
First off we need to make the menu to be displayed on screen. Follow the guide:
Here are our developer aliases:
Here is the layout of the echo menu:
The alias to display the menu is as follows:
Now we need to make the command alias match up with the menu, in order to buy the items. Here are the commands for the echo menu:
The alias to bind all these commands to the number keys is as follows:
We can't forget the 'clz' alias to close the menus:
We must also have an alias to rebind the number keys back from exc 1-5 to slot 1-5.
The rebind alias is as follows:
In this step we will make the aliases to display the menu, then rebind the keys. We will make a toggle to open and close the menu:
And we need to bind exmenu to a key:
The exmenu+ will bring up the menu and you can make your selection. Then when you press the button again the slot keys will be reset and the screen will be cleared.
After doing all that you should come up with:
alias ex1 "d+; echo 1. Buy Mp5; d-"
alias ex2 "d+; echo 2. Buy AK-47; d-"
alias ex3 "d+; echo 3. Buy AWP; d-"
alias ex4 "d+; echo 4. Buy HE Gren; d-"
alias ex5 "d+; echo 5. Exit; d-"
alias exall "ex1; ex2; ex3; ex4; ex5"
alias exc1 "buy; menuselect 3; menuselect 1; clz"
alias exc2 "buy; menuselect 4; menuselect 1; clz"
alias exc3 "buy; menuselect 4; menuselect 6; clz"
alias exc4 "buy; menuselect 8; menuselect 4; clz"
alias exc5 "rebindall; clear"
alias excall "bind 1 exc1; bind 2 exc2; bind 3 exc3; bind 4 exc4; bind 5 exc5"
alias clz "wait; wait; wait; wait; slot10; wait; wait; wait; wait; wait; slot10"
alias rebindall "bind 1 slot1; bind 2 slot2; bind 3 slot3; bind 4 slot4; bind 5 slot5"
alias exmenu "exmenu+"
alias exmenu+ "exall; excall; alias exmenu exmenu-"
alias exmenu- "rebindall; clear; alias exmenu exmenu+"
bind "?" "exmenu"
If you are having problems getting your menu to work, or have any questions please e-mail me at gatodog@hotmail.com.
Comments
13:31 4/1/2002
but better go see www.confid-world.com
... [ Comment: Report | IP: Logged ]
14:03 4/1/2002
17:14 7/1/2002
menuselect 8; menuselect 2?
use buyequip instead... makes things faster [ Comment: Report | IP: Logged ]
Editor
UKTerrorist
18:41 7/1/2002
02:25 17/1/2002
23:25 21/1/2002
20:32 17/2/2002
http://menubuilder.mwuerr.de [ Comment: Report | IP: Logged ]
04:22 14/3/2002
???
O_o <- HUH?!?!
gj [ Comment: Report | IP: Logged ]
12:39 26/8/2002
then u could remove all teh extra d+'s and d-'s in your initial echo commands
just a thought... ;-) [ Comment: Report | IP: Logged ]
15:14 29/10/2002
00:38 3/4/2003
take time to give us comment and links and advices
i'm starting scripting and need few experience from other peeps
13:48 2/5/2003
alias "clz" "wait; wait; wait; wait; slot10; wait; wait; wait; wait; wait; slot10"
alias "BuyP" "buy; menuselect 1; menuselect 4; clz; wait; wait; wait; buy; menuselect 7"
hopefully you can tell my why the menu doesn't close. [ Comment: Report | IP: Logged ]
19:22 12/5/2003
alias clz "slot10; wait; wait; wait; slot10; wait; wait; wait; slot10"
alias buy1 "buy; menuselect 1; menuselect 4; clz; buyammo2"
rember you can use "buyammo1" and "buyammo2" commands for primary and secondary ammo. :-D
i shoved that into my autoexec.cfg and it worked first time. i tested in on my lan. If you have ne problems email me at FillMe@junkmail.com (it ain't fake) :-D
Leptest [ Comment: Report | IP: Logged ]
11:10 9/6/2003
18:12 18/6/2003
alias w6 "wait; wait; wait; wait; wait; wait"
alias clr "slot10; w6; slot10; w6; slot10; w6; slot10; w6; slot10; w6; slot10"
**
That is what i use now, and works fine on the internet. :-D
Leptest [ Comment: Report | IP: Logged ]
02:44 3/7/2003
alias clr "slot10; slot10; w6; slot10; slot10; w6; slot10; slot10"
always works for me :-D [ Comment: Report | IP: Logged ]