PDA

View Full Version : Model Menu


Pages : [1] 2

pRED*
08-12-2007, 04:24
Model Menu - by pRED*

This plugin provides a menu for players/admins to choose a model and is very similar to the admin model menus provided by mani admin plugin except that it is much more customizable.

To open the menu: sm_models (!models)

It relies heavily on the admin groups feature provided by core sourcemod. Each submenu of models must be assigned an admin group, and for a player to select models from this menu they must be a member of that group.

Group Notes:

Groups are set up in configs/admin_groups.cfg
Players can be a member of multiple groups (in admins.cfg file add the "group" section multiple times)
A group can be defined with no admin flags. This could be useful for 'vip' members that are allowed a special set of models but still shouldn't receive admin privileges.

Users selections are saved to a file so they reload every connect

The menu is set up in a very similar way to 'SM Super Menu' and the attached example config file (models.ini) (set up using a few CS:S models I found on the net) has plenty of comments.

There is also a second config file called modeldownloads.ini. In this you must put references to all other files needed for the models. Mani admin plugin had a similar system except used one file for each model, just copy and paste the contents of these files all into the one if you are migrating. The attached CS:S example shows the needed files for the models.ini provided.

modelmenu.gamedata.txt obviously needs to go in your sourcemod gamedata folder.

Changelog:
0.1 - Initial Release
0.11 - Fixed a possible crash bug and added extra admin checks
0.12 - Added check for no admin group
0.13 - Happy now ^BuGs^?

Peoples Army
08-12-2007, 04:36
:mrgreen:good job , you beat me to it . bout time some one released model changer , nice menu feature , over all excelelnt plugin . 2 thumbs up :up:

ill add this to my server tommarow


does this work only with .mdls or all of the source model and texture files (vtf vmp)?

pRED*
08-12-2007, 04:38
I've been working on it for a while. Hopefully DoD:S support is bug free now and if not there must be something wrong with the team function in DoD:S

Peoples Army
08-12-2007, 04:43
:wink:u know when u call an event , post is automatcilly defualt ? so theres no need to do EventHookMode_Post

pRED*
08-12-2007, 04:51
Yup. But it's better for readability (for me anyway) to explicitly define which hook mode it's using.

Kaschenko
08-12-2007, 05:20
RESPECT!!!

Peoples Army
08-12-2007, 05:32
u think u can add custom weapon model support for this ???

HO!NO!
08-12-2007, 14:53
can you add the ability to store setting like quake sound???

pRED*
08-12-2007, 16:13
I may have forgotten to mention that. Your model settings (both ct and t) should be saved into a file so you always get the same one until you choose another

f64
08-12-2007, 16:51
Much improved from the beta, good job!

For DoD:S, there is still an issue: The model is getting set for a group the player doesn't belong to. Example:

"Models"
{
"Admin Only Models"
{
"Admin" "Senior_Admin"
"Team1"
{
"Basic Admin"
{
"path" "models/player/admin/amer_admin_v1.mdl"
}
}

"Team2"
{
"Basic Admin"
{
"path" "models/player/admin/germ_admin_v1.mdl"
}
}
}
}I then added myself to the Member_Admin group in admin_groups.cfg, but I still got the Senior_Admin model,
even before I typed say /models! I did get informed though that I don't have access to that model.
I tried using the admin_simpli.ini then admins.cfg to no avail.

DoD:S is strange, I know :mrgreen:

pRED*
08-12-2007, 16:57
Did you already have the model set previously, and then changed your group settings?

Because theres no new admin check on connect. It only checks if you have access when you select a model, but if you later lose access you'll keep the model.

I can add extra admin checks to get around this if you'd prefer.

-e- I'd also recommend for everyone to add a model called 'Standard Models' and set the path to "". This would allow player to unselect their model and go back to standard models.

f64
08-12-2007, 17:29
Yes, I had first tested with the allowed group, then changed groups and restarted the server.
When I reconnected, I still had the previous group model and didn't even have to select it.

Perhaps Group checks instead of admin checks?

edit: Members of groups are changing somewhat frequently, but we could just
delete the sourcemod\data\playermodels.ini entry instead of a check, although
I don't know how well that will work with the public models. :shock:

I guess admin checks = group checks because of "Admin" "<group>"?

pRED*
08-12-2007, 18:44
I've just uploaded an update. Give that a try.

Fixed a potential crash bug if you removed models from the list and added extra admin checks

MoggieX
08-12-2007, 19:29
OoO nice work pRED*, Will be giving this a go tomorrow night with 40 odd players and multiple skins =).

Matt

f64
08-12-2007, 22:44
Yes, very nice so far!

I have a couple of questions though. First, how should I add a group in the models.ini and second,
could you allow all players access to certain models without having to be in an admin group? IE, public model access for all.

As is, I would have to add all the public id's to the admins_simple.ini with a special "admin" "@group"
with no admin flags, but that's really not feasible for us because we allow everyone access the public player models
and even if your script wrote that automatically, it would be unbelievably long. :shock:

pRED*
08-12-2007, 23:19
Not sure what you mean with the first question?
Just copy and paste the whole "admin only models" section and then give it a new name and access level and models etc.

And yeah ok good point. Updated to version 0.12. If you set admin to "", it will let anyone access it.

f64
08-13-2007, 08:03
I've tested it fairly well now and it seems to be perfect !! :up:

Occasionally, when I log on as a non-admin (different id), I don't get access
to the public models, but it clears up upon a reconnect or mapchange, I believe.

At first, I tried adding more than one group for some admins, but that created problems, so
the solution is to list all the models you want accessible under each admin group in your models.ini, then only list
one admin group in the admins_simple.ini or admins.cfg.

The admins_simple.ini accomplishes the same thing as admins.cfg and is much easier to edit,
although you still have to have the admins.cfg to avoid a parsing error. I left mine like this:

Admins
{
}Keep up the excellent work.

edit: I'm using this on DoD:S

pRED*
08-13-2007, 16:22
How were you adding people to multiple groups?

As far as I know it can only be done using admins.cfg not admin_simple.ini

f64
08-13-2007, 17:28
I'm not using multiple groups for anyone. I used "@<group>" in the admins_simple.ini
and then listed all accessible admin models under each group category in your models.ini. Here's an example of how I set up my models.ini:


"Models"
{
"Admin Models"
{
"Admin" "Founder"
"Team1"
{
"abc"
{
"path" "xxxxxxxxxxxx.mdl"
}
"abcd"
{
"path" "xxxxxxxxxxxx.mdl"
}
"abcde"
{
"path" "xxxxxxxxxxxx.mdl"
}
}
"Team2"
{
"fgh"
{
"path" "xxxxxxxxxxxx.mdl"
}
"fghi"
{
"path" "xxxxxxxxxxxx.mdl"
}
"fghij"
{
"path" "xxxxxxxxxxxx.mdl"
}
}
"Admin" "Senior_Admin"
"Team1"
{
"abc"
{
"path" "xxxxxxxxxxxxxxxx.mdl"
}
"abcd"
{
"path" "xxxxxxxxxxxxxxxx.mdl"
}
}

"Team2"
{
"fgh"
{
"path" "xxxxxxxxxxxx.mdl"
}
"fghi"
{
"path" "xxxxxxxxxxxx.mdl"
}
}

"Admin" "Member_Admin"
"Team1"
{
"abc"
{
"path" "xxxxxxxxxxxxxxxx.mdl"
}
}

"Team2"
{
"fgh"
{
"path" "xxxxxxxxxxxx.mdl"
}
}

}


"Public Models"
{
"Admin" ""
"Team1"
{
"efg"
{
"path" "xxxxxxxxxxxx.mdl"
}
"efgh"
{
"path" "xxxxxxxxxxxx.mdl"
}
}

"Team2"
{
"wxy"
{
"path" "xxxxxxxxxxxx.mdl"
}
"wxyz"
{
"path" "xxxxxxxxxxxx.mdl"
}
}
}
}

This way, upper admin groups can get all the models that the lower groups can get in addition to their unique ones.

f64
08-14-2007, 16:17
Hi pRED* | NZ,

The new sourcemod build, r1335 crashes upon startup with this now. :cry:
You can see some screenies here:

http://forums.alliedmods.net/showthread.php?t=59457

pRED*
08-14-2007, 16:26
What version did you update from?

f64
08-14-2007, 16:37
It's working still. I had disabled some sql plugins. :oops:

pRED*
08-14-2007, 16:48
Lol nice work. Good that you got it working

l0gen
08-14-2007, 16:53
It doesn't seem to precache the models.

"Gman"
{
"path" "models/gman.mdl"
}

Doesn't work on de_dust2

While

"Oildrum"
{
"path" "models/props_c17/oildrum001.mdl"
}

Works, because that model is in the level (precached/loaded whatever)

The downside of this, Most of the people have cl_minmodels 1
So they don't see those models, And you can't change it with sm_cexec, because it's get blocked (not allowed).

Is there a way, to force a model?

pRED*
08-14-2007, 17:36
Could you try it out with a cs model of some sort? It definately downloads and precaches for me. But i've got no clue about the cl_minmodels thing

l0gen
08-14-2007, 18:44
Could you try it out with a cs model of some sort? It definately downloads and precaches for me. But i've got no clue about the cl_minmodels thing


I can change models - t_leet.mdl, etc.

cl_minmodels 1, kinda ruins te fun, now I can't play as barrel and sneak arround dust2 :P

pflclan
08-16-2007, 11:50
i am sry but where do i place the models.ini and modeldownloads? actullay can u post where all the files go? i am lost with sourcemod so far :) i am new to it
nothing is getting downloaded and the menu is an unknown command in console
This is what i got:

addons/sourcemod/configs
-models.ini
-modeldownloads.ini

addons/sourcemod/gamedata
-modelmenu.gamedata.txt

addons/sourcemod/plugins
-ModelMenu.smx
Here is my models.ini
//Configure your menu here
"Models"
{
//Name of the item to appear in the menu
"Admin Only Models"
{
//Sourcemod admin group required to see/access this submenu
"Admin" "Skin Group1"

//Models available for team 1 (terrorist / allies)
"Team1"
{
//Name to appear in submenu
"Cool Model 1"
{
//path to the model file. This will automatically be precached
"path" "models/player/dvshunter/tacitcalphoenix/t_phoenix.mdl"
}

}

//Models available for team 2 (ct / axis)
//"Team2"
{
//"CT Only Model"
{
// "path" "models/player/ics/ct_gsg9_admin/ct_gsg9.mdl"
}
}
}
}

//All other files needed for the above models must be listed in modeldownloads.ini
//This forces the clients to download the needed filesHere is my admin_groups.cfg

Groups
{
/**
* Allowed properties for a group:
*
* "flags" - Flag string.
* "immunity" - Specifies a group to be immune to. Use "*" for all or "$" for users with no group.
* This key may be used multiple times.
*/
"Default"
{
"immunity" "$"
}

"Full Admins"
{
/**
* You can override commands and command groups here.
* Specify a command name or group and either "allow" or "deny"
* Examples:
* ":CSDM" "allow"
* "csdm_enable" "deny"
*/
Overrides
{
}
"flags" "abcdefghiz"
"immunity" "*"
}
"Skin Group1"
{
"immunity" "$"
}
"Skin Group2"
{
"immunity" "$"
}
}

f64
08-16-2007, 17:44
Everything looks fine, but you didn't show what you have in your admins.cfg or admins_simple.ini.
Make sure you have your admins listed for the proper group in either of those two files.

for admins_simple.ini:

"STEAM_0:0:12345" "@Skin Group1" //yournamefor admins.cfg:
Admins
{
//Skin Group 1
"yourname"
{
"auth" "steam"
"identity" "STEAM_0:1:12345"
"group" "Skin Group1"
}
}

pflclan
08-17-2007, 01:25
Nothing is getting Downloaded??? hmmmm i am thinking that modeldownloads files is in the wrong spot?

MoggieX
08-19-2007, 16:42
hey pred*,

This crashes my server under linux =/

The only errors I get logged are:

L 08/19/2007 - 22:07:37: SourceMod error session started
L 08/19/2007 - 22:07:37: Info (map "de_dust2") (file "errors_20070819.log")
L 08/19/2007 - 22:07:37: [SM] Native "LoadGameConfigFile" reported: Unable to open plugin.supercmds: Stream failed to open
L 08/19/2007 - 22:07:37: [SM] Displaying call stack trace for plugin "sm_super_cmds.smx":
L 08/19/2007 - 22:07:37: [SM] [0] Line 183, /home/groups/alliedmodders/forums/files/2/3/7/6/2/17765.attach::OnPluginStart()
L 08/19/2007 - 22:07:37: [admin-flatfile.smx] Error(s) detected parsing addons/sourcemod/configs/admins.cfg
L 08/19/2007 - 22:07:37: [admin-flatfile.smx] (1) Line contained too many invalid tokens

The models download as they should and they are in the right folders.

This is my modeldownloads.ini

// CT FBI
models/player/ics/ct_gign_fbi/ct_gign.dx80.vtx
models/player/ics/ct_gign_fbi/ct_gign.dx90.vtx
models/player/ics/ct_gign_fbi/ct_gign.phy
models/player/ics/ct_gign_fbi/ct_gign.sw.vtx
models/player/ics/ct_gign_fbi/ct_gign.vvd
materials/models/player/ics/ct_gign_fbi/ct_gign.vmt
materials/models/player/ics/ct_gign_fbi/ct_gign.vtf
materials/models/player/ics/ct_gign_fbi/ct_gign_glass.vmt

// T FEMALE
models/player/ics/t_female/t_phoenix.dx80.vtx
models/player/ics/t_female/t_phoenix.dx90.vtx
models/player/ics/t_female/t_phoenix.phy
models/player/ics/t_female/t_phoenix.sw.vtx
models/player/ics/t_female/t_phoenix.vvd
materials/models/player/ics/t_female/chau_facemap.vmt
materials/models/player/ics/t_female/chau_facemap.vtf
materials/models/player/ics/t_female/t_phoenix_fem.vmt
materials/models/player/ics/t_female/t_phoenix_fem.vtf

And models.ini


//Configure your menu here
"Models"
{
//Name of the item to appear in the menu
"Admin Only Models"
{
//Sourcemod admin group required to see/access this submenu
"Admin" "Basic Admins"

//Models available for team 1 (terrorist / allies)
"Team1"
{
//Name to appear in submenu
"Cool Model 1"
{
//path to the model file. This will automatically be precached
"path" "models/player/ics/t_guerilla_z/t_guerilla.mdl"
}
}

//Models available for team 2 (ct / axis)
"Team2"
{
"CT Only Model"
{
"path" "models/player/ics/ct_gsg9_admin/ct_gsg9.mdl"
}
}
}
}


Any ideas?

Matt

pRED*
08-19-2007, 16:47
pflclan: everything looks fine to me. Do you have the latest sourcemod?

MoggieX: Those errors arn't related to this plugin at all. Fix those first and see if it still happens. (sm super commands can't find the plugin.supercmds.txt and theres something weird in your admins.cfg file)

MoggieX
08-19-2007, 18:07
MoggieX: Those errors arn't related to this plugin at all. Fix those first and see if it still happens. (sm super commands can't find the plugin.supercmds.txt and theres something weird in your admins.cfg file)

Oops, both fixed, will try again in the morning

J@y-R
08-20-2007, 23:20
Hello

You can adjust into yours plugin much in such a way
admins from admin_simple.ini with the root the flag z to be also recognized

wfg JaY

goldhawk
08-21-2007, 14:41
Hi,

I like this plugin really, I use it on my zombie server for some human skins :)
But they can abuse with it because they chance immideatly from skin :o
Can you make a command or whatever that te skin chance ever new round :oops:

Thx!

supermj
08-30-2007, 13:08
Ok, I think I've got it set up, but all it downloads is the .mdl file.

"Models"
{
"Admin Models"
{
"Admin" "founder"
"Team1"
{
"leet"
{
"path" "models/player/ics/t_leet_admin/t_leet.mdl"
}
}
"Team2"
{
"SAS"
{
"path" "models/player/ics/ct_sas_admin/ct_sas.mdl"
}
}
}
}

models/player/ics/ct_sas_admin/ct_sas.dx80.vtx
models/player/ics/ct_sas_admin/ct_sas.sw.vtx
models/player/ics/ct_sas_admin/ct_sas.dx90.vtx
models/player/ics/ct_sas_admin/ct_sas.vvd
models/player/ics/ct_sas_admin/ct_sas.phy
materials/models/player/ics/ct_sas_admin/ct_sas.vmt
materials/models/player/ics/ct_sas_admin/ct_sas.vtf
materials/models/player/ics/ct_sas_admin/ct_sas_glass.vmt

models/player/ics/t_leet_admin/t_leet.dx80.vtx
models/player/ics/t_leet_admin/t_leet.dx90.vtx
models/player/ics/t_leet_admin/t_leet.phy
models/player/ics/t_leet_admin/t_leet.sw.vtx
models/player/ics/t_leet_admin/t_leet.vvd
materials/models/player/ics/t_leet_admin/t_leet.vmt
materials/models/player/ics/t_leet_admin/t_leet.vtf
materials/models/player/ics/t_leet_admin/t_leet_glass.vmt


Groups
{
/**
* Allowed properties for a group:
*
* "flags" - Flag string.
* "immunity" - Specifies a group to be immune to. Use "*" for all or "$" for users with no group.
* This key may be used multiple times.
*/
"Default"
{
"immunity" "$"
}

"Full Admins"
{
/**
* You can override commands and command groups here.
* Specify a command name or group and either "allow" or "deny"
* Examples:
* ":CSDM" "allow"
* "csdm_enable" "deny"
*/
Overrides
{
}
"flags" "abcdefghiz"
"immunity" "*"
}
"founder"
{
"flags" "bcdefghijklmnopqrstz"
"immunity" "$"
}
"judges"
{
"flags" "$abcdefgjk"
}
"admins"
{
"flags" "abcdegjkr"
}
}


modeldownloads.ini and models.ini are both in the addons/sourcemod/configs folder. Just looking for some help.

pRED*
08-30-2007, 16:44
goldhawk: That already exists. set the cvar "model_instantchange" to 0.

supermj: what sourcemod version?

supermj
08-30-2007, 18:18
goldhawk: That already exists. set the cvar "model_instantchange" to 0.

supermj: what sourcemod version?

1398-latest as of now.

pRED*
08-30-2007, 18:24
Latest version of model menu? There was an issue with newline characters in the new release. Assuming that those files all exist then I can't see why there'd be a problem..

supermj
08-30-2007, 19:07
Latest version of model menu? There was an issue with newline characters in the new release. Assuming that those files all exist then I can't see why there'd be a problem..
Latest sm and latest model menu.

f64
09-01-2007, 00:50
Issues in issue list :comply: :mrgreen:

pRED*
09-01-2007, 05:12
Thank you. Will look into them early this week.

The duplicates in the list is an easy fix.

f64
09-05-2007, 10:07
Thanks for the auth fix!!

Here's an example of how to set up the models.ini for those wishing to set up multiple models for admins and pubbers alike.


"Models"
{
"Admin Group1 Models"
{
"Admin" "Group1"
"Team1"
{
"Elite model"
{
"path" "models/player/xxxx/elite_allies.mdl"
}
"Admin model"
{
"path" "models/player/xxxx/admin_allies.mdl"
}
}
"Team2"
{
"Elite model"
{
"path" "models/player/xxxx/elite_axis.mdl"
}
"Admin model"
{
"path" "models/player/xxxx/admin_axis.mdl"
}
}
}
"Admin Group2 Models"
{
"Admin" "Group2"
"Team1"
{
"Admin model"
{
"path" "models/player/xxxx/admin_allies.mdl"
}
}
"Team2"
{
"Admin model"
{
"path" "models/player/xxxx/admin_axis.mdl"
}
}
}
"Public Models"
{
"Admin" ""
"Team1"
{
"Custom model"
{
"path" "models/player/xxxx/public_allies.mdl"
}
}

"Team2"
{
"Custom model"
{
"path" "models/player/xxxx/public_axis.mdl"
}
}
}
}



For each admin group that you have set up in your admins_group.cfg, you may list as many models as you like.
Anyone can access the "Admin" "" group. If you belong to an admin group, you can only access the models listed
within your group, so if you wish to choose additional models from another admin group, just include them within your selection.

spelworm
09-12-2007, 08:00
models wont download with me to only the .mdl file

f64
09-12-2007, 13:14
You're right supermj and spelworm, that's all it does now :cry:. I'll post in issues, but I guess he's been busy lately.

spelworm
09-12-2007, 13:39
mwah just got a other plugin that download the rest of the files so i can still use this menu :) (simply add file to downloads table plugin)

imported_sparky
09-13-2007, 17:03
(simply add file to downloads table plugin)


what plugin is this?????

spelworm
09-14-2007, 09:07
its more like a source code ><
but cant upload files for a weird reason (think my computer gonna crash soon but anyways)


#include <sdktools>
#pragma semicolon 1
#define PLUGIN_VERSION "1.0"
// Plugin definitions
public Plugin:myinfo =
{
name = "downloads",
author = "spelworm",
description = "download files",
version = PLUGIN_VERSION,
url = "htpp://www.sourcemod.net"
};

public OnMapStart()
{
AddFileToDownloadsTable("materials/models/player/ics/admin_t_fixed/t_phoenix.vmt");
AddFileToDownloadsTable("materials/models/player/ics/admin_t_fixed/t_phoenix.vtf");
}


thats a part of how mine looks ><

Isias
09-14-2007, 12:27
Could you add a feature that also hostage models can get changed? Like Hostitron etc.?

Solltex
09-15-2007, 04:07
nice work :)

imported_Anth0ny
09-18-2007, 05:39
2 pRED* | NZ: nice work, really! =)

one question: can i use a Model plugin with SQL-based admins and groups only? without local-to-every-server admin files.

