AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   Sm_Skinchooser (https://forums.alliedmods.net/showthread.php?t=87597)

andi67 03-14-2009 07:11

Sm_Skinchooser
 
6 Attachment(s)
SM_SKINCHOOSER

Important Note!!!
In order to get Models/Skins working you have to check if all files are on your server (where you have plugins etc.) and Fast Download (Only if you running FDL. FDL is where are .bz2 files) also check if you have written the paths correctly in skinchooserdownloads.ini and skins.ini.
If you have problems visit the SM_SKINCHOOSER WIKIPAGE (Link is below)!!!
Red Errors , Invisible Models , Checksum Errors are meaning that you donīt have done it right!!!
For sv_pure settings also check this: https://developer.valvesoftware.com/wiki/Pure_Servers
All Files in the SM_SKINCHOOSER PACKAGES must be in your SourcemodFolder!!!

Videodemonstrations for setting up!!!


If you are searching for a TF2 Modelchanger go to this Thread:
https://forums.alliedmods.net/showthread.php?t=164630

Player Models for download


Plugin Instalation - CS:GO, CSS, DOD:S, HL2:DM, etc.


Player Model Instalation


Cvarlist for CS:GO, CSS, DOD:S, HL2:DM


Changelog


Thanks to:


Bugs


You need Help?Klick and Visit:
SM_SKINCHOOSER_WIKI

PStar 03-14-2009 09:32

Re: Sm_Skinchooser for Counterstrike Source
 
I think you should add an option for autopopup disabling.
It could be really anoying to get the menu as soon as you spawn.

andi67 03-14-2009 09:38

Re: Sm_Skinchooser for Counterstrike Source
 
Menu only popup on teamjoin , not on every spawn.

Molli 03-14-2009 10:32

Re: Sm_Skinchooser for Counterstrike Source
 
GJ.

PStar 03-14-2009 12:26

Re: Sm_Skinchooser for Counterstrike Source
 
Quote:

Originally Posted by andi67 (Post 780307)
Menu only popup on teamjoin , not on every spawn.

Still can you make a cvar to disabling it?
It would be great to have that function.

andi67 03-14-2009 13:00

Re: Sm_Skinchooser for Counterstrike Source
 
Open sm_skinchooser_css.sp and delete the following lines :

#define TEAM_T 2
#define TEAM_CT 3


and this block :

public Event_PlayerTeam(Handle:event, const String:name[], bool:dontBroadcast)
{

new client = GetClientOfUserId(GetEventInt(event, "userid"));
new team = GetEventInt(event, "team");
if((team == TEAM_T || team == TEAM_CT) && IsClientInGame(client))
{
Command_Model(client, 0);
}
return;
}


then go to sourcemod webcompiler and compile again.

PStar 03-14-2009 21:36

Re: Sm_Skinchooser for Counterstrike Source
 
Quote:

Originally Posted by andi67 (Post 780424)
Open sm_skinchooser_css.sp and delete the following lines :

#define TEAM_T 2
#define TEAM_CT 3


and this block :

public Event_PlayerTeam(Handle:event, const String:name[], bool:dontBroadcast)
{

new client = GetClientOfUserId(GetEventInt(event, "userid"));
new team = GetEventInt(event, "team");
if((team == TEAM_T || team == TEAM_CT) && IsClientInGame(client))
{
Command_Model(client, 0);
}
return;
}


then go to sourcemod webcompiler and compile again.

Thank you.

andi67 03-15-2009 03:50

Re: Sm_Skinchooser for Counterstrike Source
 
NP :)

Koshy 03-25-2009 17:35

Re: Sm_Skinchooser for Counterstrike Source
 
Noticing lots of problems with if you have viewed another menu already, sometimes it will show same models for all the menus.

Also noticed another problem with if you select a menu you don't have access too then select a menu you do have access too it blocks you. Fixes itself after a new round starts but for current round its messed up. For example if you select admin menu and are not an admin, then select the public menu it will say it is also restricted.

Using CVARS doesn't seem to actually turn it off either, you have to physically move it to disabled folder.

Also wondering, can you show me how to make it so that setting the model has a 1 second delay before it is set and also make it so they can only chose when they are dead? If your wondering why, I run a WCS server and one problem I face is the models don't take effect because they already have a custom model that is being set.

Thanks,
- Koshy

andi67 03-26-2009 09:38

Re: Sm_Skinchooser for Counterstrike Source
 
Which Sourcemodversion are you running , you should one over 1.2.

WCS and Skinchoser will not work together , that maybe the problem youīve in.

Raptor10 03-29-2009 06:31

Re: Sm_Skinchooser for Counterstrike Source
 
andy, my best compliments finnaly we have a plugin for skins !!

I just got a problem: not all admins can select the admin skin. I notice that ONLY the admins with "z" root can select a skin, all the others with regular flags (a,b,c,d,ect) can't while they can use normally admins comands.
Yr plugin with wich admin flag works and from which file admin (admins.cfg or admins_simple.ini) is taking the admins Id ? It should work just with "b" that is for "generic admin" and taking admin Id from both files.

