I would like to change the points allocation for flag captures (actions) to make it based on skill, similar to the points given for a kill. I found that with the current system, someone can sit on an empty map and capture flags to boost their score. I got to thinking how I could prevent that and then I started to work on a way that would do a skill calculation just like the kills (which is AWESOME, BTW)
So, I'd like to take into account the opposing teams combined skill with the player's team combined skill and come up with a multiplier to apply every time one of these actions is performed. I might also want to give each member of the team some credit, with the most credit going to the player that actually completed the action (it is a team effort, right?). This way, if there are a bunch of noobs on one team and they actually pull off a capture, they'd get more points for doing it than would the other team against the noobs.
points allocated = base points for action * ( opponent's skill total / player's team skill total )
would give us points to give to the player that grabbed the flag, etc. then we could also do:
points allocated to each team member = (base points for action * ( opponent's skill total / player's team skill total ) ) / # of players on the team
That way team play is encouraged, everyone gets a little credit, even if you can't complete the cap, you get points if a team member finishes it for you, etc.
What do you think? How hard would this (or some other formula) be to implement? I'd be willing to work on it, but I don't know where to start, so I'll try looking at the xlrstats code.