The Ur-Quan Masters Discussion Forum

The Ur-Quan Masters Re-Release => General UQM Discussion => Topic started by: Decker on November 08, 2002, 02:37:36 pm



Title: Key mappings?
Post by: Decker on November 08, 2002, 02:37:36 pm
Can anyone tell me how you set up the key mappings? Thanks. UQM looks fantastic so far. I'm very impressed.

LOL! I was looking through the source and saw this...

SET_GAME_STATE (PLAYER_HAVING_SEX, 0);

...

if (!PHRASE_ENABLED (what_happens_if_i_touch_this)
   && !PHRASE_ENABLED (are_you_sure_this_is_ok)
   && !PHRASE_ENABLED (boy_they_never_taught))
 Response (not_much_more_to_say, FriendlyExit);
else
{
 if (PHRASE_ENABLED (what_happens_if_i_touch_this))
   Response (what_happens_if_i_touch_this, Sex);
 if (PHRASE_ENABLED (are_you_sure_this_is_ok))
   Response (are_you_sure_this_is_ok, Sex);
 if (PHRASE_ENABLED (boy_they_never_taught))
   Response (boy_they_never_taught, Sex);
}

This game kicks sooo much ass, even the source code cracks me up!

-Capt. Decker


Title: Re: Key mappings?
Post by: Mika on November 09, 2002, 07:33:42 am
We haven't implemented keyboard configuration yet, but if you know C enough for playing around it yourself, look at src/sc2code/libs/input/sdl/input.c. Though that file is more or less messy and needs to be partly rewritten at some point.


Title: Re: Key mappings?
Post by: Floris on December 06, 2002, 05:36:13 am
Actually, I changed the mapping in setup.c, not libs/sdl/input.c

See my post in another thread on this ..


Title: Re: Key mappings?
Post by: Zeroarmy on December 06, 2002, 06:46:14 am
heh. Yeah that's what the Syreen commander says. It's even funnier with the voice and pictures.  ;D