thanks for replay

andi67 03-29-2009 10:41

Re: Sm_Skinchooser for Counterstrike Source
 
Only "t" flag is supported for Admins and you should use admins.cfg.

Raptor10 03-30-2009 14:31

Re: Sm_Skinchooser for Counterstrike Source
 
So let me understand: I should add in admins.cfg a "t" with all the others flags (a,b,c ect.) ?

andi67 03-30-2009 16:28

Re: Sm_Skinchooser for Counterstrike Source
 
Si Senor.

andi67 03-31-2009 16:47

Re: Sm_Skinchooser for Counterstrike Source
 
And for your WCS-Mod , I didnīt know what this mod is doing so I will take a look on a WCS-Server and see.
One question: are there any models set by WCS-Mod?

Koshy 03-31-2009 17:45

Re: Sm_Skinchooser for Counterstrike Source
 
Quote:

Originally Posted by andi67 (Post 794250)
And for your WCS-Mod , I didnīt know what this mod is doing so I will take a look on a WCS-Server and see.
One question: are there any models set by WCS-Mod?

You can set models with WCS mod, usually done in player spawn.

This is why I suggested a 1-2 second delay and only allowing it to be set when dead or only allowing it to change on next round.

But this doesn't change the other "bugs" I reported, whether WCS is on or OFF the bugs are still there with which menu you pick and in which order =/

Thanks.

andi67 03-31-2009 17:59

Re: Sm_Skinchooser for Counterstrike Source
 
Quote:

Also noticed another problem with if you select a menu you don't have access too
then select a menu you do have access too it blocks you. Fixes itself after a new round
starts but for current round its messed up. For example if you select admin menu and are not an admin,
then select the public menu it will say it is also restricted.
This is normally. A player that is not an Admin should know that he canīt use Adminskins...
If you select a menu that is not for your group , access is denied till roundstart.

That is not a bug this is how it should be.

:)

Koshy 03-31-2009 22:56

Re: Sm_Skinchooser for Counterstrike Source
 
Quote:

Originally Posted by andi67 (Post 794315)
This is normally. A player that is not an Admin should know that he canīt use Adminskins...
If you select a menu that is not for your group , access is denied till roundstart.

That is not a bug this is how it should be.

:)

So your saying players who hit the wrong button or select wrong menu should be locked out from all menus for the entire round? Also what about the problem with them selecting the proper menu first, say the public menu, then being able to access the admin menu or the reserved menu... that can't be right?

Thanks,
- Koshy

andi67 04-01-2009 03:50

Re: Sm_Skinchooser for Counterstrike Source
 
That couldnīt be , I never had this prob on all our Servers , sure you have set up your skins_css.ini right?

Koshy 04-01-2009 23:01

Re: Sm_Skinchooser for Counterstrike Source
 
Quote:

Originally Posted by andi67 (Post 794595)
That couldnīt be , I never had this prob on all our Servers , sure you have set up your skins_css.ini right?


I used the skins_css.ini that came with yours just for testing purposes, nothing had been changed.

Thanks,
- Koshy

P.S. My server is usually full of people, have you done testing with lots of people on?

andi67 04-02-2009 03:46

Re: Sm_Skinchooser for Counterstrike Source
 
I mean , have you set up your own models and configured out your skins.ini with the right flags?

For Admins "t" flag
for Public ""
for Group "your Group"

and set your models in the right section?

Leave your serverip here and I will take a look on it in the next days.

Koshy 04-03-2009 16:15

Re: Sm_Skinchooser for Counterstrike Source
 
Quote:

Originally Posted by andi67 (Post 795291)
I mean , have you set up your own models and configured out your skins.ini with the right flags?

For Admins "t" flag
for Public ""
for Group "your Group"

and set your models in the right section?

Leave your serverip here and I will take a look on it in the next days.

Well i don't have it on right now because of the problems it had... as for the skins.ini I didn't touch it... so yes it has the right flags...

And as I said, if they don't pick the public menu first then they can't access the others just like it is suppose to be (but also blocking public). But if they select public, then they can access any of the other menus after.

andi67 04-04-2009 05:19

Re: Sm_Skinchooser for Counterstrike Source
 
Can you please attach your skins_css.ini and skindownloads_css.ini
I will take a look on it.

andi67 04-05-2009 03:06

Re: Sm_Skinchooser for Counterstrike Source
 
Last night I did a test again on one of our Servers and all is working well.

Fawkes 04-07-2009 09:24

Re: Sm_Skinchooser for Counterstrike Source
 
hi .. i try this system .. and its working but i still have a problem that is if i take likeadmins models and i dont have acceses to it so i get this msg "you dont have acceses to this...." so now the problem coming i get the same msg on all models like public to and i cant get accses to public skins more i try efter the new round same only way its working is if the map changing..
and what i understand its shuld remove it next round but nothing hapen... help plz..

andi67 04-07-2009 13:48

Re: Sm_Skinchooser for Counterstrike Source
 
youīre right , if you choose a skin that is not for you than you are not able to set a skin until the map changes , that is normal.

