Skip to content

[Suggestion] Player skillgroup relative to other players? (e.g. a rank for top 1%) #393

@mattlapistaken

Description

@mattlapistaken

Is your feature request related to a problem? Please describe.
Nope, just wondering if this is possible to do as the readme doesn't have any info relevant to skillgroups.

Describe the solution you'd like
I would very much like to be able to set ranks based on relative position. What I would like to do is have another option in skillgroups.cfg (e.g. "rankpercentage" "x", for top x%) that sets ranks relative to the point total of every other unique user.

For example, say there are 280 entries in ck_playerrank, and the person with the 28th highest points has 1000 points. I would like to be able to put "rankpercentage" "10", and have everyone who has more than 1000 points (and are therefore in the top 10% of players [players ranked 28-1, in this case]) to have a specific title.

As more people joined, and ck_playerrank grew, the math would, presumably, recheck on map changes.

Describe alternatives you've considered
If it's too much bother, I'll stick with just using "percent", but it's based on proportions of available points, so it isn't quite what I'm after. I might also just do the math by hand every once in a while and specify specific rank ranges, but frankly that's damn tedious.

Additional context
I made my server to emulate the old Opium Gaming surf server; they had ranks relative to the server population, and I would like to be able to emulate the ranks in more than just their names.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions