In the original combat mod, when a player got a kill, their teammates in the area were also given a fractional amount of xp. Lets do the same here.
Some implementation details...
[ ] The distance that teammates must be to the player making the kill should be defined in CPPBalance.lua.
[ ] The scale factor for the fraction xp should be defined in CPPBalance.lua. It should be a value between 0.0 and 1.0. Probably 0.25 to start with and we'll balance it from there. It probably should not be too high because the player will already be getting assist xp if they damaged the attacker at all.
[ ] This should only apply to kills. Fractional xp is already given for welding, healing, and building.
This can probably be implemented in its entirety in CombatScoreMixin.lua. The function CombatScoreMixin:AddCombatKill would be a good starting point.
In the original combat mod, when a player got a kill, their teammates in the area were also given a fractional amount of xp. Lets do the same here.
Some implementation details...
This can probably be implemented in its entirety in CombatScoreMixin.lua. The function
CombatScoreMixin:AddCombatKill
would be a good starting point.