Page 2 of 2

Re: Another controls and mapping question thread, sorry

Posted: Sun Nov 10, 2013 12:13 pm
by navbuoy
You may have missed the close bracket on the bottom so that could cause errors but I'm guessing you just missed copying it. Took a quick peek at the other thread link above and think this is closer to what you want [if the eyepoint_tilt_delta function even exists?!!] yet the Eyepoint_pan_delta does so you might be able to use that at least.

Code: Select all

   
    eyepoint_tilt_delta {
       + keyboard   Space
       + mouse Up/Down
    }

    eyepoint_pan_delta {
       + keyboard   Space
       + mouse Left/Right
    }


Hopefully this function works for you. So when you hold down the Space bar your viewpoint should adjust properly as you and move your mouse. The problem is I don't think there is a Mouse Left or a Mouse Right input otherwise it would be pretty straight forward. So looking at the Joystick map all I saw was Delta which is what you want for a minus/plus input like a mouse or joystick. If it works your eyepoint will move but not your pilot view - unless there's a Pilot_pan_delta and Pilot_tilt_delta options hiding as well? :roll:

Re: Another controls and mapping question thread, sorry

Posted: Tue Nov 12, 2013 5:16 am
by chroma
Hey, thanks for the reply. Unfortunately though it looks like that function doesn't exist, as the game crashes with that listed as the problem. Ah well, it's not that big of a deal anyway. Beside a few odd things I have the basics configured well enough.

Cheers

Re: Another controls and mapping question thread, sorry

Posted: Thu Nov 28, 2013 4:20 am
by LordNova2
Not sure where you found the "eyepoint delta" stuff at, if you found it in the game files it might have been for controlling your eye point with the VR Helmet.

This is what I know of for controlling your eye point:
pilot_tilt (up and down eye point for axis only)
pilot_tilt_plus (tilt eye point down)
pilot_tilt_minus (tilt eye point up)
pilot_tilt_reset (center eye point tilt)
pilot_pan (pan eye point left and right for axis only)
pilot_pan_plus (pan eye point right)
pilot_pan_minus (pan eye point left)
pilot_pan_reset (center eye point pan)

So it should read like this:

Code: Select all

    pilot_tilt {
       + keyboard   Space
       + mouse Up/Down
    }

    pilot_pan {
       + keyboard   Space
       + mouse Left/Right
    }
But when I tested this it also crashed. I had to do it over again because the message was very quick. "MW2.EXE - fatal error #11: SYSERR_NOPREFS: error reading hware prefs file: No input channel "Space". Line 43" and and I double checked INPUT.MAP and on line 43 and it read "+keyboard Space", so I tried binding it to "G" instead and it still crashed as well. I also tried this with torso_pan and it crashed as well. When I start to think about it, it makes sense as it is expecting to look for an analog/axis based input and not a keyboard keypress input.
I am trying to think, but as of right now nothing comes to mind on how to emulate your mouse movement as a joystick axis on demand like this. It was still a cool idea to be able to hold down space and use your mouse to free-look with.