(02 Aug 10, 07:31AM)DrauL Wrote: Other scripters stay away this is mine >:)Since I'm not a scripter, this didn't apply to me. :D
These lines in scripts.cfg deal with altaction - what happens when you right click:
[SELECT ALL] Code:
loop i 8 [ alias (concatword altaction_ $i) quicknadethrow ] // Quick nade throw is default
alias altaction_4 [ zoom 1; onrelease [ zoom 0 ] ] // Sniper
alias altaction_6 [ attack ] // Grenade
Copying all three lines to your autoexec.cfg, but deleting quicknadethrow in the first, accomplishes what you want, ie.
[SELECT ALL] Code:
loop i 8 [ alias (concatword altaction_ $i) ] // Do nothing on right click
alias altaction_4 [ zoom 1; onrelease [ zoom 0 ] ] // Except for Sniper
alias altaction_6 [ attack ] // and Grenades
(This could also be achieved by amending the line in scripts.cfg only, but, ideally, default files should never be altered)
edit: Of course, if you don't want to throw a nade with right click, even with nades already selected, don't include the third line.