Page 1 of 1
Camera zoom
Posted: Tue Feb 20, 2018 10:51 pm
by XOPT13
Hi! Tell me please, how can I edit a camera zoom in FOG2 (what file, what code)?
I want to have maximum zoom. Thanks.
Re: Camera zoom
Posted: Wed Feb 21, 2018 1:51 am
by jomni
Look for MAPVIEW.txt. Play with the variables.
Those commented out with \\ are sample settings with closer zoom.
Re: Camera zoom
Posted: Thu Feb 22, 2018 9:24 pm
by Patrick Ward
Best bet is to check the modding forum but this might be of some help
Editing Data/Mapview.txt to change camera zoom and rotational limits.
PITCH - starting pitch? 90 is looking straight down.
PITCHLIMIT - a number of degrees you can rotate either side of the original starting pitch. Higher the number the great ther range you can move.
ZOOM - starting zoom level
ZOOMLIMIT - the value either side of the starting that you can zoom. works ame as pitch limit. (Confused .. seems redundant)
ZOOMINLIMIT - kind of speaks for itself. Smaller the number the closer you can zoom in . Speaking from the point of view of the artist .. if you can see pixels you're too close.
ROTATE - I think this is the starting heading of the camera (though it seems to be the opposite of what I'd expect)
FOV - Higher values give you a fish eye effect and can make you sick. Especially after strong coffee. 30-50 is ok Lower values can maybe, possibly, sometimes .. improve performance . . at least thats how it seems on my machine.
Your Mapview.txt might look something like this.
(Anything after // is ignored and we often use them to store values for later use so the values here might be of some use.)
PITCH 45
PITCHLIMIT 15 // 25
ZOOM 400
ZOOMLIMIT 1200 // 500
ZOOMINLIMIT 200 // 50
ROTATE 30
FOV 30
Re: Camera zoom
Posted: Mon Feb 26, 2018 6:14 am
by XOPT13
Thank you very much!