Pages: [1]
|
|
|
Author
|
Topic: button assignments (Read 4045 times)
|
lini
Zebranky food
Offline
Gender:
Posts: 5
mnq
|
quick question: to what button is the emergency warp assigned? thanks
|
|
|
Logged
|
|
|
|
Zeroarmy
Frungy champion
Offline
Posts: 98
I love YaBB 1G - SP1!
|
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
Gender:
Posts: 5
mnq
|
thank u thank u
|
|
|
Logged
|
|
|
|
Grinningman
Guest
|
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
|
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
|
|
|
|
|
Floris
Guest
|
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
|
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]
|
|
|
|
|