Sniper rifles should have higher zoom level!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • FFOLKES

    #31
    Re: Sniper rifles should have higher zoom level!

    Make a new mod using your BF2 mod directory. Then do this to try out multiple sniper zooms bound to your mouse wheel.

    edit the usrif_m24.tweak found in the objects_server.zip file

    You can have multiple zooms by adding as many lines as you like. You access the zooms by continuing to right click or with your mousewheel as stated below...

    For example, I like the zoom function in Far Cry so I put in the following.

    ObjectTemplate.zoom.addZoomFactor 0
    ObjectTemplate.zoom.addZoomFactor 0.5
    ObjectTemplate.zoom.addZoomFactor 0.2
    ObjectTemplate.zoom.addZoomFactor 0.09
    ObjectTemplate.zoom.addZoomFactor 0.06
    ObjectTemplate.zoom.addZoomFactor 0.03

    However, if you just want 3 zooms then only add three lines below ObjectTemplate.zoom.addZoomFactor 0

    To bind the alt-fire zoom for your mousewheel just follow these instructions:

    Under Infantry look for this line in your controls.con file found in your profile.

    ControlMap.addButtonToTriggerMapping c_PIAltFire IDFMouse IDButton_1 0 0

    Change it to this

    ControlMap.addAxisToTriggerMapping c_PIAltFire -1 IDFMouse IDAxis_2 0
    OR
    ControlMap.addAxisToTriggerMapping -1 c_PIAltFire IDFMouse IDAxis_2 0

    You'll have to experiment, it all depends on how your mouse is setup in game. One of those is Wheel Up and the other is Wheel Down. I don't know which is which.

    Next scroll down to the bottom where you'll find

    ControlMap.addAxisToTriggerMapping c_PINextItem -1 IDFMouse IDAxis_2 0
    ControlMap.addAxisToTriggerMapping -1 c_PIPrevItem IDFMouse IDAxis_2 0

    You can delete these. They make the mousewheel select through your inventory

    -------------------------------
    You can even add all three sniper rifles to a sniper kit. For example, I edited the US_Sniper.con and each sniper rifle tweak index so I can play with all three rifles in Single Player/CO-OP.

    US_Sniper.con

    ObjectTemplate.addTemplate USPIS_92FS_silencer
    ObjectTemplate.addTemplate USHGR_M67
    ObjectTemplate.addTemplate USMIN_Claymore
    ObjectTemplate.addTemplate kni_knife
    ObjectTemplate.addTemplate ussni_m95_barret
    ObjectTemplate.addTemplate gbrif_l96a1
    ObjectTemplate.addTemplate UnlockUSSniper
    ObjectTemplate.addTemplate UnlockUSSniper2
    ObjectTemplate.addTemplate ParachuteLauncher
    ObjectTemplate.addTemplate USRIF_M24

    In game here are my options now:
    1 Knife
    2 Pistol
    3 M24 Sniper Rifle
    4 Grenade
    5 Claymore
    6 M95 Sniper Rifle
    7 L96A1 Sniper Rifle
    8 Unassigned
    9 Parachute

    By default the M95 and L96A1 tweak files have an ObjectTemplate.itemIndex 3. You have to change the index to the open index file. So the M95 now is changed to ObjectTemplate.itemIndex 6 whereas the L96A1 is changed to ObjectTemplate.itemIndex 7

    You can do this with all the kits/weapon tweak files. However, you are maxed out with a total of 9 indexes.

    Comment

    Working...