elma with joystick/gamepad

General discussion about the games and the scene.

Moderator: Moporators

Post Reply
User avatar
cpprules
Kuski
Posts: 31
Joined: 9 Sep 2005, 16:27
Location: on the Pedastal

elma with joystick/gamepad

Post by cpprules »

Playing elma in multiplayer is crazy, 'cause both players can hold max 4 buttons.
Which leads to biping, and fight amogst players.
So here's my solution: one player must use a joystick. This works for single player,
and everything else.

First download a program called autohotkey from :
http://www.autohotkey.com/ - it's free open sourced project

Then mess around with it until you are familiar with what it does and stuff.

Second copy-paste the following text into notepad, and save it as "something.ahk"
Joy1::
Send {i down} ; Hold down the left-arrow key.
KeyWait Joy1 ; Wait for the user to release the joystick button.
Send {i up} ; Release the left-arrow key.
return
Joy3::
Send {k down} ; Hold down the left-arrow key.
KeyWait Joy3 ; Wait for the user to release the joystick button.
Send {k up} ; Release the left-arrow key.
return
Joy5::
Send {j down} ; Hold down the left-arrow key.
KeyWait Joy5 ; Wait for the user to release the joystick button.
Send {j up} ; Release the left-arrow key.
return
Joy6::
Send {l down} ; Hold down the left-arrow key.
KeyWait Joy6 ; Wait for the user to release the joystick button.
Send {l up} ; Release the left-arrow key.
return
Joy8::
Send {o down} ; Hold down the left-arrow key.
KeyWait Joy8 ; Wait for the user to release the joystick button.
Send {o up} ; Release the left-arrow key.
return
Run the "something.ahk" with autohotkey ( you can compile it into *.exe if you want )
You can change the above script if you have any problems, but it works for most gamepads.

While the script is running, run elma, and configure keys for second/first player.
Instead of pressing keyboard keys press keys on joystick/gamepad.
Play with the keys you just pressed...
User avatar
kinghias
Kuski
Posts: 860
Joined: 9 May 2004, 08:56
Location: Vienna

Post by kinghias »

or you plug in another keyboard :wink:
User avatar
niN
Kuski
Posts: 2631
Joined: 22 Aug 2005, 12:23
Team: HoHo
Location: Sweden, Gothemburg
Contact:

Post by niN »

you can do that :O:O How?? I must know. I love playing multiplayer!
I hope that in elma 2 you can play multiplayer via LAN and internet
DamRho
Kuski
Posts: 316
Joined: 6 Mar 2005, 23:13
Location: Porto, Portugal

Post by DamRho »

User avatar
niN
Kuski
Posts: 2631
Joined: 22 Aug 2005, 12:23
Team: HoHo
Location: Sweden, Gothemburg
Contact:

Post by niN »

thanks a lot DamRho!
Now I'll be playng with friends all week :lol:
User avatar
cpprules
Kuski
Posts: 31
Joined: 9 Sep 2005, 16:27
Location: on the Pedastal

Post by cpprules »

well i didn't knew somebody allready did that. Anyway, How the hell can you stick two keyboards in computer when there is only one slot for a keyboard. And i have never heard of such thing as two keyboards.
Even if it does exsist, windows doesn't support that!!!! nor anything sane!
lu lu lu I've got some apples lu lu lu You've got some too lu lu lu Let's make some applesauce Take off our clothes and lu lu lu
DamRho
Kuski
Posts: 316
Joined: 6 Mar 2005, 23:13
Location: Porto, Portugal

Post by DamRho »

cpprules wrote:well i didn't knew somebody allready did that. Anyway, How the hell can you stick two keyboards in computer when there is only one slot for a keyboard. And i have never heard of such thing as two keyboards.
Even if it does exsist, windows doesn't support that!!!! nor anything sane!
You can connect multiple keyboards through the USB ports. I've never tried it out but I see no valid reason not to work. The problem with connecting various keyboards is that it might not solve the "too many keys pressed". Maybe someone should try it out if they have a USB keyboard.
User avatar
kinghias
Kuski
Posts: 860
Joined: 9 May 2004, 08:56
Location: Vienna

Post by kinghias »

we use to play multi either with two usb-keyboards or with one normal and one usb-keyboard, no problems with keys (incl. alovolt for both players) at all...
User avatar
petsen
Meetsen
Posts: 2044
Joined: 29 May 2002, 01:27
Location: Aarhus S, Denmark or nearest DEM

Post by petsen »

niN wrote:you can do that :O:O How?? I must know. I love playing multiplayer!
I hope that in elma 2 you can play multiplayer via LAN and internet
rigger played multi online with hibernatus some years ago... dont know why the project was stopped, cuz rigger told me it worked just fine.
Proud Member Of RDK
User avatar
niN
Kuski
Posts: 2631
Joined: 22 Aug 2005, 12:23
Team: HoHo
Location: Sweden, Gothemburg
Contact:

Post by niN »

8O WOW It would be cool if it got brought back to life again!
did you ever play petsen? what was it like if you did?
thanks //niN
User avatar
John
first 35tt
Posts: 4738
Joined: 28 Sep 2002, 19:42
Team: WNO
Location: Luleå, Sweden

Post by John »

niN: he said that rigger played online, if he had tried it himself too I guess he would have mentioned??
Image
User avatar
petsen
Meetsen
Posts: 2044
Joined: 29 May 2002, 01:27
Location: Aarhus S, Denmark or nearest DEM

Post by petsen »

john we continued in pm :) to avoid offtopicnes hehe



edit:

hm wasnt offtopic really... oops thought we were in some other topic :)
Proud Member Of RDK
Post Reply