PDA

View Full Version : User.ini >>> Who knows the Mousesensativatie command??


Bernaar
3rd Jun 2001, 05:51 AM
Hi, I've got a question!
You know the User.ini-file for Unreal Tournament where you can bind keys etc?!
Well, my brother and I play on turn UT, and it is very irritating to change the nickname AND the mousesensativatie everytime we play.
I already got the console command for changing the nickname, but I need the mousesensativatie command!!

So please, if you know the console command, tell me!!!

Thnx, greetz from Holland

Bernaar
:rolleyes:

Nugler
3rd Jun 2001, 06:16 AM
a=set Engine.PlayerPawn MouseSensitivity 4.0

The above example will set the sensitivity to 4.0 when the a key is pressed.

Tetris L
3rd Jun 2001, 06:18 AM
From the keybinding guide on the site in my signature (server is down currently):

How to change ANY game setting through console commands?

Virtually any setting that can be changed through the menues and (even some that are in no menu) can be changed in-game through console commands. And as I said: Any console command can be bind to a key. Only some few changes need a re-connect or map-change to take effect.

The powerfull allround command is:

Set <class> <variable> <value>

Now all you have to do is find out the class and variable for the setting that you want to change. To do this, search through your user.ini and your unrealtournament.ini files. Find the line that is most likely the setting you want to change. Check how the paragraph is called that the line is in. The name is in [...] brackets on top.

For example if you want to change your mouse sensitivity, you'll find the following paragraph and line in the user.ini:

[Engine.PlayerPawn] <- This is the class.

...

MouseSensitivity=4.500000 <- This is the variable and value

So the command to change the mouse sensitivity through console to a value of 8 would be:

Set Engine.PlayerPawn MouseSensitivity 8


Or you could simply set up two different user.ini's for you and your brother:


How can I define more than one user setup?
There is an error on Epic's UT console command page http://unreal.epicgames.com/utconsole.htm:

The command line parameter to start UT with an other ini than the default one is not “user=” but “userini=”! For example, if I want to start UT with my personal INI file “Cleaner.ini”, which must be located in the UT\system folder, I’d have to use:

Unrealtournament.exe userini=cleaner.ini

Careful, the filename is case-sensitive!

I’d recommend writing a little batch file for each user and put them all in the UT\system folder and have shortcuts on your desktop.

As an alternative, there is a little tool “UT Start” available on the net, that does the job for you: Get it from http://www.cwel.de

Bernaar
3rd Jun 2001, 06:53 AM
Thanx a lot guys, the problem is I couldn't find those command-rules like you told me, but know it's peace a cake.
But where on this site does one get this information?!

But thanx a lot!

Have fun!

Bernaar
:D

Bernaar
3rd Jun 2001, 07:29 AM
Guys!

That Mousesensitivity command doesn't work!

This is my command line:

B=Set Engine.PlayerPawn MouseSensitivity 20.0

But when I push 'b' nothing hapens to my mousesensitivity!!!

Please help (try it yourself, it doesn't work!!!!!)

Thnx

Bernaar
:(

Bernaar
3rd Jun 2001, 02:16 PM
The command won't work!

Please help me!!!!

Try it yourself, please, because I really need this command!

Thnx!

Bernaar:(

Tetris L
3rd Jun 2001, 07:06 PM
When you say "This is the command line", do you mean that you enter this text in the console:
B=Set Engine.PlayerPawn MouseSensitivity 20.0
?
If that's the case, then leave away the B=

The command is just Set Engine.PlayerPawn MouseSensitivity 20.0

After you have bound that command to a key (for example B) you should find it like this in your user.ini:
B=Set Engine.PlayerPawn MouseSensitivity 20.0

There is a detailed guide about Keybinding, Aliases and Console Commands on http://www.unreality.org/cleaned . But unfortunatly the Unreality server is down currently. A bit of patience pls.