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

Scoring improvements #147

Open
assertivist opened this issue Jan 28, 2021 · 1 comment
Open

Scoring improvements #147

assertivist opened this issue Jan 28, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@assertivist
Copy link
Member

There is a scorekeeping plugin interface available here:
https://github.com/avaraline/Avara/blob/master/src/game/AvaraScoreInterface.h

This can be used to give a per-weapon breakdown of score, which is what the original's Scorekeeper plugin used to do.

We should be able to use this same interface to provide the same data in the game out of the box.

Each time a player's score changes, the scoring method is called with a player/team that shot, the player/team that was hit, a reason, and the energy of the hit.

At the end of the game, I would like to see a breakdown of each player's score by weapon reasons (ksiShotHit, ksiGrenadeHit, ksiMissileHit) and possibly the others identified in the struct. I would like to see who did the most damage to the player, as well as who the player damaged the most.

For extra points, extend the scoring interface to keep track of in-flight projectiles that are destroyed, who destroyed them and by what etc.

For even extra points, prepare the network score syncing between clients at the end of the game to also report the scores at game's end to a centralized meta-game server.

@assertivist assertivist added the enhancement New feature or request label Jan 28, 2021
@rherriman
Copy link
Member

In addition to tracking blowing up "hats," it would also be nice to track the last player to hit a given FreeSolid so we can give credit for FreeSolid kills.

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

No branches or pull requests

2 participants