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

Auto melee #742

Closed
cxong opened this issue Apr 18, 2022 · 4 comments
Closed

Auto melee #742

cxong opened this issue Apr 18, 2022 · 4 comments
Labels

Comments

@cxong
Copy link
Owner

cxong commented Apr 18, 2022

Add a weapon slot for auto-melee weapons

  • Automatically switch to it while running into enemies (unless already holding another melee weapon)
  • Automatically switch back to previous gun when pressing shoot
  • Auto melee weapon doesn't damage hostages, good guys, victims, objects
  • Always default to fists for auto melee
@cxong
Copy link
Owner Author

cxong commented Jun 27, 2022

One problem with auto melee is it messes with victims and the ninja bonus. We don't want to automatically attack victims, especially if the player is holding a gun, but if we turn off auto melee for victims, it makes the ninja bonus too easy to get - just run around with a knife and not worry about victims at all.

Therefore auto melee should be optional. To avoid having it impacting the rest of C-Dogs, it can be a weapon-level option.

@cxong
Copy link
Owner Author

cxong commented Jun 27, 2022

Also:

  • Auto switch to melee weapon if guns are out of ammo

@cxong cxong added the blocked label Jun 27, 2022
@cxong cxong removed the blocked label Aug 14, 2022
cxong added a commit that referenced this issue Sep 13, 2022
@cxong
Copy link
Owner Author

cxong commented Sep 13, 2022

melee

@cxong cxong closed this as completed in e7a4917 Nov 1, 2022
@cxong
Copy link
Owner Author

cxong commented Nov 1, 2022

melee

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

No branches or pull requests

1 participant