Skip to content

Vehicle score #13

@Afgan0r

Description

@Afgan0r

Count kills from a vehicle only. The calculation formula is: $\frac{calculationTableResult - teamkillsScoreCalculatedWithCalculationTable}{playedGamesCount}$.
In playedGamesCount counts only those games where there was at least one kill from a vehicle.

Calculation table (player vehicle type on the left, killed entity type on the top, the number in the column is the number to multiply):

player static weapon car truck apc tank heli plane
static weapon 1 1 1 1 1.5 2 2 2
car 1 1 1 1 1.5 2 2 2
truck 1 1 1 1 1.5 2 2 2
apc 0.5 1 1 1 1 2 2 2
tank 0.25 0.5 0.5 0.5 1 1.5 2 2
heli 0.5 0.5 1 1 1.5 1.5 2 2
plane 0.25 0.5 0.5 0.5 1 1.5 2 2

Numbers based on how it's hard to kill the object type and how important that object type is.
Also all multiply numbers for teamkill cannot be lower than 1. For example If you killed a player as a tank, than you will get -1, not -0.25 in score calculation.

Example:
Kills from apc - 4 playes, 1 car, 1 apc, 1 player teamkilled
Kills from tank - 5 players, 1 apc, 1 tank, 1 players teamkilled, 1 tank teamkilled

In this case, the calculation formula will be: $\frac{(4 \times 0.5 + 1 \times 1 + 1 \times 1) + (5 \times 0.25 + 1 \times 1 + 1 \times 1.5) - (3 \times 1 + 1 \times 1 + 1 \times 1.5)}{1}=0.75$

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions