Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: phoenixaurora on April 15, 2007, 01:04:02 am

Title: Spin problem in Freespace 2... New to this
Post by: phoenixaurora on April 15, 2007, 01:04:02 am
So I just downloaded FS2 Open Source, I got all the things installed and everything.

I try to launch the tutorial mission and when It gets up, without pressing any keys, my ship goes ballistic and starts spinning like crazy. It spins to ehhh... an 8:00 direction, It make it unplayable. Is there anyone who knows how to fix this? Thanks guys :)
Title: Re: Spin problem in Freespace 2... New to this
Post by: AndrewStrinder on April 15, 2007, 08:55:32 am
You may have already tried this but have you tried recalabrating your joystick?
Title: Re: Spin problem in Freespace 2... New to this
Post by: Snail on April 15, 2007, 01:10:10 pm
Wheee spin of death!!!
Title: Re: Spin problem in Freespace 2... New to this
Post by: jr2 on April 15, 2007, 01:17:39 pm
Joystick problem.. I've had it too.  Either your joystick needs calibration, or it's broken, or its drivers are broken, or it sucks, or  combination of the above.  Try calibration first, then download new drivers from the manufacturer's homepage... what kind of stick do you have?  If you don't have any / don't want to use one, select <none> from the Launcher, under the Audio/Joystick tab.
EDIT: Oh, and
All batteries... target phoenixaurora; Open fire!

:welcome:

Exits are to your right and left, and flamethrowers are under your seat. Be careful, though, as they are sometimes filled with water. If this is the case, try using the broken shotguns in the weapon closet as cudgels. Also, be careful while wandering the ventilation shafts; sometimes Carl the Shivan lurks in there. If you happen to come across him, just toss him your lunch and hope that it satisfies him. If it doesn’t, and he's in a good mood, at least your death will be quick and painless.  If he's not... well, that doesn't bear mentioning.  :drevil: In the event of an emergency, you can and will be used as a flotation device.  The Plasma rifles in the forward locker are released only under authorization of an Admin, :v: , God, and/or hyperintelligent shade of the color blue. Oh, and whatever you do, don't believe takashi, no matter how good of an idea he might seem to have.  sorry taka, you've got a ways to come yet ;)
Title: Re: Spin problem in Freespace 2... New to this
Post by: Whitelight on April 15, 2007, 01:25:08 pm
Broken stick would suck, that I can relate to.  :nervous:
Title: Re: Spin problem in Freespace 2... New to this
Post by: azdraven on April 15, 2007, 02:38:00 pm
Special thanks to Jorenko, whose MANTIS post I filched this from:
Quote
Another hour of forums searching has given me my answer:
http://www.hard-light.net/forums/index.php/topic,45480.0.html [^]

I have a Microsoft Digital MediaPro Keyboard which apparently has a component that is detected as a joystick. Its model number is 1031.

The workaround seems to be to:

export SDL_JOYSTICK_DEVICE=/dev/null

This leaves me able to use my mouse for control since I don't have a joystick. I suppose if you actually did have a joystick you'd want to set this to the correct /dev/input/jsX. This can be downgraded since it can be worked around, but should probably be left open in case it can be fixed more gracefully in the future.
My question is: I'm not a code monkey/programming guru/script kiddie.  WHERE do I insert a line such as the export command listed above?  I've looked and found only 1 *.ini file, but inserting it does nothing.  Help?
Title: Re: Spin problem in Freespace 2... New to this
Post by: FUBAR-BDHR on April 15, 2007, 02:59:08 pm
Might try increasing the dead zone too.
Title: Re: Spin problem in Freespace 2... New to this
Post by: TrashMan on April 15, 2007, 03:38:12 pm
phoenixaurora...hmm...Would that be the Auroran Phoenix (EV: Nova)?
Title: Re: Spin problem in Freespace 2... New to this
Post by: jr2 on April 15, 2007, 07:31:46 pm
Special thanks to Jorenko, whose MANTIS post I filched this from:
Quote
Another hour of forums searching has given me my answer:
http://www.hard-light.net/forums/index.php/topic,45480.0.html [^]

I have a Microsoft Digital MediaPro Keyboard which apparently has a component that is detected as a joystick. Its model number is 1031.

The workaround seems to be to:

export SDL_JOYSTICK_DEVICE=/dev/null

This leaves me able to use my mouse for control since I don't have a joystick. I suppose if you actually did have a joystick you'd want to set this to the correct /dev/input/jsX. This can be downgraded since it can be worked around, but should probably be left open in case it can be fixed more gracefully in the future.
My question is: I'm not a code monkey/programming guru/script kiddie.  WHERE do I insert a line such as the export command listed above?  I've looked and found only 1 *.ini file, but inserting it does nothing.  Help?

Uh, if I'm not mistaken, that's a linux thingamabobby.. won't work for windows, I don't think... but I could be wrong.

Oh, and
:welcome:
Read the welcome speech above, because I'm too lazy to look it up again :lol:
Title: Re: Spin problem in Freespace 2... New to this
Post by: Bob-san on April 16, 2007, 07:13:48 am
:welcome:

Generally you need to calibrate the joystick. Your best bet is to simply reinstall the drives; sounded like you messed with them. Even adding a line can be a problem.
Title: Re: Spin problem in Freespace 2... New to this
Post by: chief1983 on April 16, 2007, 06:46:59 pm
Yeah, that info had to do with linux, however, if you have a keyboard that does the same thing, you might need to disable its joystick ability.  Check under the Game Controllers section of the control panel, and make sure only the joystick you're planning on using is in the list.  If there's any more, unplug them or remove them from that list.  Also, I've selected one joystick in the launcher, only to have a different one working in the game, so if you haven't verified which joystick is being used by the game, go into the options in the game, then the control configuration, and then go to ship, and try to map one of the axis on the joystick to the proper control.  If it won't map, the game is using some other joystick device.  If so, try selecting Force 0 or Force 1 in the launcher, and see if either one of those does the trick.  Hope something I said helps.
Title: Re: Spin problem in Freespace 2... New to this
Post by: Bob-san on April 17, 2007, 12:34:48 pm
I currently have a forcefeedback stick myself; I had to increase Deadzone to compensate for the loose centering spring, especially when I unplug it (disable FF). Watch out with the stick rotation; it is usually the culprit for most spinning problems as its too sensitive.
Title: Re: Spin problem in Freespace 2... New to this
Post by: Zenzic on April 17, 2007, 04:20:08 pm
I had this problem, with ship flying off on in odd directions.

I had to reinstall the Drivers for my joystick, adjusting deadzones didn't help.
Joystick in question is X-52. its rather odd though, Drivers didn't have any issue with other Games (like I-War)