The Ur-Quan Masters Home Page Welcome, Guest. Please login or register.
Did you miss your activation email?
December 08, 2021, 07:59:18 am
Home Help Search Login Register
News: Paul & Fred have reached a settlement with Stardock!

+  The Ur-Quan Masters Discussion Forum
|-+  The Ur-Quan Masters Re-Release
| |-+  General UQM Discussion (Moderator: Death 999)
| | |-+  Setting Keys/Control
« previous next »
Pages: [1] Print
Author Topic: Setting Keys/Control  (Read 2079 times)
Adrian
Guest


Email
Setting Keys/Control
« on: November 29, 2005, 11:48:48 pm »

Hi. Love the game. It brings me back to highschool biology class. Sorry if this has been asked before, but how do I set the keys/control.

Having the shift key as the secondary weapon sux. If you hit it 5 times it turns on the windows XP hotkey feature. I can't figure out how to change the control. Thanks.
Logged
JonoPorter
Enlightened
*****
Offline Offline

Gender: Male
Posts: 656


Don't mess with the US.


View Profile WWW
Re: Setting Keys/Control
« Reply #1 on: November 30, 2005, 12:21:47 am »

From the Manual.txt in the game folder:
Quote
These controls are configurable by editing the keys.cfg file which will
be automatically generated in your personal directory for uqm data the
first time you start the game.
The location of this directory varies per system.

On Microsoft Windows systems this is a folder named 'uqm' in the
application data folder for the current user.
This is usually in one of the following locations:
- "C:\Windows\Application Data\"
  (Windows 95, 98, SE without separate users)
- "C:\Windows\Profiles\YourName\Application Data\"
  (Windows 95/98/SE with separate users)
- "C:\Documents and Settings\YourName\Application Data\"
  (Windows NT/2k/XP)
The "Application Data" folder may be hidden. You can tell Windows to display
hidden files and folders in the Folder Options dialog, which you can
find in the Tools menu of any folder window.

On Unix systems this personal uqm data is stored in "~/.uqm".

Later versions of The Ur-Quan Masters will include a key configuration
tool.  In the meantime, the keys.cfg has a bunch of comments in it
that should help you set up your joystick and remap key controls to
your satisfaction.

I could write a program to edit this file if no one is working on it yet. Since its such a simple program, but it would most likely be in C#.

« Last Edit: November 30, 2005, 12:26:33 am by BioSlayer » Logged

There are none so blind as those who will not see. — Jonathan Swift

My Remake of UQM.
My 2D physics engine
Both are written in C#.
Defender
Enlightened
*****
Offline Offline

Gender: Male
Posts: 813



View Profile
Re: Setting Keys/Control
« Reply #2 on: November 30, 2005, 04:57:00 am »

On a side note, you can turn off the 5x shift key in the accessibility options.
Logged
Ben1050
Guest


Email
Re: Setting Keys/Control
« Reply #3 on: November 30, 2005, 08:16:27 am »

I could not get used to using the keyboard.  I use a PS2 controler and it works great!
Logged
erroneus
Zebranky food
*
Offline Offline

Posts: 10



View Profile
Re: Setting Keys/Control
« Reply #4 on: November 30, 2005, 10:00:11 pm »

BioSlayer:

You would be "The Man" for doing that.

C# would be nice if you could get it to compile under Linux as well.  Wink  I run this game under FC4 on my laptop...at work...

I'm not sure how the API is different between the two (Windows and Linux) as far as joysticks are concerned, but I find that the control keys file works just fine as the description goes.  There are likely to be some tips to be gleened from the source code that's already available I'm sure... but the resulting output from any configuration program will likely be the same for Linux and Windows alike.

So my plea is that you somehow make it compatible/portable to Linux.  (If not, maybe it will work under Wine...who knows) but the project is multi-platform and it's pretty nice.  I'd love to see it continue that way.... and I'd definitely like to have a program for changing controls -- editing with a text editor is annoying.
Logged
Pages: [1] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!