k4rnage
09-19-2007, 14:46
Good job, but i don't understand how i cant create vip group (only for my friends) and add members in the group.

Which file ? and what i must add inside ?



PS : Sorry i'm french noob lol

imported_Anth0ny
09-20-2007, 02:43
i think is a good idea will be a rewrite this plugin and cut-off it from admins.cfg and admin_groups.cfg and create it's own config file.

why? because many and many server go to use mysql-based admin management (include SourceBans). and we can't use file-based admin management (it override our sql settings).

=)

summary: need plugin's own config file.

pRED*
09-20-2007, 04:48
urgh wha?

Why would people want to configure yet another file?

Why can't you just use the sql admin groups just you used to use text file based admin groups?

imported_Anth0ny
09-20-2007, 07:37
urgh wha?

Why would people want to configure yet another file?

Why can't you just use the sql admin groups just you used to use text file based admin groups?

stop-stop... do you mean what i CAN use sql-based admis WITHOUT local server files?

i'm right?

=)

spelworm
09-20-2007, 13:38
and then the non-mysql are screwed ?:P

pRED*
09-20-2007, 15:07
IT DOESN'T READ FROM THE FILES. IT READS FROM THE ADMIN CACHE.

Both SQL and Text File admin methods should work perfectly.

imported_Anth0ny
09-21-2007, 02:29
WOW!!!
Thanks for answer!

Very nice, will test today.

f64
09-22-2007, 12:43
Rev 114 downloads everything now, but sm_models displays the sm_forcemodel menu instead of the sm_models menu.

I posted in issues as well. There are no errors in the logs.

imported_Anth0ny
09-22-2007, 13:25
strange event: plugin works good with mySQL-admins and mySQL-groups (all looks like working properly), all files uploads, model menu works.. but user model not changes after user select one of public model...

mb i'm wrong... but. i repeat, looks strange.

wraithcss
09-24-2007, 14:26
I have a strange issue... I have the models.ini setup for multiple admin groups. The plugin recognizes the first admin group ("Full Admins") no problem and will correctly apply the skin choices on the server. The second admin group (I called "Admin") says "Sorry you are not authorized for this command" or some such similar statement when attempting to apply the admin skin.

However, it's not showing the 2nd group the correct menu. It's showing the "Admin" group the "Full Admins" menu, which is why they are not authorized.

My question is, how can I correctly show the right model group from models.ini to the correct secondary admin group - "admin" ?

Files pasted below - edited for Steam_ID's

models.ini
"Models"
{
"Elite Admin Models"
{
"Admin" "Full Admins"
"Team1"
{
"Elite T Model"
{
"path" "models\player\ics\phoenix_admin_sand\t_phoeni x.mdl"
}
"Admin T Model"
{
"path" "models\player\lduke\admintv1\terror.mdl"
}
}
"Team2"
{
"Elite CT Model"
{
"path" "models\player\ics\sas_admin_black\ct_sas.mdl"
}
"Admin CT Model"
{
"path" "models\player\lduke\adminctv1\urban.mdl"
}
}
}
"Moderator Models"
{
"Admin" "Mods"
"Team1"
{
"Admin T Model"
{
"path" "models\player\lduke\admintv1\terror.mdl"
}
}
"Team2"
{
"Admin CT Model"
{
"path" "models\player\lduke\adminctv1\urban.mdl"
}
}
}
}

admin_groups.cfg

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. */ "Default" { "immunity" "1" } "Full Admins" { /** * You can override commands and command groups here. * Specify a command name or group and either "allow" or "deny" * Examples: * ":CSDM" "allow" * "csdm_enable" "deny" */ Overrides { } "flags" "z" /* Largish number for lots of in-between values. */ "immunity" "99" } "Admin" { /** * You can override commands and command groups here. * Specify a command name or group and either "allow" or "deny" * Examples: * ":CSDM" "allow" * "csdm_enable" "deny" */ Overrides { } "flags" "abcdefghijkmnopqr" /* Largish number for lots of in-between values. */ "immunity" "1" }}

admins_simple.ini
//
// READ THIS CAREFULLY! SEE BOTTOM FOR EXAMPLES
//
// For each admin, you need three settings:
// "identity" "permissions" "password"
//
// For the Identity, you can use a SteamID or Name. To use an IP address, prepend a ! character.
// For the Permissions, you can use a flag string and an optional password.
//
// PERMISSIONS:
// Flag definitions are in "admin_levels.cfg"
// You can combine flags into a string like this:
// "abcdefgh"
//
// If you want to specify a group instead of a flag, use an @ symbol. Example:
// "@Full Admins"
//
// You can also specify immunity values. Two examples:
// "83:abcdefg" //Immunity is 83, flags are abcefgh
// "6:@Full Admins" //Immunity is 6, group is "Full Admins"
//
// Immunity values can be any number. An admin cannot target an admin with
// a higher access value (see sm_immunity_mode to tweak the rules). Default
// immunity value is 0 (no immunity).
//
// PASSWORDS:
// Passwords are generally not needed unless you have name-based authentication.
// In this case, admins must type this in their console:
//
// setinfo "KEY" "PASSWORD"
//
// Where KEY is the "PassInfoVar" setting in your core.cfg file, and "PASSWORD"
// is their password. With name based authentication, this must be done before
// changing names or connecting. Otherwise, SourceMod will automatically detect
// the password being set.
//
////////////////////////////////
// Examples: (do not put // in front of real lines, as // means 'comment')
//
// "STEAM_0:1:16" "bce" //kick, ban, slay for this steam ID, no immunity
// "127.0.0.1" "99:z" //all permissions for this ip, immunity value is 99
// "BAILOPAN" "abc" "Gab3n" //name BAILOPAN, password "Gab3n": gets reservation, kick, ban
//
////////////////////////////////
STEAM_0:0:7162914 "@Full Admins" //Wraith
STEAM_0:0:6026342 "@Full Admins" //Crab Daddy
STEAM_0:0:5847797 "@Full Admins" //WolfCook
STEAM_0:1:12877173 "@Full Admins" //Mace
STEAM_0:0:11372482 "@Full Admins" //Pirate Cofresi
STEAM_0:1:6558717 "@Full Admins" //WarriorMedic
STEAM_0:1:8801453 "@Admin" //JJ133169
STEAM_0:0:1773892 "@Admin" //CocoNuggets
STEAM_0:0:13241739 "@Full Admins" //John Rocker
STEAM_0:1:5889177 "@Full Admins" //Man-Titan
STEAM_0:1:15884438 "@Admin" //Apathy Man
STEAM_0:0:12252328 "@Admin" //Eversor



When I put myself in the @Admin group, I can't see the Moderator Models menu, only the Elite Admins Menu.... please advise.

f64
09-24-2007, 23:49
It looks like you have access to the Moderator Models restricted to an admin group called "Mods". So, just change

"Admin" "Mods"to

"Admin" "Admin"BTW, you must not be using the latest version if you can choose a model at all :cry:

Enemy1
09-25-2007, 07:10
Is it any way to set a skin to all admins - no matter witch group they belong to ?
As all with "b" rights or immunity higher then 1.

I have a clan with 8 groups and all should have same skins !

wraithcss
09-25-2007, 11:41
It looks like you have access to the Moderator Models restricted to an admin group called "Mods". So, just change

"Admin" "Mods"to

"Admin" "Admin"BTW, you must not be using the latest version if you can choose a model at all :cry:

yeah.... you know I didn't notice that I changed the group name in the admin file.... this issue happened when I had them named "Mods" correctly to... but I will alter both files to match either other and see what's what.

I'm currently using build: 02 "Model Menu" (0.13) by pRED*

imported_Anth0ny
09-25-2007, 16:05
fully tested: plugin don't work at Win32 server with all latest versions of Source server, all plugins and MySQL-based admin system.

defined files of models? all of it uploads to clients (tested)
menu? it works.(looks like working..)

but if anyone player choose a new model- it's don't change player's model ingame. not right after change model, not after new round, not after new map starts...

model? it have not changing.

[SM] Listing 35 plugins:

01 "SQL Admin Connector (Threaded and UTF8 ready)" (1.2) by AngelX, based on original AlliedModders LLC code
02 "Admin File Reader" (1.0.0.1475) by AlliedModders LLC
03 "SQL Admin Manager (UTF8 ready)" (1.2) by AngelX, based on original AlliedModders LLC code
04 "Admin Help" (1.0.0.1475) by AlliedModders LLC
05 "Admin Sounds" (1.1) by dalto
06 "Admin loggin" (1.0) by vIr-Dan
07 "Ads" (1.0.2.0) by Shane A. ^BuGs^ Froebel
08 "Advanced c4 Countdown Timer" (1.5) by dalto
09 "Advanced Chat" (1.1) by ferret
10 "Anti-Flood" (1.0.0.1475) by AlliedModders LLC
11 "Advanced Team Attack Control" (1.3.3) by FlyingMongoose
12 "Basic Ban Commands" (1.0.0.1475) by AlliedModders LLC
13 "Basic Chat" (1.0.0.1475) by AlliedModders LLC
14 "Basic Commands" (1.0.0.1475) by AlliedModders LLC
15 "Basic Fun Commands" (1.0.0.1475) by AlliedModders LLC
16 "Basic Fun Votes" (1.0.0.1475) by AlliedModders LLC
17 "Basic Info Triggers" (1.0.0.1475) by AlliedModders LLC
18 "Basic Votes" (1.0.0.1475) by AlliedModders LLC
19 "Cvar Hider" (1.0.0.0) by AlliedModders LLC
20 "HLstatsX Plugin" (1.6) by Tobi17
21 "HP left" (1.1) by vIr-Dan
22 "mapchooser.smx"
23 "Model Menu" (0.13) by pRED*
24 "Nextmap" (1.0.0.1475) by AlliedModders LLC
25 "Players Votes" (1.2.1) by pZv!
26 "Quake Sounds" (1.8) by dalto
27 "RateChecker" (0.2) by pRED*
28 "Reserved Slots" (1.0.0.1475) by AlliedModders LLC
29 "Client Execute" (1.0.0.3) by dubbeh
30 "PlayersList" (0.3) by O!KAK
31 "Swear Replacement" (1.1) by Hell Phoenix
32 "Team Bets" (1.4) by ferret
33 "Terms Agreement" (1.1) by MaTTe
34 "Weapon Logging" (1.5) by Tobi17
35 "YeGods High Ping Remover" (1.0.0.4) by dubbeh

Enemy1
10-01-2007, 09:46
fully tested: plugin don't work at Win32 server with all latest versions of Source server, all plugins and MySQL-based admin system.

defined files of models? all of it uploads to clients (tested)
menu? it works.(looks like working..)

but if anyone player choose a new model- it's don't change player's model ingame. not right after change model, not after new round, not after new map starts...


Are you shure the models getting downloaded ?

I have it working - but need restrictions !! - Please read my question above :wink:

imported_Anth0ny
10-01-2007, 10:43
please point me to this question =)

Enemy1
10-01-2007, 11:39
Is it any way to set a skin to all admins - no matter witch group they belong to ?
As all with "b" rights or immunity higher then 1.

I have a clan with 8 groups and all should have same skins !
But right now all players can choose the admin skin :shock:

wraithcss
10-01-2007, 13:34
I'm not sure if you can assign an admin to more than one admin group.... but if you could, that's the answer - I tried to do this and couldn't come up with an answer.


The way it stands today, is you edit the models.ini file with each admin group. If they are all the same admin skin, then just create a new section 8 times with each admin group listed seperately like follows:

"Models"
{
"Admin Models"
{
"Admin" "AdminGroup1"
"Team1"
{
"Elite T Model"
{
"path" "models\player\ics\phoenix_admin_sand\t_phoeni x.mdl"
}
}
"Team2"
{
"Elite CT Model"
{
"path" "models\player\ics\sas_admin_black\ct_sas.mdl"
}
}
"Admin Models"
{
"Admin" "AdminGroup2"
"Team1"
{
"Elite T Model"
{
"path" "models\player\ics\phoenix_admin_sand\t_phoeni x.mdl"
}
}
"Team2"
{
"Elite CT Model"
{
"path" "models\player\ics\sas_admin_black\ct_sas.mdl"
}
}
}
}

etc, for each one

Enemy1
10-02-2007, 09:06
We are using SourceBans Webb interface to manage our members, and its not usable to do it by hand .. almost 90 members, some is resigning and some is joining .. ..

But I guess I have to try to make it work with 8 groups ..

imported_Anth0ny
10-02-2007, 10:35
a Sourcebans complatible version need

=)

Enemy1
10-03-2007, 09:58
I have problems with the files not being downloaded !

its downloading the xxx.mdl file but non of the other !

I have added all files now both in models.ini and modeldownloads.ini

- I have no problem choosing a skin and it works as long as all have the skins since before !
-and its working on all our mani servers !

*edit* I did change so another file was first in list, and then it only downloading that one .. **

imported_Anth0ny
10-05-2007, 07:53
feature request: Skin ranking system for CS:S (GG or DM).

For GG it can depends on current level of player.
For DM it can depends on player's number of frags.

An original idea and realisation (http://forums.mattie.info/cs/forums/viewtopic.php?t=14535&postdays=0&postorder=asc&highlight=skin+rank&start=0).

For GG skin changing can be implemented on new round start, for DM- on achieving of number of frags.
Only autoassign skins need, not other functions.

Isias
10-07-2007, 09:46
Feature Request, posted once earlier, but didn't get a reply, so, could you add a feature that also hostage models can get changed? Like Hostitron etc.?

imported_Anth0ny
10-07-2007, 11:46
+1

a complex skin management solution is need.
=)

imported_sparky
10-15-2007, 19:35
Does anyone else have problems with this plugin??

It seems that some people do not download the skins cant explain why. Some people see them and some see a big error sign??

imported_Anth0ny
10-16-2007, 04:58
for this plugin don't work.
and never works.

vampylestat
10-17-2007, 21:34
works for me, i just have problems with sv_pure :P

Enemy1
10-18-2007, 11:31
I have updated sourceMod now to the one with inbuild menu !

Is their any easy way to get the skins/models in sourcemods menu ?

f64
10-18-2007, 21:18
If players see the big red error model, that means they didn't download the model.
I have posted the problems in the issue list for the latest version. All you have to do for the sv_pure problems is
list your models and materials in the pure_server_whitelist.txt with the modifier allow_from_disk+check_crc

Go to http://www.dayofdefeat.net/forums/showthread.php?t=73282&page=3&highlight=sv_pure
and you can see an example I made on the bottom of the page for most pub servers.
Then you just add you custom models and materials.

imported_sparky
10-18-2007, 21:53
If players see the big red error model, that means they didn't download the model.
I have posted the problems in the issue list for the latest version



Is there a solution where is the issue list??

Enemy1
10-19-2007, 13:00
I have problems with the files not being downloaded !

its downloading the xxx.mdl file but non of the other !

I have added all files now both in models.ini and modeldownloads.ini

- I have no problem choosing a skin and it works as long as all have the skins since before !
-and its working on all our mani servers !

*edit* I did change so another file was first in list, and then it only downloading that one .. **

Can it be because Im running dods servers ?
cause it still only downloading as above... :|

imported_Anth0ny
10-20-2007, 13:56
TF2 - compatable version need! =)

TheFoxz
10-26-2007, 17:47
I'm also having trouble with the models.ini
I must have placed a { or } at the wrong place :|
Here it is:
"Models"
{
//Name of the item to appear in the menu
"Star Wars"
{
//Sourcemod admin group required to see/access this submenu
"Admin" "Root Admin" "Friends"

//Models available for team 1 (terrorist / allies)
"Team1"
{
//Name to appear in submenu
"Yoda"
{
//path to the model file. This will automatically be precached
"path" "models\player\b4p\b4p_yoda\b4p_yoda.mdl"
}
"Chewbacca"
{
//path to the model file. This will automatically be precached
"path" "models\player\b4p\b4p_chewbacca\b4p_chewbacca .mdl"
}
"Storm Trooper"
{
//path to the model file. This will automatically be precached
"path" "models/player/b4p/b4p_stormt/b4p_stormt.mdl"
}
}

//Models available for team 2 (ct / axis)
"Team2"
{
"Yoda"
{
//path to the model file. This will automatically be precached
"path" "models\player\b4p\b4p_yoda\b4p_yoda.mdl"
}
"Chewbacca"
{
//path to the model file. This will automatically be precached
"path" "models\player\b4p\b4p_chewbacca\b4p_chewbacca .mdl"
}
"Storm Trooper"
{
//path to the model file. This will automatically be precached
"path" "models/player/b4p/b4p_stormt/b4p_stormt.mdl"
}
}
}

"Soldiers"
{
//Sourcemod admin group required to see/access this submenu
"Admin" "Root Admin" "Friends"

//Models available for team 1 (terrorist / allies)
"Team1"
{
//Name to appear in submenu
"Camo Soldier"
{
//path to the model file. This will automatically be precached
"path" "models\player\b4p\b4p_yoda\b4p_yoda.mdl"
}
"not done yet - chewbacca placeholder is here --TheFoxz"
{
//path to the model file. This will automatically be precached
"path" "models\player\b4p\b4p_chewbacca\b4p_chewbacca .mdl"
}
"not done yet - stormtrooper placeholder is here --TheFoxz"
{
//path to the model file. This will automatically be precached
"path" "models/player/b4p/b4p_stormt/b4p_stormt.mdl"
}
}

//Models available for team 2 (ct / axis)
"Team2"
{
"Camo Soldier"
{
//path to the model file. This will automatically be precached
"path" "models\player\b4p\b4p_yoda\b4p_yoda.mdl"
}
"not done yet - chewbacca placeholder is here --TheFoxz"
{
//path to the model file. This will automatically be precached
"path" "models\player\b4p\b4p_chewbacca\b4p_chewbacca .mdl"
}
"not done yet - stormtrooper placeholder is here --TheFoxz"
{
//path to the model file. This will automatically be precached
"path" "models/player/b4p/b4p_stormt/b4p_stormt.mdl"
}
}
}
}

Edit: It worked fine until i added the "Soldiers" bit.

TheFoxz
10-28-2007, 07:51
Cmon, I've been waiting for a fix for like 4 days.

k4rnage
10-31-2007, 05:36
How i can make model menu for public users ?

xxdilbertxx
12-06-2007, 21:34
any chance that it could be made to work for bots...

maybe by using names instead of steamIDs in the data/playermodels.ini
or if it would be possible to use the botbotprofile.db to set to model

i want to change names in botprofile.db and then when the bot yoda or hellknight joins the game he gets the yoda or hellknight model automatically

nutz
12-09-2007, 22:06
TF2 - compatable version need! =)

has this been updated or will it work w/ TF2??

Fatal Cleric
12-16-2007, 14:04
would love this to work with TF2

imported_Anth0ny
12-18-2007, 14:07
would love it too...

nutz
12-22-2007, 18:58
nothin yet for TF2?

has anyone tried it?

ottobohn
12-23-2007, 14:58
Great plugin! It works great. Thanks for bringing life to my soccer server.

