Download .zip (6.35 kb)
Last Updated: 1-11-1
STATUS: Done


Included:
StatStdLib.cs - only thing needed to make a stat map
Stat_City_on_the_Edge.cs - edited to enable stats
Stat_City_on_the_Edge.mis - renamed to match above

Instructions:
exec("StatStdLib.cs");
To set up a map to run the stat add the above line after any other exec()'s in the .cs file of the map you want to add it to. Done. You can customize what is reported by setting $PlayStats and $VehStats to true or false, depending on wether or not you want to display each (player and vehicle stats, respectivly). The host, or map makers, can make additional stat displays. The command to show stats is displayStats(); and should be preceeded by a focusServer(); on non-dedicated servers.

Description:
This script keeps track of various stats durring the progress of a game, and reports them on mission end. The stats recorded include kills and deaths v.s. each player encountered; kills/deaths v.s. each vehicle encountered (or used) and kills/deaths while using each vehicle used (or encountered). By default, vehicle stats are off and player stats are on. Some stats can be seen by scanning the vehicles of opponents. The map is only tested in Death Match, but there is no reason to believe it wouldn't work in team Death Match.

Possible future changes:
I may add other maps to use it on (not that it is difficult fo a scripter, but it could be for someone unfamiliar with .cs files). Also, when adding maps, I may add objects that, when scanned, will display all of a player's stats. I may or may not ever do this, we'll see...


Comments, etc.
Starsiege page