Page 1 of 1

Instant zoom out

Posted: 2018-01-22 20:27
by mft004
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

Re: Instant zoom out

Posted: 2018-01-22 20:32
by Rabbit
iirc

Code: Select all

rem ---BeginComp :D efaultZoomComp ---
ObjectTemplate.createComponent DefaultZoomComp
ObjectTemplate.zoom.zoomDelay 0.4
tweak file for the gun

Re: Instant zoom out

Posted: 2018-01-24 19:38
by mft004
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.

Re: Instant zoom out

Posted: 2018-01-24 21:25
by Fastjack
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.

Re: Instant zoom out

Posted: 2018-01-27 10:13
by mft004
Yes Fastjack I've tried your method and it does work in order to keep zoomed in.