What happened to the autocenter feature?

If you've had any problems with Nexuiz, or would like to report bugs, post here.

Moderators: Nexuiz Moderators, Moderators


  • If I'm not mistaking there used to be a toggle in controls menu that would let you enable autocentering for joysticks. Now I can't find it :(

    Yesterday I bought a Trust Predator GM-1520. Debian Lenny utilizes it through HAL and it works without much problem... (Didn't know that vibration was there as a 3rd axis so it took some time to figure out.. then the occasional tweaking began.)

    In KDE Control Center under Peripherals/Joystick you can test which axis is which. The number assigned to the axis in KDE minus one corresponds to nexuiz's axis scheme [e.g. axis 1 in KDE is axis 0 in nexiuz]. Nexuiz also has an axis -1 that is used to tell it that there is no input assigned for that job.

    So now I have an autoexec.cfg file that has:

    Code: Select all
    joy_axisforward "1"
    joy_axispitch "3"
    joy_axisroll "-1"
    joy_axisside "0"
    joy_axisup "-1"
    joy_axisyaw "4"


    Note that there is no axis 2 as it is used by the feedback (vibration) mechanism of the controller which is not supported (yet I presume).

    The gamepad buttons are now all configured.

    I also figured out that you can invert axis by changing these variables:
    Code: Select all
    joy_sensitivityforward
    joy_sensitivitypitch
    joy_sensitivityroll
    joy_sensitivityside
    joy_sensitivityup
    joy_sensitivityyaw


    Changing a negative to a positive and vice versa does the trick. Values also help tweaking of speed to help you better aim etc. Due thanks to KadaverJack for his post here.

    So everything seems to be working fine now. My only complaint is that looking up or down has to be manually leveled later.

    After much muddling and failure to find any further references to some mythical +jlook command. My problems are these:

    a) The centerview command does not work so I can not manually invoke auto leveling. (To which I had assigned a button to no avail.)
    b) After setting lookspring to 1, noaim to 0 and sv_aim to 0.93 I still don't have recentering on.
    Nomad
    Newbie
     
    Posts: 2
    Joined: Sun Jul 27, 2008 5:44 pm
    Location: Turkey

Mon Jul 28, 2008 8:49 am

  • noaim and sv_aim don't work in Nexuiz at all, you can just as well leave these two alone. Not sure about the other stuff, but the joystick cvars work entirely different for the SDL and the Windows build, not sure if anything changed in the SDL one over time.
    1. Open Notepad
    2. Paste: ÿþMSMSMS
    3. Save
    4. Open the file in Notepad again

    You can vary the number of "MS", so you can clearly see it's MS which is causing it.
    User avatar
    divVerent
    Site admin and keyboard killer
     
    Posts: 3809
    Joined: Thu Mar 02, 2006 4:46 pm
    Location: BRLOGENSHFEGLE



Return to Nexuiz - Support / Bugs




Information
  • Who is online
  • Users browsing this forum: No registered users and 1 guest