Welcome to Tactical Gamer

+ Reply to Thread
Results 1 to 6 of 6
Discussion: Natural Selection / Natural Selection - Tactics and Mod Discussions - A mouse sensitivity script help - Basically what I want to do is whenever I hit my "join marines" button (which
  1. #1

    aeroripper's Avatar

    Join Date
    Dec 2005
    Age
    28
    Posts
    2,567

    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.

  2.  
  3. #2


    Join Date
    May 2003
    Location
    Sweden
    Posts
    129

    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.

  4.  
  5. #3

    Iceberg's Avatar

    Join Date
    Dec 2004
    Location
    Illinois
    Age
    28
    Posts
    2,089

    Re: A mouse sensitivity script help

    Double check your alien.cfg file, sounds like the syntax is wrong.
    TG-16 IHS | USAR 16th PSYOP BN, now with more (TGY16)

  6.  

     
  7. #4

    aeroripper's Avatar

    Join Date
    Dec 2005
    Age
    28
    Posts
    2,567

    Re: A mouse sensitivity script help

    The numbers are in quotes in marine and alien .cfg. I just forgot to add them here.

  8.  
  9. #5


    Join Date
    Oct 2005
    Posts
    132

    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

  10.  
  11. #6

    aeroripper's Avatar

    Join Date
    Dec 2005
    Age
    28
    Posts
    2,567

    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.

  12.  

     

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts


  
 

Back to top