Mouse performance & Mouse sensitivity

theleggetttheleggett Join Date: 2012-06-19 Member: 153457Members
<div class="IPBDescription">Huge boost in performance found</div>Please forgive (and correct) me if I use the wrong terminology for any of the following. I do not play any games on the competitive level but will describe things as best as possible.

<b>One of the biggest pain points</b> for me in NS2 has been the performance of the game. Specifically, it never seemed like I was able to control my mouse movements as well as I could in other games. I attributed this to the NS2 engine since I don't experience this in other games. Also, my mouse has a 6400dpi system, which I am led to believe is better than average.

<b>The problem:</b> When I try to move my crosshair just a sub-pixel to the right, I instead move in 5-10 pixel increments.

Originally, I thought this was just an FPS issue. After experimenting today, I realize this is not the case. First I tried customizing my mouse settings outside of NS2. I still experienced the same issue.

However, if I lower the Mouse Sensitivity setting in NS2 to almost the lowest possible setting on the slider, I have much greater control on my aim again. When combined with a high mouse sensitive setting on my system (outside of NS2), the gameplay feels much more fluid, and I'm able to track targets effectively like in other FPS games.

Maybe this is intentional, but I never have experienced this in any other game. I'm not sure there is ever a case where moving the mouse at its smallest possible increment should change my FPS view by increments of 10 pixels

Perhaps pixels are a poor unit of measurement... degrees makes more sense, but I did not do any analysis of how many degrees I am turning per mouse movement. A guess would be that I was moving 3-5* at a time, when I would rather be able to have much more precise control by moving at sub-degree increments.

<b>TL;DR: The "Mouse Sensitivity" setting in NS2 seems off to me. I found that by moving this slider to nearly the lowest setting, and then boosting my mouse sensitivity outside of the game, I was able to track targets much more effectively.</b>
«1

