Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aim assist #405

Merged
merged 12 commits into from Apr 13, 2023
Merged

Aim assist #405

merged 12 commits into from Apr 13, 2023

Conversation

bboudaoud-nv
Copy link
Collaborator

@bboudaoud-nv bboudaoud-nv commented Dec 16, 2022

This branch adds support for a simplified aim assist to FPSci.

Supported features include:

  • An FoV-based aim assist specified by aimAssistFoV in general configuration
  • Ability to visualize the aim assist FoV using a custom color (aimAssistFoVColor) and width (aimAssistFoVWidth)
  • Automatic invoking of aim assist on fire using aimAssistSnapOnFire
  • Use of the autoAim key (now specified in the key map and defaulting to Tab) to snap aim (when aimAssistFoV > 0)
  • Optional use of aim assist with reference (aimAssistOnReference) and real (aimAssistOnReal) targets
  • Speed limiting for aim assist using aimAssistMaxSpeed parameter (in °/s)

@bboudaoud-nv bboudaoud-nv self-assigned this Dec 16, 2022
@bboudaoud-nv bboudaoud-nv added the enhancement New feature or request label Dec 16, 2022
@bboudaoud-nv bboudaoud-nv marked this pull request as ready for review January 9, 2023 15:48
Copy link
Contributor

@jspjutNV jspjutNV left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested this and it seems to work. It would be nice to have a sample to add to the repository, but we can always build that later.

The combo of aimAssistMaxSpeed and aimAssistSnapOnFire can give some weird behavior, but it's easy for the experiment designer to avoid those situations. We can always improve that behavior later.

@bboudaoud-nv bboudaoud-nv merged commit a348887 into master Apr 13, 2023
@bboudaoud-nv bboudaoud-nv deleted the AimAssist branch April 13, 2023 20:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants