1.1.0.x - alpha/experimental testing has begun
#30
TheCrema, the code for the sniper zoom has changed. Now it is
alias oldsens $sensitivity

alias zoom [
    if (= $arg1 1) [
        if (=f $sensitivity (scopesens)) [] [
            alias oldsens $sensitivity
            // avoid error if using 0.001 as sensitivity
            newsens = (scopesens)
            if (> (*f 1 1000) $newsens) [
                if (< 1000 $newsens) [
                sensitivity (scopesens)
                ] []
            ] []
            setscope  1
        ]
    ] [
        sensitivity $oldsens
        setscope 0
    ]
]
Instead of:
alias zoom [
    if (= $arg1 1) [
        if (=f $sensitivity (scopesens)) [] [
            alias oldsens $sensitivity
            sensitivity (scopesens)
            setscope  1
        ]
    ] [
        sensitivity $oldsens
        setscope 0
    ]
]
They did something to make it feel more "natural" to switch between the two sensitivities. I suppose you could copy back the old code and overwrite the new one if you wanted to. But what gets executed first: scripts.cfg or autoexec.cfg?
Thanks given by:


Messages In This Thread
RE: 1.1.0.x - alpha/experimental testing has begun - by Gibstick - 19 Jul 10, 11:35AM