dynamically changing iron sight zoom

  • Please make sure you are familiar with the forum rules. You can find them here: https://forums.tripwireinteractive.com/index.php?threads/forum-rules.2334636/
  • Weve updated the Tripwire Privacy Notice under our Policies to be clearer about our use of customer information to come in line with the EU General Data Protection Regulation (GDPR) rules that come into force today (25th May 2018). The following are highlights of our changes:


    We've incorporated the relevant concepts from the GDPR including joining the EU and Swiss Privacy Shield framework. We've added explanations for why and how Tripwire processes customer data and the types of data that we process, as well as information about your data protection rights.



    For more information about our privacy practices, please review the new Privacy Policy found here: https://tripwireinteractive.com/#/privacy-notice

Adenru

Member
Oct 21, 2011
247
2
18
I already turned off zoom for smgs but with rifles it's more complex than that, I want to have zoom on large distances and no zoom in buildings so I decided to make manual switch for rifle zoom
Code:
Bindings=(Name="NumPadTwo",Command="IronSightZoomScaleRifle=0.000000")
Bindings=(Name="NumPadFive",Command="IronSightZoomScaleRifle=1.000000")
Well, i'm doing something wrong for sure. How do I make it work?
 

Proud_God

FNG / Fresh Meat
Dec 22, 2005
3,235
548
0
Belgium
Bindings=(Name="---",Command="set ROPlayerController IronSightZoomScaleRifle 0 | set ROPlayerController IronSightZoomScaleSMG 0 | set ROPlayerController IronSightZoomScaleBipod 0",Control=False,Shift=False,Alt=False,bIgnoreCtrl=False,bIgnoreShift=False,bIgnoreAlt=False)
Bindings=(Name="---",Command="set ROPlayerController IronSightZoomScaleRifle 1 | set ROPlayerController IronSightZoomScaleSMG 1 | set ROPlayerController IronSightZoomScaleBipod 1",Control=False,Shift=False,Alt=False,bIgnoreCtrl=False,bIgnoreShift=False,bIgnoreAlt=False)