Are there any plans to allow a cvar command for certain models?
example: sm_cvar model_t "1 0 1 1" (allows first model option..not 2nd..allows 3rd..4th"

I change the map and only want to use 3rd option, I change it to
model_t "0 1 0 0" for terrorists to use.

-----

Also, have we figured out how to force models? w/o them having a menu? I'd like to force them to use a model.

otto

Jeordy
12-25-2007, 23:26
Hey,
i think im partially retarded or somthin.. but im a bit confused about the installation... All i rly want is to have skins for my admins... i did it fine on mani but i dont really like how mani works and i do like the way SourceMod works...
So yeah if somone could give me a little step by step on what to put where to get some admin skins working...

vtsoxluvr
12-31-2007, 12:36
Also, have we figured out how to force models? w/o them having a menu? I'd like to force them to use a model.

otto

This a feature that i would love especially for a tf2 version of the plugin, it would be nice to be able to use some reskins for at least the player models, it would be nice if there was a way to force tf2 weapon models as well, but that is a feature request for a separate plugin i guess

MoggieX
01-02-2008, 09:25
I just found an odd bug, the modeldownloads.ini needs the .mdl file in it to work, otherwise the players just end up as big error signs.

So for anyone else who has this error, add the .mdl file to the modeldownloads.ini file and it works a treat!

Matt

ottobohn
01-02-2008, 11:10
Actually, if the plugin works well, the player should be able to select the model they want. If they choose not to, it will come up as an error sign. We were hoping to avoid the error sign by allowing force models for the initial join, then allowing the player to eventually choose with !models.

otto

MoggieX
01-05-2008, 20:59
Just some feedback pRED*:

- To show only the menu that the player has access to, so in my case I'll have 5 menu's, where as a public player woudl have none (dont; know if this is possible??)

- The model menu doesn't always work.
What I mean by this is that if you decide 1/2 way through a game to chnage the model, the menu sometimes doesn't let you select a skin, the menu appears, you make a select for which group and then you receive a message in chat saying '[SM] You don't have access to this command', when I quite clearly do.

Notes: I use a mysql db for all admins and its been tested with +40 admins on who have access to at least 1 of the menu's and there are no messages in the error logs. Sometimes it works, sometimes it doesn't :( and it varies between players as well!

Matt

k4rnage
01-09-2008, 16:10
I can make public skins for every people on connecting ? and how ? Please !

Spearmeat
01-10-2008, 16:31
I think the reason some players see big red ERROR signs is because they haven't allowed downloads.

cl_allowdownload 1
cl_downloadfilter all

Thanks for the plugin, works perfectly.

Was also wondering if there was a way to force skins on bots depending on which player model they were?

If bot was a gsg9 then they would use a custom gsg9 model set up only for bots and so on.

MoggieX
01-13-2008, 18:31
Was also wondering if there was a way to force skins on bots depending on which player model they were?


That is exactly what I was coming on here to post and request, having the abilty to set skins to players would be handy, as we [one of my team members] can make custom server side skins, to set public players to forcely use a skin, or have it set by default would be very helpful for our community.

Matt

ThatGuy
01-14-2008, 00:40
does this have tf2 support?

k4rnage
01-16-2008, 15:28
Don't work for me. The server download all files but on my server we see invisible man ....
I use bzip and sv_downloadurl ... my zombie skins (i use zombiemod) works ...

modeldownloads :

models/player/slow/nanosuit/slow_nanosuit.dx80.vtx
models/player/slow/nanosuit/slow_nanosuit.dx90.vtx
models/player/slow/nanosuit/slow_nanosuit.mdl
models/player/slow/nanosuit/slow_nanosuit.phy
models/player/slow/nanosuit/slow_nanosuit.sw.vtx
models/player/slow/nanosuit/slow_nanosuit.vvd
models/player/slow/nanosuit/slow_nanosuit.xbox.vtx
materials/models/player/slow/nanosuit/slow_nanosuit.vmt
materials/models/player/slow/nanosuit/slow_nanosuit.vtf
materials/models/player/slow/nanosuit/slow_nanosuit_bump.vtf
materials/models/player/slow/nanosuit/slow_nanosuit_helm.vmt
materials/models/player/slow/nanosuit/slow_nanosuit_helm.vtf
materials/models/player/slow/nanosuit/slow_nanosuit_helm_bump.vtf
materials/models/player/slow/nanosuit/slow_nanosuit_visir.vmt
materials/models/player/slow/nanosuit/slow_nanosuit_visir.vtf
materials/models/player/slow/nanosuit/slow_nanosuit_visir_bump.vtf

models/player/slow/hunter/slow_hunter.dx80.vtx
models/player/slow/hunter/slow_hunter.dx90.vtx
models/player/slow/hunter/slow_hunter.mdl
models/player/slow/hunter/slow_hunter.phy
models/player/slow/hunter/slow_hunter.sw.vtx
models/player/slow/hunter/slow_hunter.vvd
models/player/slow/hunter/slow_hunter.xbox.vtx
materials/models/player/slow/hunter/slow_body.vmt
materials/models/player/slow/hunter/slow_body.vtf
materials/models/player/slow/hunter/slow_body_bump.vtf
materials/models/player/slow/hunter/slow_head.vmt
materials/models/player/slow/hunter/slow_head.vtf
materials/models/player/slow/hunter/slow_head_bump.vtf
materials/models/player/slow/hunter/slow_panzerplatten.vmt
materials/models/player/slow/hunter/slow_panzerplatten.vtf

models/player/slow/pink_soldier_fix/ct_urban.dx80.vtx
models/player/slow/pink_soldier_fix/ct_urban.dx90.vtx
models/player/slow/pink_soldier_fix/ct_urban.mdl
models/player/slow/pink_soldier_fix/ct_urban.phy
models/player/slow/pink_soldier_fix/ct_urban.sw.vtx
models/player/slow/pink_soldier_fix/ct_urban.vvd
models/player/slow/pink_soldier_fix/ct_urban.xbox.vtx
materials/models/player/slow/pink_soldier_fix/ct_urban.vmt
materials/models/player/slow/pink_soldier_fix/ct_urban.vtf
materials/models/player/slow/pink_soldier_fix/ct_urban_glass.vmt
materials/models/player/slow/pink_soldier_fix/ct_urban_glass.vtf
materials/models/player/slow/pink_soldier_fix/ct_urban_normal.vtf

models/player/slow/umbrella_ct/umbrella_ct.dx80.vtx
models/player/slow/umbrella_ct/umbrella_ct.dx90.vtx
models/player/slow/umbrella_ct/umbrella_ct.mdl
models/player/slow/umbrella_ct/umbrella_ct.phy
models/player/slow/umbrella_ct/umbrella_ct.sw.vtx
models/player/slow/umbrella_ct/umbrella_ct.vvd
models/player/slow/umbrella_ct/umbrella_ct.xbox.vtx
materials/models/player/slow/umbrella_ct/ct_urban.vmt
materials/models/player/slow/umbrella_ct/ct_urban.vtf
materials/models/player/slow/umbrella_ct/ct_urban_glass.vmt
materials/models/player/slow/umbrella_ct/ct_urban_glass.vtf
materials/models/player/slow/umbrella_ct/ct_urban_glass_spec.vtf
materials/models/player/slow/umbrella_ct/ct_urban_normal.vtf

models/player/slow/specnaz/slow_specnaz.dx80.vtx
models/player/slow/specnaz/slow_specnaz.dx90.vtx
models/player/slow/specnaz/slow_specnaz.mdl
models/player/slow/specnaz/slow_specnaz.phy
models/player/slow/specnaz/slow_specnaz.sw.vtx
models/player/slow/specnaz/slow_specnaz.vvd
models/player/slow/specnaz/slow_specnaz.xbox.vtx
materials/models/player/slow/specnaz/slow_1.vmt
materials/models/player/slow/specnaz/slow_1.vtf
materials/models/player/slow/specnaz/slow_2.vmt
materials/models/player/slow/specnaz/slow_2.vtf
materials/models/player/slow/specnaz/slow_bump1.vtf
materials/models/player/slow/specnaz/slow_bump2.vtfmodels

//Configure your menu here
"Models"
{
//Name of the item to appear in the menu
"Public models"
{
//Sourcemod admin group required to see/access this submenu
"Admin" ""

//Models available for team 1 (terrorist / allies)
"Team1"
{
//Name to appear in submenu
"Use !zmenu"
{
"path" ""
}
}
//Models available for team 2 (ct / axis)
"Team2"
{
"Crysis"
{
//path to the model file. This will automatically be precached
"path" "models/player/slow/nanosuit/slow_nanosuit.mdl"
}
"Pink soldier"
{
//path to the model file. This will automatically be precached
"path" "models/player/slow/pink_soldier_fix/ct_urban.mdl"
}
"Umbrella corporation"
{
//path to the model file. This will automatically be precached
"path" "models/player/slow/umbrella_ct/umbrella_ct.mdl"
}
"Specnaz"
{
//path to the model file. This will automatically be precached
"path" "models/player/slow/specnaz/slow_specnaz.mdl"
}
}
}
"Admin models"
{
//Sourcemod admin group required to see/access this submenu
"Admin" "Admin"

//Models available for team 1 (terrorist / allies)
"Team1"
{
//Name to appear in submenu
"Use !zmenu"
{
"path" ""
}
}
//Models available for team 2 (ct / axis)
"Team2"
{
"Hunter"
{
//path to the model file. This will automatically be precached
"path" "models/player/slow/hunter/slow_hunter.mdl"
}
}
}

//All other files needed for the above models must be listed in modeldownloads.ini
//This forces the clients to download the needed files

Spearmeat
01-17-2008, 16:43
Do you have the files for the models on both your server and webpage fastdownload server?

k4rnage
01-17-2008, 17:06
Yes, but it strange I tryed to download skins manually and i don't see them ...
I don't see the ERROR MODELS

StevenT
01-21-2008, 02:04
does this plugin actualy still work?
i cant get it to work for mod Synergy R1.1 (synergymod.net)

ModelMenu.smx in ../addons/sourcemod/plugins
modelmenu.gamedata.txt in ../addons/sourcemod/gamedata
models.ini in ../addons/sourcemod/configs
modeldownloads.ini in ../addons/sourcemod/configs

modelmenu.gamedata.txt
"Games"
{
"#default"
{
"#supported"
{
"game" "cstrike"
"game" "dod"
}
"Offsets"
{
"SetModel"
{
"windows" "25"
"linux" "26"
}
}
}
}


models.ini
//Configure your menu here
"Models"
{
//Name of the item to appear in the menu
"Custom Models"
{
//Sourcemod admin group required to see/access this submenu
"Admin" ""

//Models available for team 1 (terrorist / allies)
"Team1"
{
//Name to appear in submenu
"Back to Standard"
{
//path to the model file. This will automatically be precached
"path" ""
}
"Adrian"
{
//path to the model file. This will automatically be precached
"path" "models/characters/adrian.mdl"
}
"Ayane"
{
//path to the model file. This will automatically be precached
"path" "models/characters/ayane.mdl"
}
"Ayane2"
{
//path to the model file. This will automatically be precached
"path" "models/characters/ayane2.mdl"
}
"BikiniAyane"
{
//path to the model file. This will automatically be precached
"path" "models/characters/bikiniayane.mdl"
}
"BikiniKasumi"
{
//path to the model file. This will automatically be precached
"path" "models/characters/bikinikasumi.mdl"
}
"Bulma"
{
//path to the model file. This will automatically be precached
"path" "models/characters/bulma.mdl"
}
"Freeman"
{
//path to the model file. This will automatically be precached
"path" "models/characters/freeman.mdl"
}
"Kasumi"
{
//path to the model file. This will automatically be precached
"path" "models/characters/kasumi.mdl"
}
"Kasumi2"
{
//path to the model file. This will automatically be precached
"path" "models/characters/kasumi2.mdl"
}
"Korin"
{
//path to the model file. This will automatically be precached
"path" "models/characters/korin.mdl"
}
}

//Models available for team 2 (ct / axis)
"Team2"
{
"Back to Standard"
{
//path to the model file. This will automatically be precached
"path" ""
}
"Adrian"
{
//path to the model file. This will automatically be precached
"path" "models/characters/adrian.mdl"
}
"Ayane"
{
//path to the model file. This will automatically be precached
"path" "models/characters/ayane.mdl"
}
"Ayane2"
{
//path to the model file. This will automatically be precached
"path" "models/characters/ayane2.mdl"
}
"BikiniAyane"
{
//path to the model file. This will automatically be precached
"path" "models/characters/bikiniayane.mdl"
}
"BikiniKasumi"
{
//path to the model file. This will automatically be precached
"path" "models/characters/bikinikasumi.mdl"
}
"Bulma"
{
//path to the model file. This will automatically be precached
"path" "models/characters/bulma.mdl"
}
"Freeman"
{
//path to the model file. This will automatically be precached
"path" "models/characters/freeman.mdl"
}
"Kasumi"
{
//path to the model file. This will automatically be precached
"path" "models/characters/kasumi.mdl"
}
"Kasumi2"
{
//path to the model file. This will automatically be precached
"path" "models/characters/kasumi2.mdl"
}
"Korin"
{
//path to the model file. This will automatically be precached
"path" "models/characters/korin.mdl"
}
}
}
}

//All other files needed for the above models must be listed in modeldownloads.ini
//This forces the clients to download the needed files


modeldownloads.ini
materials/models/characters/Adrian/arm1.vmt
materials/models/characters/Adrian/arm1.vtf
materials/models/characters/Adrian/arm2.vmt
materials/models/characters/Adrian/arm2.vtf
materials/models/characters/Adrian/body1.vmt
materials/models/characters/Adrian/body1.vtf
materials/models/characters/Adrian/body2.vmt
materials/models/characters/Adrian/body2.vtf
materials/models/characters/Adrian/face2.vmt
materials/models/characters/Adrian/face2.vtf
materials/models/characters/Adrian/goggle_chrome.vmt
materials/models/characters/Adrian/goggle_chrome.vtf
materials/models/characters/Adrian/goggle_chrome_normal.vtf
materials/models/characters/Adrian/hand_sheet.tga
materials/models/characters/Adrian/hand_sheet.vmt
materials/models/characters/Adrian/hand_sheet.vtf
materials/models/characters/Adrian/hatfront.vmt
materials/models/characters/Adrian/hatfront.vtf
materials/models/characters/Adrian/hatleft.vmt
materials/models/characters/Adrian/hatleft.vtf
materials/models/characters/Adrian/hatright.vmt
materials/models/characters/Adrian/hatright.vtf
materials/models/characters/Adrian/hattop.vmt
materials/models/characters/Adrian/hattop.vtf
materials/models/characters/Adrian/head_beret.vmt
materials/models/characters/Adrian/head_beret.vtf
materials/models/characters/Adrian/head_cigar.vmt
materials/models/characters/Adrian/head_cigar.vtf
materials/models/characters/Adrian/head_mask.vmt
materials/models/characters/Adrian/head_mask.vtf
materials/models/characters/Adrian/head_shotgun.vmt
materials/models/characters/Adrian/head_shotgun.vtf
materials/models/characters/Adrian/headmap.vmt
materials/models/characters/Adrian/headmap.vtf
materials/models/characters/Adrian/headside.vmt
materials/models/characters/Adrian/headside.vtf
materials/models/characters/Adrian/Helmetn.vtf
materials/models/characters/Adrian/m16_world.vmt
materials/models/characters/Adrian/m16_world.vtf
materials/models/characters/Adrian/m16_world_normal.vtf
materials/models/characters/Adrian/mask_chrome.vmt
materials/models/characters/Adrian/mask_chrome.vtf
materials/models/characters/Adrian/mask_chrome_mask.vtf
materials/models/characters/Adrian/mask_chrome_normal.vtf
materials/models/characters/Adrian/pc_soldier_armor.vmt
materials/models/characters/Adrian/pc_soldier_armor.vtf
materials/models/characters/Adrian/pc_soldier_armor_normal.vtf
materials/models/characters/Adrian/pc_soldier_bags.vmt
materials/models/characters/Adrian/pc_soldier_bags.vtf
materials/models/characters/Adrian/pc_soldier_bags_normal.vtf
materials/models/characters/Adrian/pc_soldier_beret_red.vmt
materials/models/characters/Adrian/pc_soldier_beret_red.vtf
materials/models/characters/Adrian/pc_soldier_beret_red_normal.vtf
materials/models/characters/Adrian/pc_soldier_black_face.vmt
materials/models/characters/Adrian/pc_soldier_black_face.vtf
materials/models/characters/Adrian/pc_soldier_black_face_normal.vtf
materials/models/characters/Adrian/pc_soldier_boot.vmt
materials/models/characters/Adrian/pc_soldier_boot.vtf
materials/models/characters/Adrian/pc_soldier_boot_normal.vtf
materials/models/characters/Adrian/pc_soldier_face_cmdr_op4.vmt
materials/models/characters/Adrian/pc_soldier_face_cmdr_op4.vtf
materials/models/characters/Adrian/pc_soldier_face_cmdr_op4_normal.vtf
materials/models/characters/Adrian/pc_soldier_fatigues8.vtf
materials/models/characters/Adrian/pc_soldier_fatigues.vmt
materials/models/characters/Adrian/pc_soldier_fatigues.vtf
materials/models/characters/Adrian/pc_soldier_fatigues_normal.vtf
materials/models/characters/Adrian/pc_soldier_fatigueso.vtf
materials/models/characters/Adrian/pc_soldier_helmet.vmt
materials/models/characters/Adrian/pc_soldier_helmet.vtf
materials/models/characters/Adrian/pc_soldier_helmet_normal.vtf
materials/models/characters/Adrian/pc_soldier_mask.vmt
materials/models/characters/Adrian/pc_soldier_mask.vtf
materials/models/characters/Adrian/pc_soldier_mask_face.vmt
materials/models/characters/Adrian/pc_soldier_mask_face.vtf
materials/models/characters/Adrian/pc_soldier_mask_face_normal.vtf
materials/models/characters/Adrian/pc_soldier_mask_normal.vtf
materials/models/characters/Adrian/pc_soldier_skin_blk.vmt
materials/models/characters/Adrian/pc_soldier_skin_blk.vtf
materials/models/characters/Adrian/pc_soldier_skin_blk_normal.vtf
materials/models/characters/Adrian/pc_soldier_skin_wht.vmt
materials/models/characters/Adrian/pc_soldier_skin_wht.vtf
materials/models/characters/Adrian/pc_soldier_skin_wht_normal.vtf
materials/models/characters/Adrian/soldier_head_baclava.vmt
materials/models/characters/Adrian/soldier_head_baclava.vtf
materials/models/characters/Adrian/soldier_head_baclava_normal.vtf
materials/models/characters/Adrian/soldier_helmet.vmt
materials/models/characters/Adrian/soldier_helmet.vtf
materials/models/characters/Adrian/soldier_helmet_normal.vtf
materials/models/characters/Adrian/spas12_world.vmt
materials/models/characters/Adrian/spas12_world.vtf
materials/models/characters/Adrian/spas12_world_normal.vtf
materials/models/characters/Adrian/weapons.vmt
materials/models/characters/Adrian/weapons.vtf


materials/models/characters/ayane/aya2022.vmt
materials/models/characters/ayane/aya2022.vtf
materials/models/characters/ayane/aya2025.vmt
materials/models/characters/ayane/aya2025.vtf
materials/models/characters/ayane/aya2025_normal.vtf
materials/models/characters/ayane/ayacloth.vmt
materials/models/characters/ayane/ayacloth.vtf
materials/models/characters/ayane/ayacloth_normal.vtf
materials/models/characters/ayane/ayaetc2.vmt
materials/models/characters/ayane/ayaetc2.vtf
materials/models/characters/ayane/ayaetc3.vmt
materials/models/characters/ayane/ayaetc3.vtf
materials/models/characters/ayane/ayaetc3_normal.vtf
materials/models/characters/ayane/ayaetc4.vmt
materials/models/characters/ayane/ayaetc4.vtf
materials/models/characters/ayane/ayaetc.vmt
materials/models/characters/ayane/ayaetc.vtf
materials/models/characters/ayane/ayaetc_exp.vtf
materials/models/characters/ayane/ayaskin1.vmt
materials/models/characters/ayane/ayaskin1.vtf
materials/models/characters/ayane/ayaskin1_normal.vtf
materials/models/characters/ayane/eyeball_l.vmt
materials/models/characters/ayane/eyeball_l.vtf
materials/models/characters/ayane/eyeball_r.vmt
materials/models/characters/ayane/eyeball_r.vtf
materials/models/characters/ayane/pupil_l.vtf
materials/models/characters/ayane/pupil_r.vtf
materials/models/characters/ayane/vay0000.vmt
materials/models/characters/ayane/vay0000.vtf
materials/models/characters/ayane/vay0001.vmt
materials/models/characters/ayane/vay0001.vtf
materials/models/characters/ayane/vay0002.vmt
materials/models/characters/ayane/vay0002.vtf
materials/models/characters/ayane/vay0003.vmt
materials/models/characters/ayane/vay0003.vtf
materials/models/characters/ayane/vay0004.vmt
materials/models/characters/ayane/vay0004.vtf
materials/models/characters/ayane/vay0005.vmt
materials/models/characters/ayane/vay0005.vtf
materials/models/characters/ayane/vay0006.vmt
materials/models/characters/ayane/vay0006.vtf
materials/models/characters/ayane/vay0007.vmt
materials/models/characters/ayane/vay0007.vtf
materials/models/characters/ayane/vay0008.vmt
materials/models/characters/ayane/vay0008.vtf
materials/models/characters/ayane/vay0009.vmt
materials/models/characters/ayane/vay0009.vtf
materials/models/characters/ayane/vay0009_normal.vtf
materials/models/characters/ayane/vay0010.vmt
materials/models/characters/ayane/vay0010.vtf
materials/models/characters/ayane/vay0010_exp.vtf
materials/models/characters/ayane/vay0010_normal.vtf
materials/models/characters/ayane/vay0011.vmt
materials/models/characters/ayane/vay0011.vtf
materials/models/characters/ayane/vay0011_exp.vtf
materials/models/characters/ayane/vay0011_normal.vtf
materials/models/characters/ayane/vay0012.vmt
materials/models/characters/ayane/vay0012.vtf
materials/models/characters/ayane/vay0014.vmt
materials/models/characters/ayane/vay0014.vtf
materials/models/characters/ayane/vay0017.vmt
materials/models/characters/ayane/vay0017.vtf
materials/models/characters/ayane/vay0025.vmt
materials/models/characters/ayane/vay0025.vtf
materials/models/characters/ayane/vay0027.vmt
materials/models/characters/ayane/vay0027.vtf
materials/models/characters/ayane/vay0027_exp.vtf



materials/models/characters/ayane2/aya2022.vmt
materials/models/characters/ayane2/aya2022.vtf
materials/models/characters/ayane2/aya2025.vmt
materials/models/characters/ayane2/aya2025.vtf
materials/models/characters/ayane2/ayacloth.vmt
materials/models/characters/ayane2/ayacloth.vtf
materials/models/characters/ayane2/ayaetc2.vmt
materials/models/characters/ayane2/ayaetc2.vtf
materials/models/characters/ayane2/ayaetc3.vmt
materials/models/characters/ayane2/ayaetc3.vtf
materials/models/characters/ayane2/ayaetc4.vmt
materials/models/characters/ayane2/ayaetc4.vtf
materials/models/characters/ayane2/ayaetc.vmt
materials/models/characters/ayane2/ayaetc.vtf
materials/models/characters/ayane2/ayaskin1.vmt
materials/models/characters/ayane2/ayaskin1.vtf
materials/models/characters/ayane2/eyeball_l.vmt
materials/models/characters/ayane2/eyeball_l.vtf
materials/models/characters/ayane2/eyeball_r.vmt
materials/models/characters/ayane2/eyeball_r.vtf
materials/models/characters/ayane2/pupil_l.vtf
materials/models/characters/ayane2/pupil_r.vtf
materials/models/characters/ayane2/vay0000.vmt
materials/models/characters/ayane2/vay0000.vtf
materials/models/characters/ayane2/vay0001.vmt
materials/models/characters/ayane2/vay0002.vmt
materials/models/characters/ayane2/vay0002.vtf
materials/models/characters/ayane2/vay0003.vmt
materials/models/characters/ayane2/vay0003.vtf
materials/models/characters/ayane2/vay0004.vmt
materials/models/characters/ayane2/vay0004.vtf
materials/models/characters/ayane2/vay0005.vmt
materials/models/characters/ayane2/vay0005.vtf
materials/models/characters/ayane2/vay0006.vmt
materials/models/characters/ayane2/vay0006.vtf
materials/models/characters/ayane2/vay0007.vmt
materials/models/characters/ayane2/vay0007.vtf
materials/models/characters/ayane2/vay0008.vmt
materials/models/characters/ayane2/vay0008.vtf
materials/models/characters/ayane2/vay0009.vmt
materials/models/characters/ayane2/vay0009.vtf
materials/models/characters/ayane2/vay0010.vmt
materials/models/characters/ayane2/vay0010.vtf
materials/models/characters/ayane2/vay0011.vmt
materials/models/characters/ayane2/vay0011.vtf
materials/models/characters/ayane2/vay0012.vmt
materials/models/characters/ayane2/vay0012.vtf
materials/models/characters/ayane2/vay0014.vmt
materials/models/characters/ayane2/vay0014.vtf
materials/models/characters/ayane2/vay0017.vmt
materials/models/characters/ayane2/vay0017.vtf
materials/models/characters/ayane2/vay0025.vmt
materials/models/characters/ayane2/vay0025.vtf
materials/models/characters/ayane2/vay0027.vmt
materials/models/characters/ayane2/vay0027.vtf


materials/models/characters/BikiniAyane/ayaetc2.vmt
materials/models/characters/BikiniAyane/ayaetc2.vtf
materials/models/characters/BikiniAyane/ayaetc.vmt
materials/models/characters/BikiniAyane/ayaetc.vtf
materials/models/characters/BikiniAyane/eyeball_l.vmt
materials/models/characters/BikiniAyane/eyeball_l.vtf
materials/models/characters/BikiniAyane/eyeball_r.vmt
materials/models/characters/BikiniAyane/eyeball_r.vtf
materials/models/characters/BikiniAyane/mdAy00.vmt
materials/models/characters/BikiniAyane/mdAy00.vtf
materials/models/characters/BikiniAyane/mdAy01.vmt
materials/models/characters/BikiniAyane/mdAy01.vtf
materials/models/characters/BikiniAyane/mdAy02.vmt
materials/models/characters/BikiniAyane/mdAy02.vtf
materials/models/characters/BikiniAyane/mdAy03.vmt
materials/models/characters/BikiniAyane/mdAy03.vtf
materials/models/characters/BikiniAyane/mdAy04.vmt
materials/models/characters/BikiniAyane/mdAy04.vtf
materials/models/characters/BikiniAyane/mdAy05.vmt
materials/models/characters/BikiniAyane/mdAy05.vtf
materials/models/characters/BikiniAyane/mdAy06.vmt
materials/models/characters/BikiniAyane/mdAy06.vtf
materials/models/characters/BikiniAyane/mdAy07.vmt
materials/models/characters/BikiniAyane/mdAy07.vtf
materials/models/characters/BikiniAyane/mdAy08.vmt
materials/models/characters/BikiniAyane/mdAy08.vtf
materials/models/characters/BikiniAyane/pupil_l.vtf
materials/models/characters/BikiniAyane/pupil_r.vtf
materials/models/characters/BikiniAyane/vay0000.vmt
materials/models/characters/BikiniAyane/vay0000.vtf
materials/models/characters/BikiniAyane/vay0001.vmt
materials/models/characters/BikiniAyane/vay0001.vtf
materials/models/characters/BikiniAyane/vay0002.vmt
materials/models/characters/BikiniAyane/vay0002.vtf
materials/models/characters/BikiniAyane/vay0003.vmt
materials/models/characters/BikiniAyane/vay0003.vtf
materials/models/characters/BikiniAyane/vay0004.vmt
materials/models/characters/BikiniAyane/vay0004.vtf
materials/models/characters/BikiniAyane/vay0005.vmt
materials/models/characters/BikiniAyane/vay0005.vtf
materials/models/characters/BikiniAyane/vay0006.vmt
materials/models/characters/BikiniAyane/vay0006.vtf
materials/models/characters/BikiniAyane/vay0007.vmt
materials/models/characters/BikiniAyane/vay0007.vtf
materials/models/characters/BikiniAyane/vay0008.vmt
materials/models/characters/BikiniAyane/vay0008.vtf
materials/models/characters/BikiniAyane/vay0009.vmt
materials/models/characters/BikiniAyane/vay0009.vtf
materials/models/characters/BikiniAyane/vay0010.vmt
materials/models/characters/BikiniAyane/vay0010.vtf
materials/models/characters/BikiniAyane/vay0011.vmt
materials/models/characters/BikiniAyane/vay0011.vtf
materials/models/characters/BikiniAyane/vay0012.vmt
materials/models/characters/BikiniAyane/vay0012.vtf
materials/models/characters/BikiniAyane/vay0014.vmt
materials/models/characters/BikiniAyane/vay0014.vtf
materials/models/characters/BikiniAyane/vay0017.vmt
materials/models/characters/BikiniAyane/vay0017.vtf
materials/models/characters/BikiniAyane/vay0025.vmt
materials/models/characters/BikiniAyane/vay0025.vtf
materials/models/characters/BikiniAyane/vay0027.vmt
materials/models/characters/BikiniAyane/vay0027.vtf



materials/models/characters/BikiniKasumi/eyeball_l.vmt
materials/models/characters/BikiniKasumi/eyeball_l.vtf
materials/models/characters/BikiniKasumi/eyeball_r.vmt
materials/models/characters/BikiniKasumi/eyeball_r.vtf
materials/models/characters/BikiniKasumi/Htb600.vmt
materials/models/characters/BikiniKasumi/Htb600.vtf
materials/models/characters/BikiniKasumi/Htb601.vmt
materials/models/characters/BikiniKasumi/Htb601.vtf
materials/models/characters/BikiniKasumi/Htb602.vmt
materials/models/characters/BikiniKasumi/Htb602.vtf
materials/models/characters/BikiniKasumi/Htb603.vmt
materials/models/characters/BikiniKasumi/Htb603.vtf
materials/models/characters/BikiniKasumi/kasetc2.vmt
materials/models/characters/BikiniKasumi/kasetc2.vtf
materials/models/characters/BikiniKasumi/kasetc.vmt
materials/models/characters/BikiniKasumi/kasetc.vtf
materials/models/characters/BikiniKasumi/pupil_l.vtf
materials/models/characters/BikiniKasumi/pupil_r.vtf
materials/models/characters/BikiniKasumi/vks0300.vmt
materials/models/characters/BikiniKasumi/vks0300.vtf
materials/models/characters/BikiniKasumi/vks0301.vmt
materials/models/characters/BikiniKasumi/vks0301.vtf
materials/models/characters/BikiniKasumi/vks0302.vmt
materials/models/characters/BikiniKasumi/vks0302.vtf
materials/models/characters/BikiniKasumi/vks0303.vmt
materials/models/characters/BikiniKasumi/vks0303.vtf
materials/models/characters/BikiniKasumi/vks0304.vmt
materials/models/characters/BikiniKasumi/vks0304.vtf
materials/models/characters/BikiniKasumi/vks0305.vmt
materials/models/characters/BikiniKasumi/vks0305.vtf
materials/models/characters/BikiniKasumi/vks0306.vmt
materials/models/characters/BikiniKasumi/vks0306.vtf
materials/models/characters/BikiniKasumi/vks0307.vmt
materials/models/characters/BikiniKasumi/vks0307.vtf
materials/models/characters/BikiniKasumi/vks0308.vmt
materials/models/characters/BikiniKasumi/vks0308.vtf
materials/models/characters/BikiniKasumi/vks0309.vmt
materials/models/characters/BikiniKasumi/vks0309.vtf
materials/models/characters/BikiniKasumi/vks0310.vmt
materials/models/characters/BikiniKasumi/vks0310.vtf
materials/models/characters/BikiniKasumi/vks0311.vmt
materials/models/characters/BikiniKasumi/vks0311.vtf
materials/models/characters/BikiniKasumi/vks0314.vmt
materials/models/characters/BikiniKasumi/vks0314.vtf
materials/models/characters/BikiniKasumi/vks0317.vmt
materials/models/characters/BikiniKasumi/vks0317.vtf
materials/models/characters/BikiniKasumi/vks0319.vmt
materials/models/characters/BikiniKasumi/vks0319.vtf
materials/models/characters/BikiniKasumi/vks0320.vmt
materials/models/characters/BikiniKasumi/vks0320.vtf
materials/models/characters/BikiniKasumi/vks0324.vmt
materials/models/characters/BikiniKasumi/vks0324.vtf
materials/models/characters/BikiniKasumi/vks0326.vmt
materials/models/characters/BikiniKasumi/vks0326.vtf
materials/models/characters/BikiniKasumi/vks0328.vmt
materials/models/characters/BikiniKasumi/vks0328.vtf




materials/models/characters/bulma/BhairC1.vmt
materials/models/characters/bulma/BhairC1.vtf
materials/models/characters/bulma/BhairC2.vmt
materials/models/characters/bulma/BhairC3.vmt
materials/models/characters/bulma/BhairC4.vmt
materials/models/characters/bulma/BhairC5.vmt
materials/models/characters/bulma/BhairC6.vmt
materials/models/characters/bulma/boots.vmt
materials/models/characters/bulma/boots_C.vtf
materials/models/characters/bulma/bulmabody.vtf
materials/models/characters/bulma/bulmaface.vmt
materials/models/characters/bulma/bulmaface.vtf
materials/models/characters/bulma/cloth.vmt
materials/models/characters/bulma/cloth.vtf
materials/models/characters/bulma/glass.vmt
materials/models/characters/bulma/glass_C.vtf
materials/models/characters/bulma/glass_S.vtf
materials/models/characters/bulma/pants.vmt
materials/models/characters/bulma/pants_C.vtf
materials/models/characters/bulma/rucksackB.vmt
materials/models/characters/bulma/rucksackB_C.vtf
materials/models/characters/bulma/transparency.vmt
materials/models/characters/bulma/transparency.vtf




materials/models/characters/freeman/glass.vmt
materials/models/characters/freeman/glasslens.vtf
materials/models/characters/freeman/gordonheadmap.vmt
materials/models/characters/freeman/gordonheadmap.vtf
materials/models/characters/freeman/hevsuit_sheet2.vmt
materials/models/characters/freeman/hevsuit_sheet2.vtf




materials/models/characters/kasumi/body.vmt
materials/models/characters/kasumi/body.vtf
materials/models/characters/kasumi/body_etc.vmt
materials/models/characters/kasumi/body_etc.vtf
materials/models/characters/kasumi/cloth1.vmt
materials/models/characters/kasumi/cloth1.vtf
materials/models/characters/kasumi/cloth2.vmt
materials/models/characters/kasumi/cloth2.vtf
materials/models/characters/kasumi/eyeball_l.vmt
materials/models/characters/kasumi/eyeball_l.vtf
materials/models/characters/kasumi/eyeball_r.vmt
materials/models/characters/kasumi/eyeball_r.vtf
materials/models/characters/kasumi/hair1.vmt
materials/models/characters/kasumi/hair1.vtf
materials/models/characters/kasumi/hair2.vmt
materials/models/characters/kasumi/hair2.vtf
materials/models/characters/kasumi/kas11.vmt
materials/models/characters/kasumi/kas11.vtf
materials/models/characters/kasumi/kas12.vmt
materials/models/characters/kasumi/kas12.vtf
materials/models/characters/kasumi/kas13.vmt
materials/models/characters/kasumi/kas13.vtf
materials/models/characters/kasumi/kas14.vmt
materials/models/characters/kasumi/kas14.vtf
materials/models/characters/kasumi/kas15.vmt
materials/models/characters/kasumi/kas15.vtf
materials/models/characters/kasumi/kas33.vmt
materials/models/characters/kasumi/kas33.vtf
materials/models/characters/kasumi/kas34.vmt
materials/models/characters/kasumi/kas34.vtf
materials/models/characters/kasumi/kas38.vmt
materials/models/characters/kasumi/kas38.vtf
materials/models/characters/kasumi/kas39.vmt
materials/models/characters/kasumi/kas39.vtf
materials/models/characters/kasumi/kas45.vmt
materials/models/characters/kasumi/kas45.vtf
materials/models/characters/kasumi/kas54.vmt
materials/models/characters/kasumi/kas54.vtf
materials/models/characters/kasumi/kasetc2.vmt
materials/models/characters/kasumi/kasetc2.vtf
materials/models/characters/kasumi/pupil_l.vtf
materials/models/characters/kasumi/pupil_r.vtf
materials/models/characters/kasumi/vks0307.vmt
materials/models/characters/kasumi/vks0307.vtf
materials/models/characters/kasumi/vks0308.vmt
materials/models/characters/kasumi/vks0308.vtf
materials/models/characters/kasumi/vks0311.vmt
materials/models/characters/kasumi/vks0311.vtf
materials/models/characters/kasumi/vks0314.vmt
materials/models/characters/kasumi/vks0314.vtf
materials/models/characters/kasumi/vks0317.vmt
materials/models/characters/kasumi/vks0317.vtf
materials/models/characters/kasumi/vks0319.vmt
materials/models/characters/kasumi/vks0319.vtf
materials/models/characters/kasumi/vks0321.vmt
materials/models/characters/kasumi/vks0321.vtf
materials/models/characters/kasumi/vks0323.vmt
materials/models/characters/kasumi/vks0323.vtf
materials/models/characters/kasumi/vks0335.vmt
materials/models/characters/kasumi/vks0335.vtf





materials/models/characters/kasumi2/body.vmt
materials/models/characters/kasumi2/body.vtf
materials/models/characters/kasumi2/body_etc.vmt
materials/models/characters/kasumi2/body_etc.vtf
materials/models/characters/kasumi2/body_normal.vtf
materials/models/characters/kasumi2/cloth1.vmt
materials/models/characters/kasumi2/cloth1.vtf
materials/models/characters/kasumi2/cloth2.vmt
materials/models/characters/kasumi2/cloth2.vtf
materials/models/characters/kasumi2/cloth2_normal.vtf
materials/models/characters/kasumi2/cloth2_ref.vtf
materials/models/characters/kasumi2/eyeball_l.vmt
materials/models/characters/kasumi2/eyeball_l.vtf
materials/models/characters/kasumi2/eyeball_r.vmt
materials/models/characters/kasumi2/eyeball_r.vtf
materials/models/characters/kasumi2/hair1.vmt
materials/models/characters/kasumi2/hair1.vtf
materials/models/characters/kasumi2/hair2.vmt
materials/models/characters/kasumi2/hair2.vtf
materials/models/characters/kasumi2/kas11.vmt
materials/models/characters/kasumi2/kas11.vtf
materials/models/characters/kasumi2/kas12.vmt
materials/models/characters/kasumi2/kas12.vtf
materials/models/characters/kasumi2/kas13.vmt
materials/models/characters/kasumi2/kas13.vtf
materials/models/characters/kasumi2/kas14.vmt
materials/models/characters/kasumi2/kas14.vtf
materials/models/characters/kasumi2/kas15.vmt
materials/models/characters/kasumi2/kas15.vtf
materials/models/characters/kasumi2/kas33.vmt
materials/models/characters/kasumi2/kas33.vtf
materials/models/characters/kasumi2/kas34.vmt
materials/models/characters/kasumi2/kas34.vtf
materials/models/characters/kasumi2/kas38.vmt
materials/models/characters/kasumi2/kas38.vtf
materials/models/characters/kasumi2/kas38_normal.vtf
materials/models/characters/kasumi2/kas38_ref.vtf
materials/models/characters/kasumi2/kas39.vmt
materials/models/characters/kasumi2/kas39.vtf
materials/models/characters/kasumi2/kas45.vmt
materials/models/characters/kasumi2/kas45.vtf
materials/models/characters/kasumi2/kas54.vmt
materials/models/characters/kasumi2/kas54.vtf
materials/models/characters/kasumi2/kasetc2.vmt
materials/models/characters/kasumi2/kasetc2.vtf
materials/models/characters/kasumi2/pupil_l.vtf
materials/models/characters/kasumi2/pupil_r.vtf
materials/models/characters/kasumi2/vks0307.vmt
materials/models/characters/kasumi2/vks0307.vtf
materials/models/characters/kasumi2/vks0308.vmt
materials/models/characters/kasumi2/vks0308.vtf
materials/models/characters/kasumi2/vks0311.vmt
materials/models/characters/kasumi2/vks0311.vtf
materials/models/characters/kasumi2/vks0311_mask.vtf
materials/models/characters/kasumi2/vks0311_normal.vtf
materials/models/characters/kasumi2/vks0314.vmt
materials/models/characters/kasumi2/vks0314.vtf
materials/models/characters/kasumi2/vks0317.vmt
materials/models/characters/kasumi2/vks0317.vtf
materials/models/characters/kasumi2/vks0319.vmt
materials/models/characters/kasumi2/vks0319.vtf
materials/models/characters/kasumi2/vks0321.vmt
materials/models/characters/kasumi2/vks0321.vtf
materials/models/characters/kasumi2/vks0323.vmt
materials/models/characters/kasumi2/vks0323.vtf
materials/models/characters/kasumi2/vks0323_ref.vtf
materials/models/characters/kasumi2/vks0335.vmt
materials/models/characters/kasumi2/vks0335.vtf




materials/models/characters/korin/bikini01C.vmt
materials/models/characters/korin/bikini01C.vtf
materials/models/characters/korin/bikini01N.vtf
materials/models/characters/korin/fmouth.vmt
materials/models/characters/korin/fmouth.vtf
materials/models/characters/korin/hairC1.vmt
materials/models/characters/korin/hairC1.vtf
materials/models/characters/korin/hairC1AT.vmt
materials/models/characters/korin/hairC1AT.vtf
materials/models/characters/korin/hairC2.vmt
materials/models/characters/korin/hairC2.vtf
materials/models/characters/korin/hairC2AT.vmt
materials/models/characters/korin/hairC2AT.vtf
materials/models/characters/korin/hairC2I.vmt
materials/models/characters/korin/hairCB2.vmt
materials/models/characters/korin/hairCB2.vtf
materials/models/characters/korin/korintail01C.vmt
materials/models/characters/korin/korintail01C.vtf



materials/VGUI/playerimages/adrian_0.vmt
materials/VGUI/playerimages/adrian_0.vtf
materials/VGUI/playerimages/ayane2_0.vmt
materials/VGUI/playerimages/ayane2_0.vtf
materials/VGUI/playerimages/ayane_0.vmt
materials/VGUI/playerimages/ayane_0.vtf
materials/VGUI/playerimages/bikiniayane_0.vmt
materials/VGUI/playerimages/bikiniayane_0.vtf
materials/VGUI/playerimages/bikinikasumi_0.vmt
materials/VGUI/playerimages/bikinikasumi_0.vtf
materials/VGUI/playerimages/bulma_0.vmt
materials/VGUI/playerimages/bulma_0.vtf
materials/VGUI/playerimages/freeman_0.vmt
materials/VGUI/playerimages/freeman_0.vtf
materials/VGUI/playerimages/kasumi2_0.vmt
materials/VGUI/playerimages/kasumi2_0.vtf
materials/VGUI/playerimages/kasumi_0.vmt
materials/VGUI/playerimages/kasumi_0.vtf
materials/VGUI/playerimages/korin_0.vmt
materials/VGUI/playerimages/korin_0.vtf




materials/VGUI/playermodels/characters/adrian.vmt
materials/VGUI/playermodels/characters/adrian.vtf
materials/VGUI/playermodels/characters/ayane2.vmt
materials/VGUI/playermodels/characters/ayane2.vtf
materials/VGUI/playermodels/characters/ayane.vmt
materials/VGUI/playermodels/characters/ayane.vtf
materials/VGUI/playermodels/characters/bikiniayane.vmt
materials/VGUI/playermodels/characters/bikiniayane.vtf
materials/VGUI/playermodels/characters/bikinikasumi.vmt
materials/VGUI/playermodels/characters/bikinikasumi.vtf
materials/VGUI/playermodels/characters/bulma.vmt
materials/VGUI/playermodels/characters/bulma.vtf
materials/VGUI/playermodels/characters/freeman.vmt
materials/VGUI/playermodels/characters/freeman.vtf
materials/VGUI/playermodels/characters/kasumi2.vmt
materials/VGUI/playermodels/characters/kasumi2.vtf
materials/VGUI/playermodels/characters/kasumi.vmt
materials/VGUI/playermodels/characters/kasumi.vtf
materials/VGUI/playermodels/characters/korin.vmt
materials/VGUI/playermodels/characters/korin.vtf




models/characters/Adrian.dx80.vtx
models/characters/Adrian.dx90.vtx
models/characters/adrian.mdl
models/characters/Adrian.phy
models/characters/Adrian.sw.vtx
models/characters/adrian.vvd
models/characters/Adrian.xbox.vtx
models/characters/Ayane2.dx80.vtx
models/characters/Ayane2.dx90.vtx
models/characters/ayane2.mdl
models/characters/Ayane2.phy
models/characters/Ayane2.sw.vtx
models/characters/ayane2.vvd
models/characters/Ayane2.xbox.vtx
models/characters/Ayane.dx80.vtx
models/characters/Ayane.dx90.vtx
models/characters/ayane.mdl
models/characters/Ayane.phy
models/characters/Ayane.sw.vtx
models/characters/ayane.vvd
models/characters/Ayane.xbox.vtx
models/characters/BikiniAyane.dx80.vtx
models/characters/BikiniAyane.dx90.vtx
models/characters/bikiniayane.mdl
models/characters/BikiniAyane.phy
models/characters/BikiniAyane.sw.vtx
models/characters/bikiniayane.vvd
models/characters/BikiniAyane.xbox.vtx
models/characters/BikiniKasumi.dx80.vtx
models/characters/BikiniKasumi.dx90.vtx
models/characters/bikinikasumi.mdl
models/characters/BikiniKasumi.phy
models/characters/BikiniKasumi.sw.vtx
models/characters/bikinikasumi.vvd
models/characters/BikiniKasumi.xbox.vtx
models/characters/Bulma.dx80.vtx
models/characters/Bulma.dx90.vtx
models/characters/bulma.mdl
models/characters/Bulma.phy
models/characters/Bulma.sw.vtx
models/characters/bulma.vvd
models/characters/Bulma.xbox.vtx
models/characters/freeman.dx80.vtx
models/characters/freeman.dx90.vtx
models/characters/freeman.mdl
models/characters/freeman.phy
models/characters/freeman.sw.vtx
models/characters/freeman.vvd
models/characters/freeman.xbox.vtx
models/characters/Kasumi2.dx80.vtx
models/characters/Kasumi2.dx90.vtx
models/characters/Kasumi2.mdl
models/characters/Kasumi2.phy
models/characters/Kasumi2.sw.vtx
models/characters/kasumi2.vvd
models/characters/Kasumi2.xbox.vtx
models/characters/Kasumi.dx80.vtx
models/characters/Kasumi.dx90.vtx
models/characters/kasumi.mdl
models/characters/Kasumi.phy
models/characters/Kasumi.sw.vtx
models/characters/kasumi.vvd
models/characters/Kasumi.xbox.vtx
models/characters/Korin.dx80.vtx
models/characters/Korin.dx90.vtx
models/characters/korin.mdl
models/characters/Korin.phy
models/characters/Korin.sw.vtx
models/characters/korin.vvd
models/characters/Korin.xbox.vtx




scripts/sounds/characters/adrian.txt
scripts/sounds/characters/ayane.txt
scripts/sounds/characters/bulma.txt
scripts/sounds/characters/freeman.txt
scripts/sounds/characters/korin.txt




sound/characters/adrian/ass.wav
sound/characters/adrian/bfeeling.wav
sound/characters/adrian/cover.wav
sound/characters/adrian/death1.wav
sound/characters/adrian/death2.wav
sound/characters/adrian/death3.wav
sound/characters/adrian/death4.wav
sound/characters/adrian/death5.wav
sound/characters/adrian/death6.wav
sound/characters/adrian/disney.wav
sound/characters/adrian/down.wav
sound/characters/adrian/freaks.wav
sound/characters/adrian/getsome.wav
sound/characters/adrian/gr_pain1.wav
sound/characters/adrian/gr_pain2.wav
sound/characters/adrian/gr_pain3.wav
sound/characters/adrian/gr_pain4.wav
sound/characters/adrian/gr_pain5.wav
sound/characters/adrian/gr_pain6.wav
sound/characters/adrian/hostiles.wav
sound/characters/adrian/incoming.wav
sound/characters/adrian/medic.wav
sound/characters/adrian/oneshot.wav
sound/characters/adrian/pain1.wav
sound/characters/adrian/pain2.wav
sound/characters/adrian/pain3.wav
sound/characters/adrian/pain4.wav
sound/characters/adrian/pain5.wav
sound/characters/adrian/pain6.wav
sound/characters/adrian/stayalert.wav
sound/characters/adrian/staydown.wav



http://z11.invisionfree.com/Synergy/index.php?showtopic=1401&st=0
that model pack is what im using.

Do i have to add Synergy to gamedata?

I deleted all the files from modelpack from my client and when i connect to the gameserver it doesnt download.

Thanks! Would be nice if i can get this to work.
Also there is no error log, i can just see "custom models" when i type in console sm_models. After pressing on Custom Models, the menu closes.

There are no admin groups set, but as you can see i want to have all models for everyone enabled in public. Synergy = HL2 co-op, so there is actualy only 1 "human" team (?).

pRED*
01-21-2008, 03:04
Yeah you'd definately need to add Synergy to the supported mods list. This assumes that the virtual table offset is the same. It's quite possible it would have a different offset and you'd need to find this (theres offset lists on the wiki - not sure if synergy has been done) and add a special section.

Also might be an issue with the team checking function.

StevenT
01-21-2008, 14:17
damn no offset >.< too bad

k4rnage
01-24-2008, 09:53
Sorry, this plugin work ^^, i just have to reboot my game and the server ! (i'm noob).

striker4040
01-27-2008, 17:48
sorry for bein a noob but i looked and idk wat 2 do with that .smx file >.< someone please tell me so i can get dis 2 work :mrgreen:

StevenT
01-27-2008, 18:00
sorry for bein a noob but i looked and idk wat 2 do with that .smx file >.< someone please tell me so i can get dis 2 work :mrgreen:

.smx goes into /addons/sourcemod/plugins folder

ottobohn
02-01-2008, 12:28
I'm going to try to write a modification with this plugin so it does force people to use a default skin. I have people who have their # keys set to something and cannot select a skin. I wish they wouldn't, but this is life. I think when a person joins my soccer server, it will force a skin on them depending on the team. I'll post my results later.

Otto

bguguen
02-02-2008, 12:57
Hey i totally love this mod, but is it possible to make this mod to run as a Clan Model changer??

Meaning when players with a Clan's Tag that has been specified inside the model.ini, he/she will get His clan's CT and T model??

it will be great for scimming servers so that both clans can have their own CT and T model for their own clan but only for players with Clan Tags that has been set on the Server's ini files or something

StevenT
02-03-2008, 05:41
Hey i totally love this mod, but is it possible to make this mod to run as a Clan Model changer??

Meaning when players with a Clan's Tag that has been specified inside the model.ini, he/she will get His clan's CT and T model??

it will be great for scimming servers so that both clans can have their own CT and T model for their own clan but only for players with Clan Tags that has been set on the Server's ini files or something

try specifying a clan as an admin group, give them the lowest admin flag (a = reserve i think?), not sure if it will work but then whenever those steamid's get on there they should have custom model then.

This also prevents random players trying to wear the clan tag just for the model

k4rnage
02-04-2008, 03:51
Small bug :
Sometimes someone can't go in the !models menu ... don't know why ... and sometimes when someone change his skin while the game is running, his gun stay in the air lol ! He shoots with his fingers :P

berni
02-04-2008, 04:55
I need some help. I tried this on a half life 2 deathmatch server, but the model
somehow doesn't change.
The model download is working fine, and I already tried this with some standard models.
I can execute the !models menu and select the model, but it doesn't change.
I also checked if the SetModel offset is correct, it is.


"Models"
{
//Name of the item to appear in the menu
"Admin Only Models"
{
//Sourcemod admin group required to see/access this submenu
"Admin" "test"

//Models available for team 1 (terrorist / allies)
"Team1"
{
//Name to appear in submenu
"gman"
{
//path to the model file. This will automatically be precached
"path" "models/gman.mdl"
}
}

//Models available for team 2 (ct / axis)
"Team2"
{
"gman"
{
//path to the model file. This will automatically be precached
"path" "models/gman.mdl"
}
}

//Models available for team 2 (ct / axis)
"Team3"
{
"gman"
{
//path to the model file. This will automatically be precached
"path" "models/gman.mdl"
}
}
}
}

dressler18
02-04-2008, 05:51
wth is wrong in my models.ini i can't use with admin group "admin"

k4rnage
02-04-2008, 14:07
How i can desactive model instant change ?

dressler18
02-07-2008, 09:37
Big problem it shows error :O i dont forget a " or something. The model download is working perfect.

modeldownloads.ini:

materials/models/player/ics/t_guerilla_z/t_guerilla.vmt
materials/models/player/ics/t_guerilla_z/t_guerilla_normal.vtf
materials/models/player/ics/t_guerilla_z/t_guerilla.vtf
models/player/ics/t_guerilla_z/t_guerilla.dx80.vtx
models/player/ics/t_guerilla_z/t_guerilla.dx90.vtx
models/player/ics/t_guerilla_z/t_guerilla.mdl
models/player/ics/t_guerilla_z/t_guerilla.phy
models/player/ics/t_guerilla_z/t_guerilla.sw.vtx
models/player/ics/t_guerilla_z/t_guerilla.vvd

models/player/ics/ct_gign_fbi/ct_gign.dx80.vtx
models/player/ics/ct_gign_fbi/ct_gign.dx90.vtx
models/player/ics/ct_gign_fbi/ct_gign.mdl
models/player/ics/ct_gign_fbi/ct_gign.phy
models/player/ics/ct_gign_fbi/ct_gign.sw.vtx
models/player/ics/ct_gign_fbi/ct_gign.vvd
materials/models/player/ics/ct_gign_fbi/ct_gign.vmt
materials/models/player/ics/ct_gign_fbi/ct_gign.vtf
materials/models/player/ics/ct_gign_fbi/ct_gign_glass.vmt

materials/models/player/ics/zombieguerilla/t_guerilla.vmt.ztmp
materials/models/player/ics/zombieguerilla/t_guerilla.vmt
materials/models/player/ics/zombieguerilla/t_guerilla.vtf
models/player/ics/zombieguerilla/t_guerilla.dx80.vtx
models/player/ics/zombieguerilla/t_guerilla.dx90.vtx
models/player/ics/zombieguerilla/t_guerilla.mdl
models/player/ics/zombieguerilla/t_guerilla.phy
models/player/ics/zombieguerilla/t_guerilla.sw.vtx
models/player/ics/zombieguerilla/t_guerilla.vvd

models.ini:

//Configure your menu here
"Models"
{
//Name of the item to appear in the menu
"Admin Only Models"
{
//Sourcemod admin group required to see/access this submenu
"Admin" "Owner"

//Models available for team 1 (terrorist / allies)
"Team1"
{
//Name to appear in submenu
"FBI"
{
//path to the model file. This will automatically be precached
"path" "models/player/ics/ct_gign_fbi/ct_gign.mdl"
}
"Zombie"
{
//path to the model file. This will automatically be precached
"path" "models/player/ics/zombieguerilla/t_guerilla.mdl"
}
}

//Models available for team 2 (ct / axis)
"Team2"
{
"FBI"
{
"path" "models/player/ics/ct_gign_fbi/ct_gign.mdl"
}
}
}
}

//All other files needed for the above models must be listed in modeldownloads.ini
//This forces the clients to download the needed files

What is wrong? Please help.

dressler18
02-07-2008, 12:10
Top :lol:....

dressler18
02-08-2008, 15:18
You can't help me or you don't want to help me?

[H]itch
02-09-2008, 10:40
Hmm... pred, can we put models for normal players too? I am death confused/
Just help me out with that.And also, can these models be used for zombies for zombie hordE? Help me please///
Cheers,
[H]itch

tcviper
02-26-2008, 14:53
PreD can you make the models.ini be able to do multiple groups since then we can add sourcebans groups. As sourcebans can only assign one group per player.

Dunno
03-13-2008, 18:38
Pred, is there anyway to get this working for TF2?

I am going to load this up and check if it works as is, this weekend.

imported_Anth0ny
03-20-2008, 03:20
+ 1

full support fo TF2 needed..

PRED, please! =)

Snapcase452
03-31-2008, 13:44
Is there anyway to remove the model once an admin has chosen it? I sometimes like to go undercover, so having the special model on would ruin that for me.

RaideR
04-01-2008, 08:02
The author dissappeared......
But this plugin is still necessary....

k4rnage
04-13-2008, 07:16
Please correct the bug when sometimes the plugin say : "Sorry, You do not have access to this command" when you have this command !

imported_Anth0ny
04-13-2008, 13:23
Pred is ignored all requests from us.

pRED*
04-13-2008, 16:59
Pred is ignored all requests from us.

Lol. You have no idea how many hours I spent researching a method to change player models on TF2..

It is impossible. If it could be done, I would have done it.

Chaos Llama
04-14-2008, 15:38
Doesn't work in the mod zombie master either. Models/materials download, but when a player tries to change model, nothing happens - their model stays the same.

P.S. Zombie master is not a CSS mod, its a completely different game.

Snapcase452
04-14-2008, 15:51
Works just fine for CS:S Zombiemod theres just no way to remove to skin.

k4rnage
04-14-2008, 17:10
Just one probleme with zombiemod !
I put skin only for CT but when someone see they will be zombie, he opens the menu, wait to zombification and choose a CT skin ....

And again : sometimes !models say : "Sorry, You do not have access to this command"

So i think with "normal" mod, a terrorist can open the menu, die, go counter terrorist team and choose terrorist skin (maybe somone can try it)

KillerSneak
04-16-2008, 18:19
I can't get my models to work. At this moment only 1 model works with the rest of the models i'm invisable ?? Anybody that can help me here. The plugin itself seems to work great:

Here's a link i got the models from
http://www.ics-base.net/css_skins/admin_skins.php
SkinName: skull_admin - works
SkinName: fin_m91 (sarge) - Doesn't work

http://www.ics-base.net/css_skins/normal_skins.php
SkinName: desert_ct - Doesn't work
SkinName: greyskull_t - Doesn't work

It's strange that only Skull_admin works as i have set up everything like it should.

-=CsFF=- Eagle
04-20-2008, 08:31
Request: A Cvar to set a default model for Publicgamers.

Thanks

imported_Anth0ny
04-20-2008, 12:09
Lol. You have no idea how many hours I spent researching a method to change player models on TF2..

It is impossible. If it could be done, I would have done it.

Sorry Pred i don't know about it... =(
But you can tell as about this problem earlyer...

Sorry again.

NEXSO
04-27-2008, 03:25
hello, have trouble by the linux Server - it goes here for DoD:S.
something attuned not.
regards out Germany

Step:1
http://www.nexso.de/ts/models/1.jpg

Step:2
http://www.nexso.de/ts/models/2.jpg

Step:3
Models Menu closed


My config : models.ini


//Configure your menu here
"Models"
{
//Name of the item to appear in the menu
"Admin Only Models"
{
//Sourcemod admin group required to see/access this submenu
"Admin" "Admin"
//Models available for team 1 (allies)
"allies"
{
"US Sommer"
{
"path" "models/player/g3/us_high.mdl"
}
"US Winter"
{
"path" "models/player/g3/snow_allies.mdl"
}
}
//Models available for team 2 (axis)
"axis"
{
"Ger Sommer"
{
"path" "models/player/g3/germ_high.mdl"
}
"Ger Winter"
{
"path" "models/player/g3/snow_axis.mdl"
}
}
}
}
//All other files needed for the above models must be listed in modeldownloads.ini
//This forces the clients to download the needed files


modeldownloads.ini is ok

NedStar
04-27-2008, 09:09
This plugin has a couple issues.

plugindownloads.ini doesn't always transfers all the files. If you use a simple plugin yourself to transfer them it works fine.

Another bug that has been reported several times but doesn't seem to be solved yet is the '[SM] You don't have access to this command' which is rather annoying and I decided to disable the whole security check so everyone can use the models. I would however prefer to have some separate models for some players. Even if the config is right it will still sometimes show up the error even though you got full access. Even if no access is needed it will still give the error from time to time.

I hope this gets fixed soon.

less
04-27-2008, 11:45
Hey guys i need some help!
I have put modeldownloads.ini and models.ini into my configs file. I did put modelmenu.gamedata into the gamedata, ModelMenu.smx in the pluging forlder and ModelMenu.sp on the scripting folder. I did upload the files and skins on the server ftp and webspace. Everything works but i cant see the models...they are invisible like!


models/player/ics/skull_admin_v2/skull.dx80.vtx
models/player/ics/skull_admin_v2/skull.dx90.vtx
models/player/ics/skull_admin_v2/skull.mdl
models/player/ics/skull_admin_v2/skull.phy
models/player/ics/skull_admin_v2/skull.sw.vtx
models/player/ics/skull_admin_v2/skull.vvd
materials/models/player/ics/skull_admin_v2/terrortemp.vmt
materials/models/player/ics/skull_admin_v2/terrortemp.vtf
materials/models/player/ics/skull_admin_v2/terrortemp_normal.vtf

models/player/b4p/b4p_stormt/b4p_stormt.dx80.vtx
models/player/b4p/b4p_stormt/b4p_stormt.dx90.vtx
models/player/b4p/b4p_stormt/b4p_stormt.mdl
models/player/b4p/b4p_stormt/b4p_stormt.phy
models/player/b4p/b4p_stormt/b4p_stormt.sw.vxt
models/player/b4p/b4p_stormt/b4p_stormt.vvd
materials/models/player/b4p/stormt/armor.vmt
materials/models/player/b4p/stormt/armor.vtf
materials/models/player/b4p/stormt/helmet.vmt
materials/models/player/b4p/stormt/helmet.vtf
materials/models/player/b4p/stormt/shoulder.vmt
materials/models/player/b4p/stormt/shoulder.vtf
materials/models/player/b4p/stormt/torso_legs.vmt
materials/models/player/b4p/stormt/torso_legs.vtf

models/player/b4p/b4p_jawa/b4p_jawa.dx80.vtx
models/player/b4p/b4p_jawa/b4p_jawa.dx90.vtx
models/player/b4p/b4p_jawa/b4p_jawa.mdl
models/player/b4p/b4p_jawa/b4p_jawa.phy
models/player/b4p/b4p_jawa/b4p_jawa.sw.vtx
models/player/b4p/b4p_jawa/b4p_jawa.vvd
models/player/b4p/b4p_jawa/b4p_jawa.xbox.vtx
materials/models/player/b4p/jawa/jawa.vmt
materials/models/player/b4p/jawa/jawa.vtf
materials/models/player/b4p/jawa/jawa_eyes.vmt
materials/models/player/b4p/jawa/jawa_eyes.vtf
materials/models/player/b4p/jawa/jawa_hands.vmt
materials/models/player/b4p/jawa/jawa_hands.vtf

models\player\b4p\b4p_vader\b4p_vader.dx80.vt x
models\player\b4p\b4p_vader\b4p_vader.dx90.vt x
models\player\b4p\b4p_vader\b4p_vader.mdl
models\player\b4p\b4p_vader\b4p_vader.phy
models\player\b4p\b4p_vader\b4p_vader.sw.vtx
models\player\b4p\b4p_vader\b4p_vader.vvd
materials\models\player\b4p\vader\alnewhope.v mt
materials\models\player\b4p\vader\alnewhope.v tf
materials\models\player\b4p\vader\beltxtras.v mt
materials\models\player\b4p\vader\beltxtras.v tf
materials\models\player\b4p\vader\darthshing. vmt
materials\models\player\b4p\vader\darthshing. vtf
materials\models\player\b4p\vader\dbreather.v mt
materials\models\player\b4p\vader\dbreather.v tf
materials\models\player\b4p\vader\dcape.vmt
materials\models\player\b4p\vader\dcape.vtf
materials\models\player\b4p\vader\handhope.vm t
materials\models\player\b4p\vader\handhope.vt f
materials\models\player\b4p\vader\headhope.vm t
materials\models\player\b4p\vader\headhope.vt f
materials\models\player\b4p\vader\helmethope. vmt
materials\models\player\b4p\vader\helmethope. vtf
materials\models\player\b4p\vader\hipsvader.v mt
materials\models\player\b4p\vader\hipsvader.v tf
materials\models\player\b4p\vader\legsvader.v mt
materials\models\player\b4p\vader\legsvader.v tf
materials\models\player\b4p\vader\shoulderhop e.vmt
materials\models\player\b4p\vader\shoulderhop e.vtf
materials\models\player\b4p\vader\torsovader. vmt
materials\models\player\b4p\vader\torsovader. vtf
materials\models\player\b4p\vader\vaderface.v mt
materials\models\player\b4p\vader\vaderface.v tf

models\player\b4p\b4p_yoda\b4p_yoda.dx80.vtx
models\player\b4p\b4p_yoda\b4p_yoda.dx90.vtx
models\player\b4p\b4p_yoda\b4p_yoda.mdl
models\player\b4p\b4p_yoda\b4p_yoda.phy
models\player\b4p\b4p_yoda\b4p_yoda.sw.vtx
models\player\b4p\b4p_yoda\b4p_yoda.vvd
materials\models\player\b4p\yoda\yoda_body.vm t
materials\models\player\b4p\yoda\yoda_body.vt f
materials\models\player\b4p\yoda\yoda_body_no rmal.vtf
materials\models\player\b4p\yoda\yoda_head.vm t
materials\models\player\b4p\yoda\yoda_head.vt f
materials\models\player\b4p\yoda\yoda_head_no rmal.vtf

models/player/ics/fbi_ct_v2/urban.dx80.vtx
models/player/ics/fbi_ct_v2/urban.dx90.vtx
models/player/ics/fbi_ct_v2/urban.mdl
models/player/ics/fbi_ct_v2/urban.phy
models/player/ics/fbi_ct_v2/urban.sw.vtx
models/player/ics/fbi_ct_v2/urban.vvd
materials/models/player/ics/fbi_ct_v2/ct_urban.vmt
materials/models/player/ics/fbi_ct_v2/ct_urban_glass.vtf
materials/models/player/ics/fbi_ct_v2/ct_urban.vtf
materials/models/player/ics/fbi_ct_v2/ct_urban_normal.vtf
materials/models/player/ics/fbi_ct_v2/ct_urban_glass.vmt



//Configure your menu here
"Models"
{
//Name of the item to appear in the menu
"Models"
{
//Sourcemod admin group required to see/access this submenu
"Admin" ""

//Models available for team 1 (terrorist / allies)
"Team1"
{
//Name to appear in submenu
"Back to Standard"
{
//path to the model file. This will automatically be precached
"path" ""
}
"Trooper"
{
//path to the model file. This will automatically be precached
"path" "models/player/b4p/b4p_stormt/b4p_stormt.mdl"
}
"Skull"
{
//path to the model file. This will automatically be precached
"path" "models/player/ics/skull_admin_v2/skull.mdl"
}
"Darth Vader"
{
//path to the model file. This will automatically be precached
"path" "models\player\b4p\b4p_vader\b4p_vader.mdl"
}
}

//Models available for team 2 (ct / axis)
"Team2"
{
"Back to Standard"
{
//path to the model file. This will automatically be precached
"path" ""
}
"FBI"
{
//path to the model file. This will automatically be precached
"path" "models/player/ics/fbi_ct_v2/urban.mdl"
}
"Jawa"
{
//path to the model file. This will automatically be precached
"path" "models/player/b4p/b4p_jawa/b4p_jawa.mdl"
}
"Yoda"
{
//path to the model file. This will automatically be precached
"path" "models\player\b4p\b4p_yoda\b4p_yoda.mdl"
}
}
}
}

//All other files needed for the above models must be listed in modeldownloads.ini
//This forces the clients to download the needed files



"Games"
{
"#default"
{
"#supported"
{
"game" "cstrike"
"game" "dod"
}
"Offsets"
{
"SetModel"
{
"windows" "25"
"linux" "26"
}
}
}
}


What am i doing wrong???
Thank you all!

evilRedStar
04-29-2008, 17:44
Ive been observing this topic for quite some time now. because Ive been searching for a plugin like this that allows players to choose a custom model at the beginning of the game

however I dont possess the models (mdl files) but rather just the textures (vtf,vmt). its like this in my modeldownloads.ini file:


materials/models/player/afrika/german_body.vtf
materials/models/player/black/german_body.vtf
materials/models/player/black/german_gear.vtf
materials/models/player/ss/german_body.vtf
materials/models/player/ss/german_body_normal.vtf
materials/models/player/winter/german_body.vmt
materials/models/player/winter/german_gear.vmt

materials/models/player/winter/wile/wile_german_body.vtf
materials/models/player/winter/wile/wile_german_body_exp.vtf
materials/models/player/winter/wile/wile_german_body_normal.vtf
materials/models/player/winter/wile/wile_german_gear.vtf
materials/models/player/winter/wile/wile_german_gear_exp.vtf
materials/models/player/winter/wile/wile_german_gear_normal.vtf
how do I properly set this up in the models.ini anyway? because it only asks for model files in the paths...:|


btw its for dods and axis shall select between four possible custom skins (winter camo, black axis, ss summer and afrika korps)

less
05-01-2008, 19:39
Ok i installed the mod and runs fine....but for some reason the materials dont get downloaded from the server...if i manually put then into my CS folder they work just fine...but if not then the models are invisible and get the "no ragdoll error". Any help guys plz?

grif_ssa
05-05-2008, 08:33
another bug: if im in TEAM1 say /models, them go to anther TEAM2 - then only choose model - it will be TEAM1 model selected for TEAM2

sorry for my english
ps: ill fix it for myself
pss: sorry maybe alredy disscused, i didnt manage to read all posts

Cooltad
05-05-2008, 09:59
Is it possible to use this to change the weapon textures people see when in just my server in TF2?

Yes I know previously in the thread you said to that one guy you can't change models, but I'm looking into having the game calling for a vtf, but not using the one that is in they're local files already (which they would use to have a custom vtf show for just them) but instead to use one that I specify for them to download. I know this IS possible. Originally when you place a vtf file inside the materials/models/weapons/v_wrench/ folder and you name is v_wrench_sheet the game automatically read thats file from there. I know there is somewhere, in some file, that calls that vtf file if it is there. If you can find where it calls it, you can manipulate that to change it to what you or I would specify, thus allowing you to replace the textures of the weapons without overriding what is already there in that folder.

I have been able to do this with sounds like when a sentry gun is alerted etc, but doing it with textures is more complicated. I do know for a fact its possible, though.

imported_Anth0ny
05-06-2008, 02:05
no. it's impossible.
already disscused.

Cooltad
05-06-2008, 09:58
No, it IS possible.
It definitely IS.

I can make it work.

I just need one more thing, one last, final component. An .mdl decompiler that works for TF2 mdl files. If someone can find that or decompile some files for me then I can do it.

Cooltad
05-06-2008, 12:42
Okay, I have finally been able to decompile the files I need and now I just need to compile them back in and..

less
05-10-2008, 16:05
for some reason the materials dont get downloaded from the server...if i manually put then into my CS folder they work just fine...but if not then the models are invisible and get the "no ragdoll error". Any help guys plz?

NedStar
05-23-2008, 14:31
Plugin still being supported by pRED* ?

Any way I did some testing with the no access error and found out that if you would for example use 2 groups. One public and one for a special group.

If someone that doesn't has access to a group and clicks on it he will get the no access error. Now if you would then click on public again it still tells you, you don't got access even though you do.

If someone that has access to the special group and then clicks on it the public group works again. I've been able to reproduce this bug each time so I assume there's something wrong in the script or is it game-related ?

Some support would be nice.

less
06-06-2008, 14:29
I still cannot make this work...most of the files are not being download...i have edited the whitelist as well...nothing seems to work....i only get 2 files from the download instead of 8...some1 plz make a correct download.ini plz or remake the plugin if possible...its a great plugin but its 2 bad that the only 1 for source mod...or even a guide how to set it up right plz...

thank you

ck

Natalya[AF]
06-08-2008, 00:20
Files download properly and all. We just get the "You don't have access to this command" bullshit.

This problem will not show up at all until some newb goes and selects a model group that they do not have access too. Then suddenly the menu works for no one, until a map change resets it. So can someone just make it so that people can't see skin categories they don't have access to?

MoggieX
06-08-2008, 04:37
would you find it useful, if i posted the config files we have setup and have little to no issues with?

Matt

MoggieX
06-08-2008, 05:10
would you find it useful, if i posted the config files we have setup and have little to no issues with?

Matt

Actually here they are anyway.

modeldownloads.ini

Notice that we have some extra download files at the top of this file (materials/decals/custom/xyz), these can be removed, i've left these in to prove the point that the downloads work.

Also you would need to add/remove the file paths depending on what models you have loaded


materials/decals/custom/ukmd-2.vtf
materials/decals/custom/ukmd-2.vmt
materials/decals/custom/ukmd-12.vtf
materials/decals/custom/ukmd-12.vmt
materials/decals/custom/ukmd-14.vtf
materials/decals/custom/ukmd-14.vmt
materials/decals/custom/ukmd-15.vtf
materials/decals/custom/ukmd-15.vmt

models/player/ics/t_desert_arctic/t_arctic.dx80.vtx
models/player/ics/t_desert_arctic/t_arctic.dx90.vtx
models/player/ics/t_desert_arctic/t_arctic.mdl
models/player/ics/t_desert_arctic/t_arctic.phy
models/player/ics/t_desert_arctic/t_arctic.sw.vtx
models/player/ics/t_desert_arctic/t_arctic.vvd
materials/models/player/ics/t_desert_arctic/t_arctic.vmt
materials/models/player/ics/t_desert_arctic/t_arctic.vtf

models/player/ics/ct_sas_spectr/ct_sas.dx80.vtx
models/player/ics/ct_sas_spectr/ct_sas.mdl
models/player/ics/ct_sas_spectr/ct_sas.sw.vtx
models/player/ics/ct_sas_spectr/ct_sas.dx90.vtx
models/player/ics/ct_sas_spectr/ct_sas.vvd
models/player/ics/ct_sas_spectr/ct_sas.phy
materials/models/player/ics/ct_sas_spectr/ct_sas.vmt
materials/models/player/ics/ct_sas_spectr/ct_sas.vtf
materials/models/player/ics/ct_sas_spectr/ct_sas_glass.vmt
materials/models/player/ics/ct_sas_spectr/ct_sas_glass.vtf
materials/models/player/ics/ct_sas_spectr/ct_sas_glass_spec.vtf

models/player/ics/ct_gsg9_admin/ct_gsg9.mdl
models/player/ics/ct_gsg9_admin/ct_gsg9.dx80.vtx
models/player/ics/ct_gsg9_admin/ct_gsg9.sw.vtx
models/player/ics/ct_gsg9_admin/ct_gsg9.dx90.vtx
models/player/ics/ct_gsg9_admin/ct_gsg9.vvd
models/player/ics/ct_gsg9_admin/ct_gsg9.phy
materials/models/player/ics/ct_gsg9_admin/ct_gsg9.vmt
materials/models/player/ics/ct_gsg9_admin/ct_gsg9.vtf

models/player/ics/t_arctic_admin/t_arctic.mdl
models/player/ics/t_arctic_admin/t_arctic.dx80.vtx
models/player/ics/t_arctic_admin/t_arctic.dx90.vtx
models/player/ics/t_arctic_admin/t_arctic.phy
models/player/ics/t_arctic_admin/t_arctic.sw.vtx
models/player/ics/t_arctic_admin/t_arctic.vvd
materials/models/player/ics/t_arctic_admin/t_arctic.vmt
materials/models/player/ics/t_arctic_admin/t_arctic.vtf

models/player/ics/t_female/t_phoenix.mdl
models/player/ics/t_female/t_phoenix.dx80.vtx
models/player/ics/t_female/t_phoenix.dx90.vtx
models/player/ics/t_female/t_phoenix.phy
models/player/ics/t_female/t_phoenix.sw.vtx
models/player/ics/t_female/t_phoenix.vvd
materials/models/player/ics/t_female/chau_facemap.vmt
materials/models/player/ics/t_female/chau_facemap.vtf
materials/models/player/ics/t_female/t_phoenix_fem.vmt
materials/models/player/ics/t_female/t_phoenix_fem.vtf

models/player/ics/skull_admin_v2/skull.mdl
models/player/ics/skull_admin_v2/skull.dx80.vtx
models/player/ics/skull_admin_v2/skull.dx90.vtx
models/player/ics/skull_admin_v2/skull.phy
models/player/ics/skull_admin_v2/skull.sw.vtx
models/player/ics/skull_admin_v2/skull.vvd
materials/models/player/ics/skull_admin_v2/terrortemp.vmt
materials/models/player/ics/skull_admin_v2/terrortemp.vtf
materials/models/player/ics/skull_admin_v2/terrortemp_normal.vtf

models/player/ics/ct_lara/ct_gsg9.mdl
materials/models/player/ics/ct_lara/23c2971d.vmt
materials/models/player/ics/ct_lara/23c2971d.vtf
materials/models/player/ics/ct_lara/23c2971d_n.vtf
materials/models/player/ics/ct_lara/358d65eb.vmt
materials/models/player/ics/ct_lara/358d65eb.vtf
materials/models/player/ics/ct_lara/358d65eb_n.vtf
materials/models/player/ics/ct_lara/47166b01.vmt
materials/models/player/ics/ct_lara/47166b01.vtf
materials/models/player/ics/ct_lara/47166b01_n.vtf
materials/models/player/ics/ct_lara/98781a7b.vmt
materials/models/player/ics/ct_lara/98781a7b.vtf
materials/models/player/ics/ct_lara/98781a7b_n.vtf
materials/models/player/ics/ct_lara/ct_urban.vmt
materials/models/player/ics/ct_lara/ct_urban.vtf
materials/models/player/ics/ct_lara/d529bebf.vmt
materials/models/player/ics/ct_lara/d529bebf.vtf
materials/models/player/ics/ct_lara/d529bebf_n.vtf
materials/models/player/ics/ct_lara/f96f91cf.vmt
materials/models/player/ics/ct_lara/f96f91cf.vtf
materials/models/player/ics/ct_lara/f96f91cf_n.vtf
models/player/ics/ct_lara/ct_gsg9.dx80.vtx
models/player/ics/ct_lara/ct_gsg9.dx90.vtx
models/player/ics/ct_lara/ct_gsg9.phy
models/player/ics/ct_lara/ct_gsg9.sw.vtx
models/player/ics/ct_lara/ct_gsg9.vvd

models/player/ics/t_leet_stars/t_leet.mdl
models/player/ics/t_leet_stars/t_leet.dx80.vtx
models/player/ics/t_leet_stars/t_leet.dx90.vtx
models/player/ics/t_leet_stars/t_leet.phy
models/player/ics/t_leet_stars/t_leet.sw.vtx
models/player/ics/t_leet_stars/t_leet.vvd
materials/models/player/ics/t_leet_stars/t_leet.vmt
materials/models/player/ics/t_leet_stars/t_leet.vtf
materials/models/player/ics/t_leet_stars/t_leet_glass.vmt

models/player/b4p/b4p_jawa/b4p_jawa.dx80.vtx
models/player/b4p/b4p_jawa/b4p_jawa.dx90.vtx
models/player/b4p/b4p_jawa/b4p_jawa.mdl
models/player/b4p/b4p_jawa/b4p_jawa.phy
models/player/b4p/b4p_jawa/b4p_jawa.sw.vtx
models/player/b4p/b4p_jawa/b4p_jawa.vvd
models/player/b4p/b4p_jawa/b4p_jawa.xbox.vtx
materials/models/player/b4p/jawa/jawa.vmt
materials/models/player/b4p/jawa/jawa.vtf
materials/models/player/b4p/jawa/jawa_eyes.vmt
materials/models/player/b4p/jawa/jawa_eyes.vtf
materials/models/player/b4p/jawa/jawa_hands.vmt
materials/models/player/b4p/jawa/jawa_hands.vtf

models/player/b4p/b4p_yoda/b4p_yoda.dx80.vtx
models/player/b4p/b4p_yoda/b4p_yoda.dx90.vtx
models/player/b4p/b4p_yoda/b4p_yoda.mdl
models/player/b4p/b4p_yoda/b4p_yoda.phy
models/player/b4p/b4p_yoda/b4p_yoda.sw.vtx
models/player/b4p/b4p_yoda/b4p_yoda.vvd
materials/models/player/b4p/yoda/yoda_body.vmt
materials/models/player/b4p/yoda/yoda_body.vtf
materials/models/player/b4p/yoda/yoda_body_normal.vtf
materials/models/player/b4p/yoda/yoda_head.vmt
materials/models/player/b4p/yoda/yoda_head.vtf
materials/models/player/b4p/yoda/yoda_head_normal.vtf

models/player/ics/ct_desert_urban/urban.dx80.vtx
models/player/ics/ct_desert_urban/urban.dx90.vtx
models/player/ics/ct_desert_urban/urban.mdl
models/player/ics/ct_desert_urban/urban.phy
models/player/ics/ct_desert_urban/urban.sw.vtx
models/player/ics/ct_desert_urban/urban.vvd
materials/models/player/ics/ct_desert_urban/ct_urban.vmt
materials/models/player/ics/ct_desert_urban/ct_urban.vtf
materials/models/player/ics/ct_desert_urban/ct_urban_glass.vmt
materials/models/player/ics/ct_desert_urban/ct_urban_glass.vtf
materials/models/player/ics/ct_desert_urban/ct_urban_glass_spec.vtf

models/player/afterbuy/ct_gign.dx80.vtx
models/player/afterbuy/ct_gign.dx90.vtx
models/player/afterbuy/ct_gign.mdl
models/player/afterbuy/ct_gign.phy
models/player/afterbuy/ct_gign.sw.vtx
models/player/afterbuy/ct_gign.vvd
materials/models/player/afterbuy/ct_gign/ct_gign.vmt
materials/models/player/afterbuy/ct_gign/ct_gign.vtf
materials/models/player/afterbuy/ct_gign/ct_gign_glass.vmt
materials/models/player/afterbuy/ct_gign/ct_gign_glass.vtf
materials/models/player/afterbuy/ct_gign/ct_gign_glass_spec.vtf
materials/models/player/afterbuy/ct_gign/ct_gign_normal.vtf


models/player/techknow/neo_v2/neo_v2.dx80.vtx
models/player/techknow/neo_v2/neo_v2.dx90.vtx
models/player/techknow/neo_v2/neo_v2.mdl
models/player/techknow/neo_v2/neo_v2.phy
models/player/techknow/neo_v2/neo_v2.sw.vtx
models/player/techknow/neo_v2/neo_v2.vvd
materials/models/player/techknow/neo_v2/Face.vmt
materials/models/player/techknow/neo_v2/Face.vtf
materials/models/player/techknow/neo_v2/Face_n.vtf
materials/models/player/techknow/neo_v2/neocoat.vmt
materials/models/player/techknow/neo_v2/neocoat.vtf
materials/models/player/techknow/neo_v2/neoLeatherBoots.vmt
materials/models/player/techknow/neo_v2/neoLeatherBoots.vtf
materials/models/player/techknow/neo_v2/neoLeatherBoots_n.vtf
materials/models/player/techknow/neo_v2/neopants.vmt
materials/models/player/techknow/neo_v2/neopants.vtf

models/player/techknow/smith/smith.dx80.vtx
models/player/techknow/smith/smith.dx90.vtx
models/player/techknow/smith/smith.mdl
models/player/techknow/smith/smith.phy
models/player/techknow/smith/smith.sw.vtx
models/player/techknow/smith/smith.vvd
materials/models/player/techknow/smith/smithbody.vmt
materials/models/player/techknow/smith/smithbody.vtf
materials/models/player/techknow/smith/smithbody-n.vtf
materials/models/player/techknow/smith/smithhead.vmt
materials/models/player/techknow/smith/smithhead.vtf
materials/models/player/techknow/smith/smithhead-n.vtf
materials/models/player/techknow/smith/smithshoe.vmt
materials/models/player/techknow/smith/smithshoe.vtf
materials/models/player/techknow/smith/smithshoe-n.vtf

models/player/afterbuy/lara5/ct_gsg9.mdl
models/player/afterbuy/lara5/ct_gsg9.dx80.vtx
models/player/afterbuy/lara5/ct_gsg9.dx90.vtx
models/player/afterbuy/lara5/ct_gsg9.phy
models/player/afterbuy/lara5/ct_gsg9.sw.vtx
models/player/afterbuy/lara5/ct_gsg9.vvd
models/player/afterbuy/lara5/ct_gsg9.xbox.vtx
materials/models/player/afterbuy/lara5/23c2971d.vmt
materials/models/player/afterbuy/lara5/23c2971d.vtf
materials/models/player/afterbuy/lara5/23c2971d_n.vtf
materials/models/player/afterbuy/lara5/358d65eb.vmt
materials/models/player/afterbuy/lara5/358d65eb.vtf
materials/models/player/afterbuy/lara5/358d65eb_n.vtf
materials/models/player/afterbuy/lara5/47166b01.vmt
materials/models/player/afterbuy/lara5/47166b01.vtf
materials/models/player/afterbuy/lara5/47166b01_n.vtf
materials/models/player/afterbuy/lara5/98781a7b.vmt
materials/models/player/afterbuy/lara5/98781a7b.vtf
materials/models/player/afterbuy/lara5/98781a7b_n.vtf
materials/models/player/afterbuy/lara5/ct_urban.vmt
materials/models/player/afterbuy/lara5/ct_urban.vtf
materials/models/player/afterbuy/lara5/d529bebf.vmt
materials/models/player/afterbuy/lara5/d529bebf.vtf
materials/models/player/afterbuy/lara5/d529bebf_n.vtf
materials/models/player/afterbuy/lara5/f96f91cf.vmt
materials/models/player/afterbuy/lara5/f96f91cf.vtf
materials/models/player/afterbuy/lara5/f96f91cf_n.vtf


models.ini
Take a very close look at the "Admin" "Group Name" assignment under each menu, this plugin works off admin groups, so you need to have these setup.

What i woudl suggest, is that you try a simple setup with "Admin" "" as the group assignement, so that they are public and you can test its working OK for you.

See here for more info:
http://wiki.alliedmods.net/Adding_Groups_%28SourceMod%29


//Configure your menu here
"Models"
{

"Standard & Public Models"
{
//Sourcemod admin group required to see/access this submenu
"Admin" ""

//Models available for team 1 (terrorist / allies)
"Team1"
{
"Standard Terrorist Models"
{
"path" ""
}
"Public - Desert Artic"
{
"path" "models/player/ics/t_desert_arctic/t_arctic.mdl"
}
// "T - I like KFC!"
// {
// "path" "models/player/techknow/chickenleetle/chicleet.mdl"
// }
}

//Models available for team 2 (ct / axis)
"Team2"
{
"Standard Counter-Terrorist Models"
{
"path" ""
}
"Public CT Skin - FBI Artic"
{
"path" "models/player/ics/ct_sas_spectr/ct_sas.mdl"
}
}
}

// >>>>>>>> Team MX MEMBERS ONLY

"Team MX Members Only"
{
//Sourcemod admin group required to see/access this submenu
"Admin" "1-Basic-Admins"

//Models available for team 1 (terrorist / allies)
"Team1"
{
"T - Artic Admin"
{
"path" "models/player/ics/t_arctic_admin/t_arctic.mdl"
}
"T - Fat F****r"
{
"path" "models/player/ics/skull_admin_v2/skull.mdl"
}
}

//Models available for team 2 (ct / axis)
"Team2"
{
"CT - Admin Model"
{
"path" "models/player/ics/ct_gsg9_admin/ct_gsg9.mdl"
}
// "CT - FBI"
// {
// "path" "models/player/ics/ct_gign_fbi/ct_gign.mdl"
// }
"CT - Team MX Skin"
{
"path" "models/player/afterbuy/ct_gign.mdl"
}
}
}

// >>>>>>>>>>>>> SPONSORS

//Name of the item to appear in the menu
"Sponsor Skins"
{
//Sourcemod admin group not required to see/access this submenu
"Admin" "Sponsors"

//Models available for team 1 (terrorist / allies)
"Team1"
{
"T - Artic Admin"
{
"path" "models/player/ics/t_arctic_admin/t_arctic.mdl"
}
"T - Female"
{
"path" "models/player/ics/t_female/t_phoenix.mdl"
}
"T - Fat F****r"
{
"path" "models/player/ics/skull_admin_v2/skull.mdl"
}
"T - Lara Zombie"
{
"path" "models/player/ics/ct_lara/ct_gsg9.mdl"
}


// -----------------------------

// "Starwars - Storm Trooper"
// {
// "path" "models/player/b4p/b4p_stormt/b4p_stormt.mdl"
// }
// "Starwars - Darth Vader"
// {
// "path" "models/player/b4p/b4p_vader/b4p_vader.mdl"
// }
// "Starwars - Snow Trooper"
// {
// "path" "models/player/b4p/b4p_snowtrooper/b4p_snowtrooper.mdl"
// }
}

"Team2"
{
"CT - Admin Model"
{
"path" "models/player/ics/ct_gsg9_admin/ct_gsg9.mdl"
}
// "CT - FBI"
// {
// "path" "models/player/ics/ct_gign_fbi/ct_gign.mdl"
// }
// "CT - FBI 2"
// {
// "path" "models/player/ics/fbi_ct_v2/urban.mdl"
// }
// "CT - S.T.A.R.S"
// {
// "path" "models/player/ics/ct_sas_umbrella/ct_sas.mdl"
// }
"CT - Blue Rinse"
{
"path" "models/player/ics/t_leet_stars/t_leet.mdl"
}
"CT - Desert Urban"
{
"path" "models/player/ics/ct_desert_urban/urban.mdl"
}
"CT - Lara"
{
"path" "models/player/afterbuy/lara5/ct_gsg9.mdl"
}
"CT - NEO"
{
"path" "models/player/techknow/neo_v2/neo_v2.mdl"
}

// -----------------------------

// "Starwars - Chewbacca"
// {
// "path" "models/player/b4p/b4p_chewbacca/b4p_chewbacca.mdl"
// }
"Starwars - Jawa"
{
"path" "models/player/b4p/b4p_jawa/b4p_jawa.mdl"
}
"Starwars - Yoda"
{
"path" "models/player/b4p/b4p_yoda/b4p_yoda.mdl"
}
}
}

// ----------- END ------------------

}


See attached for these files. Also not that you need server side skins and if trying ANY of the above would require youto have the given files on your server in the correct directories.

You'll also find a collection of file paths for straigh copy/paste to your modeldownloads.ini file for any of the otrher skins that I ahve come across or used in the past.

siosios
06-08-2008, 11:06
moggiex,

our menu is setup properly. what natalya was trying to point out was that only our admin have the rights to use skins (per the group assignments) but if a regular user trys the cmd and selects an option not available to him or an admin selects the wrong option in the menu (look at my example below) then the menu will not come up again until after a map change... for anyone.

example cfg below:

//Configure your menu here
"Models"
{
//Name of the item to appear in the menu
"g0ds skins"
{
//Sourcemod admin group required to see/access this submenu
"Admin" "g0ds"
//Models available for team 1 (terrorist / allies)
"Team1"
{
//Name to appear in submenu
"T Admin"
{
//path to the model file. This will automatically be precached
"path" "models/player/custom_plugin/t_sykoterror1_gizzmo/t_phoenix.mdl"
}
}
//Models available for team 2 (ct / axis)
"Team2"
{
"CT Admin"
{
"path" "models/player/custom_plugin/ct_snake1_gizzmo/urban.mdl"
}
}
}
"Admin-A skins"
{
//Sourcemod admin group required to see/access this submenu
"Admin" "admina"
//Models available for team 1 (terrorist / allies)
"Team1"
{
//Name to appear in submenu
"T Admin"
{
//path to the model file. This will automatically be precached
"path" "models/player/custom_plugin/t_sykoterror1_gizzmo/t_phoenix.mdl"
}
}
//Models available for team 2 (ct / axis)
"Team2"
{
"CT Admin"
{
"path" "models/player/custom_plugin/ct_snake1_gizzmo/urban.mdl"
}
}
}
"Admin-b skins"
{
//Sourcemod admin group required to see/access this submenu
"Admin" "adminb"
//Models available for team 1 (terrorist / allies)
"Team1"
{
//Name to appear in submenu
"T Admin"
{
//path to the model file. This will automatically be precached
"path" "models/player/custom_plugin/t_sykoterror1_gizzmo/t_phoenix.mdl"
}
}
//Models available for team 2 (ct / axis)
"Team2"
{
"CT Admin"
{
"path" "models/player/custom_plugin/ct_snake1_gizzmo/urban.mdl"
}
}
}
"Jr-Owner skins"
{
//Sourcemod admin group required to see/access this submenu
"Admin" "jrowners"
//Models available for team 1 (terrorist / allies)
"Team1"
{
//Name to appear in submenu
"T Admin"
{
//path to the model file. This will automatically be precached
"path" "models/player/custom_plugin/t_sykoterror1_gizzmo/t_phoenix.mdl"
}
}
//Models available for team 2 (ct / axis)
"Team2"
{
"CT Admin"
{
"path" "models/player/custom_plugin/ct_snake1_gizzmo/urban.mdl"
}
}
}

}
//All other files needed for the above models must be listed in modeldownloads.ini
//This forces the clients to download the needed files

thanks
siosios

Cooltad
06-08-2008, 12:11
In case anyone cares, I figured out how to successfully have custom skins for weapons in TF2 in just my server, without overriding the users default skin.
I've just been too lazy to do all the work required for more than the wrench, lol.

MoggieX
06-08-2008, 16:18
moggiex,

our menu is setup properly. what natalya was trying to point out was that only our admin have the rights to use skins (per the group assignments) but if a regular user trys the cmd and selects an option not available to him or an admin selects the wrong option in the menu (look at my example below) then the menu will not come up again until after a map change... for anyone.

thanks
siosios

Just had a nose at the code and around line 192, its checking the users group access; Humour me on this, break it and then try sm_reloadadmins then try again (takes ~2 mins if you are using MySQL for admins)


Matt

Natalya[AF]
06-08-2008, 18:35
Okay we refreshed one of our servers with a map change, and the menu worked as expected. So, I went and tried to open the menu for an admin group that I'm not part of, and it broke it again, doing the whole no access message for
the menu groups, even the one I do have access to... So I did a sm_reloadadmins and waited a minute, but still no luck.

Note that we do use the Source Bans plugin so maybe that is conflicting?

MoggieX
06-08-2008, 19:51
;636465']Okay we refreshed one of our servers with a map change, and the menu worked as expected. So, I went and tried to open the menu for an admin group that I'm not part of, and it broke it again, doing the whole no access message for
the menu groups, even the one I do have access to... So I did a sm_reloadadmins and waited a minute, but still no luck.

Note that we do use the Source Bans plugin so maybe that is conflicting?

Looks like the plugin needs to check the players access to each menu option, thus the ones they do not have access to are not shown, resolving the issue.

No idea on how to do that :-(

Matt

Natalya[AF]
06-08-2008, 23:27
Or make the models grayed out in the selection list so players can look in sections they don't have access for, but not select anything. Like the sm_super menu plugin... Maybe if the menu was designed like that in terms of access, relying on admin flags for skin access as opposed to groups or something. Iunno.

siosios
06-09-2008, 23:45
anyone got the skills to fix this issue? would hate to have to use an ES script to be able to do this.

thanks
siosios

Cooltad
06-10-2008, 00:16
Looks like the plugin needs to check the players access to each menu option, thus the ones they do not have access to are not shown, resolving the issue.

No idea on how to do that :-(

Matt

Make a new type of admin flag assigned automatically to players, and change permissions of the menu etc with that flag.

MoggieX
06-10-2008, 05:16
Make a new type of admin flag assigned automatically to players, and change permissions of the menu etc with that flag.

Thats not the issue at hand, this is about the code not showing the menu option to players that should not see that option.

Matt

siosios
06-11-2008, 01:53
its pretty bad when my admin have to change the map to get it working again becuase one of the other admins decided to see what rights they had.

Cooltad
06-11-2008, 13:13
this is about the code not showing the menu option to players that should not see that option.

Another work around would be two menu's then, if your desperate to make something work. One menu for one option, another menu for another option.
Though thats only trying to dodge the same problem..

NedStar
06-18-2008, 17:40
Anyone had any luck on fixing this yet ?

wing_hk
06-19-2008, 10:08
Is this plugin works for HL2 COOP?

The gamedata.ini only show dods and cstrike.

MoggieX
06-19-2008, 10:09
Is this plugin works for HL2 COOP?

The gamedata.ini only show dods and cstrike.

No idea, give it a whirl and see what happens!

Matt

wing_hk
06-19-2008, 18:54
This is a great plugin and I am installing it for HL2 COOP server.

It works! I mean the menu works (Team1 for Combines and Team2 for Rebels) but there are few issues:

(1) files in download lists are downloaded partially (well this can be fixed by other simple plugin)

(2) Models failed to be loaded with following messages. (I've tested models in Model Viewer and path in ini files are all correct. Both Server side files and my Steam files are updated) This need your help:

L 06/20/2008 - 06:13:26: [ModelMenu.smx] Setting Model for client 1: models/player.mdl
L 06/20/2008 - 06:13:26: [SM] Native "SDKCall" reported: Invalid Handle 0 (error 4)
L 06/20/2008 - 06:13:26: [SM] Displaying call stack trace for plugin "ModelMenu.smx":
L 06/20/2008 - 06:13:26: [SM] [0] Line 273, /home/groups/alliedmodders/forums/files/2/3/7/6/2/19007.attach::Menu_Model()Maybe the load command conflict with HL2?


By the way, can we load the models in GCF? I tried "models/Alyx.mdl" but no model can be loaded.

FunTF2Server
06-21-2008, 17:22
tested with Zombie Panic Source, does not work. Too bad, because this plugin would be excellent and much needed for this game.

Offsets are the same as cstrike/dod I checked, and I added "ZPS" to the gamedata config file.

Menu works, but when I select a model, the model does not get changed.

I am using models like /models/alyx.mdl, /models/breen.mdl, etc.

FunTF2Server
06-21-2008, 17:23
oh and it is possible to make it work for ZPS because someone has a private plugin on their server that does this, but they won't share it.

FunTF2Server
06-21-2008, 19:33
Well sort of got it working with ZPS, as a zombie I selected a model, and then a few minutes later my model randomly changed to the model I selected. But it appears only i could see it, other people still saw my model as the default zombie model.

And the human team, can open the menu, but no models are listed for them.

So it appears only zombies can change their model, it randomly changes after a few minutes or sometimes doesn't change at all, and only the person that changes the model can see their new model.

Pred please fix!

FunTF2Server
06-21-2008, 19:37
heres my models.ini file. Team1 is the zombie team, and team2 must be the human team.

When zombies open the menu, models show up in the menu and they can select them (but it doesn't change the actual model.)

Humans can open the menu, but it lists no models for them.

//Configure your menu here
"Models"
{
//Name of the item to appear in the menu
"Admin Only Models"
{
//Sourcemod admin group required to see/access this submenu
"Admin" "Full Admins"

//Models available for team 1 (terrorist / allies)
"Team1"
{
"Alyx"
{
"path" "models/alyx.mdl"
}
"Barney"
{
"path" "models/barney.mdl"
}
"Breen"
{
"path" "models/breen.mdl"
}
"Female_01"
{
"path" "models/Humans/Group01/Female_01.mdl"
}
"Female_02"
{
"path" "models/Humans/Group01/Female_02.mdl"
}
}

//Models available for team 2 (ct / axis)
"Team2"
{
"Alyx"
{
"path" "models/alyx.mdl"
}
"Barney"
{
"path" "models/barney.mdl"
}
"Breen"
{
"path" "models/breen.mdl"
}
"Female_01"
{
"path" "models/Humans/Group01/Female_01.mdl"
}
}
}
}

//All other files needed for the above models must be listed in modeldownloads.ini
//This forces the clients to download the needed files

FunTF2Server
06-22-2008, 17:05
bump

Enemy1
06-23-2008, 15:53
I guess the human teams name is wrong .. make shure you have 2 clients + server with all models files, and then test if you can se each others skins ! - if you can, then its the download that fails..

I have a howto made about the models and download plugin here (http://www.dayofdefeat.se/forum/index.php/topic,88.0.html)

FunTF2Server
06-23-2008, 16:23
I guess the human teams name is wrong .. make shure you have 2 clients + server with all models files, and then test if you can se each others skins ! - if you can, then its the download that fails..

I have a howto made about the models and download plugin here (http://www.dayofdefeat.se/forum/index.php/topic,88.0.html)

hmm but I'm using the models in the hl2 GCF, so no download should be necessary right

riuthamus
06-23-2008, 19:19
Wish you coud do something like this for TF2, i have guys that could help..they just need some direction

wing_hk
06-24-2008, 01:15
hmm but I'm using the models in the hl2 GCF, so no download should be necessary right

You mean you are try to use GCF model like "models/Alyx.mdl"? I tried in HL2 COOP server but doesn't work. I tried to use customized model but get debug message

I already asked in #165 and waiting for reaply...:cry: It will be a cool plugin I hope author can keep removing the bugs.

Enemy1
06-26-2008, 15:53
is their any way to make this menu to be open by default then admins is joining ?

We want all our admins to be seen on our servers, and that was easy done in mani, now then its time to move all our servers to SourceMod its one of three missing things :|

Chaos Llama
06-26-2008, 17:42
Does this mod work in HL2DM?

wing_hk
06-26-2008, 23:50
Does this mod work in HL2DM?

Just check #164, 165

You can also try this plugin in HL2DM, see if any different from my finding :)

Enemy1
06-27-2008, 05:19
I have this in my logs today - BUG ?

L 06/27/2008 - 09:21:43: [SM] Error parsing gameconfig file "/home/xxxx/dod/addons/sourcemod/configs/gamedata/modelmenu.gamedata.txt":
L 06/27/2008 - 09:21:43: [SM] Error 1 on line 0, col 0: Stream failed to open
L 06/27/2008 - 09:21:43: [SM] Native "LoadGameConfigFile" reported: Unable to open modelmenu.gamedata: File could not be opened: No such file or directory
L 06/27/2008 - 09:21:43: [SM] Debug mode is not enabled for "ModelMenu.smx"
L

PStar
06-27-2008, 05:49
There is something wrong with your modelmenu.gamedata.txt file.
Take a look at it and if you cannot find it post it here.

FunTF2Server
06-30-2008, 04:30
bump

wing_hk
06-30-2008, 16:03
This is a great plugin and I am installing it for HL2 COOP server.

It works! I mean the menu works (Team1 for Combines and Team2 for Rebels) but there are few issues:

(1) files in download lists are downloaded partially (well this can be fixed by other simple plugin)

(2) Models failed to be loaded with following messages. (I've tested models in Model Viewer and path in ini files are all correct. Both Server side files and my Steam files are updated) This need your help:

Quote:
L 06/20/2008 - 06:13:26: [ModelMenu.smx] Setting Model for client 1: models/player.mdl
L 06/20/2008 - 06:13:26: [SM] Native "SDKCall" reported: Invalid Handle 0 (error 4)
L 06/20/2008 - 06:13:26: [SM] Displaying call stack trace for plugin "ModelMenu.smx":
L 06/20/2008 - 06:13:26: [SM] [0] Line 273, /home/groups/alliedmodders/forums/files/2/3/7/6/2/19007.attach::Menu_Model()
Maybe the load command conflict with HL2?



Any idea?

FunTF2Server
07-03-2008, 03:51
Any idea?

FunTF2Server
07-07-2008, 10:16
still bump

FunTF2Server
07-08-2008, 21:02
ok we got it working for ZPS, but 2 problems:

1) Only 1 admin group shows up in the menu, my config file is fine.
2) Seems models can't be loaded from the .gcf files, like stuff from HL2. Only custom models can be loaded.
3) When you die or respawn, it doesn't remember what model you selected so you have to do it again.

ramazan85
07-22-2008, 10:22
admin_group.cfg;
Groups
{
"Full Admins"
{
Overrides
{
}
"flags" "abcdefghiz"
"immunity" "99"
}
"Admins"
{
"immunity" "22"
}
"Admin"
{
}
}


admins.cfg ;

Full Admins
{
"0000"
{
"auth" "steam"
"identity" "xxxxxxxxxx"
"immunity" "99"
}
}

Admins
{
"111"
{
"auth" "steam"
"steam1" "xxxxxxxxxxxxx"
"steam2" "xxxxxxxxxxxxx"
"steam3" "xxxxxxxxxxxxx"
"immunity" "22"
}
"222"
{
"auth" "steam"
"identity" "xxxxxxxxxxxxxxxx"
"immunity" "22"
}
"333"
{
"auth" "steam"
"identity" "xxxxxxxxxxxxx"
"immunity" "22"
}
"444"
{
"auth" "steam"
"identity" "xxxxxxxxx"
"immunity" "22"
}
}

admins_simple.cfg ;
STEAM_0:x:xxxxxxxx "@Full Admins" //0000
STEAM_0:x:xxxxxxxx "@Admins" //1111
STEAM_0:x:xxxxxxxx "@Admins" //1111
STEAM_0:x:xxxxxxxx "@Admins" //1111
STEAM_0:x:xxxxxxxx "@Admins" //2222
STEAM_0:x:xxxxxxxx "@Admins" //3333

models.ini ;
"Models"
{
//Name of the item to appear in the menu
"Admin Models"
{
"Admin" "Full Admins"
"Team1"
{
"Predator"
{
"path" "models/player/slow/predator_xp/predator_xp.mdl"
}
}
"Team2"
{
"Predator"
{
"path" "models/player/slow/predator_xp/predator_xp.mdl"
}
}
}
"Public Models"
{
"Admin" ""
"Team1"
{
"Haruko"
{
"path" "models/player/natalya/haruko/haruko.mdl"
}
}
"Team2"
{
"Haruko"
{
"path" "models/player/natalya/haruko/haruko.mdl"
}
}
}
}


This public models settings not run. can you help me please :?:

f64
07-22-2008, 12:23
Well I haven't looked at this in awhile, but you might try this in your admin_groups.cfg:

"Admin"
{
"flags" ""
"immunity" "0"
}What game are you running this on?

f64
07-22-2008, 16:09
I tried this again with DOD:S and cannot get it to actually change the model, although the log says it did.
Anyone getting this to work in DOD:S?

I have some nice new models to recompile just waiting for this to work.

ramazan85
07-23-2008, 02:49
admin_group.cfg;
Groups
{
"Full Admins"
{
Overrides
{
}
"flags" "abcdefghiz"
"immunity" "99"
}
"Admins"
{
"immunity" "22"
}
"Public"
{
"flags" "o"
"immunity" "1"
}
}

models.ini ;
"Models"
{
//Name of the item to appear in the menu
"Admin Models"
{
"Admin" "Full Admins"
"Team1"
{
"Predator"
{
"path" "models/player/slow/predator_xp/predator_xp.mdl"
}
}
"Team2"
{
"Predator"
{
"path" "models/player/slow/predator_xp/predator_xp.mdl"
}
}
}
"Public Models"
{
"Public" "Public"
"Team1"
{
"Haruko"
{
"path" "models/player/natalya/haruko/haruko.mdl"
}
}
"Team2"
{
"Haruko"
{
"path" "models/player/natalya/haruko/haruko.mdl"
}
}
}
}

admin_levels.cfg
Levels
{
/**
* These are the default role flag mappings.
* You can assign new letters for custom purposes, however you should
* not change the default names, as SourceMod hardcodes these.
*/
Flags
{
"reservation" "a" //Reserved slots
"generic" "b" //Generic admin, required for admins
"kick" "c" //Kick other players
"ban" "d" //Banning other players
"unban" "e" //Removing bans
"slay" "f" //Slaying other players
"changemap" "g" //Changing the map
"cvars" "h" //Changing cvars
"config" "i" //Changing configs
"chat" "j" //Special chat privileges
"vote" "k" //Voting
"password" "l" //Password the server
"rcon" "m" //Remote console
"cheats" "n" //Change sv_cheats and related commands

/**
* Custom flags can be used by plugins, but they can also be used to
* for you to expand on the previous groups, using Overrides.
*/

"public" "o"
"custom2" "p"
"custom3" "q"
"custom4" "r"
"custom5" "s"
"custom6" "t"

/**
* Root is a magic access flag that grants all permissions.
* This should only be given to trusted administrators.
* Root users can target anyone regardless of immunity,
* however, they themselves are not automatically immune.
*/
"root" "z"
}
}



No problem
thx :)

xXxsilencerxXx
07-23-2008, 05:11
nice plugin!
pRED,can you integrate it in clientpref. system to choise models by comand !settings?

Enemy1
07-23-2008, 06:14
Working in dods :-)

But I had to compile my own download plugin .. is described in this thread..

wing_hk
07-23-2008, 06:38
ok we got it working for ZPS, but 2 problems:

1) Only 1 admin group shows up in the menu, my config file is fine.
2) Seems models can't be loaded from the .gcf files, like stuff from HL2. Only custom models can be loaded.
3) When you die or respawn, it doesn't remember what model you selected so you have to do it again.

For my HL2COOP server, I can't get it work for both built-in (alyx, barney..) and custom models.

For debug message, please refer to #181

f64
07-23-2008, 06:58
Enemy1,

Are you saying to take this code:

#include <sdktools>
#pragma semicolon 1
#define PLUGIN_VERSION "1.0"
// Plugin definitions
public Plugin:myinfo =
{
name = "downloads",
author = "spelworm",
description = "download files",
version = PLUGIN_VERSION,
url = "htpp://www.sourcemod.net"
};

public OnMapStart()
{
AddFileToDownloadsTable("materials/models/player/ics/admin_t_fixed/t_phoenix.vmt");
AddFileToDownloadsTable("materials/models/player/ics/admin_t_fixed/t_phoenix.vtf");
}
but alter it for my model materials, then paste the text into that compiler window. etc?
Your post on the Svensk forum site says « Last Edit: October 22, 2007, 05:31:50 PM by Enemy1 » :shock:

All my models and materials download, my problem has been that I see no model being set.
No errors at all, but I don't have an allies models, just axis and I am the only one in the server.

pRED*
07-23-2008, 18:20
Yawn.

Think you'll need to list *everything* in the downloads file (including the actual model file itself).

f64
07-23-2008, 18:27
I'll try the new vs. My issue has never been "not" downloading. :)

ramazan85
07-24-2008, 08:14
forcemodels.ini = Public Model ?
models.ini = Admin Model ?

MoggieX
07-24-2008, 08:45
I'll try the new vs. My issue has never been "not" downloading. :)

Put this in your server.cfg file

sv_allowdownloads 1

Or make sure its set to 1 if its there already

Matt

pRED*
07-24-2008, 16:28
ramazan85: models.ini is the public models to choose. forcemodels.ini is a new feature (been in my local copy for a year but still new) that lets admins force models on players.

f64
07-25-2008, 02:10
Thanks MoggieX, but you misread my reply.

OK, on to the issues I see:

1. sm_models brings up the user display window fine, but allows non admins to select Admin models and it does set them.

2. sm_models is reading from the forcemodel.ini file instead of the models.ini file.

3.There seems to be 3 or 4 instances of possible mistakes with Team1 and Team2 groups, starting at line 198, although I'm just guessing.

KvJumpToKey(playermodelskv,authid[player],true)


if (team == 2)
{
KvSetString(playermodelskv, "Team1", info)
KvSetString(playermodelskv, "Team1Group", "")
KvSetNum(playermodelskv, "Team1F", 1)
}
else if (team == 3)
{
KvSetString(playermodelskv, "Team2", info)
KvSetString(playermodelskv, "Team1Group", "")
KvSetNum(playermodelskv, "Team2F", 1)
}

KvRewind(kv)

ramazan85
07-25-2008, 02:55
ramazan85: models.ini is the public models to choose. forcemodels.ini is a new feature (been in my local copy for a year but still new) that lets admins force models on players.
Ok thanks you very much pRED*

One question for Zombiemod Server :)
there are Automatic Admin Model , Automatic Public Model plugin ?

