Posted by Dave K. on January 07, 2002 at 17:00:34:
In Reply to: Re: my failed attempt at making a silent scope gun :-( posted by Just Michael on January 07, 2002 at 15:05:15:
I understand that normally this is the case. But for this game (the PS2 implementation), the analog joystick won't work like this. If it did, then when I let go of the joystick (and it snaps back into neutral position) the scope should return to the center of the screen, and it doesn't. The analog joystick mearly moves the scope in the direction pushed (and the speed at which it moves is correlated to how far in one direction you push the joystick). When I let go (bring the joystick back to neutral center position) the scope stays at last position. This is not the way the arcade gun tracks.
The mouse on the ther hand will continuously track the x,y position. But you are right in that I will have to make sure the gun is in the netural position (pointing at the middle of the screen where the scope starts at) for this to work. After the game starts, all movement is tracked exactly.
Unless there is such a thing as a USB Mouse that uses an analog joystick (or a USB joystick that sends serial mouse data), I don't think its going to work with pots.
-Dave
: Using pots mounted properly you would have absolute positioning. Where ever the gun is pointed is converted to an absolute position. With a mouse you don't get this.
: Here is an example of what I mean:
: Lets say you point the gun at the bottom right corner of the screen and hold it there and then shut off the game. Now when you restart the game, it will read the pots and know you are pointing at the bottom right corner. If you use a mouse based system, when you restart the game, it will see no movement yet so it will think you are pointing at the default starting location (such as the middle of the screen in most games) even though your mouse is where you left it when it was pointing at the bottom right corner last game.