If you just wanna give weapons the ability to zoom in open up the weapons.xtbl and add
<Flag>zoom allows fine aim</Flag>
<Flag>can zoom</Flag>
to the flags of the weapon you want to zoom
you can then also add <Zoom_Type>non-progressive</Zoom_Type> and <Zoom_Steps>4</Zoom_Steps> under <Camera_Info> for the weapon. That way you have 4 different zoom steps until you reach max zoom. The number can be changed to however many zoom steps you want.
Yes, the overlay is always used for zoom afaik, all you need is that flag.
I also added the "zoom allows fine aim" to the sniper rifle in my personal file, which let's me fineaim with it without instantly going into scoped mode.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.