bzz0
07-25-2008, 05:57
So many posts, but in the end - does this plugin work normally? :) No bugs?

MoggieX
07-25-2008, 08:35
For us, it works on SM Version 1.0.2, but in SM Version 1.0.3 it fails, not tried the newer version pRED* posted a page or so back

Matt

bzz0
07-25-2008, 10:38
Hmm... Cause I am thinking of using this plugin, but do not want to start (too many things to do) if it has some minor bugs.

TFN|Nick
07-25-2008, 14:21
f64 has some valid points... been using this tonight and found the same bugs as reported in his post.

Also, looking through the code, the BuildPath() keeps on looking to the data folder for KV's, "data/playermodels.ini" instead of "config/models.ini". I'm not sure if it is supposed to be like this, but if it is it could cause a problem when updating the models >.>

The worst bit is the teams though...

Stinkyfax
07-25-2008, 15:02
A bit buggy.

bzz0
07-25-2008, 15:13
Also, looking through the code, the BuildPath() keeps on looking to the data folder for KV's, "data/playermodels.ini" instead of "config/models.ini".
Minor bug I think!

TFN|Nick
07-25-2008, 17:59
Okay, done some more testing... worked out what the problem is!

The path "data/playermodels.ini" is used to store who has used what models. The problem is that when you run the /models command it is running the force menu instead.

