zxxxrhs 10 Posted December 7, 2013 Is it possible to regulate it? Share this post Link to post Share on other sites
-rageQuit- 10 Posted December 8, 2013 Yes. It's in the config under InitFoV, MinFoV and MaxFoV where FoV means Field of View - the smaller the number, the more zoomed-in it is. Share this post Link to post Share on other sites
zxxxrhs 10 Posted December 9, 2013 Where should I place it? I tried directly in the class and it didn't change anything. The same with pasting in a modified ViewGunnerBase and ViewOpticsBase classes. Share this post Link to post Share on other sites
-rageQuit- 10 Posted December 9, 2013 Which vehicle is this related to? And what, specifically, do you mean by regulate? Share this post Link to post Share on other sites
zxxxrhs 10 Posted December 12, 2013 A tank. I'm trying to disable zooming in and out. Share this post Link to post Share on other sites
-rageQuit- 10 Posted December 14, 2013 The game engine doesn't make use of the ...Base definitions, but rather the ViewOptics, ViewPilot, etc that are derived from them. Hence if you add class ViewPilot:ViewPilotBase {}; class ViewGunner:ViewGunnerBase{}; etc. after where you've changed the ...Base, that ought to work. For instance, I've just tried the following added to the main config after M60 tank class Test_M60:M60 { displayName="No-Zoom M60"; class ViewOptics:ViewOpticsBase // from Tank class { initFov=0.3; // minFov=0.07; // maxFov=0.35; minFov=0.3; maxFov=0.3; }; }; That prevents zooming in or out ONLY when viewing through a position's optics. It seemingly applies to all positions: driver, gunner and commander. You can still zoom in/out when in normal first-person view (when you can also turn your head with the numpad). Share this post Link to post Share on other sites
zxxxrhs 10 Posted December 16, 2013 I had to copy the whole ViewOpticsBase class and rename it to ViewOptics because it claimed that the ViewOpticsBase class isn't defined or something. Now it works. Thanks a lot! Share this post Link to post Share on other sites