Page 1 of 1

[CS:GO] Players models from flags

Posted: Mon Jan 27, 2020 4:26 pm
by Andreeas
What is it?
This is pretty simple plugin, which allows you to set player models / arms for different flags. For example Counter terrorists with flag a (reservation) needs to have default model "models/players/xxx.mdl". Few guys requested this to me, because they couldnt find any plugin like this, so I made it and decided to release it.

Config
The name of section needs to be like this: "{FLAG}-{TEAM}" { .... }
def flag stands for default. It is for users, that don't have any flags.
Image

Code: Select all

"Player_models_by_flags"
{
    //Default terrorist arms.
    "def-t"
    {
        "arms_path"         "models/weapons/t_arms_separatist.mdl"
    }
    
    //People with 'z' (root) flag CT side player model and arms.
    "z-ct"
    {
        "model_path"         "models/player/custom_player/zombie/mummy/mummy.mdl"
        "arms_path"          "models/weapons/t_arms_professional.mdl"
    }
    "z-t"
    {
        "model_path"         "models/player/custom_player/zombie/crimsonhead/crimsonhead.mdl"
        "arms_path"          "models/player/custom_player/zombie/romeo_zombie/romeo_zombie_arms.mdl"
    }
    "a-t"
    {
        "model_path"         "some/path/model2T.mdl"
        "arms_path"          "some/path/model2T.mdl"
    }
} 

Code: Select all

Download 'Player models from flags.zip'
Download Sm downloader (if you have custom models)
Extract all the files inside right place.
Edit downloads.ini addons/sourcemod/configs. Place there all your custom model file paths.
Edit skins.txt addons/sourcemod/configs/flagplayerskins/.
Change map
Enjoy new player arms / models



Download