pRED*
07-25-2008, 18:24
Maybe?

TFN|Nick
07-26-2008, 12:17
Tried it again... fresh from a server restart. I got the 'Ts' 'CTs' bit, then no more, which is the same error I had with the last version. I'm running 1.0.2, and theres no errors being reported by it.

f64
07-27-2008, 00:38
The auth for choosing models is better now with the plugin version on page 20, however, there still are some issues:

1. sm_forcemodel will keep the data even after dying or disconnecting, or team switching, etc. It should work like fun commands.
The forcemenu sub menu should be titled Force a Model (easy fix) instead of Choose a Model, just for safety. It also displays (1.None)as the first selection.

2. Although they cannot select them anymore, non admins can still view the Admin only models as a possible selection in the main menu.
Can you auth and send to a diff menu from the same command?
Maybe read from admin_models.ini (admin=true ) and public_models.ini (admin=false)?

edit: I see now that 1.None in the forcemenu refers to the Default Model for that team.

bzz0
07-31-2008, 12:59
Such a good plugin... pRED* can you update it :) It is must have plugin!

DrunkenIrish
08-12-2008, 09:27
ok im new to sourcemod n general css server administration, but im having a bit of a problem with this plugin

models.ini
//Configure your menu here
"Models"
{
//Name of the item to appear in the menu
"Admin Only Models"
{
//Sourcemod admin group required to see/access this submenu
"Admin" "Full Server Admin"

//Models available for team 1 (allies?)
"Team1"
{
//Name to appear in submenu
"Neo"
{
//path to the model file. This will automatically be precached
"path" "models/player/techknow/neo_v2/neo_v2.mdl"
}
}

//Models available for team 2 (axis?)
"Team2"
{
"Mr.Smith"
{
"path" "models/player/techknow/smith/smith.mdl"
}
}
}
}

