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

[SOLVED] ZR Vip skins


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
hardy4u
Senior Member
Join Date: Oct 2012
Location: Sydney,Australia
Old 11-14-2012 , 04:43   [SOLVED] ZR Vip skins
Reply With Quote #1

Want to set skins for human VIP on my Zombie reloaded server but all admins have access to VIP model...
Here my setting:-
Admin_groups.cfg
Code:
Groups
{

"Owners"
 {
  "flags"  "zth"
  "immunity"  "99"
 }
 "VIP admins"
 {
  "flags"  "bcet"
  "immunity"  "10"
 }
"Basic admins"
 {
  "flags"  "bce"
  "immunity"  "20"
 }
"zr_vip"
 {
  "flags"  ""
  "immunity"  ""
 }

    /**
     * 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"            "abcdefghiz"

        /* Largish number for lots of in-between values. */
        "immunity"        "99"
    }
}
admins.cfg
Code:
/**
 * USE THIS SECTION TO DECLARE DETAILED ADMIN PROPERTIES.
 *
 * Each admin should have its own "Admin" section, followed by a name.
 * The name does not have to be unique.
 *
 * Available properties: (Anything else is filtered as custom)
 *      "auth"          - REQUIRED - Auth method to use.  Built-in methods are:
 *                        "steam"  - Steam based authentication
 *                        "name"   - Name based authentication
 *                        "ip"    - IP based authentication
 *                        Anything else is treated as custom.
 *                     Note: Only one auth method is allowed per entry.
 *
 *      "identity"      - REQUIRED - Identification string, for example, a steamid or name.
 *                     Note: Only one identity is allowed per entry.
 *
 *      "password"      - Optional password to require.
 *      "group"         - Adds one group to the user's group table.
 *      "flags"         - Adds one or more flags to the user's permissions.
 *        "immunity"        - Sets the user's immunity level (0 = no immunity).
 *                          Immunity can be any value.  Admins with higher 
 *                          values cannot be targetted.  See sm_immunity_mode 
 *                          to tweak the rules.  Default value is 0.
 *
 * Example:
    "BAILOPAN"
    {
        "auth"            "steam"
        "identity"        "STEAM_0:1:16"
        "flags"            "abcdef"
    }
 *
 */
Admins
{
    "Titanium"
         {
          "auth"  "steam"
          "identity"  "STEAM_0:0:37529239"
         "group"  "Owners"
          "immunity"  ""
           "flags"  ""
          }
    "HARDY"
         {
          "auth"  "steam"
          "identity"  "STEAM_0:0:56020116"
         "group"  "Owners"
          "immunity"  ""
           "flags"  ""
          }
    "Molik"
         {
          "auth"  "steam"
          "identity"  "STEAM_0:0:20623141"
         "group"  "Basic admins"
          "immunity"  "20"
           "flags"  ""
          }
    "Eclips"
         {
          "auth"  "steam"
          "identity"  "STEAM_0:0:44561977"
         "group"  "Basic admins"
          "immunity"  "20"
           "flags"  ""
          }
    "Raptor"
         {
          "auth"  "steam"
          "identity"  "STEAM_0:1:39720528"
         "group"  "Basic admins"
          "immunity"  "20"
           "flags"  ""
          }
    "Neel"
         {
          "auth"  "steam"
          "identity"  "STEAM_0:1:51670177"
         "group"  "Basic admins"
          "immunity"  "20"
           "flags"  ""
          }
    "Trojan digital"
         {
          "auth"  "steam"
          "identity"  "STEAM_0:1:53328251"
         "group"  "Basic admin"
          "immunity"  "20"
           "flags"  ""
          }
    "Rebel"
         {
          "auth"  "steam"
          "identity"  "STEAM_0:1:50365368"
         "group"  "Basic admins"
          "immunity"  "20"
           "flags"  ""
          }
    "Dumbass"
         {
          "auth"  "steam"
          "identity"  "STEAM_0:1:51671805"
         "group"  "Basic admins"
          "immunity"  "20"
           "flags"  ""
          }
    "The one"
         {
          "auth"  "steam"
          "identity"  "STEAM_0:0:43764718"
         "group"  "Basic admins"
          "immunity"  "20"
           "flags"  ""
          }

}
Models.txt
Code:
// ============================================================================
//
//                              ZOMBIE:RELOADED
//                            Model configuration
//
// See Model Configuration (3.5) section in the manual for detailed info.
//
// ============================================================================
//
// SHORT DESCRIPTIONS
//
// Attribute:   Description:
// ----------------------------------------------------------------------------
// name     Name of model file, without extension.
// path     Path to model files. MUST end with "/".
// team     Model type:
//              "zombies"
//              "humans"
// access   Access type:
//              "public"        - Everyone can use the model.
//              "admins"        - Model can only be used by admins.    
//              "hidden"        - Model is excluded from public random selections.
//              "motherzombies" - Model can only be used by mother zombies.
//              "group"         - Use group authentication.
// group    If access is "group": A SourceMod group name. Otherwise blank ("").

