View Single Post
Old 11-28-2007, 07:24 PM   #144
Dr.Satan
Wiki Team
Fortress Forever Staff
 
Dr.Satan's Avatar
 
Join Date: Sep 2007
Location: Greeley, CO
Class/Position: Med / Solly
Gametype: PAYLOAD
Affiliations: DET-
Posts Rated Helpful 19 Times
Quote:
Originally Posted by -pF-
I'd be interested in menu scripting.. the radial selection thing for spies and engies is a nice idea, but i prefer the simple [1. - n.] menues of old!
Sorry I hadn't posted this yet, but I was out of town for a few days...here is one I currently use for sabotaging...but I can whip one out for you if you have a specific request...

Code:
//     --------
//---- Sabotage ----
//     --------

alias sab_1 "sentrysabotage"
alias sab_2 "dispensersabotage"

alias sabsg "sab_1; wait; default; wait; speak vox/female/s.g."
alias sabdis "sab_2; wait; default; wait; speak vox/female/dispenser"
alias sabboth "sab_1; wait; sab_2; wait; default; wait; speak vox/female/both"

alias sabmenu "bind 1 sabsg; wait; echo 1) Sabotage SG; wait; bind 2 
sabdis; wait; echo 2) Sabotage Dispenser; wait; bind 3 sabboth; wait; echo 
3) Sabotage Both; wait; bind 0 default; wait; echo 0) Defaults"

bind ctrl "sabmenu"
How it works:

When you hit ctrl it will rebind keys 1, 2, and 3 as follows:

1 = Sabotage SG and rebind keys (back to defaults)
2 = Sabotage Disp. and rebind
3 = Sabotage All / Both and rebind
0 = Rebind to default (fail safe it you accidently hit the wrong key)

You will also want to put this in your autoexec.cfg

Code:
//     -------
//---- Default ----
//     -------
alias d_1 "wait;bind 1 slot1"
alias d_2 "wait;bind 2 slot2"
alias d_3 "wait;bind 3 slot3"
alias d_4 "wait;bind 4 slot4"
alias d_5 "wait;bind 5 slot5"
alias d_6 "wait;bind 6 slot6"
alias default "wait;d_1;wait;d_2;wait;d_3;wait;d_4;wait;d_5;wait;d_6"
Currently this is the closest we can get to the old way of things...and there is the problem that it won't show up on screen what your binds are.

I have it set now to echo them in consol so if you get confused you can hit your console and it will be shown in there (time consuming, but you generally memorize them fairly quickly)

I remember somewhere someone suggesting a messageme mode or say_me mode where you could send yourself chat messages to compensate for the loss of echo and such, but until DrEvil gets a bit and codes it in we're all pretty much SOL.

~hope it helps
__________________
(Released) conc_school | hellion_classic | ksour_PAYLOAD | mulch_faf
(Beta) alchimy_b1
(Lua) base_payload_2015
(Models) props_trainyard
Support FF:
Dr.Satan is offline   Reply With Quote