//All other files needed for the above models must be listed in modeldownloads.ini
//This forces the clients to download the needed filesmodeldownloads.ini
models/player/techknow/smith/smith.dx80.vtx
models/player/techknow/smith/smith.dx90.vtx
models/player/techknow/smith/smith.mdl
models/player/techknow/smith/smith.phy
models/player/techknow/smith/smith.sw.vtx
models/player/techknow/smith/smith.vvd

materials/models/player/techknow/smith/smithbody.vmt
materials/models/player/techknow/smith/smithbody.vtf
materials/models/player/techknow/smith/smithbody-n.vtf
materials/models/player/techknow/smith/smithhead.vmt
materials/models/player/techknow/smith/smithhead.vtf
materials/models/player/techknow/smith/smithhead-n.vtf
materials/models/player/techknow/smith/smithshoe.vmt
materials/models/player/techknow/smith/smithshoe.vtf
materials/models/player/techknow/smith/smithshoe-n.vtf

models/player/techknow/neo_v2/neo_v2.dx80.vtx
models/player/techknow/neo_v2/neo_v2.dx90.vtx
models/player/techknow/neo_v2/neo_v2.mdl
models/player/techknow/neo_v2/neo_v2.phy
models/player/techknow/neo_v2/neo_v2.sw.vtx
models/player/techknow/neo_v2/neo_v2.vvd

