-
10-04-2006, 03:58 AM #1
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.
-
10-04-2006, 07:14 AM #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:
All settings appear to be strings, even those we normally would think of as float or bool.Code:sensitivity "3.2"
-
10-04-2006, 01:07 PM #3
Re: A mouse sensitivity script help
Double check your alien.cfg file, sounds like the syntax is wrong.
-
10-04-2006, 02:18 PM #4
Re: A mouse sensitivity script help
The numbers are in quotes in marine and alien .cfg. I just forgot to add them here.
-
10-04-2006, 10:41 PM #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-05-2006, 01:01 AM #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.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)



Reply With Quote


Bookmarks