"models"
{
     "lycanwerewolf"
    {
        "name"      "lycanwerewolf"
        "path"      "models/player/elis/lw/"
        "team"      "zombies"
        "access"    "public"
        "group"     ""
    }    
     "zh_charple001"
    {
        "name"      "zh_charple001"
        "path"      "models/player/zh/"
        "team"      "zombies"
        "access"    "public"
        "group"     ""
    }
    
    "zh_zombie003"
    {
        "name"      "zh_zombie003"
        "path"      "models/player/zh/"
        "team"      "zombies"
        "access"    "public"
        "group"     ""
    }
    
    "slow"
    {
        "name"      "slow"
        "path"      "models/player/slow/fallout_3/ghoul/"
        "team"      "zombies"
        "access"    "public"
        "group"     ""
    }
    
    "t_guerilla"
    {
        "name"      "t_guerilla"
        "path"      "models/player/ics/hellknight_red/"
        "team"      "zombies"
        "access"    "public"
        "group"     ""
    }
"vip_human"
    {
        "name"      "slow"
        "path"      "models/player/slow/jamis/wolverine_origins/"
        "team"      "humans"
        "access"    "group"
        "group"     "zr_vip"
    }
    
    // Special model examples:
    // -----------------------
    
    // Only admins can use this zombie model.
    //"admin_zombie"
    //{
    //    "name"      "1337model"
    //    "path"      "models/player/adminmodels/"
    //    "team"      "zombies"
    //    "access"    "admins"
    //    "group"     ""
    //}
    
    // Only members of the zr_vip group in SourceMod can use this human model.
    //"vip_human"
    //{
    //    "name"      "vipmodel"
    //    "path"      "models/player/vip/"
    //    "team"      "humans"
    //    "access"    "group"
    //    "group"     "zr_vip"
    //}
    
    // This model will be excluded from public random selections. Only classes
    // that use "random_hidden" or explicit specify this model will be able to use it.
    //"hidden"
    //{
    //    "name"      "hiddenmodel"
    //    "path"      "models/player/"
    //    "team"      "humans"
    //    "access"    "hidden"
    //    "group"     ""
    //}
}
Playerclasses.txt
Code:
// ============================================================================
//
//                    Zombie:Reloaded Class configuration
//
// See Class Configuration (3.7) in the manual for detailed info.
//
// ============================================================================
//
// SHORT DESCRIPTIONS
//
// Attribute:               Values:     Description:
// ----------------------------------------------------------------------------
// enabled                  yes/no      Enables or disables a class.
// team                     number      Specifies what team the class belongs to:
//                                      0 - Zombies
//                                      1 - Humans
//                                      2 - Admin mode classes (incomplete feautre!)
// team_default             yes/no      Marks the class as the default class in the team.
// flags                    number      Special class flags (bit field). To combine multiple flags
//                                      use a sum of the flag values. Available flags:
//                                      1 - Admins only
//                                      2 - Mother zombies only
// group                    text        Restrict class to member of this SourceMod group. Leave blank for no restriction.
// name                     text        The class name used in class menu.
// description              text        The class description used in class menu.
// model_path               text        Path to model to use. Relative to cstrike folder.
// alpha_initial            number      Initial transparency setting.
// alpha_damaged            number      Transparency when damaged.
// alpha_damage             number      How much damage to do before switching alpha.
// overlay_path             text        Overlay displayed at the player.
// nvgs                     yes/no      Give and turn on night vision.
// fov                      number      Field of view value. 90 is default.
// has_napalm               yes/no      Allows player to throw napalm grenades. Humans only.
// napalm_time              decimal     Napalm burn duration. Zombies only.
// immunity_mode            number      Sets the immunity mode.
// immunity_amount          decimal     Sets the immunity value.
// no_fall_damage           on/off      Disables fall damage.
// health                   number      How many health points to give.
// health_regen_interval    decimal     Sets the regeneration interval. 0 to disable.
// health_regen_amount      number      How much HP to give per interval.
// health_infect_gain       number      How much HP to give when the player infects someone. Zombies only.
// kill_bonus               number      How many points to give per kill. Zombies only.
// speed                    decimal     The player speed.
// knockback                decimal     Force of the knockback when shot at. Zombies only.
// jump_height              decimal     Multiplier of the players jump height. 0.0 means no jump boost, 1.0 is normal.
// jump_distance            decimal     Multiplier of the players jump distance. 0.0 means no forward jump boost, 1.0 is normal.