materials/models/player/techknow/neo_v2/Face.vmt
materials/models/player/techknow/neo_v2/Face.vtf
materials/models/player/techknow/neo_v2/Face_n.vtf
materials/models/player/techknow/neo_v2/neocoat.vmt
materials/models/player/techknow/neo_v2/neocoat.vtf
materials/models/player/techknow/neo_v2/neoLeatherBoots.vmt
materials/models/player/techknow/neo_v2/neoLeatherBoots.vtf
materials/models/player/techknow/neo_v2/neoLeatherBoots_n.vtf
materials/models/player/techknow/neo_v2/neopants.vmt
materials/models/player/techknow/neo_v2/neopants.vtfthe end result is this
http://i204.photobucket.com/albums/bb206/i_am_me_album/de_inferno0000.jpg

where have i gone wrong, n how do i fix the problem

thank you.

PStar
08-12-2008, 09:34
The download function of this plugin doesn't work. Use the Sm downloader plugin.

bzz0
08-13-2008, 13:31
PStar where we can find it?

PStar
08-13-2008, 14:18
PStar where we can find it?
http://forums.alliedmods.net/showthread.php?p=602270
Here.

megamisfit
08-13-2008, 18:50
Hi, i installed this mod on my zombie master server, i need help with getting the hl2 skins on the skin menu without download.

