Graal Forums  

Go Back   Graal Forums > Development Forums > Tech Support
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-15-2006, 10:33 AM
Demisis_P2P Demisis_P2P is offline
Kanto League Champion
Demisis_P2P's Avatar
Join Date: Jan 2005
Posts: 2,357
Demisis_P2P has much to be proud ofDemisis_P2P has much to be proud ofDemisis_P2P has much to be proud ofDemisis_P2P has much to be proud ofDemisis_P2P has much to be proud ofDemisis_P2P has much to be proud ofDemisis_P2P has much to be proud of
Joypad support

I'm using a PS2 controller to play Graal but there are still quite a lot of issues with it.

My biggest issue is that I can't strafe on Era. The system was recently just changed to make the strafe hotkey definable by the players, but it uses KeyPressed. Even if I set it to 'Button1' it won't work with my joypad.
If the script was changed to ButtonPressed instead of KeyPressed (since I gather that keys = keyboard keys, while buttons = graal buttons) would it be possible to configure a hotkey to a joypad button? The problem that exists then is that other people can't use non-button keys. (I tried setting the hotkey to 'p' and then using the joypad button that I had set to 'p' aswell, and it didn't work.)

Also, since I'm using a PS2 controller and the right analogue stick has no real function, would it be possible to script it to act as a mouse and have button 12 (when you press the analogue stick in) to act as a mouse click? (So that I can change weapons and such with scripted inventories.)

It's also not possible to remove button completely in the Controls -> Change Keys menu with a joypad. You just need to try and put it on an out-of-the-way button if you don't want that function. And it's not possible to have the same funtion on two different buttons (since there is only one column for for joypads).

I just feel like as though since Graal is derived from a console game, it should have more support for game controllers.
Reply With Quote
  #2  
Old 11-15-2006, 12:10 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Will try to make it better configurable in the next version, also allowing using different/new keys by playerworlds.
On Zone we have made it so that you can strafe with either shift or Pause key, may be Era could do something similar.
Reply With Quote
  #3  
Old 11-15-2006, 02:34 PM
Demisis_P2P Demisis_P2P is offline
Kanto League Champion
Demisis_P2P's Avatar
Join Date: Jan 2005
Posts: 2,357
Demisis_P2P has much to be proud ofDemisis_P2P has much to be proud ofDemisis_P2P has much to be proud ofDemisis_P2P has much to be proud ofDemisis_P2P has much to be proud ofDemisis_P2P has much to be proud ofDemisis_P2P has much to be proud of
Quote:
Originally Posted by Stefan View Post
Will try to make it better configurable in the next version, also allowing using different/new keys by playerworlds.
On Zone we have made it so that you can strafe with either shift or Pause key, may be Era could do something similar.
On Era you can set whatever key you want with a new command. Only problem is that it's not possible to set it to a key on a joypad.

I tried to bypass it by setting it to "button1" but the script uses KeyPressed and doesn't recognise button1 as a valid key.
Maybe it happens because of the difference in the way that Graal handles KeyPressed and ButtonPressed?
Reply With Quote
  #4  
Old 11-15-2006, 07:09 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Well they would need to use the keydown() function instead of onKeypressed for that case
Reply With Quote
  #5  
Old 11-16-2006, 12:05 PM
ryu_no_bishie ryu_no_bishie is offline
I know japanese l33t
ryu_no_bishie's Avatar
Join Date: Aug 2006
Posts: 256
ryu_no_bishie is an unknown quantity at this point
this is because the joystick support is crap,
the only reall way to play graal with a joypad is a special software, just type in joy2key english into google and click im feeling lucky

also, do you care if I upload your body on Graal X?
__________________
Rockman Akane FTW
Reply With Quote
  #6  
Old 11-16-2006, 09:04 PM
Yen Yen is offline
Banned
Yen's Avatar
Join Date: Oct 2005
Location: Nova Scotia, Canada
Posts: 1,085
Yen is an unknown quantity at this point
Send a message via AIM to Yen Send a message via MSN to Yen
Well, I really doubt servers want to rescript every 'onKeyPressed' event to be usable with a joypad.

Your best bet is to find a program that will route your joypad's buttons to keys on the keyboard.
i.e. pressing joypad button 1 is the same as hitting the 'a' key
Reply With Quote
  #7  
Old 11-16-2006, 09:42 PM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
It would be better if graal could edit its controls internally.
Reply With Quote
  #8  
Old 11-17-2006, 10:19 AM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
Demisis, we'll debug it soon. =]
Thanks for the replys
__________________
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 04:32 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.