"classes"
{
    // ------------------------------------------
    //
    // Zombie classes
    //
    // ------------------------------------------
    "zombie_classic"
    {
        // General
        "enabled"               "yes"
        "team"                  "0"
        "team_default"          "yes"
        "flags"                 "0"
        "group"                 ""
        
        "name"                  "Classic"
        "description"           "Need brains!!! Arrrrggghh!"
        
        // Model
        "model_path"            "models/player/zh/zh_charple001.mdl"
        "alpha_initial"         "255"
        "alpha_damaged"         "255"
        "alpha_damage"          "0"
        
        // Hud
        "overlay_path"          "overlays/zr/zvision"
        "nvgs"                  "no"
        "fov"                   "90"
        
        // Effects
        "has_napalm"            "no"
        "napalm_time"           "10.0"
        
        // Player behaviour
        "immunity_mode"         "0"
        "immunity_amount"       "0.0"
        "no_fall_damage"        "yes"
        
        "health"                "2500"
        "health_regen_interval" "0.0"
        "health_regen_amount"   "0"
        "health_infect_gain"    "500"
        "kill_bonus"            "2"
        
        "speed"                 "390"
        "knockback"             "4"
        "jump_height"           "1.1"
        "jump_distance"         "1.2"
    }
    
    "zombie_fast"
    {
        // General
        "enabled"               "yes"
        "team"                  "0"
        "team_default"          "no"
        "flags"                 "0"
        "group"                 ""
        
        "name"                  "Fast"
        "description"           "-HP | +Speed | +Jump | +Knockback"
        
        // Model
        "model_path"            "models/player/slow/fallout_3/ghoul/slow.mdl"
        "alpha_initial"         "255"
        "alpha_damaged"         "255"
        "alpha_damage"          "0"
        
        // Hud
        "overlay_path"          "overlays/zr/zvision"
        "nvgs"                  "no"
        "fov"                   "90"
        
        // Effects
        "has_napalm"            "no"
        "napalm_time"           "5.0"
        
        // Player behaviour
        "immunity_mode"         "0"
        "immunity_amount"       "0.0"
        "no_fall_damage"        "yes"
        
        "health"                "2000"
        "health_regen_interval" "0.0"
        "health_regen_amount"   "0"
        "health_infect_gain"    "500"
        "kill_bonus"            "2"
        
        "speed"                 "420"
        "knockback"             "4.0"
        "jump_height"           "1.3"
        "jump_distance"         "1.2"
    }
    
    "zombie_mutated"
    {
        // General
        "enabled"               "yes"
        "team"                  "0"
        "team_default"          "no"
        "flags"                 "0"
        "group"                 ""
        
        "name"                  "Mutated"
        "description"           "+HP | -Speed | +Jump | +Knockback"
        
        // Model
        "model_path"            "models/player/zh/zh_zombie003.mdl"
        "alpha_initial"         "255"
        "alpha_damaged"         "255"
        "alpha_damage"          "0"
        
        // Hud
        "overlay_path"          "overlays/zr/zvision"
        "nvgs"                  "no"
        "fov"                   "90"
        
        // Effects
        "has_napalm"            "no"
        "napalm_time"           "15.0"
        
        // Player behaviour
        "immunity_mode"         "0"
        "immunity_amount"       "0.0"
        "no_fall_damage"        "yes"
        
        "health"                "3500"
        "health_regen_interval" "0.0"
        "health_regen_amount"   "0"
        "health_infect_gain"    "600"
        "kill_bonus"            "2"
        
        "speed"                 "270"
        "knockback"             "3.5"
        "jump_height"           "1.3"
        "jump_distance"         "1.3"
    }
    
    "zombie_heavy"
    {
        // General
        "enabled"               "yes"
        "team"                  "0"
        "team_default"          "no"
        "flags"                 "0"
        "group"                 ""
        
        "name"                  "Heavy"
        "description"           "+HP | -Speed | -Jump | -Knockback"
        
        // Model
        "model_path"            "models/player/ics/hellknight_red/t_guerilla.mdl"
        "alpha_initial"         "255"
        "alpha_damaged"         "255"
        "alpha_damage"          "0"
        
        // Hud
        "overlay_path"          "overlays/zr/zvision"
        "nvgs"                  "no"
        "fov"                   "90"
        
        // Effects
        "has_napalm"            "no"
        "napalm_time"           "20.0"
        
        // Player behaviour
        "immunity_mode"         "0"
        "immunity_amount"       "0.0"
        "no_fall_damage"        "yes"
        
        "health"                "4000"
        "health_regen_interval" "0.0"
        "health_regen_amount"   "0"
        "health_infect_gain"    "700"
        "kill_bonus"            "3"
        
        "speed"                 "275"
        "knockback"             "1.5"
        "jump_height"           "0.9"
        "jump_distance"         "0.9"
    }
    
    "mother_zombie"
    {
        // General
        "enabled"               "yes"
        "team"                  "0"
        "team_default"          "no"
        "flags"                 "2"
        "group"                 ""
        
        "name"                  "Mother zombie"
        "description"           "+HP regen | +Speed | +Jump | -Knockback"
        
        // Model
        "model_path"            "models/player/elis/lw/lycanwerewolf.mdl"
        "alpha_initial"         "255"
        "alpha_damaged"         "255"
        "alpha_damage"          "0"
        
        // Hud
        "overlay_path"          "overlays/zr/zvision"
        "nvgs"                  "no"
        "fov"                   "110"
        
        // Effects
        "has_napalm"            "0"
        "napalm_time"           "5.0"
        
        // Player behaviour
        "immunity_mode"         "0"
        "immunity_amount"       "0.0"
        "no_fall_damage"        "yes"
        
        "health"                "4000"
        "health_regen_interval" "0.0"
        "health_regen_amount"   "0"
        "health_infect_gain"    "700"
        "kill_bonus"            "4"
        
        "speed"                 "432"
        "knockback"             "2.0"
        "jump_height"           "1.2"
        "jump_distance"         "1.3"
    }
    
    
    
    // ------------------------------------------
    //
    // Human classes
    //
    // ------------------------------------------
    
    "human_normal"
    {
        // General
        "enabled"               "yes"
        "team"                  "1"
        "team_default"          "yes"
        "flags"                 "0"
        "group"                 ""
        
        "name"                  "Normal Human"
        "description"           "Default Counter-Strike settings"
        
        // Model
        "model_path"            "default"
        "alpha_initial"         "255"
        "alpha_damaged"         "255"
        "alpha_damage"          "0"
        
        // Hud
        "overlay_path"          ""
        "nvgs"                  "no"
        "fov"                   "90"
        
        // Effects
        "has_napalm"            "yes"
        "napalm_time"           "0.0"
        
        // Player behaviour
        "immunity_mode"         "0"
        "immunity_amount"       "0.0"
        "no_fall_damage"        "no"
        
        "health"                "100"
        "health_regen_interval" "0.0"
        "health_regen_amount"   "0"
        "health_infect_gain"    "0"
        "kill_bonus"            "2"
        
        "speed"                 "300"
        "knockback"             "0"
        "jump_height"           "1.0"
        "jump_distance"         "1.0"
    }
    
    "human_vip"
    {
        // General
        "enabled"               "yes"
        "team"                  "1"
        "team_default"          "yes"
        "flags"                 "0"
        "group"                 ""      // Write the name of a SourceMod group for vip players ("zr_vip"), then make it in SourceMod.
        
        "name"                  "VIP Human"
        "description"           "Human class for important players"
        
        // Model
        "model_path"            "models/player/slow/jamis/wolverine_origins/slow.mdl"
        "alpha_initial"         "255"
        "alpha_damaged"         "255"
        "alpha_damage"          "0"
        
        // Hud
        "overlay_path"          ""
        "nvgs"                  "no"
        "fov"                   "90"
        
        // Effects
        "has_napalm"            "yes"
        "napalm_time"           "0.0"
        
        // Player behaviour
        "immunity_mode"         "0"
        "immunity_amount"       "0.0"
        "no_fall_damage"        "yes"
        
        "health"                "200"
        "health_regen_interval" "0.0"
        "health_regen_amount"   "10"
        "health_infect_gain"    "0"
        "kill_bonus"            "1"
        
        "speed"                 "370"
        "knockback"             "0"
        "jump_height"           "1.2"
        "jump_distance"         "1.2"
    }
    
    "human_admin"
    {
        // General
        "enabled"               "yes"
        "team"                  "1"
        "team_default"          "no"
        "flags"                 "1"
        "group"                 ""
        
        "name"                  "Admin Human"
        "description"           "Human class for admins"
        
        // Model
        "model_path"            "default"
        "alpha_initial"         "255"
        "alpha_damaged"         "255"
        "alpha_damage"          "0"
        
        // Hud
        "overlay_path"          ""
        "nvgs"                  "no"
        "fov"                   "90"
        
        // Effects
        "has_napalm"            "yes"
        "napalm_time"           "0.0"
        
        // Player behaviour
        "immunity_mode"         "0"
        "immunity_amount"       "0.0"
        "no_fall_damage"        "yes"
        
        "health"                "200"
        "health_regen_interval" "1.0"
        "health_regen_amount"   "10"
        "health_infect_gain"    "0"
        "kill_bonus"            "1"
        
        "speed"                 "360"
        "knockback"             "0"
        "jump_height"           "1.2"
        "jump_distance"         "1.2"
    }
    
    "human_speedy"
    {
        // General
        "enabled"               "yes"
        "team"                  "1"
        "team_default"          "no"
        "flags"                 "0"
        "group"                 ""
        
        "name"                  "Speedy"
        "description"           "Fast human"
        
        // Model
        "model_path"            "default"
        "alpha_initial"         "255"
        "alpha_damaged"         "255"
        "alpha_damage"          "0"
        
        // Hud
        "overlay_path"          ""
        "nvgs"                  "no"
        "fov"                   "90"
        
        // Effects
        "has_napalm"            "no"
        "napalm_time"           "0.0"
        
        // Player behaviour
        "immunity_mode"         "0"
        "immunity_amount"       "0.0"
        "no_fall_damage"        "0"
        
        "health"                "100"
        "health_regen_interval" "0.0"
        "health_regen_amount"   "0"
        "health_infect_gain"    "0"
        "kill_bonus"            "1"
        
        "speed"                 "360"
        "knockback"             "0"
        "jump_height"           "1.0"
        "jump_distance"         "1.0"
    }
    
    "human_light"
    {
        // General
        "enabled"               "yes"
        "team"                  "1"
        "team_default"          "no"
        "flags"                 "0"
        "group"                 ""
        
        "name"                  "Light"
        "description"           "Regular human with improved jump skills"
        
        // Model
        "model_path"            "default"
        "alpha_initial"         "255"
        "alpha_damaged"         "255"
        "alpha_damage"          "0"
        
        // Hud
        "overlay_path"          ""
        "nvgs"                  "no"
        "fov"                   "90"
        
        // Effects
        "has_napalm"            "yes"
        "napalm_time"           "0.0"
        
        // Player behaviour
        "immunity_mode"         "0"
        "immunity_amount"       "0.0"
        "no_fall_damage"        "yes"
        
        "health"                "100"
        "health_regen_interval" "0.0"
        "health_regen_amount"   "0"
        "health_infect_gain"    "0"
        "kill_bonus"            "1"
        
        "speed"                 "260"
        "knockback"             "0"
        "jump_height"           "1.3"
        "jump_distance"         "1.3"
    }
}
__________________


I fix/manage Servers of CS:S,CS:GO | Steam ID :- t1rath
Donations (CS:GO items) keeps me motivated.

Last edited by hardy4u; 11-14-2012 at 10:04. Reason: solved
hardy4u is offline
samsah
AlliedModders Donor
Join Date: Mar 2008
Location: Finland
Old 11-14-2012 , 06:43   Re: ZR Vip skins
Reply With Quote #2

You have no group specified in playerclasses.txt for "human_vip".
samsah is offline
hardy4u
Senior Member
Join Date: Oct 2012
Location: Sydney,Australia
Old 11-14-2012 , 08:13   Re: ZR Vip skins
Reply With Quote #3

Thax buddy
__________________


I fix/manage Servers of CS:S,CS:GO | Steam ID :- t1rath
Donations (CS:GO items) keeps me motivated.
hardy4u 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 18:18.


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