Announcement

Collapse
No announcement yet.

A mouse sensitivity script help

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

  • A mouse sensitivity script help

    Basically what I want to do is whenever I hit my "join marines" button (which is the * key) and hit my "join aliens" button (which is the / key), I want it to set individual mouse sensitivity for each team.

    I would like marine set at: 2.1
    I would like alien set at: 3.2

    The way I have it set up now, it goes like this in my userconfig:

    bind "*" "jointeamone; exec marine.cfg"
    bind "/" "jointeamtwo; exec alien.cfg"

    In the marine.cfg:

    sensitivity 2.1

    In the alien.cfg

    sensitivity 3.2

    The scenario I'm getting:

    1) I start a local server, join the marine team and it sets my sensitivity just fine. Then I F4 to switch to aliens to test it then, but its still stuck on 2.1.

    2) I start a local server, join the alien team but it doesn't set the sensitivity at all, just what it has last recorded (which was 2.1).

    Weird huh? I wonder why that doesn't work.
    Like the server? Become a regular! TGNS Required Reading
    Answers to every server question? Yes! TGNS FAQ

  • #2
    Re: A mouse sensitivity script help

    I think you must put the actual value in quotes, like this:

    Code:
    sensitivity "3.2"
    All settings appear to be strings, even those we normally would think of as float or bool.

    Comment


    • #3
      Re: A mouse sensitivity script help

      Double check your alien.cfg file, sounds like the syntax is wrong.
      USAR

      Comment


      • #4
        Re: A mouse sensitivity script help

        The numbers are in quotes in marine and alien .cfg. I just forgot to add them here.
        Like the server? Become a regular! TGNS Required Reading
        Answers to every server question? Yes! TGNS FAQ

        Comment


        • #5
          Re: A mouse sensitivity script help

          I use different sensitivity no problem and I am doing the same thing you are doing.

          Marine.cfg - sensitivity 7.2
          alien.cfg - sensitivity 8

          Comment


          • #6
            Re: A mouse sensitivity script help

            Oh well, for now I'm just using F1 and F2 to switch between them with an audible alert.
            Like the server? Become a regular! TGNS Required Reading
            Answers to every server question? Yes! TGNS FAQ

            Comment

            Connect

            Collapse

            TeamSpeak 3 Server

            Collapse

            Advertisement

            Collapse

            Twitter Feed

            Collapse

            Working...
            X