OFPEC Forum
Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: Jaenak on 27 Feb 2004, 01:04:33
-
I've downloaded several rifle addons. The config files say the round can travel for quite a long distance but I can't seem to figure out how to make the zoom work. I've tinkered around until I've been able to zoom out to one foot and have been able to zoom in maybe three times as far as the M21 but I keep running into a type of zoom barrier. I can zoom in to one point and no further. Could anyone tell me how to work the zoom function for rifle scopes? I know that in real life there's no way you can target someone at 2000+ yards out but hey, I'd like to try anyway. Dang scope keeps limiting me to 1000 yards and less. I shot a civilian in a test shot at 1300 yards but it took a really long time to aim properly. (That and he was standing up, still and facing me.)
-
well here are the stats for the M21 from the official configs
opticsZoomMin=0.04;
opticsZoomMax=0.12;
distanceZoomMin=400;
distanceZoomMax=80;
so .. playing around with those numbers would make your scope more powerful
but if there is an upper limit to it that you've found I'd say its a limitation of the engine or something
-
Okay I've tinkered with those settings and have found that the lower the number for "opticsZoomMin", the more you can zoom in. And the higher the number for the "opticsZoomMax", the more you can zoom out. I was able to zoom out far enough so it looked like my scope had no zoom feature whatsoever, and I zoomed in far enough that I was able to kill a civilian in a test shot at 3000.03 meters away. The max settings for these commands are:
opticsZoomMin=.000001;
opticsZoomMax=1;
That will give your scope smooth zooming capabilities from no zoom to max zoom. Minimum and maximum zoom as well as the values listed are the most extreme values allowed by the OFP engine.
My next question is, what's "distanceZoomMin" and "distanceZoomMax" for? What do they do? I couldn't find any use nor any purpose for them. As far as I can tell, they don't effect anything whatsoever. Anybody know?
-
**nudge nudge**
Anybody know?
-
Try here.
http://www.flashpoint1985.com/cgi-bin/ikonboard311/ikonboard.cgi?s=a47c288f17c55b311767d1af3da0820a;act=ST;f=51;t=35577;hl=optics
SelectThis
-
I saw that thread. It didn't help me any simply because I don't understand the equation. (I'm not a math person.)
-
"scopevalue=0.7*magnification value^-1"
Scopevalue is the value that you plug into the cpp
magnification level is the zoom level required
^-1 means raised to the power of -1
Here's a precalculated table for you:
Scopevalue zoom
0.35000 2.00
0.23333 3.00
0.17500 4.00
0.14000 5.00
0.11667 6.00
0.10000 7.00
0.08750 8.00
0.07778 9.00
0.07000 10.00
0.06364 11.00
0.05833 12.00
eg if you want a x10 zoom you use a figure of 0.07 in the cpp
Use the distancemin max figures to zero the weapon to the scope- use trial and error.
SelectThis
-
"scopevalue=0.7*magnification value^-1"
Scopevalue is the value that you plug into the cpp
magnification level is the zoom level required
^-1 means raised to the power of -1
Here's a precalculated table for you:
Scopevalue zoom
0.35000   2.00
0.23333   3.00
0.17500   4.00
0.14000   5.00
0.11667   6.00
0.10000   7.00
0.08750   8.00
0.07778   9.00
0.07000   10.00
0.06364   11.00
0.05833   12.00
eg if you want a x10 zoom you use a figure of 0.07 in the cpp
Use the distancemin max figures to zero the weapon to the scope- use trial and error.
SelectThis
Hi :)
It's scopevalue=0.7 a default value for all scope??
Thanks :)