where is a complete joystick/gamepad scriptset for 3D sdks ?
by TheGasMan · in General Discussion · 01/14/2011 (9:32 am) · 10 replies
- I am seeking a pre-made package that makes a "joystick type of gamepad" control the entire game (using a T3D demo for the example). [THIS MEANS NO USE FOR A MOUSE OR KEYBOARD EVER. .PERIOD.]
*I am aware that I can make it myself*. I simply don't feel like making this even though it's simple.
-------
..dazzle me with your solution to grab some extra cash for yourself.
-------
// EDITED to make sense. I hope it makes sense. :)
*I am aware that I can make it myself*. I simply don't feel like making this even though it's simple.
-------
..dazzle me with your solution to grab some extra cash for yourself.
-------
// EDITED to make sense. I hope it makes sense. :)
About the author
gameartstore.com
Recent Threads
#2
01/14/2011 (12:43 pm)
Thomas, I don't understand what you don't understand. I was overly concise on purpose.
#3
01/17/2011 (9:16 pm)
I edited the post to make better sense and to remove the rant about "10 years and still no inclusive solution".
#4
01/18/2011 (11:21 am)
...lol, but you do 'have' the Source code, right??!! I hear that's all you need....................
#5
@Rex - Real useful if you are saying he can look at the source to see what the binding for the joystick is. There is an enumerator for all the supported devices.
01/18/2011 (3:58 pm)
@eb - I believe Thomas posted what I would have for the answer. Did his suggestion not work? I've gotten the joystick to work in the past. If it does work, then a quick script should be easy to write up and post here. Need to make sure the system is working first.@Rex - Real useful if you are saying he can look at the source to see what the binding for the joystick is. There is an enumerator for all the supported devices.
#6
Something else to consider if you want the full script posted is that you can support multiple joysticks (joystickn). Are you looking for a script supporting just one?
01/18/2011 (4:12 pm)
In total, it should be 16 unique function calls. That's if you support all inputs and a single button. A total of 31 buttons are supported, so a full script would be a lot of repetition. Link to TDN Listing.Something else to consider if you want the full script posted is that you can support multiple joysticks (joystickn). Are you looking for a script supporting just one?
#7
- I was hoping that I could save a few hours by asking and finding a pre-made solution..but it seems that this isn't a big concern for fellow forum-ites? I could be wrong.
I think I'll just 'bite the bullet' and make my own. I know where to get the info, ..it's in that awesome script manual! :)
I'll Resource the work when I am done..
------------------------------------
.START GAME[->]USE CONTROLLER.
(of course you could choose to use the keyboard and mouse..but the point here is to allow input device choices.)
------------------------------------
01/18/2011 (10:30 pm)
Hey Mich.- I was hoping that I could save a few hours by asking and finding a pre-made solution..but it seems that this isn't a big concern for fellow forum-ites? I could be wrong.
I think I'll just 'bite the bullet' and make my own. I know where to get the info, ..it's in that awesome script manual! :)
I'll Resource the work when I am done..
------------------------------------
.START GAME[->]USE CONTROLLER.
(of course you could choose to use the keyboard and mouse..but the point here is to allow input device choices.)
------------------------------------
#8
I have some old TGE scripts you could use as reference. Backyard Battle was designed to be a console style party game so everything was able to be navigated by a gamepad. I just need to dig out the files.
01/18/2011 (10:41 pm)
@ebI have some old TGE scripts you could use as reference. Backyard Battle was designed to be a console style party game so everything was able to be navigated by a gamepad. I just need to dig out the files.
#10
Brings back some find memories of me screaming at the screen and almost snapping my saitek stick because X-Wings had double the turning circle of a Tie fighter...
01/20/2011 (12:58 am)
I suspect the lack of games being made that use an actual joystick these days is possibly why theres no resource posted for it, and since the dawn of the console controller with analog sticks these things have been used to replace traditional joysticks.Brings back some find memories of me screaming at the screen and almost snapping my saitek stick because X-Wings had double the turning circle of a Tie fighter...
Torque 3D Owner Thomas Bang
GlobalActionMap.bind(joystick, button0, ... )
GlobalActionMap.bind(joystick, xaxis, ... )
...
???