Hi guys,
What is the variable that determines how fast you can zoom out of ironsights/scopes after firing? I'm making changes to some bolt-action rifles but when I'm in game I notice that, after firing a shot, my right-click to instantly zoom out of scope/sight does not register for a good 2 seconds. Is there a particular variable in the weapon's file that would fix that?
Thanks in advance for any comments on this,
Mark
Instant zoom out
-
Rabbit
- Posts: 7818
- Joined: 2006-12-17 15:14
Re: Instant zoom out
iirc
tweak file for the gun
Code: Select all
rem ---BeginComp :D efaultZoomComp ---
ObjectTemplate.createComponent DefaultZoomComp
ObjectTemplate.zoom.zoomDelay 0.4
AfSoccer "I just don't see the natural talent."

-
mft004
- Posts: 33
- Joined: 2017-12-14 17:37
Re: Instant zoom out
Thanks Rabbit, changing that zoomDelay factor does make a difference for the weapons I have where zoomOutAfterFire is set to 1; for the ones where that's set to 0, there's still a freeze time after firing before I can right-click to manually zoom out, but I'm thinking maybe that's something hard-coded, perhaps to prevent clashes with the bolt-action reload animation.
-
Fastjack
- PR:BF2 Contributor
- Posts: 525
- Joined: 2011-09-04 19:47
Re: Instant zoom out
Press fire Button and hold it. Aslong you keep holding it down you will not zoomout till you release the fire button sofar i know.
-
mft004
- Posts: 33
- Joined: 2017-12-14 17:37
Re: Instant zoom out
Yes Fastjack I've tried your method and it does work in order to keep zoomed in.
