Raised This Month: $12 Target: $400
 3% 

Model Menu


Post New Thread Reply   
 
Thread Tools Display Modes
Author
pRED*
Join Date: Dec 2006
Plugin ID:
132
Plugin Version:
0.13
Plugin Category:
Fun Stuff
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    2 
    Plugin Description:
    A menu for players to choose a model
    Old 08-12-2007 , 04:24   Model Menu
    Reply With Quote #1

    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^?
    Attached Files
    File Type: sp Get Plugin or Get Source (ModelMenu.sp - 21818 views - 7.4 KB)
    File Type: txt modelmenu.gamedata.txt (189 Bytes, 12644 views)
    File Type: ini models.ini (935 Bytes, 13957 views)
    File Type: ini modeldownloads.ini (1.1 KB, 11793 views)

    Last edited by pRED*; 08-13-2007 at 16:37.
    pRED* is offline
    Peoples Army
    SourceMod Donor
    Join Date: Mar 2007
    Old 08-12-2007 , 04:36   Re: Model Menu
    Reply With Quote #2

    good job , you beat me to it . bout time some one released model changer , nice menu feature , over all excelelnt plugin . 2 thumbs 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)?

    Last edited by Peoples Army; 08-12-2007 at 04:39.
    Peoples Army is offline
    pRED*
    Join Date: Dec 2006
    Old 08-12-2007 , 04:38   Re: Model Menu
    Reply With Quote #3

    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
    pRED* is offline
    Peoples Army
    SourceMod Donor
    Join Date: Mar 2007
    Old 08-12-2007 , 04:43   Re: Model Menu
    Reply With Quote #4

    u know when u call an event , post is automatcilly defualt ? so theres no need to do EventHookMode_Post
    Peoples Army is offline
    pRED*
    Join Date: Dec 2006
    Old 08-12-2007 , 04:51   Re: Model Menu
    Reply With Quote #5

    Yup. But it's better for readability (for me anyway) to explicitly define which hook mode it's using.
    pRED* is offline
    dbenoy
    Junior Member
    Join Date: Dec 2008
    Old 01-04-2009 , 16:40   Re: Model Menu
    Reply With Quote #6

    Quote:
    Originally Posted by Peoples Army View Post
    good job , you beat me to it . bout time some one released model changer , nice menu feature , over all excelelnt plugin . 2 thumbs 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)?
    Was this ever answered? I want to change just skins.
    dbenoy is offline
    RaGing*
    Junior Member
    Join Date: Oct 2008
    Location: Belgium
    Old 01-28-2009 , 07:40   Re: Model Menu
    Reply With Quote #7

    If you got eventscripts on your server

    Try making a eventscript to change models
    RaGing* is offline
    sourcefun21
    Junior Member
    Join Date: May 2009
    Old 05-24-2009 , 14:24   Re: Model Menu
    Reply With Quote #8

    Hey i got it to work but whe ni type !models and ichoose admins only or whatever it says im not admin but i am how do i fix this???
    sourcefun21 is offline
    Kaschenko
    SourceMod Donor
    Join Date: Apr 2006
    Location: Country: Russia; City: M
    Old 08-12-2007 , 05:20   Re: Model Menu
    Reply With Quote #9

    RESPECT!!!
    __________________
    Kaschenko is offline
    Send a message via ICQ to Kaschenko Send a message via MSN to Kaschenko Send a message via Skype™ to Kaschenko
    Peoples Army
    SourceMod Donor
    Join Date: Mar 2007
    Old 08-12-2007 , 05:32   Re: Model Menu
    Reply With Quote #10

    u think u can add custom weapon model support for this ???
    Peoples Army is offline
    Reply


    Thread Tools
    Display Modes

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

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

    Forum Jump


    All times are GMT -4. The time now is 15:13.


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