People who have HL2 (should be most people) will already have skins such as combine and alyx ect ect ect. So there is no need for a seprate download. Ive seen this done on other servers such as css. They use sounds from hl2 and play them in css without download, i think it would be same for skins as well.

I tried everything from

hl2/models/player/alyx.mdl
models/player/alyx.mdl

loads.. i need the path to get the hl2 models and materials without download so if anyone can help would be great. Thanks

initiald003
08-19-2008, 12:55
I have a question about this plugin as far as model DL's go..

I have it in and setup(correctly i hope) and also the SM downloader as well, but i was wondering is there any way to make it download the models off a different server, like sv_downloadurl does???

jheidt
08-20-2008, 10:58
Hi, i installed this mod on my zombie master server, i need help with getting the hl2 skins on the skin menu without download.

People who have HL2 (should be most people) will already have skins such as combine and alyx ect ect ect. So there is no need for a seprate download. Ive seen this done on other servers such as css. They use sounds from hl2 and play them in css without download, i think it would be same for skins as well.

I tried everything from

hl2/models/player/alyx.mdl
models/player/alyx.mdl

loads.. i need the path to get the hl2 models and materials without download so if anyone can help would be great. Thanks

You can use the SDK's model viewer, or any other tool (even windows explorer) to view the contents of the hl2, and hl2mp /models folder

[TRUE]VaDeR
08-21-2008, 15:20
I hate having to ask questions but ive been running a server for cz for a long time now i moved to TF2 and the source mod to me is just not as easy for some reason ????

But my question is will this work with tf2 being able to specify one of my admins to look like a certain model when he is only a engi?

If this is possible please inform me on how to configure this?

Koshy
08-29-2008, 22:23
Hey,

Does this actually work still??

I can't seem to get it to work... I added all the files and such but I just end up with it saying Admin Skins but nothing being inside of it even though I added stuff inside of it:


//Configure your menu here
"Models"
{
//Name of the item to appear in the menu
"Admins Only"
{
//Sourcemod admin group required to see/access this submenu
"Admin" "Server Admins"

//Models available for team 1 (terrorist / allies)
"Terrorists"
{
//Name to appear in submenu
"ADMIN SKIN T"
{
//path to the model file. This will automatically be precached
"path" "models/player/ics/skull_admin_v2/skull.mdl"
}
}

//Models available for team 2 (ct / axis)
"Counter-Terrorists"
{
"ADMIN SKIN CT"
{
"path" "models/player/ics/fin_m91_v2/urban.mdl"
}
}
}


"Custom Skin Users Only"
{
//Sourcemod admin group required to see/access this submenu
"Admin" "Skins Access"

//Models available for team 1 (terrorist / allies)
"Terrorists"
{
//Name to appear in submenu
"Predator"
{
//path to the model file. This will automatically be precached
"path" "models/player/ics/predator_rawr/t_leet.mdl"
}
//Name to appear in submenu
"Zombie Lara"
{
//path to the model file. This will automatically be precached
"path" "models/player/ics/ct_lara/ct_gsg9.mdl"
}
}

//Models available for team 2 (ct / axis)
"Counter-Terrorists"
{
//Name to appear in submenu
"Predator"
{
//path to the model file. This will automatically be precached
"path" "models/player/ics/predator_rawr/t_leet.mdl"
}
//Name to appear in submenu
"Zombie Lara"
{
//path to the model file. This will automatically be precached
"path" "models/player/ics/ct_lara/ct_gsg9.mdl"
}
}
}


}

//All other files needed for the above models must be listed in modeldownloads.ini
//This forces the clients to download the needed files


Thanks,
- Koshy

Derek
09-25-2008, 20:39
Be nice if someone could take over this plugin.

bzz0
09-26-2008, 03:19
I think this plugin will work great with this downloader:
http://forums.alliedmods.net/showthread.php?t=69005

Could someone test it? :)

Derek
09-26-2008, 04:09
I think this plugin will work great with this downloader:
http://forums.alliedmods.net/showthread.php?t=69005

Could someone test it? :)

Already did works perfect.

bzz0
09-26-2008, 09:51
Thanks! Great news!

l0gen
09-27-2008, 14:36
Do others still see the 'custom' models EVEN if they use

cl_minmodels 1

?

:)

bzz0
10-01-2008, 17:22
Nice question :)

tigerox
10-02-2008, 21:41
Is there a way to go back to the standard model after you have chosen a new one?

tigerox
10-03-2008, 19:24
I needed models to work so I made some adjustments.

Added:

1. Builds menu so that you only see groups u have access to.
2. Improved admin group management
3. Now you can remove model by selecting "None" from model menu.
4. Models are only changed at respawn. So you can't switch while in a round.

Enjoy.

TigerOx

*EDIT*
Improved server lag issue when user calling !models for the first time
Fixes model assignment instead of telling player they don't have access to the model.

Derek
10-03-2008, 23:01
I needed models to work so I made some adjustments.

Added:

1. Builds menu so that you only see groups u have access to.
2. Improved admin group management
3. Now you can remove model by selecting "None" from model menu.
4. Models are only changed at respawn. So you can't switch while in a round.

Enjoy.

TigerOx

Does that plugin fix it not downloading the models?

tigerox
10-03-2008, 23:37
As long as you include all files in the modeldownloads.ini, including the .mdl file, it will download automatically.

KillerSneak
10-05-2008, 16:36
Well how do i install this plugin as the description is lagging a bit?:

ModelMenu.smx addons\sourcemod\plugins
modelmenu.gamedata.txt addons\sourcemod\gamedata (obviously)
modeldownloads.ini -> not described
models.ini -> not described

hope you can update your post on the 1st page / and add the fix from yesterday as the file on page 1 is older

Enemy1
10-10-2008, 10:55
Thouse shell go inte addons\sourcemod\configs\

recon0
10-16-2008, 23:58
UPDATE 1
I have commented the entire plugin and modified my GetModelAccess function.

UPDATE 2
I found a bug where team 2 players were unable to select a stock model. That bug has now been fixed.

After playing with the model menu for a few hours, I found a serious bug (both admin groups (T and CT) were both being stored as 1 instead of 1 and 2) and I made a change to the plugin.

The attached version lets you specify admin flags instead of groups, and uses proper menu titles. I also included the no model selection from post #227.

UPDATE 3 10-24-08
I found a bug where Steam IDs were being retrieved in a forward where it is possible to not yet have a Steam ID for the player. A fixed version is now attached.

UPDATE 4 9-17-09
The plugin now supports any flag for model access, and performance has been improved in the GetUserModelAccess function.

UPDATE 5 9-17-09
I fixed a really silly error in the plugin. Thanks John Shandy.

UPDATE 6 10-27-09
The plugin works correctly now (around 8 bugs have been fixed). Don't use / in key names (especially in sections), it seems to mess up the KV parser.

Future updates will be available through SVN on my plugin tracker (http://projects.microbits.info:81/repositories/browse/sm-plugins/trunk/modelmenu).

UPDATE 7 10-27-09
Fixed more bugs.

I also created a CS:S admin model / plugin package (models from ICS-Base.Net (http://ics-base.net/css_skins/)) with my version of the plugin included (currently out of date, grab the version from this post and replace the one in the package with it) and all of the necessary configuration files. Simple upload all of the directories to your game server, the materials and models directories to your FastDL if you have one, load the ModelMenu plugin from rcon and you're good to go. You can download the package from here (http://microbits.info/?page_id=11&did=7).

Some notes:

If you run your FastDL on an IIS server, and aren't able to get certain model files to download, check this (http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/deeac9ef-cf55-4acd-86ce-b46022ff5479.mspx?mfr=true) out.
If the models show up as ERROR, make sure the files downloaded to your client directory properly and if they did, restart your game. That fixed it for me.

recon0
10-25-2008, 02:53
*** Bump: New version released above.

bzz0
10-29-2008, 11:46
Thanks! Will try out this!

gamma
10-29-2008, 13:07
it does not work in TF2 ?

toazron1
10-29-2008, 13:20
it does not work in TF2 ?

No, TF2 models can not be changed right now as they are handled client side and not server side.

Natalya[AF]
11-02-2008, 05:09
Hello. I use the version that Pred posted on page 21. This version works next to perfectly for me, whereas the current one does not. Having access granted by admin group and having functionality to change models DURING game not at spawn are necessary for the server I help run. But it would be much better for the server if it saved people's IP instead of their Steam ID...

So if it's not too much trouble can someone modify the one on Page 21 so that it saves people's model choices into the data file by using their IP address instead of Steam ID? That's the only thing I need changed... The new updates mess things up, especially with the restriction on changing models only at the start of the round.

Lebson506th
11-02-2008, 07:56
Why would you do IP instead of Steam ID?

Steam IDs are unique, IPs can change.

Natalya[AF]
11-02-2008, 14:24
On a no-steam server not everyone has a Steam ID. Sure IPs can change but for those with static IP's (most people) it will work better.

(USER IS BANNED FOR USING NO-STEAM)

Lebson506th
11-02-2008, 14:31
No Steam, no support.

RaGing*
11-03-2008, 11:52
Hi guys could someone help me ,
I'm running the plugin But when I get on my server and use it I only can enter Admin Models or Public models After choosen 1 =>
T-Team or CT-Team
But then when i Click on those The menu gets lost :s
I'm a real noob in this so If someone could help me Thx

KillerSneak
11-06-2008, 10:26
So this T only flag makes the plugin completely useless if you don't want your NON ADMIN clan Mebers to have other skins?

This forces us to have all clan members use Admin skins why did you chose to only support T flag?

Also donators will also be forced to have the same ADMIN skins now as our CLAN ADMINS? Now we can't have special donators / clan member skins as you only support 1 flag.

RaGing*
11-06-2008, 11:46
Well I told you guys I'm a noob in this :/
If somebody knows how to fix it ... :)
For thx I will place a link on my site to his profile (person that helped me out) I really want it ok

RaGing*
11-06-2008, 14:36
These are the files I put on it If you people find my Problem THX
Models.ini
"Models"
{
//Name of the item to appear in the menu
"Admin Models"
{
"Admin" "Full Admins"
"T-Team"
{
"Halo"
{
"path" "models/player/admin/ct_halo2/ct_sas.mdl"
}
}
"CT-Team"
{
"Halo"
{
"path" "models/player/admin/ct_halo2/ct_sas.mdl"
}
}
}
"Public Models"
{
"Public" "Public"
"T-Team"
{
"Halo"
{
"path" "models/player/admin/ct_halo2/ct_sas.mdl"
}
}
"CT-Team"
{
"Halo"
{
"path" "models/player/admin/ct_halo2/ct_sas.mdl"
}
}
}
}

Admins_Simpel.ini
"STEAM_0:1:17712772" "@Full Admins" // WestCoast
"STEAM_0:0:12984078" "@Full Admins" // RaGing*
"STEAM_0:0:15195794" "@Full Admins" // Cemmie
"STEAM_0:1:14796161" "@Full Admins" // Angel
"STEAM_0:1:7001971" "@Full Admins" // 3lly (The Sexy Lady)
"STEAM_0:0:14900671" "@Full Admins" // General Headshot
"STEAM_0:0:9624609" "@Full Admins" // Shauni
"STEAM_0:1:18544396" "@Full Admins" // JumpstyleXvirus
"STEAM_0:1:9618506" "@Full Admins" // CompleX^
"STEAM_0:x:xxxxxxxx" "@Admins" //1111
"STEAM_0:x:xxxxxxxx" "@Admins" //1111
"STEAM_0:x:xxxxxxxx" "@Admins" //1111
"STEAM_0:x:xxxxxxxx" "@Admins" //2222
"STEAM_0:x:xxxxxxxx" "@Admins" //3333

admin_groups:
Groups
{
"Full Admins"
{
Overrides
{
}
"flags" "abcdefghiz"
"immunity" "99"
}
"Admins"
{
"immunity" "22"
}
"Public"
{
"flags" "o"
"immunity" "1"
}
}
Admins.cfg
Full Admins
{
"Westcoast"
{
"auth" "steam"
"identity" "STEAM_0:1:17712772"
"immunity" "99"
}

KillerSneak
11-08-2008, 21:17
//Sourcemod admin group required to see/access this submenu
"Admin" "Full Admins"

Doesn't work at all. Only way to get this working is with

//Sourcemod admin group required to see/access this submenu
"Admin" "t"

Somehow it reads this as the t flag (custom6) So there's no way in hell you can have seperate admin groups this way / seperate skins for seperate users :( :( a Update is really needed here. To bad that almost all plugin coders seem not to give a shit anymore.

KillerSneak
11-08-2008, 21:48
I needed models to work so I made some adjustments.

Added:

1. Builds menu so that you only see groups u have access to.
2. Improved admin group management
3. Now you can remove model by selecting "None" from model menu.
4. Models are only changed at respawn. So you can't switch while in a round.

Enjoy.

TigerOx

*EDIT*
Improved server lag issue when user calling !models for the first time
Fixes model assignment instead of telling player they don't have access to the model.

Your the man, this version seems to be working great thx man

RaGing*
11-09-2008, 04:30
Ok so for "Public" "Public" I need to change it to=>
"Public" "o" (o is the group I put on custom)

And "Admin" "Full Admins"
"Admin" "abcdefghiz"

KillerSneak
11-10-2008, 06:24
So how can i fix an/the issue that allot of people join the server and see walkign error's (the red flashing one) Or No Models at all (walking guns)

I had some users (allot) report this issue and I'm sure evrything is setup-rigt server side.

sv_allowupload 1
sv_allowdownload 1
sv_downloadfilter all

and ofcourse the downloadurl has been set allong with all the files that have been added on the webpace/site.

Hope someone can help me with this.

recon0
11-22-2008, 21:26
No Steam, no support.
No support for pirated versions of CS:S. Go spend $20 on the game.

//Sourcemod admin group required to see/access this submenu
"Admin" "Full Admins"

Doesn't work at all. Only way to get this working is with

//Sourcemod admin group required to see/access this submenu
"Admin" "t"

Somehow it reads this as the t flag (custom6) So there's no way in hell you can have seperate admin groups this way / seperate skins for seperate users :( :( a Update is really needed here. To bad that almost all plugin coders seem not to give a shit anymore.
Read my original post. It's simple enough to add the the other options. I don't use the plugin anymore and I didn't need any other flags when I used it.

deadandgone
11-24-2008, 15:51
Hi there,

Is it possible for anyone who has this working in Zombie Panic Source to post up a link that contains all the files you need to get it working ??

would be most grateful :)