View Full Version : Zoom distance
15th Oct 2001, 12:51 PM
I'm working on a map that has required me to alter the SniperRifle's code to extend the range of the weapon (which I have successfully done, btw :) ), now i want to extend the distance that the rifle can zoom in (or magnify, if you wish).
I've found the "state Zooming" in the rifle's script, but have no idea where to go from here.
Any help/guidance would be greatly appreciated.
16th Oct 2001, 06:33 AM
Bad news, the code controlling the nice smooth zooming in effect is part of the PlayerPawn class.
16th Oct 2001, 10:20 AM
well, it's no big deal. i've accomplished the largest part of what i wanted to do, so i guess i'll have to live with it (for now :) ).
16th Oct 2001, 01:45 PM
function AltFire( float Value )
PlayerPawn(Owner).DesiredFOV = 90;
PlayerPawn(Owner).DesiredFOV = 15;
PlayerPawn(Owner).DesiredFOV = 45;
16th Oct 2001, 08:49 PM
that's pretty cool, but i've decided to do something more along the lines of the EnhancedSniperRifle mod. it's working pretty nice, but i'm still working out the bugs.
vBulletin® v3.8.7, Copyright ©2000-2014, vBulletin Solutions, Inc.