Page 1 of 1

Remap Key

PostPosted: Mon Mar 29, 2004 4:35 pm
by ingsan
Hi everyone ! :)

I have a MainGame for PPC with 2 Game Data attached to it.

In MainGame, two keys (KEY S and ENTER) are remapped for PPC version (On PPC, they become KEY C and KEY B). Key S is to select a game between two games and KEY ENTER is to start the selected game.

But on both Game Datas, i have two other keys (KEY LEFT and KEY RIGHT) remapped on the same PPC keys, ie KEY LEFT > KEY C and KEY RIGHT > KEY B.

So on MainGame :
    Keyboard > PPC
    KEY S > KEY C
    KEY ENTER > KEY B

On both Game Datas :
    Keyboard > PPC
    KEY LEFT > KEY C
    KEY RIGHT > KEY B


Then on loading Game Datas, the left and right keys of the PPC won't work as they have already been mapped in MainGame!

How can i remap the Same keys to PPC in both MAin GAme and Game Data ?
Any idea ? :cry:

PostPosted: Mon Mar 29, 2004 5:41 pm
by phractus
intresting.

good luck!

PostPosted: Mon Mar 29, 2004 7:41 pm
by ingsan
:cry:

PostPosted: Mon Mar 29, 2004 11:28 pm
by ingsan
From GE Documentation :
void remapKey(int fromKey, int toKey)
Redirect fromKey to toKey (User config keys)
Reseted in LoadGame



I don't know how to work out this. Any idea, Please ? :(

PostPosted: Tue Mar 30, 2004 1:00 pm
by ingsan
Maybe i should change my question...

How can i remap a key with script ?
and not with Configure User Properties.

My mapped keys for MainGame do not seem to reset on Loading another Game :?

Thanx