+ Reply to Thread
Page 2 of 3 FirstFirst 1 2 3 LastLast
Results 11 to 20 of 22

Thread: Weapon Binds - Sensitivity

  1. #11
    Senior Member AXxXxO is on a distinguished road AXxXxO's Avatar
    Join Date
    Aug 2010
    Location
    Croatia
    Posts
    2,309
    you can use that script for settings because i have and crucci i think diff cross hair size,cross hair styles,fovs etc for each weapon and i like it since ql crosshairs arent good for me so i have modified for lg,rl,rail,gl and also my difference between sens for lg,normal is 0.2-0.3...if you want these settings or try go for it,it cant harm you only help
    Quote Originally Posted by Downlink View Post
    Add A Killcam Maybe?
    Only available for COD MW3 owners!Coming soon i next update....

  2. #12
    Junior Member Beg1nner is on a distinguished road
    Join Date
    Sep 2010
    Posts
    6
    Hi crucci and all

    Is there a way that this can be used, so that sensitivity is only lowered, WHILE both a Strafe key AND Fire is pressed ?

    I want this as, I have nice tracking with for example LG when only using the mouse OR Strafe separately,
    but as soon I use both mouse and strafe keys (dodging and so on), the tracking is a lot worse.

    I have added it to at least work when I press strafe keys, and it has improved my tracking a lot.
    Though it interfere with my movement =), in strafe jumping and so on,
    so that is why I wanted it to only be active when Strafe + Fire for only (LG PG MG)

    Thx in advanced
    Regards Stefan

  3. #13
    Senior Member Lorfa is a jewel in the rough Lorfa is a jewel in the rough Lorfa is a jewel in the rough Lorfa's Avatar
    Join Date
    Aug 2010
    Location
    Kepler-22b
    Posts
    8,779
    Quote Originally Posted by Beg1nner View Post
    Is there a way that this can be used, so that sensitivity is only lowered, WHILE both a Strafe key AND Fire is pressed ?

    I want this as, I have nice tracking with for example LG when only using the mouse OR Strafe separately, but as soon I use both mouse and strafe keys (dodging and so on), the tracking is a lot worse.

    I have added it to at least work when I press strafe keys, and it has improved my tracking a lot. Though it interfere with my movement =), in strafe jumping and so on,
    so that is why I wanted it to only be active when Strafe + Fire for only (LG PG MG)
    I tried this:

    alias +zfire "Lgsett"
    alias -zfire "-attack; sensitivity 6 ; vstr Lnormal ; vstr Rnormal"

    set Lnormal "bind a +moveleft"
    set Rnormal "bind d +moveright"

    alias normal "alias +zfire +attack"

    alias Lgsett "alias +zfire LgFire"
    alias LgFire "+attack; vstr left ; vstr right"

    set left "bind a +movel"
    set right "bind d +mover"

    alias +movel "+moveleft ; sensitivity 1"
    alias -movel "-moveleft ; sensitivity 6"

    alias +mover "+moveright ; sensitivity 1"
    alias -mover "-moveright ; sensitivity 6"

    bind [key] "weapon 1; normal ; sensitivity 6" // GT
    bind [key] "weapon 2; Lgsett ; sensitivity 6" // MG
    bind [key] "weapon 3; normal ; sensitivity 6" // SG
    bind [key] "weapon 4; normal ; sensitivity 6" // GL
    bind [key] "weapon 5; normal ; sensitivity 6" // RL
    bind [key] "weapon 6; Lgsett ; sensitivity 6" // LG
    bind [key] "weapon 7; normal ; sensitivity 6" // RG
    bind [key] "weapon 8; Lgsett ; sensitivity 6" // PG

    bind [key] "+zfire" // Attack key

    However it has some glitch where +moveright and/or +moveleft gets stuck on.

    Adding -moveright and -moveleft like to my -zfire fixes it, but causes key sticking, like the strafe keys will temporarily not respond sometimes.

    This setup involves the mouse button being pressed down binding the strafe keys to lower the sens when they are pressed. So firing the LG comes first.

    I thought maybe you could do something like, the strafe keys have to pressed first, and _then_ the mouse1 attack for it to activate:

    alias +zfire "Lgsett"
    alias -zfire "-attack; sensitivity 6 ; vstr Lnormal ; vstr Rnormal"

    set Lnormal "bind a +moveleft"
    set Rnormal "bind d +moveright"

    alias normal "alias +zfire +attack"

    alias +LG "+attack ; sensitivity 1"
    alias -LG "-attack ; sensitivity 6"

    alias Lgsett "alias +zfire LgFire"
    alias LgFire "+attack; vstr left ; vstr right"

    set left "bind a +movel"
    set right "bind d +mover"

    alias +movel "+moveleft ; bind mouse1 +LG"
    alias -movel "-moveleft ; bind mouse1 +attack ; sensitivity 6"

    alias +mover "+moveright ; bind mouse1 +LG"
    alias -mover "-moveright ; bind mouse1 +attack ; sensitivity 6"

    bind [key] "weapon 1; normal ; sensitivity 6" // GT
    bind [key] "weapon 2; Lgsett ; sensitivity 6" // MG
    bind [key] "weapon 3; normal ; sensitivity 6" // SG
    bind [key] "weapon 4; normal ; sensitivity 6" // GL
    bind [key] "weapon 5; normal ; sensitivity 6" // RL
    bind [key] "weapon 6; Lgsett ; sensitivity 6" // LG
    bind [key] "weapon 7; normal ; sensitivity 6" // RG
    bind [key] "weapon 8; Lgsett ; sensitivity 6" // PG

    bind [key] "+zfire" // Attack key

    This doesn't work either though. The +attack gets stuck on.

    So yeah, not sure how to do it, or if it can even be done. Part of the problem is that when you release one strafe key and not the other it has to know to keep behaving a certain way, one cannot cancel the other. The other part of the problem is this odd glitch, as it it appears that a +key being rebound interferes with its -action.

    I'll keep the scripts I made and think about it, maybe some solution will come to me.

  4. #14
    Junior Member Beg1nner is on a distinguished road
    Join Date
    Sep 2010
    Posts
    6
    Hi Lorfa

    Thx a lot for your fast reply and your effort ! much appreciated
    I will take a deep look into this.
    Had been nice if scripting had some Conditional type of ways similar to programming languages..

    Looking forward if a solution will come into your mind later on !

    Thx again !
    Regards Stefan

  5. #15
    Senior Member Lorfa is a jewel in the rough Lorfa is a jewel in the rough Lorfa is a jewel in the rough Lorfa's Avatar
    Join Date
    Aug 2010
    Location
    Kepler-22b
    Posts
    8,779
    Quote Originally Posted by Beg1nner View Post
    Looking forward if a solution will come into your mind later on !
    I solved the key sticking problem, here is the work so far:

    alias +zfire "+attack"

    alias +movel "+moveleft"
    alias -movel "-moveleft"

    alias +mover "+moveright"
    alias -mover "-moveright"

    alias normal "alias +zfire +attack"

    alias -zfire "-attack; sensitivity 6 ; vstr Lnormal ; vstr Rnormal"

    set Lnormal "alias +movel +moveleft ; alias -movel -moveleft"
    set Rnormal "alias +mover +moveright ; alias -mover -moveright"

    alias Lgsett "alias +zfire LgFire"

    alias LgFire "+attack; vstr Lspace ; vstr Rspace"

    set Lspace "alias +movel lefton ; alias -movel leftoff"

    set Rspace "alias +mover righton ; alias -mover rightoff"

    alias lefton "+moveleft ; sensitivity 1"
    alias leftoff "-moveleft ; sensitivity 6"

    alias righton "+moveright ; sensitivity 1"
    alias rightoff "-moveright ; sensitivity 6"

    // Binds ******************************************

    bind [key] "weapon 1; normal ; sensitivity 6" // GT
    bind [key] "weapon 2; Lgsett ; sensitivity 6" // MG
    bind [key] "weapon 3; normal ; sensitivity 6" // SG
    bind [key] "weapon 4; normal ; sensitivity 6" // GL
    bind [key] "weapon 5; normal ; sensitivity 6" // RL
    bind [key] "weapon 6; Lgsett ; sensitivity 6" // LG
    bind [key] "weapon 7; normal ; sensitivity 6" // RG
    bind [key] "weapon 8; Lgsett ; sensitivity 6" // PG

    bind [key] "+movel" // Strafe left
    bind [key] "+mover" // Strafe right
    bind [key] "+zFire" // Attack key

    ************************************************

    However there are three problems:

    1. Both strafe keys are pressed and attack key pressed, one strafe key being released returns the sens to normal which we do not want.

    This may be able to be fixed by having each strafe key realias the -action of the other. Having them simultaneously pressed should not be a problem as inevitably one will be released/pressed before the other.

    2. The attack key must be pressed first, if a strafe key is already being held down, the sens will not lower when the attack key is pressed. The strafe key must be released and repressed for the sens to lower.

    This may be fixed by having LgSett realias +movel and +mover to something that realiases +zfire, such that the attack key enables the strafe keys to lower the sens like it does now, but also the strafe keys enable the attack key to lower the sens as well.

    3. There is some kind of delay happening when the script does work properly. For example I have the attack key pressed, and then I hit left or right strafe. About 200 ms passes before the sensitivity change occurs. This is a pretty unexpected problem, as none of the relevant operations should take this long.

    Fixing this may not be possible since should the script work as intended, it will require the same mechanisms used to get it this far. No other mechanisms are available. Perhaps when the script is finalized, some thought can be put to what operations are so costly as to cause the delay and an attempt could be made not to use them. This will be the last priority as the two problems above would have to first be addressed.

  6. #16
    Junior Member Beg1nner is on a distinguished road
    Join Date
    Sep 2010
    Posts
    6
    Hi Lorfa

    I will directly implement and test your new version. Thx !

    Just to here to show off my lack of scripting skills.. to learn a bit more. =)
    Here is one of my own, very simple tests, which dont work, but just out of curiosity can such a simple way work, by just adjusting it a little ?
    set _StrafeSens "sensitivity 1.0"
    set _MouseSens "sensitivity 3.2"

    //New Strafe + Fire alias test
    alias -_MoveR "-moveright; vstr _MouseSens"
    alias +_MoveR "+moveright"
    alias -_MoveL "-moveleft; vstr _MouseSens"
    alias +_MoveL "+moveleft"
    alias +myFire "+attack; alias +_MoveR "vstr _StrafeSens; +moveright"; alias +_MoveL "vstr _StrafeSens; +moveleft""
    alias -myFire "-attack; vstr _MouseSens; alias +_MoveR "vstr _MouseSens; +moveright"; alias +_MoveL "vstr _MouseSens; +moveleft""
    //New Strafe + Fire alias test END

    bind MOUSE2 "+forward"
    bind d "+back"
    bind space "+moveup"
    bind e "+movedown"
    bind f "+_MoveR"
    bind s "+_MoveL"

    Regards Stefan

  7. #17
    Senior Member Lorfa is a jewel in the rough Lorfa is a jewel in the rough Lorfa is a jewel in the rough Lorfa's Avatar
    Join Date
    Aug 2010
    Location
    Kepler-22b
    Posts
    8,779
    Actually the "avenue" you're pursuing with this script is the same, you just have some incorrect syntax in places, and don't have all the exceptions it needs (which is a lot).

    After much work I have a script that seems to do the trick:

    ******************************* Normal ***********

    alias +zfire "+attack"

    alias +movel "+moveleft"
    alias -movel "-moveleft"

    alias +mover "+moveright"
    alias -mover "-moveright"

    alias normal "alias +zfire +attack ; vstr Lnormal ; vstr Rnormal ; vstr zfix0"

    set zfix0 "alias -zfire zfixed0"

    alias zfixed0 "-attack ; sensitivity 6 ; vstr Lnormal ; vstr Rnormal"

    set Lnormal "alias +movel +moveleft ; alias -movel -moveleft"
    set Rnormal "alias +mover +moveright ; alias -mover -moveright"

    ********************************** Lg **************

    alias Lgsett "alias +zfire LgFire ; vstr Lspace0 ; vstr Rspace0 ; vstr zfix"

    set zfix "alias -zfire zfixed"

    alias zfixed "-attack ; sensitivity 6 ; vstr Lspace0 ; vstr Rspace0"

    set Lspace0 "alias +movel prelefton ; alias -movel preleftoff"
    set Rspace0 "alias +mover prerighton ; alias -mover prerightoff"

    alias LgFire "+attack; vstr Lspace ; vstr Rspace"

    set Lspace "alias +movel lefton ; alias -movel leftoff"

    set Rspace "alias +mover righton ; alias -mover rightoff"

    alias prelefton "+moveleft ; alias +zFire lgfire2"
    alias preleftoff "-moveleft ; alias +zFire Lgfire"

    alias prerighton "+moveright ; alias +zFire lgfire2"
    alias prerightoff "-moveright ; alias +zFire Lgfire"

    alias lefton "+moveleft ; sensitivity 1 ; alias -mover -rightoff0"
    alias leftoff "-moveleft ; sensitivity 6 ; alias -mover rightoff"

    alias righton "+moveright ; sensitivity 1 ; alias -movel -leftoff0"
    alias rightoff "-moveright ; sensitivity 6 ; alias -movel leftoff"

    alias Lgfire2 "+attack ; sensitivity 1"

    alias -rightoff0 "-moveright ; alias -movel leftoff"
    alias -leftoff0 "-moveleft ; alias -mover rightoff"


    // Binds ************************************************

    bind [key] "weapon 1; normal ; sensitivity 6" // GT
    bind [key] "weapon 2; Lgsett ; sensitivity 6" // MG
    bind [key] "weapon 3; normal ; sensitivity 6" // SG
    bind [key] "weapon 4; normal ; sensitivity 6" // GL
    bind [key] "weapon 5; normal ; sensitivity 6" // RL
    bind [key] "weapon 6; Lgsett ; sensitivity 6" // LG
    bind [key] "weapon 7; normal ; sensitivity 6" // RG
    bind [key] "weapon 8; Lgsett ; sensitivity 6" // PG

    bind [key] "+movel" // Strafe left
    bind [key] "+mover" // Strafe right
    bind [key] "+zFire" // Attack key

    *************************************************

    There is still a couple problems, although they aren't show stoppers imo:

    Maybe 20 % of the time, if you have both strafe keys held down and the attack key held down as well, releasing both strafe keys does not return the sens to normal. As to why has something to do with the lag I experienced earlier. A further investigation is required.

    The second problem is it will still lag once in a while, although most of the time the sens changes immediately as intended.

    Let me know how it works for you.

  8. #18
    Junior Member Beg1nner is on a distinguished road
    Join Date
    Sep 2010
    Posts
    6
    Hi again

    I implemented your previous script into mine like shown below and it worked pretty darn nicely !
    I will tomorrow take your new one and put that one in and test it.

    Thx a ton for your nice work ! much appreciated !

    bind MOUSE1 "+myFire"

    //Movement
    set _StrafeSens "sensitivity 2.8"
    set _MouseSens "sensitivity 3.2"

    //New Strafe + Fire alias test Lorfa modified version
    alias -_MoveR "-moveright"
    alias +_MoveR "+moveright"
    alias -_MoveL "-moveleft"
    alias +_MoveL "+moveleft"

    alias normal "alias +myFire +attack"

    alias -myFire "-attack; vstr _MouseSens; vstr Lnormal; vstr Rnormal"

    set Lnormal "alias +_MoveL +moveleft; alias -_MoveL -moveleft"
    set Rnormal "alias +_MoveR +moveright; alias -_MoveR -moveright"

    alias Lgsett "alias +MyFire LgFire"
    alias LgFire "+attack; vstr Lspace; vstr Rspace"

    set Lspace "alias +_MoveL leftOn; alias -_MoveL leftOff"
    set Rspace "alias +_MoveR rightOn; alias -_MoveR rightOff"

    alias leftOn "+moveleft; vstr _StrafeSens"
    alias leftOff "-moveleft; vstr _MouseSens"

    alias rightOn "+moveright; vstr _StrafeSens"
    alias rightOff "-moveright; vstr _MouseSens"
    //New Strafe + Fire alias test END

    bind MOUSE2 "+forward"
    bind d "+back"
    bind space "+moveup"
    bind e "+movedown"
    bind f "+_MoveR"
    bind s "+_MoveL"

    Regards Stefan

  9. #19
    Senior Member Lorfa is a jewel in the rough Lorfa is a jewel in the rough Lorfa is a jewel in the rough Lorfa's Avatar
    Join Date
    Aug 2010
    Location
    Kepler-22b
    Posts
    8,779
    Besides being incomplete, the above script suffers from problem #1 as described in the second post.

  10. #20
    Junior Member Beg1nner is on a distinguished road
    Join Date
    Sep 2010
    Posts
    6
    Hi Lorfa

    Sorry for not posting earlier, I just havent got around to implement your latest fix, until a couple of days ago.

    I just wanted to thank you so much for you help !
    It work nicely most of the times and yep you pointed out some of the problems it still has.

    I also noticed at times that some key presses didnt work, like jump, or fire before pressing a key for a weapon or so on.
    Some similar things have happen before, might be a ql bug, as some of it works nicely if just restart/reconnect/load a map again...

    One thing that is tough, is to fine the best values, for the lg sens, so it compensates for the strafe speed.
    I now use 2.8 for the lg/pg/mg fire/strafe sens, and 3.2 for the normal, and I will try out more to get to the sweet spot.

    Thx again for your valuable help
    Regards Stefan

+ Reply to Thread

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts