The Ur-Quan Masters Home Page Welcome, Guest. Please login or register.
Did you miss your activation email?
October 08, 2024, 07:38:04 pm
Home Help Search Login Register
News: Celebrating 30 years of Star Control 2 - The Ur-Quan Masters

+  The Ur-Quan Masters Discussion Forum
|-+  The Ur-Quan Masters Re-Release
| |-+  General UQM Discussion (Moderator: Death 999)
| | |-+  button assignments
« previous next »
Pages: [1] Print
Author Topic: button assignments  (Read 4043 times)
lini
Zebranky food
*
Offline Offline

Gender: Male
Posts: 5


mnq


View Profile
button assignments
« on: December 03, 2002, 02:44:15 pm »

quick question:
to what button is the emergency warp assigned? Huh
thanks
Logged
Zeroarmy
Frungy champion
**
Offline Offline

Posts: 98


I love YaBB 1G - SP1!


View Profile WWW
Re: button assignments
« Reply #1 on: December 03, 2002, 02:47:45 pm »

I had the same problem when I first starting playing (couldn't figure out what num pad was). Anyway, press the + button that is on the right side of your keyboard (NOT the one near backspace) and space at the same time.
Logged
lini
Zebranky food
*
Offline Offline

Gender: Male
Posts: 5


mnq


View Profile
Re: button assignments
« Reply #2 on: December 03, 2002, 03:02:16 pm »

 Grin thank u thank u  Grin
Logged
Grinningman
Guest


Email
Re: button assignments
« Reply #3 on: December 03, 2002, 04:59:59 pm »

I've got a related question:

I'm playing on a laptop, which doesn't have a numpad.  Is there an alternative key combination for emergency warp to the Numpad + and space?
Logged
Gene Starwind
Guest


Email
Re: button assignments
« Reply #4 on: December 04, 2002, 04:33:56 am »

yea.. i got a laptop also.,... i tried useing my Function keys to emulate the keypad +.. but it still doesn't work

also.. is there a file that we could edit to remap the buttons?
Logged
Zeroarmy
Frungy champion
**
Offline Offline

Posts: 98


I love YaBB 1G - SP1!


View Profile WWW
Re: button assignments
« Reply #5 on: December 04, 2002, 06:27:39 am »

Quote
yea.. i got a laptop also.,... i tried useing my Function keys to emulate the keypad +.. but it still doesn't work

also.. is there a file that we could edit to remap the buttons?


That's on their to do list for future versions.
Logged
Floris
Guest


Email
Re: button assignments
« Reply #6 on: December 06, 2002, 04:53:23 am »


If you're adventurous, and willing to compile the code yourselves,
you could do the following.

a) download the source tarball, extract it (or get CVS version)
b) edit src/sc2code/setup.c
c) find the bit that says:       
       // new temporary melee keys 2002/11/22

Below that, you can change the key mappings yourselves. Here's how
my bit looks right now:

...
     // new temporary melee keys 2002/11/22
     // mapped as left, right, thrust, ?, ?, fire, special, ?, ?
     KeyboardInput[0] = CaptureInputDevice
     (
           // CreateJoystickKeyboardDevice (SK_LF_ARROW, SK_RT_ARROW, SK_UP_ARROW, 0, 0, SK_RT_SHIFT, SK_CTL, 0, 0x1b)
           CreateJoystickKeyboardDevice (SK_LF_ARROW, SK_RT_ARROW, SK_UP_ARROW, 0, 0, SK_LF_SHIFT, SK_CTL, SK_HOME, SK_END)
     );
     KeyboardInput[1] = CaptureInputDevice
     (
           CreateJoystickKeyboardDevice ('s', 'f', 'e', 0, 0, 'q', 'a', 0, 0x1b)
     );
...


As you can see, quite simple :-)

Note, the last two keys actually are labelled 'shift1' and 'shift2'. The latter is
the actual escape sequence key. I have that mapped to 'end' right now :-)
I have removed the spacebar from this equasion too btw, since I have
a laptop that doesn't seem to have a keypaad '+' in a usable location.

I've also modified the code in battle.c a bit to make pressing the 'space' key in conjunction with the 'rightshift' key unnessecary. Here's the relevant bit, starting at line 88. Commented out section (between /* and */) is
the old code. Note the checks performed in there look mostly unnessecary
(we've already established the player can run away) but I may be wrong.
Definitly a 'works for me' situation ;-)


                             if (CanRunAway && ( InputState & DEVICE_RIGHTSHIFT ))
                                 /*
                                         && cur_player == 0
                                         && ((PlayerControl[cur_player] & HUMAN_CONTROL)
                                         || (InputState = GetInputState (NormalInput)))
                                         && (InputState & DEVICE_RIGHTSHIFT )
                                         )
                                   */



Then proceed to step d) - compile it using build.sh

Of course, if you've never compiled anything before, don't bother. This
thing is hard to compile on picky distributions like SuSe / Debian
(SuSe more so  than Debian, debian only complains about tempnam, SuSe shows worse problems.)
Logged
Gene Starwind
Guest


Email
Re: button assignments
« Reply #7 on: December 07, 2002, 07:07:25 am »

I fixed the emergancy warp on my laptop.. the trick is to hold the space bar down first, then tap the Fn and + key a few times.. that seems to work for me, hopefully this helps
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!