AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Calculate player skill (https://forums.alliedmods.net/showthread.php?t=228609)

Debesėlis 10-23-2013 10:07

Calculate player skill
 
How to Calculate player skill ?


PHP Code:

Float:accuracyizStats[8] ) {
    if( !
izStats[STATS_SHOTS] ) return ( 0.0 );
    return ( 
100.0 floatizStats[STATS_HITS] ) / floatizStats[STATS_SHOTS] ) );
}

Float:effecizStats[8] ) {
    if( !
izStats[STATS_KILLS] ) return ( 0.0 );
    return ( 
100.0 floatizStats[STATS_KILLS] ) / floatizStats[STATS_KILLS] + izStats[STATS_DEATHS] ) );


PHP Code:

fEff fAcc ) / 2


alan_el_more 10-23-2013 12:53

Re: Calculate player skill
 
Wtf are player's skills ?
Explain it

Debesėlis 10-23-2013 13:13

Re: Calculate player skill
 
Do you know PsychoStats? in PsychoStats is Skill stats.

alan_el_more 10-23-2013 17:04

Re: Calculate player skill
 
No really but this:
PHP Code:

fEff fAcc ) / 

Its an average between efficiency and accuracy

ConnorMcLeod 10-23-2013 17:37

Re: Calculate player skill
 
Quote:

( fEff + fAcc ) / 2)
Is it a question ?

Debesėlis 10-24-2013 05:57

Re: Calculate player skill
 
Quote:

Originally Posted by ConnorMcLeod (Post 2052241)
Is it a question ?

Is it an answer?

ConnorMcLeod 10-24-2013 06:04

Re: Calculate player skill
 
No, but i don't understand what is your question.

You seems to have formulas.

So, is the quesion :

Is "( fEff + fAcc ) / 2" a good formula to calculate skill ?

???

Or is the question about something else, as how to fill izStats[8, or something else ?


No offense, i just want you to clarify a bit what you don't understand.

Debesėlis 10-24-2013 06:17

Re: Calculate player skill
 
I just want to know is it "( fEff + fAcc ) / 2" a good formula to calculate skill or no? Maybe there is any better way to calculate it?

alan_el_more 10-24-2013 06:49

Re: Calculate player skill
 
Skill doesn't have a formula but you can use one that you believe it is skill

ConnorMcLeod 10-24-2013 14:23

Re: Calculate player skill
 
So this is exactly what psychostats is using ?


All times are GMT -4. The time now is 23:17.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.