help a noob plz

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • imported_shadow2k1
    Member
    • Jun 2005
    • 192

    #1

    help a noob plz

    ok scratch that first question and if someoen can answer this.

    what line gets edited for zooom factors on the weapons?
  • TrevorP

    #2
    Well from what I've Just noticed from the demo files its located in the objects_server.zip.

    Then weapons/handheld/%WEAPON NAME%/%WEAPON NAME%.tweak and in that file there should be lines about zoom i dont exactly know what they are though.

    Comment

    • CXZAR

      #3
      go to any of the handheld .tweak files and then

      ObjectTemplate.createComponent DefaultZoomComp
      ObjectTemplate.zoom.zoomDelay 0.125
      ObjectTemplate.zoom.zoomLod 1
      ObjectTemplate.zoom.addZoomFactor 0
      ObjectTemplate.zoom.addZoomFactor 0.45
      ObjectTemplate.zoom.addZoomFactor 0.15
      ObjectTemplate.zoom.changeFovDelay 0.08
      ObjectTemplate.zoom.zoomOutAfterFire 0
      ObjectTemplate.zoom.disableMuzzleWhenZoomed 1

      Comment

      • TrevorP

        #4
        There ya go...Im still trying to learn this new code with the game...

        Comment

        • imported_shadow2k1
          Member
          • Jun 2005
          • 192

          #5
          thanks for the replies fellas, any chance you can explain what each of those templates mean?

          Comment

          • TrevorP

            #6
            I dont think i can but try experimenting...

            Comment

            • excentriker.de

              #7
              the BF2 standrd zoomfactor is 1.1 not 1.0

              ObjectTemplate.zoom.addZoomFactor 0 means this weapons standardzoom, its the defaultzoomfactor 1.1

              the zoomfactor of an weapon is calculated like this: BF2_standardzoom / real_zoomfaktor

              for a 10xZoom (M24 Sniperrifle): 1.1 / 10 = 0.11
              for a 4xZoom (like drgagunov): 1.1 / 4 = 0.275

              this means you have a weapon with 3 zoomstates:

              ObjectTemplate.zoom.addZoomFactor 0
              ObjectTemplate.zoom.addZoomFactor 0.275
              ObjectTemplate.zoom.addZoomFactor 0.11

              Comment

              Working...