View Single Post
Author Message
Nexd
BANNED
Join Date: Dec 2013
Location: Hungary
Old 01-28-2020 , 15:13   [CS:GO] Custom Scoreboard Ranks
Reply With Quote #1

This plugin could get your GSLT token banned, be careful.

Description:
You can add custom scoreboard rank images, restrict them for flags
Works in the exact same way as my scoreboardlevel

In general, this is my test for the enum struct.

Screenshots:
https://imgur.com/a/RBf3x8O

I have added the default ranks and found some .svg for the faceit ranks

You can edit/add new ranks in: configs/level_ranks.cfg:
PHP Code:
"LevelRanks" //flag could be: 0-20 ( https://wiki.alliedmods.net/Checking_Admin_Flags_(SourceMod_Scripting) ) (1<<11) -> 11
{
    
"1"
    
{
        
"name" "Silver I"
        "index" "1"    
        "flag" "-1" 
//-1 if anyone can use it
    
}
    
    
"2"
    
{
        
"name" "Silver II"
        "index" "2"    
        "flag" "-1"
    
}
    
    
"3"
    
{
        
"name" "Silver III"
        "index" "3"    
        "flag" "-1"
    
}
    
    
"4"
    
{
        
"name" "Silver IV"
        "index" "4"    
        "flag" "-1"
    
}
    
    
"5"
    
{
        
"name" "Silver Elite"
        "index" "5"    
        "flag" "-1"
    
}
    
    
"6"
    
{
        
"name" "Silver Elite Master"
        "index" "6"    
        "flag" "-1"
    
}
    
    
"7"
    
{
        
"name" "Gold Nova I"
        "index" "7"    
        "flag" "-1"
    
}
    
    
"8"
    
{
        
"name" "Gold Nova II"
        "index" "8"    
        "flag" "-1"
    
}
    
    
"9"
    
{
        
"name" "Gold Nova III"
        "index" "9"    
        "flag" "-1"
    
}
    
    
"10"
    
{
        
"name" "Gold Nova Master"
        "index" "10"    
        "flag" "-1"
    
}
    
    
"11"
    
{
        
"name" "Master Guardian I"
        "index" "11"    
        "flag" "-1"
    
}
    
    
"12"
    
{
        
"name" "Master Guardian II"
        "index" "12"    
        "flag" "-1"
    
}
    
    
"13"
    
{
        
"name" "Master Guardian Elite"
        "index" "13"    
        "flag" "-1"
    
}
    
    
"14"
    
{
        
"name" "Distinguished Master Guardian"
        "index" "14"    
        "flag" "-1"
    
}
    
    
"15"
    
{
        
"name" "Legendary Eagle"
        "index" "15"    
        "flag" "-1"
    
}
    
    
"16"
    
{
        
"name" "Legendary Eagle Master"
        "index" "16"    
        "flag" "-1"
    
}
    
    
"17"
    
{
        
"name" "Supreme"
        "index" "17"    
        "flag" "-1"
    
}
    
    
"18"
    
{
        
"name" "Global Elite"
        "index" "18"    
        "flag" "-1"
    
}
    
    
"19"
    
{
        
"name" "Faceit II"
        "index" "9020"    
        "flag" "-1"
    
}
    
    
"20"
    
{
        
"name" "Faceit III"
        "index" "9021"    
        "flag" "-1"
    
}
    
    
"21"
    
{
        
"name" "Faceit IV"
        "index" "9022"    
        "flag" "-1"
    
}
    
    
"22"
    
{
        
"name" "Faceit V"
        "index" "9023"    
        "flag" "-1"
    
}
    
    
"23"
    
{
        
"name" "Faceit VI"
        "index" "9024"    
        "flag" "-1"
    
}
    
    
"24"
    
{
        
"name" "Faceit VII"
        "index" "9025"    
        "flag" "-1"
    
}

if you want to add more, you MUST upload the files here:
materials/panorama/images/icons/skillgroups/skillgroupINDEX.svg - index is the number what you have to put to the "index" in the cfg, THE FILE MUST BE .SVG and you should use random values because if someone downloads an icon from another server, he will see that, not yours.

You can't use any .svg! No clue which one works for csgo.

Let me know if there is anything.

Download
Direct Download
Github Repo

Last edited by Nexd; 01-28-2020 at 15:14.
Nexd is offline