zoom scope flicker
by Vet · 2007-12-24 · 3 replies · 768 views · 30 downloads
From the first post
The thread
All 4 posts from 2 people on zoom scope flicker, kept as they were written.
Threads: 24
Joined: Oct 2006
I've written a plugin to make DOD scopes with zoom magnification (yes, I'm well aware that zooms wern't around in WW11). It all works fine except that whenever the zoom changes, there's a flicker when the zoom is changed. I assume its from the built-in fade routine. Is there a way to prevent this?
Threads: 57
Joined: Oct 2005
That's an interesting idea...trying to figure out exactly what's happening. Are you hooking when it zooms out and instead zooming in further, then allowing the 2nd zoom out to actually zoom out? (Like a CS awp or scout)nnTo stop the flicker, hook the message "Scope" and change the value of its only param. For example, it usually sends like arg 6 or something..change it to arg 1 and it won't flicker (can't remember the numbers but you'll have to test them)
Threads: 24
Joined: Oct 2006
Ya, I'm hooking the SetFOV message and then setting my own value. It will allow the scope to be a variable zoom on the first (only) click. I wrote a version for CS also and that one doesn't have the flicker problem. So I figured it must be in that fade-in routine. I'll check out the 'Scope' message. May be just what I need. Thanks!
Threads: 24
Joined: Oct 2006
The Scope message only seemed to trigger upon returning to scoped after reloading the weapon. I'm guessing its something client-side that can't be controlled with my plugin. Bummer.

