Title: button assignments Post by: lini on December 03, 2002, 02:44:15 pm quick question:
to what button is the emergency warp assigned? ??? thanks Title: Re: button assignments Post by: Zeroarmy 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.
Title: Re: button assignments Post by: lini on December 03, 2002, 03:02:16 pm ;D thank u thank u ;D
Title: Re: button assignments Post by: Grinningman 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? Title: Re: button assignments Post by: Gene Starwind 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? Title: Re: button assignments Post by: Zeroarmy 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. Title: Re: button assignments Post by: Floris 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.) Title: Re: button assignments Post by: Gene Starwind 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
|