Fawkes 04-07-2009 16:30

Re: Sm_Skinchooser for Counterstrike Source
 
Quote:

Originally Posted by andi67 (Post 799943)
youīre right , if you choose a skin that is not for you than you are not able to set a skin until the map changes , that is normal.

ok But is that somthing i can do or you can change the code så ppl that prese the worng botten, so the lock is gone like efter one round or something because its sucks to wait one map to can change skin agen ..
and i have c one thing if some admin that have assec to the skin and he is online and typing !models and only go in to the admin meny then the public meny open agen .. maybe bug`?

andi67 04-09-2009 15:17

Re: Sm_Skinchooser for Counterstrike Source
 
No , the menu for public,admin and groups is only build in one since it uses only one ini for all skins so it shows up for everyone.
As I said before a public player should know that he can not use adminskins...
The other way would be like it mani did but that is not so easy to setup for anyone , it uses for every skin his own txt-file....

alpen 04-10-2009 11:43

Re: Sm_Skinchooser for Counterstrike Source
 
OK. What with all these models? Where can I get all of these models "b4p" which are needed for this plugin to work? I know I can change this to the models I choose by myself but..

andi67 04-11-2009 03:07

Re: Sm_Skinchooser for Counterstrike Source
 
They are part of the "Starwarssourcemod" avaible at the eventscripts forums.

Cleric 04-13-2009 17:56

Re: Sm_Skinchooser for Counterstrike Source
 
Hello. Great plugin.

But I cant get the "Group" setting to work.
If I use "Group" "Member" and it doesn't restrict that menu item. Everybody can choose click it.

I've tried using sql-admin to set up admin groups. And I have tried without sql-admin and used the flatfile insteed but still everyone can use those skins.

Im running out of idees.
I can supply you with what ever you need to make it easy to understand my problem.

Dont know if anyone else has manage to get the group settings to work.
It feels like Im missing something.

Thanks.

andi67 04-13-2009 18:07

Re: Sm_Skinchooser for Counterstrike Source
 
Try instead of "Group" "Admin" and see if that works for you.

Cleric 04-13-2009 19:23

Re: Sm_Skinchooser for Counterstrike Source
 
Tried it. Still no luck.
"Admin" only works with the "t" flag specified. Tried to set "Admin" "Full Admin" but that didnt restrict anyone.

I read through the source and I can find where in the code the script look for the "Admin" key. But I cant find any place in the whole code where the script looks for the "Group" key. Am I missing something here?

But thanks for the advise. :)

andi67 04-14-2009 16:31

Re: Sm_Skinchooser for Counterstrike Source
 
Ok , in admins.cfg it should look like this:

Admins
{
"Your Name"
{
"auth" "steam"
"identity" "STEAM_0:0:1223456"
"flags" "abcdefghijkmopqrst"
"immunity" "1"
"group" "Member"
}
}

In admin_groups.cfg it should look like this:

Groups
{
/**
* Allowed properties for a group:
*
* "flags" - Flag string.
* "immunity" - Immunity level number, or a group name.
* If the group name is a number, prepend it with an
* '@' symbol similar to admins_simple.ini. Users
* will only inherit the level number if it's higher
* than their current value.
*/
"Member"
{
"immunity" "1"
}

In skins_css.ini:

Admin Models:

"Admin" "t"

Public Models:

"Admin" ""

Reserved Models:

"Group" "Member"


Check if you have setup as I wroted above.

Cleric 04-16-2009 17:45

Re: Sm_Skinchooser for Counterstrike Source
 
Alright thanks, I will try that setup as soon as I'll get a chance.

I had my admin_groups.cfg setup just like you showed but I never tried to set up the admin.cfg, because when I had a Group configurated in the admin_groups.cfg everybody could still access the menu item.

So Im skeptic but I will try.

andi67 04-17-2009 03:02

Re: Sm_Skinchooser for Counterstrike Source
 
If you setup a group in admins_groups.cfg you already have to set this in admins.cfg......

Cleric 04-20-2009 16:54

Re: Sm_Skinchooser for Counterstrike Source
 
Okey, haven't had the time to try. But one thing Im been thinking about is that, I use prefetch mysql plugin for my admins.

And I tried with that first but it didnt work. Is mysql admins even supported?

Vojtoun 04-21-2009 11:37

Re: Sm_Skinchooser for Counterstrike Source
 
Hi, is there any chance to make some cvar which could turn on/off changing skin on respawn.. cause I'm running ZM server and I'd like to give players some nice humans skins to choose instead of default ones... Also, could you make skin groups (like admin skins) invisible in model menu for player without access.. that would be just great...

andi67 04-21-2009 23:24

Re: Sm_Skinchooser for Counterstrike Source
 
The next release is finished about 60% and in this you will easily turn on/off the sections.

Vojtoun 04-22-2009 13:52

Re: Sm_Skinchooser for Counterstrike Source
 
Quote:

Originally Posted by andi67 (Post 811253)
The next release is finished about 60% and in this you will easily turn on/off the sections.

Sweet.. way to go:)


All times are GMT -4. The time now is 04:10.

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