Digital Paint Discussion Board
Paintball 2: The Game => Paintball 2 Discussion => Topic started by: SmackWaters on March 30, 2007, 04:05:56 PM
-
I don't know if anyone has done this before, but if they haven't, then that must mean i'm really cool. What it is is a manual adjusting sniper script. Paste it in your config! Pressing mouse3 toggles between sniper and regular mode. Scrolling up and down zooms in and out.
bind "mouse3" "sniperon"
alias sniperon "crosshair 4;bind mwheelup zum1;bind mouse3 sniperoff"
alias sniperoff "bind mouse3 sniperon;crosshair 5;unbind mwheelup;unbind mwheeldown;fov normal;sensitivity 7"
alias zum0 "fov normal;bind mwheelup zum1;unbind mwheeldown"
alias zum1 "fov 85;sensitivity 6.7;bind mwheeldown zum0;bind mwheelup zum2"
alias zum2 "fov 80;sensitivity 6.4;bind mwheeldown zum1;bind mwheelup zum3"
alias zum3 "fov 75;sensitivity 6.1;bind mwheeldown zum2;bind mwheelup zum4"
alias zum4 "fov 70;sensitivity 5.8;bind mwheeldown zum3;bind mwheelup zum5"
alias zum5 "fov 65;sensitivity 5.5;bind mwheeldown zum4;bind mwheelup zum6"
alias zum6 "fov 60;sensitivity 5.2;bind mwheeldown zum5;bind mwheelup zum7"
alias zum7 "fov 55;sensitivity 4.9;bind mwheeldown zum6;bind mwheelup zum8"
alias zum8 "fov 50;sensitivity 4.6;bind mwheeldown zum7;bind mwheelup zum9"
alias zum9 "fov 45;sensitivity 4.3;bind mwheeldown zum8;bind mwheelup zum10"
alias zum10 "fov 40;sensitivity 4.0;bind mwheeldown zum9;bind mwheelup zum11"
alias zum11 "fov 35;sensitivity 3.7;bind mwheeldown zum10;bind mwheelup zum12"
alias zum12 "fov 30;sensitivity 3.4;bind mwheeldown zum11;bind mwheelup zum13"
alias zum13 "fov 25;sensitivity 3.1;bind mwheeldown zum12;bind mwheelup zum14"
alias zum14 "fov 20;sensitivity 2.8;bind mwheeldown zum13;bind mwheelup zum15"
alias zum15 "fov 15;sensitivity 2.5;bind mwheeldown zum14;bind mwheelup zum16"
alias zum16 "fov 10;sensitivity 2.2;bind mwheeldown zum15;bind mwheelup zum17"
alias zum17 "fov 5;sensitivity 1.9;bind mwheeldown zum16;unbind mwheelup"
-
isn't that a little to much fov 5 and i think its useless to have that zoom seriously y would u need that many zooms for all u need is one zoome not like 20 but its just my opinion
-
paintguns cant go that far...
that script is for something like Action Quake2, or possibly even a RailWarz....
thats too advanced and too much for paintball, nice script though
-
well it was just for fun and i got bored
-
for me a sniper script is useful but...this isnt.Paintball 2 is too quick..theres no time to keep ajusting ur zoom.
-
Magalhaes = one of the few people who gets it.
<3
-
bind "mouse3" "sniperon"
alias sniperon "crosshair 4;bind mwheelup zum1;bind mouse3 sniperoff"
alias sniperoff "bind mouse3 sniperon;crosshair 5;unbind mwheelup;unbind mwheeldown;fov normal;sensitivity 7"
alias zum0 "fov normal;bind mwheelup zum1;unbind mwheeldown"
alias zum1 "fov 85;sensitivity 6.7;bind mwheeldown zum0;bind mwheelup zum2"
alias zum2 "fov 80;sensitivity 6.4;bind mwheeldown zum1;bind mwheelup zum3"
alias zum3 "fov 75;sensitivity 6.1;bind mwheeldown zum2;bind mwheelup zum4"
alias zum4 "fov 70;sensitivity 5.8;bind mwheeldown zum3;bind mwheelup zum5"
alias zum5 "fov 65;sensitivity 5.5;bind mwheeldown zum4;bind mwheelup zum6"
alias zum6 "fov 60;sensitivity 5.2;bind mwheeldown zum5;bind mwheelup zum7"
alias zum7 "fov 55;sensitivity 4.9;bind mwheeldown zum6;bind mwheelup zum8"
alias zum8 "fov 50;sensitivity 4.6;bind mwheeldown zum7;bind mwheelup zum9"
alias zum9 "fov 45;sensitivity 4.3;bind mwheeldown zum8;bind mwheelup zum10"
alias zum10 "fov 40;sensitivity 4.0;bind mwheeldown zum9;bind mwheelup zum11"
alias zum11 "fov 35;sensitivity 3.7;bind mwheeldown zum10;bind mwheelup zum12"
alias zum12 "fov 30;sensitivity 3.4;bind mwheeldown zum11;bind mwheelup zum13"
alias zum13 "fov 25;sensitivity 3.1;bind mwheeldown zum12;bind mwheelup zum14"
alias zum14 "fov 20;sensitivity 2.8;bind mwheeldown zum13;bind mwheelup zum15"
alias zum15 "fov 15;sensitivity 2.5;bind mwheeldown zum14;bind mwheelup zum16"
alias zum16 "fov 10;sensitivity 2.2;bind mwheeldown zum15;bind mwheelup zum17"
alias zum17 "fov 5;sensitivity 1.9;bind mwheeldown zum16;unbind mwheelup"
Optimized...
bind "mouse3" "sniperon"
alias sniperon "crosshair 4;bind mwheelup zin;bind mwheeldown zout;bind mouse3 sniperoff;set normal_fov $fov;set normal_sens $sensitivity"
alias sniperoff "fov $normal_fov;sensitivity $normal_sens;crosshair 5;bind mouse3 sniperon;unbind mwheelup;unbind mwheeldown"
alias zin "cvar_inc fov -5;cvar_inc sensitivity -0.1"
alias zout "cvar_inc fov 5;cvar_inc sensitivity 0.1"
I haven't actually tested it so I can't guarantee that it works (especially the sensitivity part), use at your own risk.
-
Hold up. How would that know when to stop changing the fov? There is no 'if' statement (not that thats even possible) so you would zoom all the way out to 160 (I think thats the max) but the numbers will keep going up (ie. it will say '180' but won't be). I'm pretty sure that will also happen with the zooming in too.
-
cvar_inc can also have a min and a max. It's something like:
cvar_inc <variable> <increment> <min> <max>
-
cvar_inc <variable> <increment> <min> <max>
That could be so useful. I learn something new every day!
-
Hold up. How would that know when to stop changing the fov? There is no 'if' statement (not that thats even possible) so you would zoom all the way out to 160 (I think thats the max) but the numbers will keep going up (ie. it will say '180' but won't be). I'm pretty sure that will also happen with the zooming in too.
You can set min-max values with cvar_inc but I don't like how it "overflows" it back to the other extreme. Ex: cvar_inc fov 5 10(min) 180(max) done 7 times starting at 160: 165, 170, 175, 180, 10, 15, 20....
-
[quote author=SmackWaters link=topic=5587.msg64850#msg64850 date=1175285156]
I don't know if anyone has done this before, but if they haven't, then that must mean i'm really cool.
This has been done before...you can make whatever conclusions you want. :)
Good idea, scripting, and sensitivity attention. I'm disappointed you weren't bored enough to have a different crosshair for each setting though.
I just have "q" bound to fov 30 or something. It works well for binoculars, or when I'm trying to site in my gun for long shots.
-
Does it really work? I mean fov isn't a cvar...
-
Magalhaes is right this game is way to quick to have a script that long. However I just have a key bound to set it to fov 20 and then another to set it back to normal. And i just use sensitivity 4 for both of them.
I know kNoC has keys double bound so that the fov and sensitivity both change at the same time.
-
I know kNoC has keys double bound so that the fov and sensitivity both change at the same time.
old quake2 commands still work today....
-
old quake2 commands still work today....
Not all of them work in DP2.
-
Not all of them work in DP2.
agreed
-
kNoC wasn't gl_dynamic on of the ones that didn't work?
-
either it didnt work through console, or its just one of them commands you have to put in the config.
i.e "gl_modulate"
-
That's right it is gl_modulate not gl_dynamic.
-
The two of you sit right next to each other why ask on the forums...... Turn your dam head to the right and ask him!