Player Classes Error
hi i have a problem with the classes
[SM] Native "SetFailState" reported: [Player Classes] [Config Validation] Couldn't find a default class for one or more teams. At least one class per team must be marked as default.
PlayerClasses:
[SM] Native "SetFailState" reported: [Player Classes] [Config Validation] Couldn't find a default class for one or more teams. At least one class per team must be marked as default.
PlayerClasses:
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" "Zombie_Classic"
"description" "Need brains!!! Arrrrggghh!"
// Model
"model_path" "models/player/zh/zh_zombie003.mdl"
"alpha_initial" "255"
"alpha_damaged" "255"
"alpha_damage" "0"
// Hud
"overlay_path" "overlays/zr/Ibiza2_vision"
"nvgs" "no"
"fov" "110"
// Effects
"has_napalm" "no"
"napalm_time" "5.0"
// Player behaviour
"immunity_mode" "0"
"immunity_amount" "0.0"
"no_fall_damage" "yes"
"health" "260"
"health_regen_interval" "10.0"
"health_regen_amount" "1"
"health_infect_gain" "10"
"kill_bonus" "0"
"speed" "320"
"knockback" "40"
"jump_height" "1.0"
"jump_distance" "1.0"
}
"zombie_classic2"
{
// General
"enabled" "yes"
"team" "0"
"team_default" "yes"
"flags" "0"
"group" ""
"name" "Zombie_Classic2"
"description" "Need brains!!! Arrrrggghh!"
// Model
"model_path" "models/player/slow/classic_zombie/classic_zombie.mdl"
"alpha_initial" "255"
"alpha_damaged" "255"
"alpha_damage" "0"
// Hud
"overlay_path" "overlays/zr/Ibiza2_vision"
"nvgs" "no"
"fov" "110"
// Effects
"has_napalm" "no"
"napalm_time" "5.0"
// Player behaviour
"immunity_mode" "0"
"immunity_amount" "0.0"
"no_fall_damage" "yes"
"health" "260"
"health_regen_interval" "10.0"
"health_regen_amount" "1"
"health_infect_gain" "10"
"kill_bonus" "0"
"speed" "320"
"knockback" "40"
"jump_height" "1.0"
"jump_distance" "1.0"
}
"zombie_speed"
{
// General
"enabled" "yes"
"team" "0"
"team_default" "no"
"flags" "0"
"group" ""
"name" "Zombie_Speed"
"description" "Speed"
// Model
"model_path" "models/player/zh/zh_charple001.mdl"
"alpha_initial" "255"
"alpha_damaged" "255"
"alpha_damage" "0"
// Hud
"overlay_path" "overlays/zr/Ibiza2_vision"
"nvgs" "no"
"fov" "110"
// Effects
"has_napalm" "no"
"napalm_time" "5.0"
// Player behaviour
"immunity_mode" "0"
"immunity_amount" "0.0"
"no_fall_damage" "yes"
"health" "200"
"health_regen_interval" "10.0"
"health_regen_amount" "1"
"health_infect_gain" "5"
"kill_bonus" "0"
"speed" "420"
"knockback" "60"
"jump_height" "1.0"
"jump_distance" "1.0"
}
"zombie_jump"
{
// General
"enabled" "yes"
"team" "0"
"team_default" "no"
"flags" "0"
"group" ""
"name" "Zombie_Jumping"
"description" "Jumping"
// Model
"model_path" "models/player/pil/fast_v5/pil_fast_v5.mdl"
"alpha_initial" "255"
"alpha_damaged" "255"
"alpha_damage" "0"
// Hud
"overlay_path" "overlays/zr/Ibiza2_vision"
"nvgs" "no"
"fov" "110"
// Effects
"has_napalm" "no"
"napalm_time" "5.0"
// Player behaviour
"immunity_mode" "0"
"immunity_amount" "0.0"
"no_fall_damage" "yes"
"health" "180"
"health_regen_interval" "10.0"
"health_regen_amount" "1"
"health_infect_gain" "2"
"kill_bonus" "0"
"speed" "285"
"knockback" "50"
"jump_height" "1.5"
"jump_distance" "1.0"
}
"zombie_jump2"
{
// General
"enabled" "yes"
"team" "0"
"team_default" "no"
"flags" "0"
"group" ""
"name" "Zombie_Jumping2"
"description" "Jumping"
// Model
"model_path" "models/player/pil/fast_v5/pil_fast_v5.mdl"
"alpha_initial" "255"
"alpha_damaged" "255"
"alpha_damage" "0"
// Hud
"overlay_path" "overlays/zr/Ibiza2_vision"
"nvgs" "no"
"fov" "110"
// Effects
"has_napalm" "no"
"napalm_time" "5.0"
// Player behaviour
"immunity_mode" "0"
"immunity_amount" "0.0"
"no_fall_damage" "yes"
"health" "170"
"health_regen_interval" "10.0"
"health_regen_amount" "1"
"health_infect_gain" "2"
"kill_bonus" "0"
"speed" "285"
"knockback" "50"
"jump_height" "1.0"
"jump_distance" "1.5"
}
"zombie_heavy"
{
// General
"enabled" "yes"
"team" "0"
"team_default" "no"
"flags" "0"
"group" ""
"name" "Zombie_Fatty"
"description" "Fatty"
// Model
"model_path" "models/player/lextalionis/fatty/t_phoenix.mdl"
"alpha_initial" "255"
"alpha_damaged" "255"
"alpha_damage" "0"
// Hud
"overlay_path" "overlays/zr/Ibiza2_vision"
"nvgs" "no"
"fov" "110"
// Effects
"has_napalm" "no"
"napalm_time" "10.0"
// Player behaviour
"immunity_mode" "0"
"immunity_amount" "0.0"
"no_fall_damage" "yes"
"health" "620"
"health_regen_interval" "10.0"
"health_regen_amount" "1"
"health_infect_gain" "1"
"kill_bonus" "0"
"speed" "27"
"knockback" "10"
"jump_height" "0.9"
"jump_distance" "0.9"
}
// ------------------------------------------
//
// Human classes
//
// ------------------------------------------
"human_normal1"
{
// General
"enabled" "yes"
"team" "1"
"team_default" "yes"
"flags" "0"
"group" ""
"name" "Human_01"
"description" "Human"
// Model
"model_path" "models/IbizaGaming.Ru/citizen_01.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" "no"
"health" "150"
"health_regen_interval" "0.0"
"health_regen_amount" "0"
"health_infect_gain" "0"
"kill_bonus" "0"
"speed" "300"
"knockback" "0"
"jump_height" "1.0"
"jump_distance" "1.0"
}
"human_normal2"
{
// General
"enabled" "yes"
"team" "1"
"team_default" "yes"
"flags" "0"
"group" ""
"name" "Human_02"
"description" "Human"
// Model
"model_path" "models/IbizaGaming.Ru/citizen_02_v2.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" "no"
"health" "150"
"health_regen_interval" "0.0"
"health_regen_amount" "0"
"health_infect_gain" "0"
"kill_bonus" "0"
"speed" "300"
"knockback" "0"
"jump_height" "1.0"
"jump_distance" "1.0"
}
"human_normal3"
{
// General
"enabled" "yes"
"team" "1"
"team_default" "yes"
"flags" "0"
"group" ""
"name" "Human_03"
"description" "Human"
// Model
"model_path" "models/IbizaGaming.Ru/citizen_03_v2.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" "no"
"health" "150"
"health_regen_interval" "0.0"
"health_regen_amount" "0"
"health_infect_gain" "0"
"kill_bonus" "0"
"speed" "300"
"knockback" "0"
"jump_height" "1.0"
"jump_distance" "1.0"
}
"human_normal4"
{
// General
"enabled" "yes"
"team" "1"
"team_default" "yes"
"flags" "0"
"group" ""
"name" "Human_04"
"description" "Human"
// Model
"model_path" "models/IbizaGaming.Ru/citizen_04.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" "no"
"health" "150"
"health_regen_interval" "0.0"
"health_regen_amount" "0"
"health_infect_gain" "0"
"kill_bonus" "0"
"speed" "300"
"knockback" "0"
"jump_height" "1.0"
"jump_distance" "1.0"
}
"human_normal5"
{
// General
"enabled" "yes"
"team" "1"
"team_default" "yes"
"flags" "0"
"group" ""
"name" "Human_05"
"description" "Human"
// Model
"model_path" "models/IbizaGaming.Ru/citizen_05.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" "no"
"health" "150"
"health_regen_interval" "0.0"
"health_regen_amount" "0"
"health_infect_gain" "0"
"kill_bonus" "0"
"speed" "300"
"knockback" "0"
"jump_height" "1.0"
"jump_distance" "1.0"
}
"human_normal6"
{
// General
"enabled" "yes"
"team" "1"
"team_default" "yes"
"flags" "0"
"group" ""
"name" "Human_06"
"description" "Human"
// Model
"model_path" "models/IbizaGaming.Ru/citizen_06.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" "no"
"health" "150"
"health_regen_interval" "0.0"
"health_regen_amount" "0"
"health_infect_gain" "0"
"kill_bonus" "0"
"speed" "300"
"knockback" "0"
"jump_height" "1.0"
"jump_distance" "1.0"
}
"human_normal7"
{
// General
"enabled" "yes"
"team" "1"
"team_default" "yes"
"flags" "0"
"group" ""
"name" "Human_07"
"description" "Human"
// Model
"model_path" "models/IbizaGaming.Ru/citizen_07_v2.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" "no"
"health" "150"
"health_regen_interval" "0.0"
"health_regen_amount" "0"
"health_infect_gain" "0"
"kill_bonus" "0"
"speed" "300"
"knockback" "0"
"jump_height" "1.0"
"jump_distance" "1.0"
}
"human_normal8"
{
// General
"enabled" "yes"
"team" "1"
"team_default" "yes"
"flags" "0"
"group" ""
"name" "Human_08"
"description" "Human"
// Model
"model_path" "models/IbizaGaming.Ru/citizen_09.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" "no"
"health" "150"
"health_regen_interval" "0.0"
"health_regen_amount" "0"
"health_infect_gain" "0"
"kill_bonus" "0"
"speed" "300"
"knockback" "0"
"jump_height" "1.0"
"jump_distance" "1.0"
}
"human_normal9"
{
// General
"enabled" "yes"
"team" "1"
"team_default" "yes"
"flags" "0"
"group" ""
"name" "Human_09"
"description" "Human"
// Model
"model_path" "models/IbizaGaming.Ru/citizen_10.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" "no"
"health" "150"
"health_regen_interval" "0.0"
"health_regen_amount" "0"
"health_infect_gain" "0"
"kill_bonus" "0"
"speed" "300"
"knockback" "0"
"jump_height" "1.0"
"jump_distance" "1.0"
}
"human_normal10"
{
// General
"enabled" "yes"
"team" "1"
"team_default" "yes"
"flags" "0"
"group" ""
"name" "Human_10"
"description" "Human"
// Model
"model_path" "models/IbizaGaming.Ru/citizen_11_v2.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" "no"
"health" "150"
"health_regen_interval" "0.0"
"health_regen_amount" "0"
"health_infect_gain" "0"
"kill_bonus" "0"
"speed" "300"
"knockback" "0"
"jump_height" "1.0"
"jump_distance" "1.0"
}
"human_normal11"
{
// General
"enabled" "yes"
"team" "1"
"team_default" "yes"
"flags" "0"
"group" ""
"name" "Human_11"
"description" "Human"
// Model
"model_path" "models/IbizaGaming.Ru/citizen_12.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" "no"
"health" "150"
"health_regen_interval" "0.0"
"health_regen_amount" "0"
"health_infect_gain" "0"
"kill_bonus" "0"
"speed" "300"
"knockback" "0"
"jump_height" "1.0"
"jump_distance" "1.0"
}
"human_normal12"
{
// General
"enabled" "yes"
"team" "1"
"team_default" "yes"
"flags" "0"
"group" ""
"name" "Human_12"
"description" "Human"
// Model
"model_path" "models/IbizaGaming.Ru/citizen_13_v2.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" "no"
"health" "150"
"health_regen_interval" "0.0"
"health_regen_amount" "0"
"health_infect_gain" "0"
"kill_bonus" "0"
"speed" "300"
"knockback" "0"
"jump_height" "1.0"
"jump_distance" "1.0"
}
"human_normal13"
{
// General
"enabled" "yes"
"team" "1"
"team_default" "yes"
"flags" "0"
"group" ""
"name" "Human_13"
"description" "Human"
// Model
"model_path" "models/IbizaGaming.Ru/citizen_14_v2.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" "no"
"health" "150"
"health_regen_interval" "0.0"
"health_regen_amount" "0"
"health_infect_gain" "0"
"kill_bonus" "0"
"speed" "300"
"knockback" "0"
"jump_height" "1.0"
"jump_distance" "1.0"
}
"human_normal14"
{
// General
"enabled" "yes"
"team" "1"
"team_default" "yes"
"flags" "0"
"group" ""
"name" "Human_14"
"description" "Human"
// Model
"model_path" "models/IbizaGaming.Ru/citizen_15.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" "no"
"health" "150"
"health_regen_interval" "0.0"
"health_regen_amount" "0"
"health_infect_gain" "0"
"kill_bonus" "0"
"speed" "300"
"knockback" "0"
"jump_height" "1.0"
"jump_distance" "1.0"
}
"human_normal15"
{
// General
"enabled" "yes"
"team" "1"
"team_default" "yes"
"flags" "0"
"group" ""
"name" "Human_15"
"description" "Human"
// Model
"model_path" "models/IbizaGaming.Ru/citizen_16_v2.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" "no"
"health" "150"
"health_regen_interval" "0.0"
"health_regen_amount" "0"
"health_infect_gain" "0"
"kill_bonus" "0"
"speed" "300"
"knockback" "0"
"jump_height" "1.0"
"jump_distance" "1.0"
}
"human_normal16"
{
// General
"enabled" "yes"
"team" "1"
"team_default" "yes"
"flags" "0"
"group" ""
"name" "Human_16"
"description" "Human"
// Model
"model_path" "models/IbizaGaming.Ru/citizen_17.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" "no"
"health" "150"
"health_regen_interval" "0.0"
"health_regen_amount" "0"
"health_infect_gain" "0"
"kill_bonus" "0"
"speed" "300"
"knockback" "0"
"jump_height" "1.0"
"jump_distance" "1.0"
}
"human_normal17"
{
// General
"enabled" "yes"
"team" "1"
"team_default" "yes"
"flags" "0"
"group" ""
"name" "Human_17"
"description" "Human"
// Model
"model_path" "models/IbizaGaming.Ru/citizen_18_v2.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" "no"
"health" "150"
"health_regen_interval" "0.0"
"health_regen_amount" "0"
"health_infect_gain" "0"
"kill_bonus" "0"
"speed" "300"
"knockback" "0"
"jump_height" "1.0"
"jump_distance" "1.0"
}
"human_admin"
{
// General
"enabled" "no"
"team" "1"
"team_default" "no"
"flags" "1"
"group" ""
"name" "Admin Human"
"description" "Admin Human"
// Model
"model_path" "random_public"
"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" "200"
"health_regen_interval" "1.0"
"health_regen_amount" "0"
"health_infect_gain" "0"
"kill_bonus" "1"
"speed" "310"
"knockback" "0"
"jump_height" "1.1"
"jump_distance" "1.1"
}
}
Orignal From: Player Classes Error
Post a Comment