Home   Help Search Login Register  

Author Topic: Scope Zoom  (Read 1846 times)

0 Members and 1 Guest are viewing this topic.

Jaenak

  • Guest
Scope Zoom
« 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.)

Kaliyuga

  • Guest
Re:Scope Zoom
« Reply #1 on: 27 Feb 2004, 01:16:46 »
 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


Jaenak

  • Guest
Re:Scope Zoom
« Reply #2 on: 27 Feb 2004, 05:32:56 »
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:
Code: [Select]
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?

Jaenak

  • Guest
Re:Scope Zoom
« Reply #3 on: 28 Feb 2004, 08:13:52 »
**nudge nudge**

Anybody know?


Jaenak

  • Guest
Re:Scope Zoom
« Reply #5 on: 02 Mar 2004, 14:51:44 »
I saw that thread.  It didn't help me any simply because I don't understand the equation.  (I'm not a math person.)

Offline SelectThis

  • Former Staff
  • ****
  • .
Re:Scope Zoom
« Reply #6 on: 04 Mar 2004, 12:30:43 »
"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
 

Maximus-Sniper

  • Guest
Re:Scope Zoom
« Reply #7 on: 10 Jun 2005, 01:24:14 »
"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 :)