Raised This Month: $ Target: $400
 0% 

Model Menu


Post New Thread Reply   
 
Thread Tools Display Modes
Riffy
Junior Member
Join Date: Nov 2009
Old 12-22-2009 , 14:20   Re: Model Menu
Reply With Quote #371

Will this work for l4d2?
__________________
Riffy is offline
The Flyer
Member
Join Date: Jan 2009
Old 01-06-2010 , 19:25   Re: Model Menu
Reply With Quote #372

Hallo Recon,

your Plugin is great!

The download doesnīt work, with your last update.

Can you fix it???

Greetz
The Flyer is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 01-13-2010 , 06:45   Re: Model Menu
Reply With Quote #373

Have notice if player don't want download files from server "cl_downloadfilter none" and want change Big ERROR players to normal "cl_minmodels 1"....
Player Cs:s game crash hl2.exe error
Bacardi is offline
willgtl
Junior Member
Join Date: Jan 2010
Old 02-06-2010 , 02:07   Re: Model Menu
Reply With Quote #374

Great plugin!

Slight problem with the admin groups for it though. I got everything working, but everyone has access to the models, even pubbers.

Here's my admin_groups.cfg:

Code:
"Groups"
{
    "FounderGame"
    {
        "flags"        "abcdefghijklmnopqrstz"
        "immunity"        "100"
    }
    "MainAdminGame"
    {
        "flags"        "abcdfgjk"
        "immunity"        "90"
    }
    "DonatorGame"
    {
        "flags"        "abgjk"
        "immunity"        "80"
    }
}
My models.ini:

Code:
"Models"
{
    "Admin Only Models"
    {
        "FounderGame"        "MainAdminGame"

        "Team1"
        {
            "Leet Admin"
            {
                "path"        "models/player/ics/t_leet_admin/t_leet.mdl"
            }
        }

        "Team2"
        {
            "Umbrella SAS"
            {
                "path"        "models/player/natalya/umbrella_sas/umbrella_sas_rx.mdl"
            }    
        }
    }
}
Why is it giving everyone access to the model? My admins.cfg and admins_simple.ini is setup properly.
willgtl is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 02-06-2010 , 06:03   Re: Model Menu
Reply With Quote #375

Quote:
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.
Start use admins.cfg instead admins_simple.ini, otherwise can't use multiple groups. (At least I do not get it to work)
You can also use admins_simple.ini if you want add player in 1 group.

admins.cfg
Code:
Admins
{
    "Admin Goofy"
    {
        "auth"            "steam"
        "identity"        "STEAM_0:1:111111"
        "group"            "FounderGame"
        "group"            "Models Admin"
    }
    
    "Mini Admin Donald"
    {
        "auth"            "steam"
        "identity"        "STEAM_0:1:2222222"
        "group"            "MainAdminGame"
        "group"            "Models Admin"
    }

    "Donator Mickey"
    {
        "auth"            "steam"
        "identity"        "STEAM_0:1:333333"
        "group"            "DonatorGame"
    }
}
admin_groups.cfg
Code:
Groups
{
    "FounderGame"
    {
        "flags"             "z"
        "immunity"        "100"
    }

    "MainAdminGame"
    {
        "flags"        "abcdfgjk"
        "immunity"        "90"
    }

    "DonatorGame"
    {
        "flags"        "abgjk"
        "immunity"        "80"
    }

    "Models Admin"
    {
    }
    
    "VIP"
    {
    }
}
models.ini
Code:
"Models"
{
    //Name of the item to appear in the menu
    "Admin Only Models"
    {
        //Sourcemod admin group required to see/access this submenu
        "Admin"        "Models Admin"

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

            "Reset model"
            {
                "path"        ""
            }
        }

        //Models available for team 2 (ct / axis)
        "Team2"
        {
            "Umbrella SAS natalya"
            {
                "path"        "models/player/natalya/umbrella_sas/umbrella_sas_rx.mdl"
            }

            "Reset model"
            {
                "path"        ""
            }
        }    
    }

//    "VIP Only Models"
//    {
//        //Sourcemod admin group required to see/access this submenu
//        "Admin"        "VIP"
//
//        //Models available for team 1 (terrorist / allies)
//        "Team1"
//        {
//            //Name to appear in submenu
//            "Leet Admin"
//            {
//                //path to the model file. This will automatically be precached
//                "path"        "models/player/ics/t_leet_admin/t_leet.mdl"
//            }
//
//            "Reset model"
//           {
//                "path"        ""
//            }
//        }
//
//        //Models available for team 2 (ct / axis)
//        "Team2"
//        {
//            "Umbrella SAS"
//            {
//                "path"        "models/player/natalya/umbrella_sas/umbrella_sas_rx.mdl"
//            }
//
//            "Reset model"
//            {
//                "path"        ""
//            }    
//        }
//    }

}
I also added V.I.P. menu in order to understand how this works.
So Goofy and Donald can access to use !models Admin Only Models Leet Admin or Umbrella SAS natalya
Other players can see only the first page of the menu and can not reach further.
Player can reset model.. works in the next round.

or you could add in reset path
Team 1 models\player\t_leet.mdl
Team 2 models\player\ct_urban.mdl
to change more quickly.
Then player use only one model skin even you change other on "join CT/ choose a CLASS" options. (not change gas-mask skin example)


Hope this will help you

Last edited by Bacardi; 03-23-2010 at 16:31. Reason: added reset model
Bacardi is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 02-06-2010 , 06:32   Re: Model Menu
Reply With Quote #376

If you want get fun.
You could add
models.ini
Code:
"Team2"
        {
            "CT Infiltrator"
            {
                "path"        "models\player\t_leet.mdl"
            }    
        }
CT skin turns Terrorist-Leet
__________________
Do not Private Message @me
Bacardi is offline
kaiyuan007
Junior Member
Join Date: Apr 2009
Old 02-15-2010 , 01:33   Re: Model Menu
Reply With Quote #377

does this plugin suitable for cs1.6?
kaiyuan007 is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 02-15-2010 , 06:51   Re: Model Menu
Reply With Quote #378

Quote:
Originally Posted by kaiyuan007 View Post
does this plugin suitable for cs1.6?
AlliedModders Forum Index > SourceMod > Plugins > Approved Plugins
SourceMod
Source Mod
Source

http://wiki.alliedmods.net/Main_Page
Quote:
SourceMod, the optimized and highly extensible scripting and administration environment for Half-Life 2.
Quote:
AMX Mod X, the powerful and flexible scripting environment for Half-Life 1.
Go look AMX Mod X
__________________
Do not Private Message @me
Bacardi is offline
hellanator3
Member
Join Date: Feb 2010
Old 02-18-2010 , 07:05   Re: Model Menu
Reply With Quote #379

This plugin is buggy everynow and again everyone spawns on 1 team with the same model as me like wtf its a major glitch cos im the admin like wtf srsly this needs updating + you cannot change your model after you choose something in the menu you do not have access to you have to wait till round start and then it doesnt even work
hellanator3 is offline
maxton
Junior Member
Join Date: Mar 2010
Old 03-11-2010 , 09:34   Re: Model Menu
Reply With Quote #380

Itīs OK but change model instant do you have any command to change it?
Quote:
Originally Posted by tigerox View Post
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.
maxton is offline
Reply



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

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

Forum Jump


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


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