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

Model Menu


Post New Thread Reply   
 
Thread Tools Display Modes
wing_hk
Member
Join Date: Jun 2008
Old 06-30-2008 , 16:03   Re: Model Menu
Reply With Quote #181

Quote:
Originally Posted by wing_hk View Post

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?
wing_hk is offline
FunTF2Server
Veteran Member
Join Date: Apr 2008
Old 07-03-2008 , 03:51   Re: Model Menu
Reply With Quote #182

Quote:
Originally Posted by wing_hk View Post
Any idea?
__________________
FunTF2Server is offline
FunTF2Server
Veteran Member
Join Date: Apr 2008
Old 07-07-2008 , 10:16   Re: Model Menu
Reply With Quote #183

still bump
__________________
FunTF2Server is offline
FunTF2Server
Veteran Member
Join Date: Apr 2008
Old 07-08-2008 , 21:02   Re: Model Menu
Reply With Quote #184

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.
__________________
FunTF2Server is offline
ramazan85
Junior Member
Join Date: Jul 2008
Old 07-22-2008 , 10:22   Re: Model Menu
Reply With Quote #185

admin_group.cfg;
PHP Code:
Groups
{    
    
"Full Admins"
    
{
         
Overrides
         
{
         }
        
"flags"            "abcdefghiz"
        "immunity"        "99"
    
}
    
"Admins"
    
{
        
"immunity"        "22"
    
}
    
"Admin"
    
{
    }

admins.cfg ;

PHP Code:
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 ;
PHP Code:
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 ;
PHP Code:
"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
ramazan85 is offline
f64
Member
Join Date: Jun 2007
Location: Houston, TX USA
Old 07-22-2008 , 12:23   Re: Model Menu
Reply With Quote #186

Well I haven't looked at this in awhile, but you might try this in your admin_groups.cfg:

Code:
     "Admin"
    {
        "flags"            ""
        "immunity"        "0"
    }
What game are you running this on?
f64 is offline
f64
Member
Join Date: Jun 2007
Location: Houston, TX USA
Old 07-22-2008 , 16:09   Re: Model Menu
Reply With Quote #187

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.
f64 is offline
ramazan85
Junior Member
Join Date: Jul 2008
Old 07-23-2008 , 02:49   Re: Model Menu
Reply With Quote #188

Quote:
Originally Posted by ramazan85 View Post
admin_group.cfg;
PHP Code:
Groups
{    
    
"Full Admins"
    
{
         
Overrides
         
{
         }
        
"flags"            "abcdefghiz"
        "immunity"        "99"
    
}
    
"Admins"
    
{
        
"immunity"        "22"
    
}
    
"Public"
    
{
        
"flags"            "o"
        "immunity"       "1"
    
}

models.ini ;
PHP Code:
"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
PHP Code:
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
ramazan85 is offline
xXxsilencerxXx
Member
Join Date: Jul 2008
Location: Russia,Moscow
Old 07-23-2008 , 05:11   Re: Model Menu
Reply With Quote #189

nice plugin!
pRED,can you integrate it in clientpref. system to choise models by comand !settings?
xXxsilencerxXx is offline
Enemy1
Senior Member
Join Date: Feb 2007
Location: Vaxjo, Sweden
Old 07-23-2008 , 06:14   Re: Model Menu
Reply With Quote #190

Working in dods :-)

But I had to compile my own download plugin .. is described in this thread..
__________________
Linux server administrator.
Enemy1 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 03:04.


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