With a modification, I can get scrolling zoom functionality with the script made by stef and modified by Kirin.
However, I get two error messages.
when I press the mouse button, and
again when I release it. There aren't any additional repeats or error messages when I scroll.
Any advice on how to make those go away (or fix the problem that creates them, if it's important to?)
P.S. I'm still hoping for a script to remove everything but chat from the console, which would address making the error messages "go away"
EDIT: Because someone else and I on IRC the other day couldn't figure out where on Earth the command "scopesens" was coming from, it's in scripts.cfg- check lines 163-182 for the curious.
[SELECT ALL] Code:
alias adjustsens [
scopefov 40
scopesensscale = (divf $scopefov $fov)
]
alias altaction_5 [ alias oldfog $fog;fog 1024
adjustsens; domodifier 1; zoom 1;
onrelease [ zoom 0; adjustsens; fog $oldfog ]
]
alias delta_game_1 [
if (= $arg1 1) [
if (> $scopefov 5) [scopefov (- $scopefov 5) ]
][
if (< $scopefov 60) [scopefov (+ $scopefov 5) ]
];
sensitivity (divf (*f (*f $oldsens $scopesensscale) $scopefov) 40)
]
However, I get two error messages.
[SELECT ALL] Code:
cannot redefine builtin scopesensscale with an alias
unknown command: scopesens
unknown command: scopesens
[SELECT ALL] Code:
cannot redefine builtin scopesensscale with an alias
Any advice on how to make those go away (or fix the problem that creates them, if it's important to?)
P.S. I'm still hoping for a script to remove everything but chat from the console, which would address making the error messages "go away"
EDIT: Because someone else and I on IRC the other day couldn't figure out where on Earth the command "scopesens" was coming from, it's in scripts.cfg- check lines 163-182 for the curious.