Forums Index >> Technical Support >> Joystick On ThinkTanks?



Page : <1> :


Hello, I am wondering if I can use a standard USB Microsoft Joystick to control my tank. I just want to try something with it. And TG said she used a Game Controller on hers.

Just wondering,

Racer445

Saturday, January 17, 2004 at 3:33:56 PM

Key Bindings.

Sunday, January 18, 2004 at 6:45:35 AM

Oh... I see :)

Sunday, January 18, 2004 at 4:53:57 PM

Hi Racer,

The game controller is the Nostromo n52. It is not like a PS2 style controller. It is just a dedicated set of keys that are assignable. Like an additional set of keys on the keyboard. It also has a scroll wheel and a few thumb buttons.

I think the mouse is the only way you could aim and shoot. A joystick would probably be a miserable experience. I would be curious to know if any of the top players use something other than a mouse to aim.

TG

Sunday, January 18, 2004 at 7:43:38 PM
-z-

Well, Tanky uses a trackball I believe, and 56k goes one better with his neural interface.

I think wiring up a couple of old paddle controllers could be fun - one for vertical, one for horizontal ;)

-Z-

 

 

 

 

Sunday, January 18, 2004 at 8:01:46 PM

Neural Interface huh? I need one. Looks uncomfy though. Life of a dead guy in a tank! ;)

Monday, January 19, 2004 at 7:32:16 PM

I dont think you can hook up a joystick on think tanks :o

Wednesday, January 21, 2004 at 5:16:07 PM

We did not add support for any external devices in ThinkTanks, but if you can map a key to an input, it should work.

We plan to release the key bindings script with 1.2 (I have to add comments becasue it is a little strange in places and can cause problems if imporerly edited.

Joe

Wednesday, January 21, 2004 at 5:37:07 PM

Thanks!

Thursday, January 22, 2004 at 1:37:17 PM

The n52 will map key bindings to the mouse movements as well. I've thought about trying to use the thumbpad for aiming - but not until PsychoScrum is over and I won't mess up any games by being pathetic at aiming for awhile.

Tuesday, April 06, 2004 at 2:29:54 PM

Talked to John at Bravetree about joysticks and he said there wasn't a way to use them because of the way the game is designed. I'm not a hi tech programmer so I'll take his word for it.

Anyone needing a neural interface should contact me at their convenience. I do Neuro Surgery as a hobby and I have a couple of NI kits out in my shop

Tuesday, April 06, 2004 at 4:45:37 PM

Put it this way, if you ever want to use joysticks, you will still need to use a keyboard or a mouse:

(Keyboard, if joystick is used for aiming)

(mouse, if joystick is used for driving)

It might also be a problem with the special code that Garage games uses (they built their own code to make TT) B) B)

Sunday, May 02, 2004 at 3:28:40 PM

I have a custom built controller that uses real arcade controls . Fo those that know what a MAME cabinet is you know what I am talking about.

Anyway, the joysticks on it are hooked to a keyboard encoder that sends keycodes to the PC. This setup lets me use the joystick to drive and a 3" trackball for aiming. He joystick has a trigger button for firing.

Normally the joystick fire button is hooked to the keyboard encoder and sends a key code when pressed.

I can hook the fire button to the trackball's left mouse button, but I prefer to map a keycode to the fire function in TT.

I know how the key bindings work, but I don't know what function to bind a key to for the fire button.

Any ideas??

 

Tuesday, May 18, 2004 at 6:03:40 PM

Use the windows API to send left mouse clicks to TT. If you have a C background this shouldnt be very hard. If not there are third party programs that do this but without major tweaking they dont behave very well with TT.

B

Tuesday, May 18, 2004 at 9:44:21 PM

My background is COBOL, BASIC, Java, DB2/UDB.

I had C programming in college, but not much practicle experience since.

I am sure there is a method for firing the gun. It might be part of the tank object or part of the UI object.

 

Tuesday, May 18, 2004 at 11:50:53 PM

Ok I found out how to map a key to the fire botton

 

MoveMap.bind(keyboard, "q",mouseFire')

 

You can add this line to the end of the main.cs file. When you do this the mouse button no longer functions as the fire button.

Make sure that moveMap starts with a lowercase m. This forum forcesthe first letter of each paragraph to uppercase.

Last edited: Thursday, May 20, 2004 at 3:42:19 PM

Thursday, May 20, 2004 at 3:39:22 PM

Has the key bindings script been released?

B

Sunday, August 22, 2004 at 9:56:42 PM

I too use a setup like Ekker and the keymapping script would be sweet. Anybody know when 1.2 will be out?

Thanks much,
Sven

Thursday, September 09, 2004 at 12:31:04 PM

Open up prefs.cs in the client folder and change $pref::Input::JoystickEnabled = 0; to $pref::Input::JoystickEnabled = 1;

Hope this helps!

Monday, November 22, 2004 at 7:40:53 AM

Page : <1> :

insert quote insert url insert email insert image bold italic underline superscript subscript horizontal rule : : Help on using forum codes

Add comment:

HTML is disabled within comments, but ZBB Code is enabled.

Back to the top

Web site designed, maintained and funded by -z- and Dan MacDonald