AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   [CSS] Skin by steam ID (https://forums.alliedmods.net/showthread.php?t=190727)

Sir Joe 07-21-2012 22:52

[CSS] Skin by steam ID
 
Hello, I'm not entirely sure how difficult or time consuming this task would be but I would like a plugin that allows me to edit a config to force a skin onto a player with the corresponding steam ID, no menu or anything like that, if it's to time consuming don't worry about it, thanks!:fox:

"STEAM:ID"

Path/to/model

}

"STEAM:ID"

Path/to/model

Sir Joe 07-24-2012 15:29

Re: [CSS] Skin by steam ID
 
Shameless self bump, I would be happy to donate a small amount of money to you or directly to the website in return for this.:bacon:

TnTSCS 07-24-2012 17:00

Re: [CSS] Skin by steam ID
 
2 Attachment(s)
It's a strange request... you didn't define much, but this does what you ask... or should... you'll need to use another plugin to precache and AddFileToDownloadsTable the models and materials...

I tested this plugin with just me, so let me know if it doesn't work with others.

put the forced_skin.txt in your sourcemod/configs folder and edit it so it reflects your desired steam ids and model paths.

It's not finished, but if it is going down the path you want, I'll finish it.

Sir Joe 07-24-2012 18:02

Re: [CSS] Skin by steam ID
 
This is exactly what I wanted, I just want to be able to give people without them clicking through a menu a skin that they cannot change, as for the file format I just through that up their for reference I tried your plugin and it works for the first person but I cannot get it to work for another person.

TnTSCS 07-24-2012 18:21

Re: [CSS] Skin by steam ID
 
show the contents of the forced_skin.txt file you have. Omit the steamIDs if you want, but show the rest..

It should look similar to:

Code:

"Forced Skin"
{
        "STEAM_0:0:266"
        {
                "path"        "models\player\ics\t_guerilla_umb\t_guerilla_admin.mdl"
        }

        "STEAM_0:0:267"
        {
                "path"        "models\player\ics\t_guerilla_umb\t_guerilla_assault.mdl"
        }

        "STEAM_0:0:268"
        {
                "path"        "models\player\ics\t_guerilla_umb\t_guerilla_prof.mdl"
        }

        "STEAM_0:0:269"
        {
                "path"        "models\player\ics\t_guerilla_umb\t_guerilla2.mdl"
        }
}

when I get back to my PC, I'll try it with a second account, maybe I missed something.

Sir Joe 07-24-2012 18:45

Re: [CSS] Skin by steam ID
 
When I assign the same skin to two different players it seems to only give it to one, I don't know if it will work if I assign a different skin to each player testing this now.

Edit, It only assigns one player a skin at a time.

TnTSCS 07-24-2012 22:32

Re: [CSS] Skin by steam ID
 
1 Attachment(s)
try this one - I changed how it reads the .txt file and when

F1oyd 04-11-2013 12:30

Re: [CSS] Skin by steam ID
 
Could you help me please? It doesnt work at me
Correct me if I missed something or did something wrong.

forced_skin.txt:

Code:

"Forced Skin"
{
    "STEAM_0:0:37647278"
    {
        "path"    "models/player/slow/hannah_montana/slow.mdl"
    }
}

downloads.ini:

Code:

//Don't modify or remove the Comment Lines ( // )
//Files (Download Only No Precache)

//Decal Files (Download and Precache)

//Sound Files (Download and Precache)

//Model Files (Download and Precache)

materials/models/player/slow/hannah_montana/slow_bangle.vmt
materials/models/player/slow/hannah_montana/slow_dress.vmt
materials/models/player/slow/hannah_montana/slow_dress.vtf
materials/models/player/slow/hannah_montana/slow_dress_bump.vtf
materials/models/player/slow/hannah_montana/slow_dress_fx.vmt
materials/models/player/slow/hannah_montana/slow_dress_glitter.vmt
materials/models/player/slow/hannah_montana/slow_eyes.vmt
materials/models/player/slow/hannah_montana/slow_face.vmt
materials/models/player/slow/hannah_montana/slow_face.vtf
materials/models/player/slow/hannah_montana/slow_hair.vmt
materials/models/player/slow/hannah_montana/slow_hair.vtf
materials/models/player/slow/hannah_montana/slow_hair_bump.vtf
materials/models/player/slow/hannah_montana/slow_hair_fix.vmt
materials/models/player/slow/hannah_montana/slow_hands.vmt
materials/models/player/slow/hannah_montana/slow_hands.vtf
materials/models/player/slow/hannah_montana/slow_lashes.vmt
materials/models/player/slow/hannah_montana/slow_lashes.vtf
materials/models/player/slow/hannah_montana/slow_shoes.vmt
materials/models/player/slow/hannah_montana/slow_skin.vmt
materials/models/player/slow/hannah_montana/slow_skin.vtf
materials/models/player/slow/hannah_montana/slow_skin_2.vmt
materials/models/player/slow/hannah_montana/slow_skin_2.vtf
materials/models/player/slow/hannah_montana/slow_skin_3.vmt
materials/models/player/slow/hannah_montana/slow_skin_3.vtf
materials/models/player/slow/hannah_montana/slow_skin_4.vmt
materials/models/player/slow/hannah_montana/slow_skin_4.vtf
materials/models/player/slow/hannah_montana/slow_teeth.vmt
materials/models/player/slow/hannah_montana/slow_teeth.vtf
models/player/slow/hannah_montana/slow.dx80.vtx
models/player/slow/hannah_montana/slow.dx90.vtx
models/player/slow/hannah_montana/slow.mdl
models/player/slow/hannah_montana/slow.phy
models/player/slow/hannah_montana/slow.sw.vtx
models/player/slow/hannah_montana/slow.vvd


F1oyd 04-11-2013 17:09

Re: [CSS] Skin by steam ID
 
bump this thread!

minimoney1 04-11-2013 17:11

Re: [CSS] Skin by steam ID
 
Quote:

Originally Posted by F1oyd (Post 1930966)
bump this thread!

#1. You're bringing back an old thread, but for your cause, it's okay.
#2. You're bumping after 5 hours. Give it some time and read the rules while you're at it. This is not okay.


All times are GMT -4. The time now is 14:00.

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