From 5daaf9e33716c1c25200819d29f823868ed92d22 Mon Sep 17 00:00:00 2001 From: makke Date: Fri, 3 Nov 2006 21:49:17 +0000 Subject: [PATCH] def conf git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@466 e016b1c5-ed68-44aa-a2f7-31cac88cffde --- config/autoexec.cfg.default | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/config/autoexec.cfg.default b/config/autoexec.cfg.default index 039a1539..70cc3b77 100644 --- a/config/autoexec.cfg.default +++ b/config/autoexec.cfg.default @@ -50,8 +50,26 @@ bind 4 "melee" //for alternative weapon binding (more economic) see the end of this file bind R reload -bind MOUSE2 [ altattack ] +// zoom script +// NOTE: by default this script just devides your sensitivity by 2 while you use the scope +// if you want to set your own value for it, go to the following line and +// replace (div $sensitivity 2) by your desired sensitivity value: + +alias scopesens (div $sensitivity 2) + +bind mouse2 [ + alias oldsens $sensitivity + sensitivity $scopesens + altaction 1 + + onrelease [ + sensitivity $oldsens + altaction 0 + ] +] + + hudgun 1 maxroll 0 lighterror 4 //change to 8 or higher if you experience low fps