The Ur-Quan Masters Discussion Forum

The Ur-Quan Masters Re-Release => Technical Issues => Topic started by: portwojc on December 02, 2002, 05:03:24 am



Title: ~ aka tilde
Post by: portwojc on December 02, 2002, 05:03:24 am
Hitting the tilde causes an immediate exit.  Is this normal?
A little annoying sinces its easy to hit going for the escape.

Using WindowsXP.

Thanks

Jason


Title: Re: ~ aka tilde
Post by: *camper* on December 02, 2002, 06:02:10 am
Does that for me too (Win2k), so I assume its by design, but it is a seriously cruel design.  ^_^  I pray to be able to remap keys next version...


Title: Re: ~ aka tilde
Post by: Shivam on December 02, 2002, 06:23:02 am
this is a 'feature' currently...

I second your wish for remappable keys...it sucks having to use escape for secondary, and for things like returning your lander...

and the thought of trying to use an orz ship under this config frightens me...


Title: Re: ~ aka tilde
Post by: Francisco on December 02, 2002, 10:52:28 am
A good workaround:

Melee: play as the bottom player. Use the directional keys for movement, right shift and ctrl for fire and special respectively.

Regular game can use the same keys as above.

Orz: hold ctrl/directional keys to turn the gun, hold ctrl and press shift to launch marines.

Yup. The tilde key was designed to exit the program.


Title: Re: ~ aka tilde
Post by: Ryan on December 15, 2002, 02:32:33 pm
Erg, this "feature" really kills me. Maybe its cause I'm lazy, but I tend *not* to look at my keyboard when I'm doing things like returning a lander to the ship from planetside. Is there any possible way that this "feature" could be switched to some other key (like "y" or something else equally not near any other frequently used key) or be a menu item? Does there really need to be a instant kill program button?

I think I'll dig out my old Pentium 100 and play the original on that system, cause I'm not too keen on losing oodles of time cause I missed the "Esc" key by one inch too low =/

(Upon reflection, when working on code, its nice to have an instant kill switch, saves time when you need to get out of the program to make a quick fix).


Title: Re: ~ aka tilde
Post by: Parker on December 15, 2002, 02:46:47 pm
I've found the best method to avoid accidentally closing your game is to use the right CTRL key to escape from a planet with your lander.


Title: Re: ~ aka tilde
Post by: Bryce McKinlay on December 19, 2002, 01:33:15 am
This drove me crazy too. I've attached the patch to remove this behaviour below. Note that without the "~" key there isn't any proper way to exit the game (I guess the 3DO console version had no need for an exit option in the menus? - something that needs to be added back)

Bryce.


Index: input.c
===================================================================
RCS file: /cvsroot/sc2/sc2/src/sc2code/libs/input/sdl/input.c,v
retrieving revision 1.7
diff -u -r1.7 input.c
--- input.c     6 Dec 2002 17:49:15 -0000       1.7
+++ input.c     18 Dec 2002 21:29:11 -0000
@@ -97,8 +97,7 @@
void
ProcessKeyboardEvent(const SDL_Event *Event)
{
-    if(Event->key.keysym.sym == SDLK_BACKQUOTE ||
-          Event->key.keysym.sym == SDLK_WORLD_7)
+    if (Event->key.keysym.sym == SDLK_WORLD_7)
       {
               exit(0);
       }


Title: Re: ~ aka tilde
Post by: Black Monk on December 19, 2002, 08:18:27 pm
So I get my fiancee into playing SC2 as she never even heard of the game.

After a full day of accidentially hitting that goddamn tilde key and quitting out (yes/no prompt?  make it harder to accidentially hit? shift-tilde instead?) when trying to hit ESC for her planetary excursions, she almost quit the game in disgust.

Granted, she loves the game but was getting so frustrated that she almost called it quits.  Yes, I know this is an early alpha but whichever person is in charge of UI needs to re-evaluate a few things like an undocumented instant-kill button.  I couldn't find anything at all about that in the docs so it took a while to figure out that this was the INTENDED behavior.

It'd be nice if there were actual menus ala the PC version for scrolling through starmap/navigate/cargo/devices, etc.  Or at least the option to enable those as that is a far more intuitive design than the 3D0 "let's cripple the UI just because this is a console version" methodology.

I love the work thus far and hate to go off on a rant about this, but I just hope the UI will be cleaned up, made consistent, and made user-friendly.  It would be a shame for the *nix programmer mentality of "user friendly" to invade SC2.  SC2 had a better way of doing some user-related things--the PC version versus the 3D0 version.  I hope y'all seriously consider implementing the PC UI layout as it is far far more intuitive.

Remappable keys are nice, ya, but I'm more whining about the menus than the keys.

Anyway, thanks for the work thus far.  Despite the alpha nature of the current releases me and my fiancee still persevere because the underlying game is just so dang great!  I hope the PC version outtakes get in sometime as it'd be a shame for her (and me and all of us and new fans who were too young to even know about SC2 at the time) to miss that.