From 8115568a1246a0fc05b806fcbc0bfb92bcc69b5c Mon Sep 17 00:00:00 2001 From: ChocoTaco1 Date: Tue, 6 Dec 2022 16:15:26 -0500 Subject: [PATCH] skin stats --- Classic/scripts/autoexec/z_dtStats.cs | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/Classic/scripts/autoexec/z_dtStats.cs b/Classic/scripts/autoexec/z_dtStats.cs index 031d1dd..6c62ec5 100644 --- a/Classic/scripts/autoexec/z_dtStats.cs +++ b/Classic/scripts/autoexec/z_dtStats.cs @@ -1091,6 +1091,11 @@ $dtStats::FV[$dtStats::FC["TG"]++,"TG"] = "plasmaDeathGround"; $dtStats::FV[$dtStats::FC["TG"]++,"TG"] = "blasterDeathGround"; $dtStats::FV[$dtStats::FC["TG"]++,"TG"] = "mineDeathGround"; +$dtStats::FV[$dtStats::FC["Game"]++,"Game"] = "skin"; +$dtStats::FV[$dtStats::FC["Game"]++,"Game"] = "sex"; +$dtStats::FV[$dtStats::FC["Game"]++,"Game"] = "race"; +$dtStats::FV[$dtStats::FC["Game"]++,"Game"] = "voice"; + $dtStats::FV[$dtStats::FC["TG"]++,"TG"] = "null";//rng number //////////////////////////////////////////////////////////////////////////////// //Unused vars that are not tracked but used for other things and need to be reset @@ -3589,6 +3594,11 @@ function dtStatsMissionDropReady(%game, %client){ // called when client has fini else %dtStats = %client.dtStats; + %dtStats.skin = getTaggedString(%client.skin); + %dtStats.race = %client.race; + %dtStats.sex = %client.sex; + %dtStats.voice = %client.voice; + %dtStats.joinPCT = (isGameRun() == 1) ? %game.getGamePct() : 0; updateTeamTime(%dtStats, -1); %dtStats.team = %client.team;// should be 0 @@ -9514,4 +9524,5 @@ function testVarsRandomAll(%max){ // Removed Map Stats // Removed all stat menus other then leaderboard stuff and server panel // Made Live Stats Admin only its useful for testing stats -// Changed stats compile speed to 64ms with map stats gone \ No newline at end of file +// Changed stats compile speed to 64ms with map stats gone +// Extra stats for player model \ No newline at end of file