Zoom IN,OUT Sniper

Page 1 of 2 12 LastLast
Results 1 to 15 of 18
  1. #1
    Enthusiast trigunmaster is offline
    MemberRank
    Feb 2006 Join Date
    thailandLocation
    46Posts

    Zoom IN,OUT Sniper

    open file ZMyCharacter.cpp

    find void ZMyCharacter::OnGadget_Snifer()

    Old
    Code:
    		if (zStatus.m_bSniferMode)
    		{
    			ci->OnGadget(MWT_SNIFER);
    		}
    		else
    		{
    			ci->OnGadgetOff();
    		}
    New
    Code:
    		if (zStatus.m_bSniferMode)
    		{
    			ci->OnGadget(MWT_SNIFER);
    			ZGetGameInterface()->GetCamera()->m_fDist = 0.0f;
    		}
    		else
    		{
    			ci->OnGadgetOff();
    			ZGetGameInterface()->GetCamera()->m_fDist = 290.0f;
    		}
    if u see add 2 line
    ZGetGameInterface()->GetCamera()->m_fDist = 0.0f;
    [[u can fix zoom many more 0.0f to -10.0f , -20.0f( recomment no more -20.0f) , -100.0f up to u want]]
    [[If you put too much value. Camera you can see through walls]]

    and
    ZGetGameInterface()->GetCamera()->m_fDist = 290.0f;

    sure camera fix normal = 290.0f


    And
    find void ZMyCharacter::OnChangeWeapon

    Under
    Code:
    	m_statusFlags.Ref().m_bSniferMode = false;
    
    	ZCombatInterface* ci=ZGetCombatInterface();
    	if (ci)
    	{
    		ci->OnGadgetOff();
    	}
    Add
    Code:
    if (ZGetGameInterface()->GetCamera()->m_fDist != 290.0f)
    	{
    		ZGetGameInterface()->GetCamera()->m_fDist = 290.0f;
    	}
    for reset camera when on zoom mode to other change weapon


    value test in video -1200.0f



    comment feedback plz. I know that you can actually do.
    If the problem is fixed.


  2. #2
    Mocro.net Mocro is offline
    MemberRank
    Feb 2008 Join Date
    Amsterdam.Location
    891Posts

    Re: Zoom IN,OUT Sniper

    does this fix the anoying right click glitch to?

  3. #3
    Good Guy George qet123 is offline
    MemberRank
    Apr 2009 Join Date
    DesertLocation
    1,432Posts

    Re: Zoom IN,OUT Sniper

    Enable the scop too(snifer.png)

  4. #4
    num num num <3 rootbeer daniel131605 is offline
    MemberRank
    Jul 2008 Join Date
    New YorkLocation
    573Posts

    Re: Zoom IN,OUT Sniper

    the click glitch usually goes away with this but even in servers like fgunz have it still... and it still doesn't fix the fact that where you right click depends on where the bullet comes from... so if you right click where you were you have to stay there and cant move with it zoomed in. You need to unzoom walk around zoom before you get shot aim and unzoom and run away lol you cant just keep it zoomed in and move or your bullets won't hit correctly 95% of the time

  5. #5
    Enthusiast trigunmaster is offline
    MemberRank
    Feb 2006 Join Date
    thailandLocation
    46Posts

    Re: Zoom IN,OUT Sniper

    Sorry that I have any free time. I will try to find a solution that's not a zoom on the right.

    i can make one click for zoom but Exit Zoom mode by changing only weapon.

    Which I do not get. It is not complete.

  6. #6
    Account Upgraded | Title Enabled! Mitcho is offline
    MemberRank
    Dec 2011 Join Date
    AdminCPLocation
    339Posts

    Re: Zoom IN,OUT Sniper

    At least this isn't full zoom like with scope.

  7. #7
    Proficient Member iDelta123 is offline
    MemberRank
    Apr 2012 Join Date
    The NetherlandsLocation
    154Posts

    Re: Zoom IN,OUT Sniper

    Quote Originally Posted by Shadow717 View Post
    At least this isn't full zoom like with scope.
    Bitch please, it's just a image.
    This is a good release and i have to say; Good job.

  8. #8
    Account Upgraded | Title Enabled! Mitcho is offline
    MemberRank
    Dec 2011 Join Date
    AdminCPLocation
    339Posts

    Re: Zoom IN,OUT Sniper

    Quote Originally Posted by iDelta123 View Post
    Bitch please, it's just a image.
    This is a good release and i have to say; Good job.
    With a image you only can see one way and that's only forward.

  9. #9
    Proficient Member iDelta123 is offline
    MemberRank
    Apr 2012 Join Date
    The NetherlandsLocation
    154Posts

    Re: Zoom IN,OUT Sniper

    Quote Originally Posted by Shadow717 View Post
    With a image you only can see one way and that's only forward.
    Then take a look at the function of the crosshair..

  10. #10
    Selfish Bastard Z1ls is offline
    MemberRank
    Aug 2009 Join Date
    WinlandLocation
    2,049Posts

    Re: Zoom IN,OUT Sniper

    Quote Originally Posted by Shadow717 View Post
    With a image you only can see one way and that's only forward.
    Depends, if you leave the scope part off and make just "different crosshair"

    Good release, this really helps the new developers in gunz.

  11. #11
    Account Upgraded | Title Enabled! CobraBite is offline
    MemberRank
    Jan 2011 Join Date
    Where?Location
    281Posts

    Re: Zoom IN,OUT Sniper

    Weird, it seemed like he moved when he aimed at his back.

    Overall... Good job

  12. #12
    Good Guy George qet123 is offline
    MemberRank
    Apr 2009 Join Date
    DesertLocation
    1,432Posts

    Re: Zoom IN,OUT Sniper

    Hmm, i know all done it, but i done the sniper scop and with live zoom (mouse wheel to zoom in/out). If you are in sniper mode, you can't change to any weapons till you exit from it (right click again to normal screen). It's pretty good and if there is a wall you won't see over it, but the latest bug, is the right click, kinda bug...

    Last edited by qet123; 15-06-12 at 04:40 PM.

  13. #13
    Account Upgraded | Title Enabled! Mitcho is offline
    MemberRank
    Dec 2011 Join Date
    AdminCPLocation
    339Posts

    Re: Zoom IN,OUT Sniper

    Nothing special really.

  14. #14
    num num num <3 rootbeer daniel131605 is offline
    MemberRank
    Jul 2008 Join Date
    New YorkLocation
    573Posts

    Re: Zoom IN,OUT Sniper

    its pretty cool and nice to have but like i said above and qet123 showed in the video that glitch hasn't been fixed or perfected and what not so its still tough to use

  15. #15
    Die() Secured is offline
    MemberRank
    Sep 2011 Join Date
    /home/SDev/Location
    555Posts

    Re: Zoom IN,OUT Sniper

    Quote Originally Posted by qet123 View Post
    Hmm, i know all done it, but i done the sniper scop and with live zoom (mouse wheel to zoom in/out). If you are in sniper mode, you can't change to any weapons till you exit from it (right click again to normal screen). It's pretty good and if there is a wall you won't see over it, but the latest bug, is the right click, kinda bug...
    Another thing is the zoom should be reset once un scoping



Page 1 of 2 12 LastLast

Advertisement