Weapon Changes

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

    #1

    Weapon Changes

    I'm new to coding, so bare with me....
    I have learnt how to adjust kits and the weapons themselves.

    At the moment, I have tweaked the Sniper Kit:
    1: Knife
    2: Pistol
    3: M82A1
    4: M67
    5: Claymores

    The kit is fully working after trial and error, and I am able to use the M82 in game. Only problem is that the Sniper Scope on the M82 is a bit small and crap.
    Is there any way I can import the M95 Scope Sights with the M82 to resolve this problem???

    Also, how do I add a 3 staged zoom on this weapon? ie 2x, 4x and 8x magnification.

    rem ---BeginCompefaultZoomComp ---
    ObjectTemplate.createComponent DefaultZoomComp
    ObjectTemplate.zoom.zoomDelay 0.1
    ObjectTemplate.zoom.zoomLod 1
    ObjectTemplate.zoom.addZoomFactor 0
    ObjectTemplate.zoom.addZoomFactor 0.3
    ObjectTemplate.zoom.addZoomFactor 0.025
    ObjectTemplate.zoom.changeFovDelay 0.1
    ObjectTemplate.zoom.zoomOutAfterFire 0
    rem ---EndComp ---
    Is what I have done correct? As only a standard zoom and a powerful zoom is accessible ingame.

    Thanks for your help.

    D_Lusted
  • Frosty289

    #2
    Re: Weapon Changes

    I did it in BF:E a long time ago, I havn't worked on it since but it's slightly bugged, unless you were to remove the 'unscope after each shot' function then it would just go to the next zoom level after you fire, that is if you arn't on the 3rd. But here it is

    Code:
    rem ---BeginComp:DefaultZoomComp ---
    ObjectTemplate.createComponent DefaultZoomComp
    ObjectTemplate.zoom.zoomDelay 0.115
    ObjectTemplate.zoom.zoomLod 1
    ObjectTemplate.zoom.addZoomFactor 0
    ObjectTemplate.zoom.addZoomFactor 0.53
    ObjectTemplate.zoom.addZoomFactor 0.275
    ObjectTemplate.zoom.addZoomFactor 0.11
    ObjectTemplate.zoom.changeFovDelay 0.08
    ObjectTemplate.zoom.zoomOutAfterFire 1
    ObjectTemplate.zoom.disableMuzzleWhenZoomed 0
    rem ---EndComp ---

    Comment

    • D_Lusted

      #3
      Re: Weapon Changes

      Thanks Frosty, I'll give it a shot.

      Anyone know how to change the scope pictures now?

      Comment

      • imported_CheetahShrk

        #4
        Re: Weapon Changes

        Originally posted by D_Lusted
        Thanks Frosty, I'll give it a shot.

        Anyone know how to change the scope pictures now?
        Not possible, the scope picture is actually a 3d object that is part of the weapons model.

        Comment

        Working...