fgsfdsfgs / perfect_dark

work in progress port of n64decomp/perfect_dark to modern platforms
MIT License
1.19k stars 73 forks source link

Modern aiming support #255

Open TwitchBronBron opened 10 months ago

TwitchBronBron commented 10 months ago

Are you open to a PR that adds modern aiming support? That's probably the feature that I miss most from other FPS games while playing this game. I hacked a few settings and got a rough proof of concept working.

I would envision adding a new yes/no (or checkbox) option in the menu somewhere called "Modern aiming". It would do the following when aiming:

The sniper rifle currently zooms in and out instead of crouch/uncrouch when holding forwards and backwards, so we would need to come up with some new control scheme for variable zoomable weapons (is it more than just the sniper?). Perhaps we could do something like Halo where tapping a button bounces between 2-3 different preset zoom levels (they could even be configurable)?

Here's a brief demo showing it working:

https://github.com/fgsfdsfgs/perfect_dark/assets/2544493/db595c01-7ba5-4a7c-87ae-80c4760e600d

ryzendew commented 10 months ago

you play the game super weird

fgsfdsfgs commented 10 months ago

You can already do some of these things by enabling "Mouse Aim Lock" in the Extended options and setting Crouch Mode to "Toggle". You can also remove crosshair sway when not aiming by setting it to 0 in the Extended options, giving you a "PC FPS" aiming scheme. Dedicated lean buttons will probably be added eventually, but as for allowing movement during aim, I don't know. Seems like a pretty significant change.

Joshua-1248 commented 8 months ago

You can already do some of these things by enabling "Mouse Aim Lock" in the Extended options and setting Crouch Mode to "Toggle". You can also remove crosshair sway when not aiming by setting it to 0 in the Extended options, giving you a "PC FPS" aiming scheme. Dedicated lean buttons will probably be added eventually, but as for allowing movement during aim, I don't know. Seems like a pretty significant change.

The TimeSplitters games allowed for full movement while aiming so it's definitely possible.

The way Rare/Free Radical Design appears to have designed it for TimeSplitters was reworking the crouching system to be one button for half-crouching while moving around & full crouching when not.

They essentially changed the analog up & down controls that make you crouch/stand up while aiming & instead makes you move forward & back.

epic-piano commented 2 months ago

Damn - that is impressive. I would love to move while aiming - would help out with the playability of this game. It is a bit stifled when you're stuck to the ground while aiming.