Comments

  • douchebagatrondouchebagatron Custom member title Join Date: 2003-12-20 Member: 24581Members, Constellation, Reinforced - Shadow
    this might explain something. i've always had trouble aiming in ns2, it's always felt like the mouse didn't correlate to the angles changed, though i had no evidence to back it up. it was just a general feeling. in ns1 i could hold my own against skulks, but in ns2 i have a lot more trouble hitting them.
  • elodeaelodea Editlodea Join Date: 2009-06-20 Member: 67877Members, Reinforced - Shadow
    edited July 2012
    Yes, the mouse sensitivity scaling slider in NS2 goes up to crazy ammounts lol.

    Mouse sensitivity slider
    Usable Unusable
    <---> <------------------------------------------------------------------------------------------------------->

    *edit*
    If you want to fine tune your sensitivity
    appdata/roaming/natural selection 2/options.xml

    search for
    <mouse>
    <invert>false</invert>
    <sensitivity>sensitivity here</sensitivity>
    </mouse>

    I find around 0.1 is nice for matching windows sensitivity
  • WheeeeWheeee Join Date: 2003-02-18 Member: 13713Members, Reinforced - Shadow
    edited July 2012
    yeah, this problem has been around for a long time, and i think the devs acknowledged it at some point. the mouselook is very granular at higher sensitivities. i wonder if the engine accepts mouse input at the same rate as the mouse polls? if your mouse is polling at 500hz then it should register a lot more input than it does currently.
  • countbasiecountbasie Join Date: 2008-12-27 Member: 65884Members
    Yeah noticed that too. Would be cool to have a fix, I don't really want to increase my windows-mouse-sens just for one game. In Quake Games I usually play around 13, so that's how I set it in NS2. I'd never thought this could be the reason for precise aiming to move in 5-pixel steps - what is NS2 doing different?
  • NordicNordic Long term camping in Kodiak Join Date: 2012-05-13 Member: 151995Members, NS2 Playtester, NS2 Map Tester, Reinforced - Supporter, Reinforced - Silver, Reinforced - Shadow
    My worst issue as a marine is aim. I just suck. If I could be better I would be a pretty good marine too. I never thought to play with ns2 sensitivity settings. I will try and report back what I find.
  • xDragonxDragon Join Date: 2012-04-04 Member: 149948Members, NS2 Playtester, Squad Five Gold, NS2 Map Tester, Reinforced - Shadow
    You can also use the setsensitivity command ingame to set your sensitivity. The formula for that command is whatever number you enter divided by 50, so setsensitivity 5 will get you .1
  • IronHorseIronHorse Developer, QA Manager, Technical Support & contributor Join Date: 2010-05-08 Member: 71669Members, Super Administrators, Forum Admins, Forum Moderators, NS2 Developer, NS2 Playtester, Squad Five Blue, Subnautica Playtester, Subnautica PT Lead, Pistachionauts
    IDK if this is a "duh" moment, but it was news today to me after testing this issue for myself: the higher the sensitivity the more the mouse "steps" or skips pixels.

    i recommend 1080p at fullscreen: <a href="http://youtu.be/o-trFScG544" target="_blank">http://youtu.be/o-trFScG544</a>
  • zombiehellmonkeyzombiehellmonkey Join Date: 2007-08-31 Member: 62093Members, Squad Five Blue
    That explains a lot of the jerkiness I get ... Thanks for the tips :D
  • v1zorv1zor Join Date: 2012-07-20 Member: 154256Members
    edited July 2012
    finally someone who can explain how i feel playing this game :)

    the game itself doesn't play fluid at all, even though the graphics aren't that spectacular. i have a good sysytem which displays bf3 with ultra details on high fps, even when everywhere everything explodes. i've never experienced this before.

    but aiming just doesn't feel right. it's not possible to control where you shoot. this is a big issue because "lagging skulks" are already a big problem for me.

    i hope all this gets fixed, because the game itself is as good as i expected it. except that the performance is awful and the "mouse performance" sucks too...

    this really could ruin my long term motivation to play this game, which would be very sad as i love NS since it was a mod.
  • countbasiecountbasie Join Date: 2008-12-27 Member: 65884Members
    Couldn't the whole thing be fixed just by using another algorithm? Doesn't sound like an optimization-issue...
  • YuukiYuuki Join Date: 2010-11-20 Member: 75079Members
    edited July 2012
    The algorithm should be trivial however. You move your mouse horizontally from a distance dx [cm] and then the game update the camera angle by the quantity dtheta [degrees]:

    dtheta = sensitivity * dx

    Where sensitivity converts centimeters into angles, for example sensitivity = 45 degree per centimeter.

    Now the minimum angle you can turn your camera is given by: sensitivity * minimum(dx).

    What is strange is that it seems that it's people with high resolution mouses (so very small minimum(dx)) what have troubles, when it should be the contrary.
  • Cee Colon SlashCee Colon Slash Join Date: 2012-05-25 Member: 152581Members
    An update: I enjoy the game much more after adjusting my mouse sensitivity following the advice in this thread. I use a Logitech G400 mouse, which is supported by Logitech software; you can adjust the sensitivity per-game, and also set a button to give you a switchable sensitivity. I'm using just a tick of minimum sensitivity according to the game settings (setting it to the minimum level seems to disable the mouse) and then 650 in the Logitech program; offers very smooth tracking compared to what I was getting before. It hasn't completely changed my world but I can track targets much more successfully, especially as a marine at distance.
  • cake.cake. Join Date: 2012-01-12 Member: 140165Members
    I thought that the marine aiming was always bugged, no? I mean, even IGN mentioned it in their latest preview.
  • AsranielAsraniel Join Date: 2002-06-03 Member: 724Members, Playtest Lead, Forum Moderators, NS2 Playtester, Squad Five Blue, Reinforced - Shadow, WC 2013 - Shadow, Subnautica Playtester, Retired Community Developer
    <!--quoteo(post=1953214:date=Jul 23 2012, 03:17 PM:name=cake.)--><div class='quotetop'>QUOTE (cake. @ Jul 23 2012, 03:17 PM) <a href="index.php?act=findpost&pid=1953214"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->I thought that the marine aiming was always bugged, no? I mean, even IGN mentioned it in their latest preview.<!--QuoteEnd--></div><!--QuoteEEnd-->

    IGN also tested the combat mod and where thinking it was the real ns2... and the marine aiming is probably more a matter of settings and performance as it seems, and not bugged in its core.
  • YuukiYuuki Join Date: 2010-11-20 Member: 75079Members
    edited July 2012
    <!--quoteo(post=1953209:date=Jul 23 2012, 12:42 PM:name=Cee Colon Slash)--><div class='quotetop'>QUOTE (Cee Colon Slash @ Jul 23 2012, 12:42 PM) <a href="index.php?act=findpost&pid=1953209"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->I'm using just a tick of minimum sensitivity according to the game settings (setting it to the minimum level seems to disable the mouse) and then 650 in the Logitech program; offers very smooth tracking compared to what I was getting before.<!--QuoteEnd--></div><!--QuoteEEnd-->

    So you need to decrease sensitivity in NS2 and increase it in windows ?

    I don't really know how it works but I would imagine that NS2 get the mouse input as dx*sensitivityWindows and then multiply that by the NS2 sensitivity:

    dtheta = sensitivityNS2 * sensitivityWindows * dx

    Then if you increase ten fold the NS2 sensitivity and decrease ten fold the windows sensitivity, it shouldn't change anything. The only way it could change is if there is some precision problem, like if (sensitivityWindows * dx) is too small to be encoded correctly with the game precision.
  • DghelneshiDghelneshi Aims to surpass Fana in post edits. Join Date: 2011-11-01 Member: 130634Members, Squad Five Blue, Reinforced - Shadow
    This problem has been in the game forever (probably since its inception). I'm surprised this hasn't been adressed yet, as it is obviously a big problem in the game's core mechanics.
  • no_ideano_idea Join Date: 2005-02-15 Member: 41201Members
    I hope it will be "fixed" or adressed till ver 1.0. Having a good mouse-tracking is essential for a lot of people I know -including me. Most people remember NS1 and that was running on one of THE best Engines in that particular area... So UWE please.
  • WheeeeWheeee Join Date: 2003-02-18 Member: 13713Members, Reinforced - Shadow
    edited July 2012
    i believe the reason why the mouselook feels so off is the current implementation of mouselook is that the mouse sensitivity setting is just a multiplier for the base view angle change.

    i believe whatever mouse input handler the code uses triggers a mouse movement event when windows says the cursor has moved by at least a pixel, instead of reading the mouse input directly or through directx (this means that high resolution mice and sub pixel movements are undetected). until this changes, there will be no way to fix this.

    related:
    <a href="http://msdn.microsoft.com/en-us/library/windows/desktop/ee418864(v=vs.85).aspx" target="_blank">http://msdn.microsoft.com/en-us/library/wi...4(v=vs.85).aspx</a>

    i believe that the current implementation of mouselook uses the first method of mouse tracking, whereas in an fps using directinput or some way of detecting high def input would be appropriate.
  • Cee Colon SlashCee Colon Slash Join Date: 2012-05-25 Member: 152581Members
    At the very least apparently you want to turn off "enhance pointer precision" in the windows settings. If you have the capacity to adjust the mouse DPI in additional software (like Logitech uses - I think it's called setpoint?) - that's what you do.
  • WheeeeWheeee Join Date: 2003-02-18 Member: 13713Members, Reinforced - Shadow
    <!--quoteo(post=1953319:date=Jul 23 2012, 08:27 PM:name=Cee Colon Slash)--><div class='quotetop'>QUOTE (Cee Colon Slash @ Jul 23 2012, 08:27 PM) <a href="index.php?act=findpost&pid=1953319"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->At the very least apparently you want to turn off "enhance pointer precision" in the windows settings. If you have the capacity to adjust the mouse DPI in additional software (like Logitech uses - I think it's called setpoint?) - that's what you do.<!--QuoteEnd--></div><!--QuoteEEnd-->

    i believe ns2 ignores the mouse acceleration setting.
  • TyphonTyphon Join Date: 2002-11-01 Member: 1899Members
    I was all anxious to try this, hoping it would fix my issues. Nope, I already had the ns2 sensitivity near the bottom. I can get single pixel movement inside ns. Oh well, still if this solves other people's problems that's good.
  • ComproxComprox *chortle* Canada Join Date: 2002-01-23 Member: 7Members, Super Administrators, Forum Admins, NS1 Playtester, NS2 Developer, Constellation, NS2 Playtester, Reinforced - Shadow, WC 2013 - Silver, Subnautica Developer, Subnautica Playtester, Pistachionauts
    <!--quoteo(post=1953318:date=Jul 23 2012, 05:26 PM:name=Wheeee)--><div class='quotetop'>QUOTE (Wheeee @ Jul 23 2012, 05:26 PM) <a href="index.php?act=findpost&pid=1953318"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->i believe whatever mouse input handler the code uses triggers a mouse movement event when windows says the cursor has moved by at least a pixel, instead of reading the mouse input directly or through directx (this means that high resolution mice and sub pixel movements are undetected). until this changes, there will be no way to fix this.

    related:
    <a href="http://msdn.microsoft.com/en-us/library/windows/desktop/ee418864(v=vs.85).aspx" target="_blank">http://msdn.microsoft.com/en-us/library/wi...4(v=vs.85).aspx</a>

    i believe that the current implementation of mouselook uses the first method of mouse tracking, whereas in an fps using directinput or some way of detecting high def input would be appropriate.<!--QuoteEnd--></div><!--QuoteEEnd-->

    Wrong. I don't want to say more, because, frankly I am not very well versed in the topic but mouse movement is taken using wm_input. As that page you linked to points out, this is the suggested method.
  • douchebagatrondouchebagatron Custom member title Join Date: 2003-12-20 Member: 24581Members, Constellation, Reinforced - Shadow
    even if it is taken from that, it feels like the the distance the screen moves = distance the mouse moves multiplied by the sensitivity. I'd expect it to always move by some small angle, but move once every X dots measured by the mouse, where X is scaled by the sensitivity.

    This way it would always move at some small angle, let's say 1 pixel or .1 degrees or something, but it would require 10 dots to move at the lowest sensitivity and 1 dot at the highest sensitivity.
  • WheeeeWheeee Join Date: 2003-02-18 Member: 13713Members, Reinforced - Shadow
    <!--quoteo(post=1953328:date=Jul 23 2012, 09:33 PM:name=Comprox)--><div class='quotetop'>QUOTE (Comprox @ Jul 23 2012, 09:33 PM) <a href="index.php?act=findpost&pid=1953328"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Wrong. I don't want to say more, because, frankly I am not very well versed in the topic but mouse movement is taken using wm_input. As that page you linked to points out, this is the suggested method.<!--QuoteEnd--></div><!--QuoteEEnd-->

    perhaps the raw input is indeed taken from wm_input, but some other part of code implements the previous behavior because that's the way the game behaves. and having looked through some of the lua files, there are definitely parts of the game (commander mode for example) that do use it.
  • YuukiYuuki Join Date: 2010-11-20 Member: 75079Members
    Is WM_INPUT supposed to be affected by windows sensitivity settings ?

    I think to remember ns2 is affected by windows settings.
  • UzguzUzguz Join Date: 2003-06-05 Member: 17016Members, Constellation
    Huh. Given how many keypresses I've lost to the low framerate as a commander, I had assumed that NS2 handled all input asynchronously. Or is it asynchronous for the keyboard but event-driven for the mouse?
  • Soylent_greenSoylent_green Join Date: 2002-12-20 Member: 11220Members, Reinforced - Shadow
    <!--quoteo(post=1953319:date=Jul 23 2012, 07:27 PM:name=Cee Colon Slash)--><div class='quotetop'>QUOTE (Cee Colon Slash @ Jul 23 2012, 07:27 PM) <a href="index.php?act=findpost&pid=1953319"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->At the very least apparently you want to turn off "enhance pointer precision" in the windows settings.<!--QuoteEnd--></div><!--QuoteEEnd-->

    "enhance pointer precision" is mouse acceleration. This is of course a terrible thing if the game does not read raw mouse data; with acceleration on you cannot do twitch aiming, because the amount by which you turn is not proportional to how far you've moved the mouse because it also depends very strongly on how fast you moved the mouse.
  • XeiZXeiZ Join Date: 2012-04-13 Member: 150384Members
    Can anyone confirm that they changed something with the mouse settings ingame in 215? Suddenly i have to put it to like 1.2000 and my dpi to highest possible to move my screen at all!
  • VirsoulVirsoul Join Date: 2012-05-13 Member: 151977Members, NS2 Map Tester, Reinforced - Onos
    edited July 2012
    My mouse sensitivity is up all the way now and it's still not where I need it to be.

    Also, for some reason I cannot type in game.
  • RyneRyne Join Date: 2012-02-25 Member: 147408Members, NS2 Map Tester
    My mouse sensitivity just jumped from my normal setting to max :(
Sign In or Register to comment.