how bind coaxial-mg to an other key

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • excentriker.de

    #1

    how bind coaxial-mg to an other key

    Hi ,
    does someone know how to bind the coaxial MG of the tanks to an other key then the PIAltFire? I tried to make an zoomfunction for the tanks, it works , but I can't bind the zoomFunction to an special key or the MG to an other key.

    mfg
  • Paladin-X

    #2
    Re: how bind coaxial-mg to an other key

    To bind zoom to another key:

    ObjectTemplate.zoom.zoomInput PInewkey

    From what I've tested, only PIFire, PIAltFire, and PIFlareFire will work for zoom. Coax seems only want to use the same weapons.

    As another note for adding zoom, you must add the zoom function to all weapons that position uses. (IE Tanks - add zoom to Main Gun, Coax, and Smoke Launcher)

    Comment

    • Djuice

      #3
      Re: how bind coaxial-mg to an other key

      oh sif help him :P

      Comment

      • excentriker.de

        #4
        Re: how bind coaxial-mg to an other key

        sorry , i dont get it, when i bind to an other key it doesnt work .
        i removed the zoom component for the Smokelauncher and it still works

        oh sif help him :P
        ???

        Comment

        • Djuice

          #5
          Re: how bind coaxial-mg to an other key

          eg:
          ObjectTemplate.zoom.zoomInput PIFlareFire
          ObjectTemplate.zoom.zoomDelay 0.7
          ObjectTemplate.zoom.addZoomFactor 0
          ObjectTemplate.zoom.addZoomFactor 0.3
          ObjectTemplate.zoom.addZoomFactor 0.1
          Change smoke flare to like:
          ObjectTemplate.fire.fireInput PIALTFire

          Comment

          • excentriker.de

            #6
            Re: how bind coaxial-mg to an other key

            ok ,thats waht i done , but whats about the Coax

            Comment

            • Djuice

              #7
              Re: how bind coaxial-mg to an other key

              oh sorry about that :P

              ItemIndex 3 instead of 2 :P for the Coax, also add ItemIndex 4 into the smokelaunchers for the respective vehicle :P

              Comment

              • excentriker.de

                #8
                Re: how bind coaxial-mg to an other key

                i think so it works best:
                - the Barrel-base to itemIndex 1
                - the coaxial gun to itemIndex 2, fireInput to PIFire
                - the itemIndex for the Smokelauncher at -1

                so i only have to make some custom HUD-Icons :)

                thx again

                Comment

                • Djuice

                  #9
                  Re: how bind coaxial-mg to an other key

                  hehe no problem

                  Comment

                  Working...