Announcement

Collapse
No announcement yet.

Aiming-like zoom

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

  • Aiming-like zoom

    I'm pretty new to Quake coding, and I wanted to know if it's possible to make a command line to put in autoexec.cfg to do the following:

    I want MOUSE2 to take the view to FOV 30 (or whatever is a good zoom) when pressed, and take it back to FOV 75 when not holding it anymore. If possible, holding it down should also slow down the mouse movement.

    Thanks to everybody reading this message, and may the great Quake live forever!

  • #2
    There's already one - press F11.
    IT LIVES! http://directq.blogspot.com/

    Comment


    • #3
      Not working.

      Originally posted by MH View Post
      There's already one - press F11.
      Also, what do you mean? Press it alone, before or after MOUSE2?

      Comment


      • #4
        i'm fairly certain he just made a thread to force us to look at his avatar. i'm appalled. but i pray that the person in the avatar is the person typing to us here at quakeone.com
        "When I was your age, we used to rocket jump all the way to school, up hill both ways - IN BOILING LAVA!"

        Comment


        • #5
          Why would I do such a thing?

          Originally posted by rev View Post
          i'm fairly certain he just made a thread to force us to look at his avatar. i'm appalled. but i pray that the person in the avatar is the person typing to us here at quakeone.com
          Actually I could seriously use some help.
          Also, my avatar has to remain the same in the name of Internet's freedom of speech.
          Either this, Goatse or Lemon Party.

          Comment


          • #6
            yeah , in autoexec.cfg add this

            alias +zoomingbynahueltheqccoder "fov 30"
            alias -zoomingbynahueltheqccoder "fov 90"
            bind MOUSE2 "+zoomingbynahueltheqccoder"
            works for me
            the invasion has begun! hide your children, grab the guns, and pack sandwiches.

            syluxman2803

            Comment


            • #7
              I did the same thing for playing InstaGib mode on CAx servers, on the Q3 lifts space map!!!


              Like,not even 2months ago.
              Want to get into playing Quake again? Click here for the Multiplayer-Startup kit! laissez bon temps rouler!

              Comment


              • #8
                Thanks, it worked perfectly!

                Originally posted by nahuel View Post
                yeah , in autoexec.cfg add this


                works for me
                Now, if only there was a way to slow down the mouse speed while pressing it...
                Last edited by Delo; 06-06-2012, 01:32 PM.

                Comment


                • #9
                  There is a way. I am not home to do a command for you but i could figure it out in a few mins or so.. Should not be to hard.. Add the zoom + sensitivity and revert back.. Grr i wont be home for another day or two..

                  Comment


                  • #10
                    Originally posted by wicked_lord View Post
                    There is a way. I am not home to do a command for you but i could figure it out in a few mins or so.. Should not be to hard.. Add the zoom + sensitivity and revert back.. Grr i wont be home for another day or two..
                    Thanks a lot! By the way, I am, as I said earlier, a total n00b, so I have no idea about where to even start

                    Comment


                    • #11
                      Originally posted by Delo View Post
                      Thanks a lot! By the way, I am, as I said earlier, a total n00b, so I have no idea about where to even start
                      Filebox.com <- try this config file, I made it for you, place it in the quake\id1 folder and type exec ninjazoom.cfg in console.. I set it to unalias the previous suggestion. it zooms slower and smoother.

                      edit: I couldn't get it to slow the mouse sensitivity down when zoomed for some reason.. every time I put the sensitivity command in it, it would crash quake.
                      Last edited by ninjamonkeyz; 06-06-2012, 03:00 PM.

                      Comment


                      • #12
                        hope it works for you, if not to uninstall it-- delete ninjazoom.cfg from the quake/id1 folder, run quake and type unalias +smoothzoom1 hit enter then type unalias -smoothzoom1 and hit enter in the console..

                        Comment


                        • #13
                          It looks like I can learn quickly

                          I was actually able to do it myself, with great help from Nahuel's script.
                          Here's what it looks like:
                          alias +zoom "fov 30; m_yaw 0.005; m_pitch 0.004"
                          alias -zoom "fov 90; m_yaw 0.1; m_pitch 0.07"
                          bind MOUSE2 "+zoom"
                          It makes me keep my sensibility when not zooming, but you can just hold MOUSE2 and... BAM! The magic happens! Sniper-like accuracy! Thank you guys for the help, especially you, Nahuel.

                          By the way I used an old file with the complete list of console commands that I had lying around in my old USB stick, so thanks to whoever wrote it...

                          Comment


                          • #14
                            Excuse me for ignoring your post, Ninja.

                            Oh gosh, I actually didn't see your post. I'm going to try that immediately!

                            EDIT: Well, I tried copy-pasting it in autoexec.cfg and commenting my zoomy thing, but the game crashed and it said software failure and something like guru... something. Ah well, I guess 'm keeping my crappy self-made code. Thanks a lot for the help, anyways!

                            EDIT2: I also tried simply typing exec ninjazoom.cfg in the console, but it didn't work:the same crash and the same error...
                            Last edited by Delo; 06-06-2012, 05:16 PM.

                            Comment


                            • #15
                              Originally posted by Delo View Post
                              Now, if only there was a way to slow down the mouse speed while pressing it...
                              using strafe + high mouse sensitivity, thats all u need
                              Want to get into playing Quake again? Click here for the Multiplayer-Startup kit! laissez bon temps rouler!

                              Comment

                              Working...
                              X