Raised This Month: $32 Target: $400
 8% 

[CSS] Skin by steam ID


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Sir Joe
Member
Join Date: Apr 2009
Old 07-21-2012 , 22:52   [CSS] Skin by steam ID
Reply With Quote #1

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!

"STEAM:ID"

Path/to/model

}

"STEAM:ID"

Path/to/model
Sir Joe is offline
Sir Joe
Member
Join Date: Apr 2009
Old 07-24-2012 , 15:29   Re: [CSS] Skin by steam ID
Reply With Quote #2

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.
Sir Joe is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 07-24-2012 , 17:00   Re: [CSS] Skin by steam ID
Reply With Quote #3

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.
Attached Files
File Type: sp Get Plugin or Get Source (forced_skin.sp - 1144 views - 4.2 KB)
File Type: txt forced_skin.txt (105 Bytes, 625 views)
__________________
View my Plugins | Donate

Last edited by TnTSCS; 07-24-2012 at 17:01.
TnTSCS is offline
Sir Joe
Member
Join Date: Apr 2009
Old 07-24-2012 , 18:02   Re: [CSS] Skin by steam ID
Reply With Quote #4

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.
Sir Joe is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 07-24-2012 , 18:21   Re: [CSS] Skin by steam ID
Reply With Quote #5

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.
__________________
View my Plugins | Donate

Last edited by TnTSCS; 07-24-2012 at 18:23.
TnTSCS is offline
Sir Joe
Member
Join Date: Apr 2009
Old 07-24-2012 , 18:45   Re: [CSS] Skin by steam ID
Reply With Quote #6

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.

Last edited by Sir Joe; 07-24-2012 at 18:49.
Sir Joe is offline
TnTSCS
AlliedModders Donor
Join Date: Oct 2010
Location: Undisclosed...
Old 07-24-2012 , 22:32   Re: [CSS] Skin by steam ID
Reply With Quote #7

try this one - I changed how it reads the .txt file and when
Attached Files
File Type: sp Get Plugin or Get Source (forced_skin.sp - 1047 views - 4.1 KB)
__________________
View my Plugins | Donate

Last edited by TnTSCS; 07-24-2012 at 22:33.
TnTSCS is offline
F1oyd
Junior Member
Join Date: Apr 2013
Old 04-11-2013 , 12:30   Re: [CSS] Skin by steam ID
Reply With Quote #8

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

Last edited by F1oyd; 04-11-2013 at 12:31.
F1oyd is offline
F1oyd
Junior Member
Join Date: Apr 2013
Old 04-11-2013 , 17:09   Re: [CSS] Skin by steam ID
Reply With Quote #9

bump this thread!
F1oyd is offline
minimoney1
SourceMod Donor
Join Date: Dec 2010
Old 04-11-2013 , 17:11   Re: [CSS] Skin by steam ID
Reply With Quote #10

Quote:
Originally Posted by F1oyd View Post
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.
__________________
Need help? PM me or add me on Steam.
My Steam




Quote:
Originally Posted by Rp.KryptoNite View Post
For some reason his Plugin never worked for me ,
@credits were added
im not stealing any plugins dude its my THING

Last edited by minimoney1; 04-11-2013 at 17:11.
minimoney1 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:38.


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