The Ur-Quan Masters Home Page Welcome, Guest. Please login or register.
Did you miss your activation email?
August 15, 2022, 02:50:08 pm
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
| |-+  Technical Issues (Moderator: Death 999)
| | |-+  Controls question
« previous next »
Pages: [1] Print
Author Topic: Controls question  (Read 2548 times)
Q_of_BanditZ
Zebranky food
*
Offline Offline

Gender: Male
Posts: 2



View Profile
Controls question
« on: March 30, 2003, 11:41:52 pm »

Just curious...

Can I modify the controls to incorporate the use of a moue and/or a joystick/gamepad of my choice plugged in via USB or other way?

Thanks!
Logged
Joseph Tek Fox
Zebranky food
*
Offline Offline

Gender: Male
Posts: 7


Not An Average Spathi


View Profile WWW
Re: Controls question
« Reply #1 on: April 07, 2003, 09:58:45 am »

    Supposedly, if you edit the file in "userdata/uqm" directory called "keys.cfg," you can change your key configuration.  However, the only place these new keys seem to take effect is at the very start of the game(The title screen that says "The Ur-Quan Masters".).  I say this because I can get out of that screen by pressing "Alt"(which I'd assigned to be my Button 3), or any of the buttons on my Gravis GamePad Pro USB.  In the actual game, it doesn't seem to do anything. . .
Logged

"We are the Black Spathi Squadron.  Identify yourself, or be destroyed."
AnonomouSpathi
*Many bubbles*
***
Offline Offline

Posts: 156


Spathi?  What spathi?  You're imagining, hunam.


View Profile
Re: Controls question
« Reply #2 on: April 07, 2003, 02:53:42 pm »

In .2, I was incapable of doing anything
In the latest CVS build, I managed to do so.  Edit the 'starcon.key' in the data files, shifting all keys down 1 key.  Then rename the file 'ignored.key', or it doesn't seem to do anything.
Logged
Q of BanditZ
Guest


Email
Re: Controls question
« Reply #3 on: April 07, 2003, 07:31:53 pm »

Oh well, I won't complain, considering everything that's been done.

I just find that trying to play this game with a keyboard is...a chore.

So, I think I'll just wait a little longer and when this issue is touched up some more...then I'll dig in!  Grin
Logged
meep-eep
Forum Admin
Enlightened
*****
Offline Offline

Posts: 2847



View Profile
Re: Controls question
« Reply #4 on: April 07, 2003, 07:43:07 pm »

Quote
In .2, I was incapable of doing anything
In the latest CVS build, I managed to do so.  Edit the 'starcon.key' in the data files, shifting all keys down 1 key.  Then rename the file 'ignored.key', or it doesn't seem to do anything.

*laugh*. Ok, let me explain:
I changed the code for 0.2 so that the game looks in the userdata keys.cfg first, and if it does not find that file, it copies starcon.key from the content dir. But the starcon.ndx file, which contains some sort of index of files to load when a certain 'package' is loaded also tried to load starcon.key from the content dir as a key config file, thereby overriding the key config already loaded. The starcon.ndx format is far from trivial, and since a new resource system is underway, I decided to as a temporary work-around edit starcon.ndx and just replace the string 'starcon.key' by the name of some file which does not exists, 'ignored.key', thereby preventing the already loaded key config from being overridden.
And now someone is renaming his config file to ignored.key! Smiley
If you're using the current cvs, you shouldn't ever modify content/starcon.key. This file is the global, default key config. What you want to change is the user-specific key config, which is in the userdata directory. Depending on your operating system, and whether you've enabled multiple users support, this file can be in in various locations. Just 'find file' for 'keys.cfg'. There will be one for each user.
Note that in some future version there will be a key config program or a key config menu item somewhere.
Logged

“When Juffo-Wup is complete
when at last there is no Void, no Non
when the Creators return
then we can finally rest.”
Q of BanditZ
Guest


Email
Re: Controls question
« Reply #5 on: April 07, 2003, 07:44:49 pm »

<takes notes>

Thanks!  Cheesy
Logged
meep-eep
Forum Admin
Enlightened
*****
Offline Offline

Posts: 2847



View Profile
Re: Controls question
« Reply #6 on: April 07, 2003, 07:46:21 pm »

Addition: if you're not using the CVS version, you'll need to replace starcon.ndx for this to work correctly.
It can be found at http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/*checkout*/sc2/sc2/content/starcon.ndx
Logged

“When Juffo-Wup is complete
when at last there is no Void, no Non
when the Creators return
then we can finally rest.”
AnonomouSpathi
*Many bubbles*
***
Offline Offline

Posts: 156


Spathi? &nbsp;What spathi? &nbsp;You're imagining, hunam.


View Profile
Re: Controls question
« Reply #7 on: April 08, 2003, 05:13:09 am »

Quote

*laugh*. Ok, let me explain:
I changed the code for 0.2 so that the game looks in the userdata keys.cfg first, and if it does not find that file, it copies starcon.key from the content dir. But the starcon.ndx file, which contains some sort of index of files to load when a certain 'package' is loaded also tried to load starcon.key from the content dir as a key config file, thereby overriding the key config already loaded. The starcon.ndx format is far from trivial, and since a new resource system is underway, I decided to as a temporary work-around edit starcon.ndx and just replace the string 'starcon.key' by the name of some file which does not exists, 'ignored.key', thereby preventing the already loaded key config from being overridden.
And now someone is renaming his config file to ignored.key! Smiley
If you're using the current cvs, you shouldn't ever modify content/starcon.key. This file is the global, default key config. What you want to change is the user-specific key config, which is in the userdata directory. Depending on your operating system, and whether you've enabled multiple users support, this file can be in in various locations. Just 'find file' for 'keys.cfg'. There will be one for each user.
Note that in some future version there will be a key config program or a key config menu item somewhere.


Well, I did try keys.cfg, but it didn't seem to really do anything, and least not on the win98 I was trying it with.  Eventually stumbled across the mention of ignored.key, and that seemed to work, and since everything else seemed to work great, I was quite satisfied Smiley
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!