Thread: [Release] Skins (1.1-alpha)
View Single Post
alongub
Veteran Member
Join Date: Aug 2009
Location: Israel
Old 02-13-2013 , 02:13   Re: [Store] Skins (1.0.8-alpha)
Reply With Quote #14

Quote:
Originally Posted by scorpadorp View Post
Works perfectly! A suggestion you may want to strongly consider...

The skins apply to each class, so skins meant only for 1 class are still applied to the other classes and in turn look very weird. Any way you have have loadouts for all 9 classes?
I can add an optional class restriction to the attrs field, for example:

Code:
{
    "model": "models/player/kirby/admin/umbrella_leet.mdl",
    "teams": [2, 3],
    "classes": ["pyro", "scout"]
}
Another option would be to specify a model path for each class that you want this skin on, for example:

Code:
{
    "model": "models/player/kirby/admin/umbrella_leet.mdl",
    "teams": [2, 3],
    "classes": {
        "pyro": "models/player/kirby/admin/umbrella_leet_pyro.mdl",
        "scout": "models/player/kirby/admin/umbrella_leet_scout.mdl"
    }
}
Would that be good?
__________________

Last edited by alongub; 02-13-2013 at 02:18.
alongub is offline