|
Why don't you use your joystick...
About Truespace Archives
These pages are a copy of the official truespace forums prior to their removal somewhere around 2011.
They are retained here for archive purposes only.
Why don't you use your joystick... // Interactive Artwork
Post by Wigand // Jan 29, 2007, 4:08am
Wigand
Total Posts: 462
|
... to control your simulations?
Here I offer to you a plugin to use your joystick
for simulations in TS7. You can use it free.
It is a rar archiv, so you must uncompress it
Then you must run the setup.exe-program
unfortunately it is in german language.
First you see two buttons
OK Setup beenden
you click OK
Next step, you can choose an other path "Verzeichnis wechseln". You can leave this one or choose your favorite folder.
Don't click on the "Setup beenden"
You have to click on the icon with the PC and the little box.
Now the installation starts.
at last you have to click OK.
I do not know what kind of joystick you use.
I have a "Saitek Cyborg 3d USB".
It is an analog stick. It sends numbers for movement not only up or down.
Now you open the cranescene. Maybe you get some errors. Click OK.
In the crane scene you possibly have to disable the "timer event"
in the LE then click start on "initJoystick" (Its because something
must enabled) enable "timer event" then move your stick.
Now the crane should move too. With the Z-Axis of your stick you move
the holder up and down. With the fire button you close the holder.
With button2 you can switch lights on and off.
I hope it works for you too :jumpy:
Have fun! |
Post by GraySho // Jan 29, 2007, 6:44am
GraySho
Total Posts: 695
|
This is great. Now if only I had a joystick here. Just a matter of time 'till we see FPS or flightsims in tS :) |
Post by ProfessorKhaos // Jan 29, 2007, 7:28pm
ProfessorKhaos
Total Posts: 622
|
Looks pretty cool! Lots of interactive possibilities. Your scripts and associated uses are quickly becoming quite impressive Wigand! :) |
Post by Wigand // Jan 29, 2007, 8:37pm
Wigand
Total Posts: 462
|
Looks pretty cool! Lots of interactive possibilities. Your scripts and associated uses are quickly becoming quite impressive Wigand! :)
Thank you, but please let me know if it works for you. Or do you have
problems with installation or script? |
Post by Wigand // Feb 2, 2007, 3:58am
Wigand
Total Posts: 462
|
Here I have added a TruePlay Record.
Please tell me if it works.
Some small changes I made to the Joy.dll . If you already installed it,
make a backup of your old one and change it with the new.
Please tell me if it works, I added POV-Buttons.
I wondered that there are only 9 persons who loaded the scene
and 6 persons who loaded the installation. Nobody told me about
problems and gave hints. Only
Emma was so kind to help me improving the scene and bought a
joystick only to test these scenes. Thank you Emma :) |
Post by hultek43 // Feb 2, 2007, 10:16am
hultek43
Total Posts: 234
|
Still on V6.6 here, my current needs don't warrant an upgrade to this newest release of TS which is still in development. Your creation/s appear to have usage as well as the many other offerings which have been posted by other users; IF I did have the latest version, I'd certainly have downloaded and tried them out. |
Post by splinters // Mar 1, 2007, 12:14pm
splinters
Total Posts: 4148
|
I really need the joystick input for tS7 as I am trying to bind the functions of a Space Navigator to joystick inputs so I can navigate player in realtime.
Anyone able to help here?
When I use the installer below I get what seem like error messages...but my German is bad...:confused:
I loaded the scene but when I start the timer I get this message; |
Post by Alien // Mar 1, 2007, 4:24pm
Alien
Total Posts: 1231
|
I really need the joystick input for tS7 as I am trying to bind the functions of a Space Navigator to joystick inputs so I can navigate player in realtime.
I thought you said someone on the space navigator forums had made a prog that enables you to use it with any prog? Why not use that instead? |
Post by Wigand // Mar 1, 2007, 6:17pm
Wigand
Total Posts: 462
|
I really need the joystick input for tS7 as I am trying to bind the functions of a Space Navigator to joystick inputs so I can navigate player in realtime.
Anyone able to help here?
When I use the installer below I get what seem like error messages...but my German is bad...:confused:
I loaded the scene but when I start the timer I get this message;
Could you make screen copies of the installer messages?
The message you showed is the message that the joy.dll is not initialised or
installed.
After installation, you must find the joy.dll in your registry.
Did you click the start button in the crane.scene? |
Post by splinters // Mar 1, 2007, 10:23pm
splinters
Total Posts: 4148
|
It is clicking the start button that causes the error message. I found the joy.dll along with many other .dll's but had no idea where to put them.
it is not actually a joystick I am using but I can map the motion of the 3d device to joystick axes or POV. Here is the screen from the program (not the official one that comes with the device); |
Post by splinters // Mar 1, 2007, 10:25pm
splinters
Total Posts: 4148
|
I thought you said someone on the space navigator forums had made a prog that enables you to use it with any prog? Why not use that instead?
I have the truball.tsx which works fine in model side but I need joystick input. The program you speak of lets you bind the device to joystick functions but you still need an object in the LE to allow joystick input into the player (realtime view), that is what wigand made...but in German...:o |
Post by Alien // Mar 2, 2007, 3:05am
Alien
Total Posts: 1231
|
I have the truball.tsx which works fine in model side but I need joystick input. The program you speak of lets you bind the device to joystick functions but you still need an object in the LE to allow joystick input into the player (realtime view), that is what wigand made...but in German...:o
Why not bind it to keyboard instead & create/modify widgets in tS to accept keyboard input instead of mouse?
Wigand: an idea for your prog [or any others you create] - if instead of putting text directly into the prog, you instead tell the prog to get the text from a text file then the user could select the language at the 1st install screen & it could get the text from the file [e.g. german.txt, english.txt, spanish.txt] like reading from an array. If you created the german 1, other people could provide the files for other languages. You could even go further by letting it check what language Windows is set to & checking to see if it has a matching language file for that language & selecting it automatically. |
Post by Wigand // Mar 2, 2007, 4:08am
Wigand
Total Posts: 462
|
I think the problem is the installation program.
I have no influence in the language it uses.
If someone here has the english version of VB6, he could
get my sourcecode to make an english setup.
The scripts are not written in german. Only some variables could
sound german, but that doesn't matter |
Post by Alien // Mar 3, 2007, 8:29am
Alien
Total Posts: 1231
|
If someone here has the english version of VB6, he could
get my sourcecode to make an english setup.
I think I've got Visual Studio on a magazine cover disc somewhere, & I'm pretty sure that includes a version of VB, though not sure which 1. I'll see if I can find it a bit later. |
Post by splinters // Mar 3, 2007, 8:36am
splinters
Total Posts: 4148
|
Ok, I got it to install and I moved the SN...crane moved...woohoo!
BUT, I need this for navigation of 3D space not an object....how to do that? |
Post by Wigand // Mar 3, 2007, 10:28am
Wigand
Total Posts: 462
|
I think you must ask some widget pros. ;) |
Post by splinters // Mar 3, 2007, 1:35pm
splinters
Total Posts: 4148
|
Thanks for all the help guys but the program you can use to bind functions interferes with the trueball.tsx so I am gonna leave this for now. Really need to get back to beta testing and personal projects. We can pick this up later...maybe a widget expert will buy one of these.
Thanks again for all the input. There is a dedicated thread for the device now where users can post their experiences and suggestions. |
Post by Wigand // Sep 16, 2007, 9:33am
Wigand
Total Posts: 462
|
On my system, joystick.dll works again. :banana:
Now I use the "Function Set" to implement the important routines.
Please inform me if there is still any problem. |
Post by trueBlue // Sep 16, 2007, 10:57am
trueBlue
Total Posts: 1761
|
Super! Glad you were able to figure this out Wigand. |
Post by Emma // Sep 16, 2007, 12:06pm
Emma
Total Posts: 344
|
It would be especially interesting if the 3D navigator shows up with any output. So whoever owns such a device, would you please try this out ?
Thanks:) |
Post by frootee // Sep 16, 2007, 4:47pm
frootee
Total Posts: 2667
|
Emma, that sounds like a job for splinters.
I'll let him know about this in case he hasn't noticed this thread...
Froo |
Post by splinters // Sep 16, 2007, 9:19pm
splinters
Total Posts: 4148
|
I spotted this but I am bogged down at school at the moment.
problem with using the program required to implement the device with a joystick is it clashes with the trueball.tsx, so I effectively lose the fluid control I have in model side.
I will try it though...maybe tonight if I get chance. Is it still in German?
Steve (Madmouse) has one of these as well if he gets chance before I do...:D |
Post by Wigand // Sep 17, 2007, 5:04am
Wigand
Total Posts: 462
|
Is it still in German?
If you already had installed the DLL, it is ok.
The DLL is still the same I posted earlier in this thread.
Otherwise I have no chance to make an english installation setup.
Maybe some of the english speaking folks here with VB6 are able
to make such.
Maybe it is possible to register the dll by hand. (regsvr.exe, regsvr32.exe) |
Post by Emma // Sep 17, 2007, 5:24am
Emma
Total Posts: 344
|
Maybe it is possible to register the dll by hand
for those who don't know how to do it
regsvr32 /i PATH/Joy.dll
PATH = location where you saved Joy.dll from the unpacked rar file that Wigand published above |
Post by Wigand // Sep 17, 2007, 6:26am
Wigand
Total Posts: 462
|
for those who don't know how to do it
regsvr32 /i PATH/Joy.dll
PATH = location where you saved Joy.dll from the unpacked rar file that Wigand published above
Thank you Emma. :)
And then, don't forget to use the new crane scene. (In the old
packed file are the old objects but the still working DLL.) |
Post by Emma // Sep 18, 2007, 9:47am
Emma
Total Posts: 344
|
Guess I'll have to thank you for this great script, it's beginning to grow now :jumpy:
Did a very first early step to connect it to the flying soucer in the scriptorium thread created by some very talented people.
Now creative ones can enhance this....
Wonder when men/woman will do now first step into the dust on the trueSpace moon :rolleyes: |
Post by frootee // Sep 18, 2007, 10:11am
frootee
Total Posts: 2667
|
Oh Cool! So we could hook up the joystick to drive the saucer! Woohoo! Now all we need are some X-Wings and Tie-Fighters... maybe I'll just drive a Death Star. They're like good SUV's. :D |
Post by Wigand // Sep 18, 2007, 10:28am
Wigand
Total Posts: 462
|
Guess I'll have to thank you for this great script, it's beginning to grow now :jumpy:
Did a very first early step to connect it to the flying soucer in the scriptorium thread created by some very talented people.
Now creative ones can enhance this....
Wonder when men/woman will do now first step into the dust on the trueSpace moon :rolleyes:
Yes Emma, you had the same idea. I already put this nice UFO to my
joystick. :jumpy:
Something is a little strange: When I move the mouse, the saucer jumps
to zero coordinates and back :confused: |
Post by frootee // Sep 18, 2007, 10:30am
frootee
Total Posts: 2667
|
Hi Wigand. Check the animation editor, using the Keyframe tab. Make sure there are no keyframes in there. You may have gotten the version that has a 'test' animation of the saucer moving in a straight line.
BTW could you post the scene file please? I'd love to take a look and see how you did it! :banana: |
Post by Wigand // Sep 18, 2007, 10:45am
Wigand
Total Posts: 462
|
Hi Wigand. Check the animation editor, using the Keyframe tab. Make sure there are no keyframes in there. You may have gotten the version that has a 'test' animation of the saucer moving in a straight line.
BTW could you post the scene file please? I'd love to take a look and see how you did it! :banana:
Oh, I'm sorry to say, I only take the saucer object and put it at the joystick script.
All the buttons I deleted :mad: |
|